-
Type: Feature Request
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.1.1-B2
-
Fix Version/s: 5.2.0-B1
-
Component/s: Template System
-
Labels:None
-
External issue URL:
-
Additional information:
-
Change Log Message:Created new "CurrentPageLink" tag returning current Page URL
-
Story Points:1
-
External issue ID:899
-
Copy Issue Key:
-
Patch Instructions:
Create new <inp2:m_CurrentPageLink skip_query="1"/> tag to return current Page URL (without re-assembling it). That "skip_query" param is optional and will skip the ?QUERY part.
For speed purposes use:
1. with query: $_SERVER['REQUEST_URI']
2. without query: preg_replace('/?' . preg_quote($_SERVER['QUERY_STRING'], '/') . '$/', '', $_SERVER['REQUEST_URI'])
Note: as you can see no domain is added for faster performance
- mentioned in
-
Page Loading...