Share » Forums » General » Appending query parameters to an...

Appending query parameters to an internal link

Appending query parameters to an internal link

Tuesday 09 September 2008 7:29:56 am - 1 reply

Author Message

Gaetano Giunta

Tuesday 09 September 2008 1:56:52 pm

What is the exact meaning of "internal links"?

You can output a link to any node adding the query string in the template code, eg:

<a href="{concat($node.url_alias|ezurl(no), '?a=b')}">

The query string will then be ignored by your node template, but it can be used to do tricks wit proxies or seo.

You can also add ez-style parameters:
<a href="{concat($node.url_alias|ezurl(no), '/(offset)/10')}">
these extra params are very easy to use in the node template of the target node.

You can also create your own template operators that do custom url manipulation to make development easier.

Principal Consultant International Business
Member of the Community Project Board

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

36 542 Users on board!

Forums menu