foxhound |
|
---|---|
I hope with my title I correctly show what it is I am looking for
[add on] <img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />
|
|
Відредаговано: foxhound (30.08.2012 13:55, 12 років тому) |
tensh |
|
---|---|
Damn, it's not that easy as it might seem. I spent an hour trying to figure it out. Catch this plugin: Page url by alias Usage: {PHP.pag.page_alias|pageurl($this)} or just {PHP|pageurl('youraliasintext')} I'm not sure if it's a correct approach since it makes a call to database to determine the page category. Anybody can comment on this? |
GHengeveld |
|
---|---|
If you simply want the URL of the current page, try this: {PHP._SERVER.REQUEST_URI}
|
tensh |
|
---|---|
I just knew there was a more simple way ^^ |
foxhound |
|
---|---|
@tensh
@GHengeveld <img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />
|
GHengeveld |
|
---|---|
It never hurts to experiment with plugins, I'm happy to see people building stuff like that to help each other out. Plus its great exercise.
|