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

Can't get DCG to work in Executive child theme's regular pages

fixed
UserPost

1:54 am
February 7, 2010


ptortora

Guest

1

I'm feeling a bit stupid right about now but just can't get the DCG to work in the Genesis child them Executive.  Here is a link to the page http://66.147.244.193/~muscoeng/?page_id=142

Her's what I've done thus far:

1  I modified the functions.php file by adding the following:

add_action('genesis_before_loop', 'display_dcg');
function display_dcg() {
    if( is_page(142) ) {
        dynamic_content_gallery();
    }
}   

2  I configured the DCG plugin as follows:

Image File Management: full URL
Gallery Method: one-category | Default Images folder is: http://66.147.244.193/~muscoeng/dcmimages/
Slide Pane Description: auto
Page Source Error messages: on | Javascript Framework used: mootools
Scripts restricted to: Page Template => page.php

3.  I created two test posts with dfcg-image links to http://66.147.244.193/~muscoeng/dcgimages/image1.jpg  and http://66.147.244.193/~muscoeng/dcgimages/image2.jpg for the second post.

When I view the 'Gallery' page I created (142) it gives me 4 thumbnails with 'error' written in them.  I do not get the DCG scrolling, etc.

I'm lost and have tried several hours reading the forums, trying to reconfigure the plugin, etc.  Any advice will be much appreciated.

2:54 am
February 7, 2010


Ade

Admin

posts 2378

2

Hi,

Are you using the latest version of the DCG (version 3.2.1)? If not, upgrade.

For the post images, don't enter a custom field – use the DCG metabox in the Write Posts screen sidebar. (dfcg-image etc is no longer used in the plugin).

Finally, the javascript isn't being loaded which is why you see 4 images and no content slider. The correct syntax is this:

if( is_page('142') ) {

Plus, select "Other" in the Restrict Scripts loading options in the DCG Setting page.

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

12:17 pm
February 7, 2010


ptortora

Guest

3

There's always a reason … guess I was too tired to catch the syntax error.  However, it is working like a charm now and the ability to select the javascript framework was brilliant.  Loving the plugin and the extensive configurability of DCG is hard to beat.  THANK YOU!

12:31 pm
February 7, 2010


Ade

Admin

posts 2378

4

Great! Glad it's working. Smile

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