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
1:32 am
First, thanks so much for the great plugin.
I'm using Wordpress 3.0, testing with MAMP in localhost. WP installation is in s subfolder called 'wp'
Ive installed your plugin successfully before(without static front page) but for some reason it's not working in this situation.
1. I've got a static front page use case, using the onecolumn-page.php template
2. The ONLY thing I have inserted in the content field of the page at this point (in admin) is the DFC call: <?php dynamic_content_gallery(); ?>
3. I've tried moving the call to the onecolumn-page.php template without success, which is good because I need to have the DCG call in the page content field.
4. I've set up all parameters in the Settings panel. I've got no validation errors at the top.
5. I'm using multiple categories. I've checked their ID's and named the images appropriately. I've checked that the path to the images folder is correct.
6. The ID of my static home page is 172, and I've restricted the script to that ID.
7. I'm getting a #4 error in the code even though I've a) checked the default images folder path, b) checked the names of the image files.
8. My default image folder path is http://localhost:8888/site folder name here]/wp/wp-content/uploads/featured-default/
9. My Category ID's are 1, 9, and 19
10. I have images in that folder named: 1.jpg, 9.jpg, and 19.jpg
11. I've tried de-activating ALL plugins except DCG and Exec-PHP(so I can insert the DCG call into the page content field) without success.
Thanks in advance for any assistance…
2:10 am
I'm also not getting the plugin's ERROR image at all…nothing. It's like it's not there. I thought I wasn;t even getting errors in the code because they were not even showing up in the code inspector(Chrome, developer tools)…which is VERY odd, but they are visible on 'view source'….
But nothing on the page, nada…zip.
12:17 pm
August 25, 2008
OfflineHi,
Apologies for the delay in getting to you…
First – in the Restrict Scripts Settings, select Home Page – this should work when using a Static Front Page.
4:42 pm
First, thanks for the reply and no apology needed… you're under no obligation to assist me and based on what I can see on this forum(and most support forums online) people usually ask for help in ways that would make my eye twitch and want to crawl back into bed!… ;)
whoops, forgot to mention I tried that restict script to home page setting too. No go….but….that's where I have it set now.
———————————————–
So this is odd…
USING A TEST POST
1) I can now see the test post and associated feature image showing up in the code, but nothing is actually visible on the page… so with an image inserted in the post it's working, it's just not visible.
RELYING ON DEFAULT IMAGES FOLDER
2) without an image inserted in the post I still get the #4 error so the DCG is choking on something related to the default image folder path… I just haven't been able to figure out what that problem is because a) my default images path is correct and absolute, and b) my images are named correctly from what I can tell. I will troubleshoot this more though…
Regardless, I'm pretty sure there's no reason(in CSS) that the DIV should be invisible, but I'll look into it.
UPDATE: ok, here's some interesting evidence…
when examining the code, my <div id="dfcg_images" class="galleryview"> has a property of "visibility:hidden"
Additionally, in my console, I'm getting a bunch of errors that seem to be around that area, most of which say:
"<a> misnested or not properly closed. Cloning <a> in order to preserve the styles applied by it."
OR
"Unmatched </p> encountered. Converting </p> into <p></p>."
BUT, one of them says:
"Uncaught TypeError: Object #<an Object> has no method 'galleryView' "
7:23 pm
hrm, yes the unclosed <p> an <a> tag warnings are definitely coming from the DCG code…
…and the warning about the:
Uncaught TypeError: Object #<an Object> has no method 'galleryView'
is obviously from the script line:
jQuery('#dfcg_images').galleryView({
so I guess boiled down, my two issues are:
1) why am I getting a #4 error when my defualt path and image names are correct?
2) why is my DCG invisible
To recap: My default images folder is at:
MAMP>htdocs>sitename>wp>wp-content>uploads>featured-default
My default images path under 'MULTI OPTION Settings' is:
http://localhost:8888/sitename/wp/wp-content/uploa…..d-default/
My Category ID's are: 1, 9, and 19
My image folder includes images named: 1.jpg, 9.jpg, and 19.jpg
4:59 pm
August 25, 2008
OfflineCan you post your Page Source of your homepage?
6:56 pm
August 25, 2008
OfflineHave you ruled out a plugin conflict by disabling other plugins? Also, what's the image URL you have entered in the DCG Metabox for the first post to be shown in the DCG?
7:32 pm
Yep, I've tried disabling all plugins except DCG and PHP-Exec, and it was still invisible. I'll double-check though again and post the code with just the two plugins on…
My default image folder path is:
http://localhost:8888/sitename/wp/wp-content/uploa…..d-default/
My Category ID's are 1, 9, and 19. And I can see these images fine when I put the address into the browser:
http://localhost:8888/sitename/wp/wp-content/uploa…..ault/1.jpg
http://localhost:8888/sitename/wp/wp-content/uploa…..ault/9.jpg
http://localhost:8888/sitename/wp/wp-content/uploa…..ult/19.jpg
7:36 pm
I rurned off all plugins except PHP-Exec and DCG, and it's still not visible. This is the code:
—————————————-
8:49 pm
Here's something odd… because I've used it in other sites that containt DCG and it wasn't an issue….
I have this call to Google for jQuery in my <head>:
9:08 pm
and yes, I have DCG se to use jQuery.
I just checked aother site I set up that uses DCG, and it also uses jQuery in the settings, and I have that link to Goolge's hosted jQuery in the <head> of that site and it's not a problem at all…
which leads me to believe something else is affecting the DCG in this site.
9:10 pm
With the link to Google's hosted jQuery script removed(so DCG is visible but still getting error Message 4), I still get validation errors from W3C:
Line 161, Column 183: The charset attribute on the link element is obsolete. Use an HTTP Content-Type header on the linked resource instead.
…llery/css/jd.gallery.css.php" type="text/css" media="screen" charset="utf-8"/>
Line 162, Column 176: The charset attribute on the link element is obsolete. Use an HTTP Content-Type header on the linked resource instead.
…t-gallery/css/jd.gallery.css" type="text/css" media="screen" charset="utf-8"/>
Line 229, Column 87: No p element in scope but a p end tag seen.
…dfcg_images" class="galleryview"><!-- Start of Dynamic Content Gallery --></p>
Line 232, Column 184: No p element in scope but a p end tag seen.
…error.jpg" alt="Simple Elos E-Luxe Pendent Pairs Metal Halide with LED" /></p>
Line 236, Column 5: End tag a violates nesting rules.
</a></p>
Line 236, Column 5: Cannot recover after last error. Any further errors will be ignored.
</a></p>
7:19 pm
ok, some odd developments…
now it doesn;t matter if I have the link to google's hosted jQuery or not, the DCG is invisible…
BUT… I uploaded it and the exact same code works remotely!? Apparently it's just not working on my localhost installation but is working fine on the remote server, which makes no sense since the installations are identical.
And it really is a PITA that my category ID's locally and remotely are completely different…so I have to rename the images for them to work remotely…not sure whether that's something for you or Wordpress to remedy…
Still getting the following errors on validation though…
Line 171, Column 87: No p element in scope but a p end tag seen.
…"dfcg_images" class="galleryview"><!-- Start of Dynamic Content Gallery --></p>
Line 175, Column 9: No p element in scope but a p end tag seen.
</a></p>
Line 179, Column 4: No p element in scope but a p end tag seen.
</p></div>
Line 183, Column 184: No p element in scope but a p end tag seen.
…jpg" alt="Trade in coral and coral reef fish is growing – UPI.com" /></p>
Line 187, Column 5: End tag a violates nesting rules.
</a></p>
Line 187, Column 5: Cannot recover after last error. Any further errors will be ignored.
</a></p>
11:41 am
August 25, 2008
OfflineHi,
Sorry, I haven't had time to look closely at all the info you've posted. Obviously, it's really difficult for me to help troubleshoot this on a local install.
You mentioned that you hadn't had these problems with other DCG installs. So, what's different between this install and the one's that work?
6:36 pm
I'm still troubleshooting it… and looks like your forum cuts off the posts without wrapping the text? I'm using Chrome.
The really strange thing is, it seems to work remotely (Godaddy) fine, just not working on localhost.
Any reason why you're getting all those incorrectly nested tags an unopened/unclosed tag warnings on validation? Ever seen that before?
Most Users Ever Online: 28
Currently Online:
10 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 