Closed (fixed)
Project:
Logo Tool
Version:
6.x-2.05
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
10 May 2010 at 03:21 UTC
Updated:
24 May 2010 at 18:40 UTC
Attempting to restrict the logo to one locale doesn't seem to work at all. I'm attempting to display logos with the correct locale randomly. I've attempted to restrict locale by setting the locale dropdown, to no effect, and attempt to restrict locale by setting the page restriction to fr/* , also to no effect. Currently, all logos appear to be in one large pool and one is picked at random, regardless of the locale or page restrictions.
Comments
Comment #1
pobster commentedThat's odd, thanks I'll look into it. TBH it's not surprising, this area has only received very light testing - mainly because I've never had the need to use it myself!
Pobster
Comment #2
pobster commentedAh okay that's not so odd, to make an assumption you're using the mode 'Random Logos' right? Well... I've only coded the module so that locale affects specific matches, e.g.
$match = module_exists('locale') ? _logotool_fetch_match(TRUE) : _logotool_fetch_match();, I'm afraid for random logos I haven't addressed the locale module at all... That's not to say I can't, it's actually very easy to do! I'll do it a bit later, guess I was just a little fixated on implementing the specific logos functionality...Thanks,
Pobster
Comment #3
pobster commentedDone.
Thanks,
Pobster
Comment #4
dirksonii commentedTesting, this works like a dream. Thanks!