|
GhoIfReferer
displays content if someone visits a page via a given referer
gho_if_refererDescriptionThe gho_if_referer tag is a Conditional Tag, and therefore a Container Tag, as all conditional tags are container tags. The tag will check if the referer of the users browser contains a specific given string. Download
Attributes
Examples<txp:gho_if_referer string="\.google\." regexp="true">googlereferer<txp:else/>normal referer</txp:gho_if_referer> Returns "googlereferer" if the visitor comes via a google-domain. Returns else "normalreferer". <txp:gho_if_referer string="\.google\." regexp="true">googlereferer</txp:gho_if_referer> Returns "googlereferer" if the visitor comes via a google-domain. Returns else nothing. NoteThis tag will only work if the visitors browser sends a referer. The user can disable this and there is no possibility on your side to get a referer in this case. History2007-07-21 v.2008.1
2007-06-22 v.2007.1
2006-09-05 v.2006.1
2005-04-29 v.0.1 initial version
|