Thursday 06 April 2006 4:15:43 am
Hi, I want to ask for help with what I think would be how to change the automatically generated ezurl. "All" I need is to add a name anchor to all internal links. I can do it by writing the link-base manually and then ad the ez-node-url and then the name anchor - in every link. Then it'll be something like: like <a href=".../index.php/plain{$menu.url_alias}#name-anchor">. That is a little bothersome but of course I could do that. I dont think it is a wise idea, though, because the ezurl is important for keeping the url-base correct when i move the site online. Also other problems could arise when for example linking from a child-node and so on...
Therefore et would be nice to be able to keep the normal generated <a href={$menu.url_alias|ezurl}> and then be able to change what the command "ezurl" does.
That is - there must be a file, where i can change the standard ezurl-command and just ad a name-anchor to it. Right? It seems - to me - like that shouldnt be a big deal, but I just can't find that file!! If you have other suggestions, that is of course also welcome. Thank you for your help... _________ PS. I blame my silly non-programming designer-boss. I would of course just have made a design where every page is supposed to load at the top. But that is not an option I have at the moment.
|