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:27 am
Hey all,
I just upgraded to WP 3.1 and it caused the to break up. I'm more of a cut-and-paste blogger and while I follow instructions quite well, I don't think I understand enough to trouble shoot this.
I'd had it set up to display images from a "photo of the day" category and also had other code set to remove that category from the home page display. Essentially, the gallery would display 5 images from that category and the rest of my posts would be displayed below the DCG. Now, the DCG isn't loading anything, and that category is being displayed on the home page.
I double checked to make sure the all the code is still in the custom functions file and it's all there. I don't really know where to go from here.
Site: http://flashpackerhq.com
Ideas?
-Travis
6:41 pm
August 25, 2008
OfflineTravis,
Looks like a javascript conflict with another plugin. (DCG works fine with WP 3.12, so something else is the cause of your problem).
Try switching the DCG to jQuery (DCG Settings page > Javascript Options tab), or disable other plugins until you find the culprit.
7:07 pm
Hmm.. Switching to jQuery fixes the gallery, but does a strange thing – as the site is loading, it shows the first featured post and loads that completely before then popping the gallery up above the posts. This wasn't happening before.
Also, I realize it wasn't DCG code, but the code that was keeping the "Photo of the Day" category isn't working either. I figured that was affected by the upgrade as well, so was probably the same issue.
I'll switch back to moo and see if it's a plugin issue, but need to sleep before that. Will try again tomorrow…
Thanks!
-T
9:28 pm
August 25, 2008
Offlineflashpackerhq said:
I'll that a shot right now, but why would it have worked previous to my upgrading WP and then not afterword? Does the upgrade reset something?
-T
I suspect you have upgraded another plugin at the same time as upgrading to WP3.1. As mentioned, DCG works fine (mootools or jQuery) with a clean WP3.1 install.
11:20 am
August 25, 2008
OfflineLooking at your site now, DCG seems to be loading fine with jQuery.
I notice that there are a few jQuery scripts (including more than one version of jQuery itself) being loaded into your header. These will cause problems with mootools. The question is whether they are loaded by other plugins or your theme.
3:59 pm
So, yes, it loads with jQuery but it does that jump thing I mentioned above. Also, having the "photo of the day" title in the upper corner looks much worse in jQuery so I just turned off that display.
If it's multiple scripts being loaded, how do I resolve the issue? Are they duplicates and can therefore be removed? (and if so, how do I remove them?)
I just don't understand why it all was working prior to my upgrade and not afterword. What would have changed?
-T
5:49 pm
August 25, 2008
Offlineflashpackerhq said:
I just don't understand why it all was working prior to my upgrade and not afterword. What would have changed?
-T
Nothing should have changed.
I can't see the "jump" thing you mentioned, even after clearing my browser cache, though you may be on a slower connection than me.
Looking at your Page Source, something is loading jQuery 1.3.2 into your header. Looks like it is being loaded by a plugin, or has been hardcoded into your theme. Can you post your header.php here?
6:32 pm
Yeah, I was thinking that, though I'm also a little afraid of testing as I only have Safari and Firefox on a mac to test with. I'd bet the "jump" is due to a slower connection, but it didn't happen before. I'd still like to get all the code working. Thanks for your help Ade!
What does a "call" for jQuery look like? Maybe I can go through the code in my custom_functions.php file and see what might be pulling it in?
Here's the contents of my header.php file:
<?php
function thesis_header_area() {
thesis_hook_before_header();
thesis_header();
thesis_hook_after_header();
}
function thesis_header() {
echo "\t
thesis_hook_header();
echo "\t
\n";
}
function thesis_default_header() {
thesis_hook_before_title();
thesis_title_and_tagline();
thesis_hook_after_title();
}
7:02 pm
August 25, 2008
OfflineWhich version of Thesis are you using?
10:21 am
Okay, things are back to "normal"
I hunted down a solution to the category exclusion issue here:
http://blogmum.com/2009/04/how-to-exclude-categori…..ment-30883
It turned out to be a bug that WP is aware of and hopes to fix in 3.1.1.
And since DCG works with jQuery I'll keep it there instead of mootools.
Thanks for all your help Ade!
-Travis
Most Users Ever Online: 28
Currently Online:
9 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
johnbroome: 13
speedyp: 12
sjpeaches: 12
CherylMcL: 10
gscorp: 8
lsnoei: 8
Member Stats:
Guest Posters: 770
Members: 1300
Moderators: 0
Admins: 1
Forum Stats:
Groups: 2
Forums: 7
Topics: 980
Posts: 4303
Newest Members: jochris26, eva-aa, Tushar, chargers3, jwhetstone, robert
Moderators:
Administrators: Ade (2497)
Log In
Register
Home

Dynamic Content Gallery: Have you read the 
