This shows you the differences between two versions of the page.
en:public:developer:template_system:tags:url:url [2013/02/27 21:29] admin [Parameters] |
en:public:developer:template_system:tags:url:url [2013/03/06 00:31] (current) admin [Parameters] |
||
---|---|---|---|
Line 5: | Line 5: | ||
^ Name ^ Default ^ Description ^ | ^ Name ^ Default ^ Description ^ | ||
- | | <html><span style="color:#008000">id</span></html> | ID of the current page | the ID of the URL like "/members/profile/" | | + | | <html><span style="color:#008000">Id</span></html> | ID of the current page | the ID of the URL like "/members/profile/" | |
- | | <html><span style="color:#008000">ifNotFound</span></html> | / | the ID of the page to use instead of ID if no url found for ID | | + | | <html><span style="color:#008000">ifNotFound</span></html> | "/" if ID was not given | the ID of the page to use (instead of ID) if no url found for ID | |
| <html><span style="color:#008000">Mobile</span></html> | Calculated from the current location | Specify if the url will point to a mobile version | | | <html><span style="color:#008000">Mobile</span></html> | Calculated from the current location | Specify if the url will point to a mobile version | | ||
| <html><span style="color:#008000">Language</span></html> | Calculated from the current location | Specify the language that the url will point to | | | <html><span style="color:#008000">Language</span></html> | Calculated from the current location | Specify the language that the url will point to | | ||
Line 25: | Line 25: | ||
| <html><span style="color:#008000">Property_Kind</span></html> | | ID of the property kind label to place in the url | | | <html><span style="color:#008000">Property_Kind</span></html> | | ID of the property kind label to place in the url | | ||
| <html><span style="color:#008000">AddHTTPQuery</span></html> | | Include in the result url the current HTTP Get/post Params | | | <html><span style="color:#008000">AddHTTPQuery</span></html> | | Include in the result url the current HTTP Get/post Params | | ||
+ | | <html><span style="color:#008000">Canonical</span></html> | | Return the canonical url (use **CanonicalHttpQueryParams** in [[en:public:developer:template_system:cfgpages]] to define with http query parameters to include/exclure from the canonical url) | | ||
+ | | <html><span style="color:#008000">Regex_groups</span></html> | | When url contain regex groups (like for exemple /path/(?<groupname>.*).php) then you can use Regex_groups to replace the regex expression. ex for /path/(?<scriptname>.*).php if you gave Regex_groups="scriptname=MyScript" then the outputing url will be /path/MyScript.php. You can specify several groupname=value by separating them with the ';' character | | ||
==== urlresources configuration ==== | ==== urlresources configuration ==== | ||