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.

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 3 characters - maximum search word length is 84 characters

Topic RSS
Dynamic Content Gallery Not showing in Thesis
Status: closed
October 20, 2011
11:44 am
Nickolove
Member
Forum Posts: 6
Member Since:
October 20, 2011
Offline

Hi,

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.

October 20, 2011
5:47 pm
Ade
Admin
Forum Posts: 2490
Member Since:
August 25, 2008
Offline

Hi,

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?

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
October 24, 2011
6:35 am
Nickolove
Member
Forum Posts: 6
Member Since:
October 20, 2011
Offline

I installed DCG plugin via WP plugins.

I'm using Thesis 1.8.

I've added the template code to the custom_functions.php file.

And I still don't understand the error message because WP's post thumbnails feature is present.

October 24, 2011
7:06 am
tominwash
Member
Forum Posts: 5
Member Since:
March 19, 2011
Offline

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.

add_theme_support('post-thumbnails');
function add_dynamic_gallery () {
?>
if( is_front_page() ) {
dynamic_content_gallery();
<?php
}
add_action('thesis_hook_post_box', 'add_dynamic_gallery');
October 24, 2011
5:43 pm
Ade
Admin
Forum Posts: 2490
Member Since:
August 25, 2008
Offline

Just 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?

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
October 24, 2011
5:46 pm
Ade
Admin
Forum Posts: 2490
Member Since:
August 25, 2008
Offline

@tominwash,

Your code doesn't look correct (or my forum has mangled it), it should be 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');

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
October 24, 2011
6:36 pm
tominwash
Member
Forum Posts: 5
Member Since:
March 19, 2011
Offline

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!

October 24, 2011
9:10 pm
Ade
Admin
Forum Posts: 2490
Member Since:
August 25, 2008
Offline

Since 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.)

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
October 24, 2011
9:20 pm
tominwash
Member
Forum Posts: 5
Member Since:
March 19, 2011
Offline

Thanks. I check back with the Thesis forum. (The MultiMedia box can't be added to the content area)

October 24, 2011
9:53 pm
Ade
Admin
Forum Posts: 2490
Member Since:
August 25, 2008
Offline
10

Ok. Plesae post back with the solution – it will be useful for other users. Thanks.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
October 24, 2011
9:54 pm
Nickolove
Member
Forum Posts: 6
Member Since:
October 20, 2011
Offline
11

I amended the code you provided to:

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');

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.

October 24, 2011
10:14 pm
JeremyM
Member
Forum Posts: 7
Member Since:
October 24, 2011
Offline
12

I'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

October 24, 2011
10:38 pm
Nickolove
Member
Forum Posts: 6
Member Since:
October 20, 2011
Offline
13

You can control the position of the DCG by going to Design Options => Feature Box => Placement and then choosing where you want to display the DCG. Then, depending upon where you place the DCG, you configure the dimensions of the DCG accordingly.

October 24, 2011
10:49 pm
JeremyM
Member
Forum Posts: 7
Member Since:
October 24, 2011
Offline
14

I 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?

October 24, 2011
11:02 pm
Nickolove
Member
Forum Posts: 6
Member Since:
October 20, 2011
Offline
15

I'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.

October 24, 2011
11:08 pm
JeremyM
Member
Forum Posts: 7
Member Since:
October 24, 2011
Offline
16

So I removed the widget and it still doesn't work.

Does anyone know what is missing here?

October 24, 2011
11:38 pm
Ade
Admin
Forum Posts: 2490
Member Since:
August 25, 2008
Offline
17

JeremyM 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.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
October 24, 2011
11:39 pm
Ade
Admin
Forum Posts: 2490
Member Since:
August 25, 2008
Offline
18

Nickolove said:

Thanks, for all your help.

You're welcome! Glad it's fixed.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
October 24, 2011
11:49 pm
JeremyM
Member
Forum Posts: 7
Member Since:
October 24, 2011
Offline
19

Hello 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?

October 24, 2011
11:52 pm
Ade
Admin
Forum Posts: 2490
Member Since:
August 25, 2008
Offline
20

Check your Dashboard > Settings > Reading options just in case these aren't set correctly for your Thesis configuration.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
Forum Timezone: UTC 1

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)