Turn off random highlighting

nekochan
nekochan's picture

Joined: 2005-12-22
Posts: 35
Posted: Thu, 2005-12-22 12:08

I don't know if this is a migration issue but I just did a migration and everything went off without a [major] hitch. I'm trying to turn off album random highlighting and force each album to use only one photo all the time for highlighting. So far I've deactivated the Random Highlight module and cleared the DB cache twice, cleared my template cache, cleared my browser cache, manually set the highlighted photos yet still new photos are highlighted for each album on each page refresh.

What am I missing here?


Gallery version = 2.0 core 1.0.0
Theme: PG Theme
PHP version = 4.3.10 apache
Webserver = Apache/1.3.33 (Unix) mod_jk/1.2.8 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.10 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a
Database = mysql 4.0.25-standard
Toolkits = Exif, NetPBM, Gd, ImageMagick
Operating system = Linux aqua.serverstoday.com 2.4.21-27.0.2.ELsmp #1 SMP Wed Jan 12 23:35:44 EST 2005 i686
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)

www.whisky-jack.com
www.neko.ca
www.hima-ari.com

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-12-22 12:17

the easiest way would be to deactivate and uninstall the randomhighlight module in site admin -> modules.

 
nekochan
nekochan's picture

Joined: 2005-12-22
Posts: 35
Posted: Thu, 2005-12-22 17:05

Thanks. A Valiant effort but unfortunately even after uninstalling the random highlighting module the same thing happens: On every page load a new image cycles into place on the album page, replacing the last one.

Could it be something integral to the theme? I'm using PG Theme. The default themes seem to work fine. If so how to disable this function in PG Theme?

www.whisky-jack.com
www.neko.ca
www.hima-ari.com

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-12-23 05:32

please post a link to your g2.

 
nekochan
nekochan's picture

Joined: 2005-12-22
Posts: 35
Posted: Fri, 2005-12-23 07:01

Thanks for having a look. The site is at: http://www.neko.ca/photos/main.php. I like the theme but I just want to have one photo represent each gallery.

www.whisky-jack.com
www.neko.ca
www.hima-ari.com

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-12-23 12:40

i've just checked the code.

if you really deactivated and uninstalled the randomhighlight module, then the random highlight onLoad handlers were removed.

maybe also change the theme just to see if that has an influence.

 
nekochan
nekochan's picture

Joined: 2005-12-22
Posts: 35
Posted: Fri, 2005-12-23 18:55

Thanks for taking a look, Valiant.

Yep! Both deactivated and uninstalled.

Quote:
the random highlight onLoad handlers were removed

Is this a good thing or a bad thing?

Yep! As stated above, the random highlight issue only persists with this PG Theme theme. Do I have to hack the template and remove the onLoad handlers? Is so where do I look?

www.whisky-jack.com
www.neko.ca
www.hima-ari.com

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-12-23 19:25

if it's a pg theme issue then it's probably a pg theme option which you have to disable somewhere.
best ask the question in the pg theme thread.