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
DCG works fine on twentyten but not on my custom-made theme (even when plugins are disabled)
Status: closed
March 31, 2011
7:02 pm
geraldtrepy
Guest

Hello everybody!

I installed DCG on my blog but it doesn't work with the theme I want. I've got the black screen with the loading bar.

I tried it with the twentyten theme and it works fine.

With my theme, I've checked the page source. I have no DCG error message (it works fine on twentyten theme anyway!).

I've deactivated all the other plugins and it still doesn't work!

Also, when I set Jquery instead of Mootools (javascript options), the gallery even disappears from my page.
When I set Mootools but disable it, I've still got the black screen with the loading bar!

Doesn't it work because I've got a custom-made theme?

I don't know anything but I've also tried with adding the WP Post Thumbnail support code to my theme but the code is already written in my theme's function.php file

code which is: add_theme_support('post-thumbnails');

Has anyone any ideas of what's wrong?

Cheers

April 1, 2011
11:30 am
geraldtrepy
Guest

my site is http://www.acornmusicgroup.com

wordpress version: 3.0.5
DCG version: 3.3.5

April 2, 2011
3:02 pm
Ade
Admin
Forum Posts: 2490
Member Since:
August 25, 2008
Offline

Gerald,

Make sure your custom theme has wp_head() in the header.php and wp_footer() in the footer.php.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
April 4, 2011
9:04 am
geraldtrepy
Guest

Hi there!

Actually I haven't header.php and footer.php in my custom theme. I've got index.php, function.php and single.php.

All the look of my theme is coded in my index.php.

I know it doesn't make sense (but for someone like me that doesn't know anything about coding it could!), I copied Twentyten theme's header.php and footer.php in my theme and I also included in my index.php:

Although Twentyten's header and footer display in my page, the DCG is still black-screened with the loading bar

Maybe I missed something or the DCG is not compatible with my theme?

April 4, 2011
6:21 pm
Ade
Admin
Forum Posts: 2490
Member Since:
August 25, 2008
Offline

You didn't quite answer my question… Smile

Do you have wp_head() and wp_footer() function calls in your index.php?

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
April 5, 2011
9:54 am
geraldtrepy
Guest

I'm sorry mate but you asked me if there were respectively in my header.php and footer.php! Wink

I checked my index.php and only the function wp_head() is present.

In accordance with the wp_head() function, I added the other function like this:

But nothing happens

April 6, 2011
8:59 am
geraldtrepy
Guest

I wrote the function like this:

as the wp_head function is written.

I'm wondering if the fact I haven't header.php and footer.php in my theme affects the DCG?

Cheers

April 6, 2011
6:50 pm
Ade
Admin
Forum Posts: 2490
Member Since:
August 25, 2008
Offline

Gerald,

No, you don't need a header.php and footer.php, but you must have wp_head() located just before the closing tag, and wp_footer() immediately before the closing tag.

Assuming the above is ok, try switching the DCG to jQuery (DCG Settings > Javascript Options tab).

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
April 6, 2011
8:47 pm
geraldtrepy
Guest

Thank you very much Ade!!!

It works!! DCG rocks!!

I was sure I did the right choice of choosing this plugin!!

Thanks mate and keep going!! We need more people like you!

April 6, 2011
11:04 pm
Ade
Admin
Forum Posts: 2490
Member Since:
August 25, 2008
Offline
10

You're welcome!

Glad it's fixed. Smile

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

Most Users Ever Online: 28

Currently Online: nloronacele
14 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)