Share » Forums » Setup & design » file for changing "ezurl"-command ?

file for changing "ezurl"-command ?

file for changing "ezurl"-command ?

Thursday 06 April 2006 4:15:43 am - 3 replies

Author Message

ole poulsen

Monday 10 April 2006 3:42:05 am

... Or if someone has ANY idea about how I can include a link-anchor (link#anchor) top the internal links without compromising the automatic link-base/root?

The problem is that I can't use $node.url|ezurl and then ad #anchor because ezurl automatically puts in quotationsmarks (""). If only I could at least get rid of that then I could change a lot. Even better, of course, would it be if I could change all ezurl's to include the anchor.

But ANY ideas are welcome.

Kristian Hole

Monday 10 April 2006 4:10:15 am

If you use the parameter no to ezurl, it skips the quotes.

So you can use something like:

<a href="{$node.url|ezurl(no)}#kake">My link</a>

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

ole poulsen

Monday 10 April 2006 5:17:05 am

YAY!
That works ... my hero!

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu