this wildcards are working and may be wrong, when a filename starts with "de" like "denic", isn't it?

de*|logo_de.png
en*|logo_en.png

Aside, this is a path i expect to set up, while i know this syntax from the blocks module and so on... the following wildcards are not working, but should:

de/*|logo_de.png
en/*|logo_en.png

Comments

hass’s picture

Priority: Normal » Critical

sorry, wildcards are not working at all. my examples are wrong. no url containing the wildcard "*" is working. i tryed

node/37* 

and this one isn't working too if i access "node/37/edit".

pobster’s picture

Works for me? Have you altered the module in any way?

I typed;

node/601*|gif11.gif

And viewing, editing, whatever all display the correct gif? I know this is possibly stating the obvious but you didn't just type node/37* and no '|logo.png' after it did you?

As to the other part of this issue I've not looked into it yet... Give me a couple hours please.

Pobster

pobster’s picture

I really think you've changed something in the module? Just as a test (maybe not a very accurate one, but I'm not going to mess around too much with a live site) I typed this;

pro*|gif11.gif

Which is the dwarf character from Golden Axe, check it out:

http://www.arcadegeek.co.uk/product

It's fine?

Pobster

pobster’s picture

Oops, didn't spot that you'd said not to worry about the first example - anyhow, I really think you should reinstall the module (and reapply your own patch!) - as I said it's working fine here?

Pobster

hass’s picture

only altered the code with the patch i provided - no more.

i wonder... today it works shortly again and then again not... after i changed from "de*" to "de/*" maybe a caching problem? For sure you will run in such caching problems while the URL never change and if the browser is going to cache your logo it will not change... maybe this is the problem behind. i will try to use pragma and no-cache headers... and we will see.

hass’s picture

1. i saved the file title_de.png and title_en.png into "logotool/logos" folder
2. created setting

de*|title_de.png
en*|title_en.png

3. it works with "en/intro" and "de/into"
4. going to make this path - more specific

de/*|title_de.png
en/*|title_en.png

5. now DE logo is used
6. turn back to

de*|title_de.png
en*|title_en.png

7. opened path "en/intro"
8. german (de) logo is displayed

pobster’s picture

I think maybe this is a caching issue as I don't appear to get this problem with my own server?

I'm not sure what to suggest... :o(

Pobster

pobster’s picture

Status: Active » Closed (fixed)

Wildcards definitely *are* working...

Pobster