As it seems to me it is not possible to define wildcard entries for url aliases.

Consider there are aliases like

gadgets/
gadgets/nbm4lm
gadgets/nebteans

The following entries work as expected
gadgets|cismet_gadgets.png
gadgets/nbm4lm|cismet_gadgets.png

This entry does not work. The wildcard seems not to work.
gadgets*|cismet_gadgets.png

It would be pretty helpful if this would be possible. Otherwise it would be necessary to make an entry for each newly created node. Or am I wrong?

Comments

pobster’s picture

I'm not sure why this only seems to work correctly for me...?

Try this just to give me some hint of what may be going on here;

admin*|somelogo.png

Does it work on all your admin pages? If not, can you tell me some more about your server please?

Thanks

Pobster

pobster’s picture

Not that I've tested any theories or anything but could you try this;

    case '2':
      // Straight test for match
      $path = preg_quote($_GET['q'], '/');
print "normal path=".$path;
      // Test for aliases
      if (!$match) {
        $path = preg_quote(drupal_get_path_alias($_GET['q']), '/');
print "<br>alias path=".$path;
        preg_match("/$path\|(.*)/i", variable_get('logotool_pages', ''), $match);
      }

Let me know what it returns please.

Pobster

pobster’s picture

Status: Active » Closed (fixed)

Closed due to lack of communication.