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.
Topic RSS
closed
11:44 am
October 20, 2011
OfflineHi,
I can seem to get the DCG to work in Thesis. I've been through at least half a dozen tutorials without success.
However, I have successfully used the DCG on another WP theme.
I'm also getting the following warning message:
"This version of Dynamic Content Gallery requires that your theme supports the WP Post Thumbnails feature."
Any suggestions?
DCG Version 3.3.5
WordPress Version 3.2.1
URL: barbadosorchidsociety.org
Thanks.
5:47 pm
August 25, 2008
OfflineHi,
How have you added the DCG to your theme? Are you placing the template tag somewhere (if so, where) or are you using the DCG Widget?
Don't worry about the warning message – it just means that your theme isn't set up for WP's post thumbnails feature. Which version of Thesis are you using?
I'm having exactly the challenge as Nickolove. I'm also using Thesis 1.8. I'm seeing the place in the post edit mode to add the full URL and text. Pretty certain that all my settings are 100% correct.
Here's the website: http://www.bushcooking.com
Below is the code that I've added to the Thesis custom-functions php so the gallery will appear on my static home page. I have populated two posts each with an image URL and description text in the Dynamic Gallery boxes. My home page has been selected in the setting as the only place to display the gallery.
function add_dynamic_gallery () {
?>
if( is_front_page() ) {
dynamic_content_gallery();
<?php
}
add_action('thesis_hook_post_box', 'add_dynamic_gallery');
5:43 pm
August 25, 2008
OfflineJust to be clear – the DCG is displaying OK (@tominwash, you have the site in maintenance mode, so I can't see it), but you are getting the post thumbnails warning?
5:46 pm
August 25, 2008
Offline@tominwash,
Your code doesn't look correct (or my forum has mangled it), it should be this:
function add_dynamic_gallery () {
if( is_front_page() ) {
dynamic_content_gallery();
}
}
add_action('thesis_hook_post_box', 'add_dynamic_gallery');
I just took the site out of maintenance mode and replaced my php code with yours. The slider still isn't showing up on the home page, but it does work perfectly if I put it in the sidebar. So all is working, the only remaining challenge is to get the slider to appear on the home page. Sooo close!
About the post thumbnail warning, I'm not getting that warning message. I have read through the configuration guide and faq section many times.
Here are the setting I'm using:
Image Management: full URL
Carousel Thumbnails: legacy
Gallery Method: one-category | Default Images folder is: not defined
Descriptions: manual
Javascript Options: mootools
Load Scripts: Home Page
Tools – Error Message options: on
Any other suggestions? Thanks!
9:10 pm
August 25, 2008
OfflineSince it works fine in the sidebar, your set up of the DCG options must be OK (ie pulling in the correct images, etc).
So, it seems to me that the Thesis hook you are using is not correct, or there is something in your Thesis set up which is not correct.
Shouldn't you be using the Multimedia box with custom code option? (I'm not that familiar with Thesis, but just read something about this on their support site.)
9:53 pm
August 25, 2008
OfflineOk. Plesae post back with the solution – it will be useful for other users. Thanks.
9:54 pm
October 20, 2011
OfflineI amended the code you provided to:
function add_dynamic_gallery () {
if( is_front_page() ) {
dynamic_content_gallery();
}
}
add_action('thesis_hook_feature_box', 'add_dynamic_gallery');
i.e. I amended the hook and the DCG is now showing. I haven't fully configured it yet so it's not functional or aligned correctly but I think it will be okay now.
Thanks, for all your help.
10:14 pm
October 24, 2011
OfflineI'm having a similar problem (mycreditdoc.com)
It works is I put the widget in the sidebar.
But how do I get it to span the fulllength of the page above the posts and sidebar?
I change the settings in the feature box in thesis design settings.
The above code is entered into the custom_functions file.
This is probably simple, but after searching this forum, I can't figure it out.
Any help is greatly appreciated. Thank you
10:49 pm
October 24, 2011
OfflineI have already made those setting changes but no luck. Currently the placement chosen is "Full-width above the content and sidebars".
It still does not show up there. What else would need to be done to get the slider to show up there?
It is showing in the sidebar when I drag the Dynamic Content Gallery widget into the sidebar 1 area but how do I get it above the all content?
11:02 pm
October 20, 2011
OfflineI'm not an expert in this but I tried this on a website I was working on and it was fine. I looked at your site and it appears as though you have placed the DCG in the sidebar widget. From what I understand, you have to choose one mode of displaying DCG. So, if you want to use Thesis's Feature Box, delete the DCG widget in the sidebar.
11:38 pm
August 25, 2008
OfflineJeremyM said:
So I removed the widget and it still doesn't work.
Does anyone know what is missing here?
You need to use the code shown in Nickolove's post, but change the hook to whatever hook Thesis uses for the area above the main content box. There's a list of hooks on the Thesis support site, you should be able to find the one you need.
11:39 pm
August 25, 2008
OfflineNickolove said:
Thanks, for all your help.
You're welcome! Glad it's fixed.
11:49 pm
October 24, 2011
OfflineHello Ade. Thanks for the reply.
I tried that earlier with no luck. Here is the hooks page for the Feature box:
http://diythemes.com/thesis/rtfm/hooks/thesis_hook…..ature_box/
I tried changing the code from this:
add_theme_support('post-thumbnails');
function add_dynamic_gallery () {
if( is_front_page() ) {
dynamic_content_gallery();
}
}
add_action('thesis_hook_post_box', 'add_dynamic_gallery');
to this:
add_theme_support('post-thumbnails');
function add_dynamic_gallery () {
if( is_front_page() ) {
dynamic_content_gallery();
}
}
add_action('thesis_hook_feature_box', 'add_dynamic_gallery');
Neither worked.
We are trying to get an answer over in the Thesis forum, but no solution yet.
After reviewing the hook page and these scripts, did I miss something?
Most Users Ever Online: 28
Currently Online: theonsale
15 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
johnbroome: 13
sjpeaches: 12
speedyp: 12
CherylMcL: 10
littlemerry: 8
lsnoei: 8
Member Stats:
Guest Posters: 770
Members: 1297
Moderators: 0
Admins: 1
Forum Stats:
Groups: 2
Forums: 7
Topics: 978
Posts: 4293
Newest Members: chargers3, jwhetstone, robert, Mak-Donuts, kilerb, Marian Bamboi
Moderators:
Administrators: Ade (2490)
Log In
Register
Home

Dynamic Content Gallery: Have you read the 
