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

pobster’s picture

Assigned: Unassigned » pobster

That'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

pobster’s picture

Ah 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

pobster’s picture

Version: 6.x-2.02 » 6.x-2.05
Status: Active » Fixed

Done.

Thanks,

Pobster

dirksonii’s picture

Testing, this works like a dream. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.