Forum

Please make sure that you have read the documentation and extensive resources provided on this site before posting your question!

Dynamic Content Gallery Resources

DCG Version 4.0 beta is now available for download and testing. This is a development version and not recommended for live sites. Read more here.

Note that the current stable release of the DCG is version 3.3.5.

 
You must be logged in to post Login Register


Register? | Lost Your Password?

Search Forums:


 






Minimum search word length is 3 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Gallery Not Showing Up?

fixed
UserPost

5:39 am
February 9, 2010


memitch00

Guest

1

I'm using WPMU version 2.9.1 and DCG 3.2.2 and can't get the plugin to work?

http://restorationgateway.org/test

I have added the WPMU code to the home.php template, but I still get nothing?

I've tried using different configurations, and still the same result?

Any help would be appreciated.

Thanks!

<?php get_header(); ?>

<div id="content">

  <div id="homepage">

        <?php // Check for the 'gallery_styles' function. if it's there, then include it. If not, do nothing ?>
        <?php if (function_exists('gallery_styles')) : ?>

        <div id="homepagetop">

            <div class="featuredtop">

        <?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>
        <?php
        if( function_exists( 'dynamic_content_gallery' ) ) :
        dynamic_content_gallery();
        endif;
        ?>
        
            </div>
            
        </div>
        
        <?php endif; ?>

10:20 am
February 9, 2010


Ade

Admin

posts 2384

2

Hi,

Replace this:

<?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>
        <?php
        if( function_exists( 'dynamic_content_gallery' ) ) :
        dynamic_content_gallery();
        endif;
        ?>

with this:

<?php
 if( function_exists( 'dynamic_content_gallery' ) ) :
        dynamic_content_gallery();
 endif;
 ?>

Make sure you've deactivated the Featured Content Gallery in Dashboard>Plugins.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

3:25 pm
February 9, 2010


memitch00

Guest

3

Hi – I've tried that – and it's still a no-go?

Featured Content is not active and code is:

<div id="content">

  <div id="homepage">

        <?php // Check for the 'gallery_styles' function. if it's there, then include it. If not, do nothing ?>
        <?php if (function_exists('gallery_styles')) : ?>

        <div id="homepagetop">

            <div class="featuredtop">

            <?php
              if( function_exists( 'dynamic_content_gallery' ) ) :
                     dynamic_content_gallery();
              endif;
            ?>
        
            </div>
            
        </div>
        
        <?php endif; ?>

Does spacing matter in what you've suggested to paste?

6:18 pm
February 9, 2010


Ade

Admin

posts 2384

4

Hi,

It would have helped if you had posted ALL your code in the first place…

Remove this:

<?php if (function_exists('gallery_styles')) : ?>

and this, further down:

<?php endif; ?>

This is all explained in much more detail in the FAQ. There is a specific FAQ on converting Studiopress themes. You have read it?

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

12:36 am
February 10, 2010


memitch00

Guest

5

thanks! that did the trick!

5:09 pm
February 10, 2010


Ade

Admin

posts 2384

6

Great! Smile

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?