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
XP / Internet Explorer 8 errors?
Status: fixed
December 27, 2011
3:54 pm
speedyp
Member
Forum Posts: 12
Member Since:
December 22, 2011
Offline

I hate internet explorer.
I've used Firefox for the last 6 years & only use ie for testing. Built a site using the fab DCG on two pages. Everything works fantastic on Firefox. It even works in ie9 on my main Windows 7 machine.

But firing up my old laptop (XP & ie8) I start getting errors. The pages with the slideshow are actually OK & it works, if a little slow. But pages without the gallery throw a wobbly. "Error Get(…)style is null or not an object".

I'm using it with WP 3.1 & added the DCG as a wiget. Also using TC Custom Widgets plugin to limit the gallery to my home & news pages.

Would like some advice on what to try. I've already tried disabling the Custom Widgets thing but that didn't work. Weird it's only XP / ie8 and pages without the gallery that seems to have problems?

Any thoughts / advice would be most welcome. This is a fantastic plugin & even idiots with XP & ie8 deserve to see it in action Wink

December 28, 2011
12:22 pm
Ade
Admin
Forum Posts: 2497
Member Since:
August 25, 2008
Offline

Hi,

Are you sure it is the DCG which is throwing the error? The plugin's javascript isn't loaded on non-DCG pages (assuming you've set up the DCG Settings > Load Scripts tab correctly).

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
December 28, 2011
1:33 pm
speedyp
Member
Forum Posts: 12
Member Since:
December 22, 2011
Offline

Thanks Ade
I do believe I've got things set up OK, including the pages option in the java script settings. And everything does work as expected in Ffox & even ie 9 on my main machine. It's just the combination of XP & ie8 on my laptop that seems to have problems…

I've tried all sorts of things, like disabling plugins, & not using mootools, but same result.

I turned off debugging & the error now says – "object doesn't support this property or method
mootools-1.2.4-core-jm.js
Code:0
URL: …../plugins/dynamic-content-gallery-plugin/js-mo…"

To be honest, I've only been messing with wordpress for a couple of months & trying to build my first site with it.
I've just uploaded a brand new copy of wordpress to another directory, so I'll start again by just adding DCG & see if I get the same error. Hope it works OK as I really like your plugin & features.
Cheers

December 28, 2011
2:54 pm
speedyp
Member
Forum Posts: 12
Member Since:
December 22, 2011
Offline

OK, done a bit more testing & I'm confusing myself.

To load DCG I can either insert the code into a template page eg. index.php.
OR
I can just use the widget instead & stick it in the primary widget area for example?

I've used the widget method on a fresh install of the 2010 theme – http://www.chris-creative.co.uk/architect
I put the widget in the primary widget area.
Bingo – the slidshow works fine. I chose single category & made 2 test image posts.

I also checked the "only show on home page" option which seems to work. However.. if another page eg. the wp sample page has a side bar, I get 2 copies of each image displayed there with no slideshow?

I'm now not getting any errors on the laptop, but feel I'm doing something wrong as the double images are appearing in the sample page sidebar. Any thoughts?

Thanks for your patience Laugh

December 28, 2011
5:22 pm
Ade
Admin
Forum Posts: 2497
Member Since:
August 25, 2008
Offline

Hi,

Yes, just to confirm, use the template tag or the widget – not both.

I also checked the "only show on home page" option which seems to work. However.. if another page eg. the wp sample page has a side bar, I get 2 copies of each image displayed there with no slideshow?

Correct. The image problem is caused by the javascript only being loaded as per the DCG Settings, ie if these are set to Home page, javascript is only loaded on the home page. If the DCG widget is used on a different page, then as there is no js, you will just see a block of images. This is mentioned in the FAQ.

So, you need to use something like Widget Logic to make sure the DCG widget is only displayed when is_home() is true.

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

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)