Viewing Issue Simple Details |
ID |
Category |
Type |
Reproducibility |
Date Submitted |
Last Update |
0000899 |
[In-Portal CMS] Template System |
feature request |
always |
2010-10-22 18:13 |
2012-07-25 05:33 |
|
Reporter |
Dmitry |
View Status |
public |
|
Assigned To |
alex |
Priority |
normal |
Resolution |
fixed |
|
Status |
closed |
|
|
|
|
Summary |
0000899: Create new "m_CurrentPageLink" tag to return current Page URL |
Description |
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 |
Additional Information |
Can't set 0.5 as a quote (mantis problem), so I set 1 hour, but I mean 0.5 hours. |