<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Global tag url creation</title>
		<link>https://www.cotonti.com</link>
		<description>Останні повідомлення в темі</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Wed, 15 Apr 2026 07:49:48 -0000</pubDate>

		<item>
			<title>GHengeveld</title>
			<description><![CDATA[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. ]]></description>
			<pubDate>Пт, 31 Сер 2012 16:50:32 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=7070&d=0#post35307]]></link>
		</item>
		<item>
			<title>foxhound</title>
			<description><![CDATA[<p>
	@<a href="http://www.cotonti.com/users/tensh">tensh</a><br />
	Thank you very much for the help, I appreciate your effort.<br />
	Maybe that plugin will come handy in other cases, maybe the tip by <a href="http://www.cotonti.com/users/GHengeveld">GHengeveld</a> will make it absolete.</p>
<p>
	@<a href="http://www.cotonti.com/users/GHengeveld">GHengeveld</a><br />
	Thanks, that seems to do wonders and also will prevent me having to use multiple if / else statements depending on which tpl the visitor is <img alt="smiley" height="20" src="http://www.cotonti.com/plugins/ckeditor/lib/plugins/smiley/images/regular_smile.gif" title="smiley" width="20" /></p>
]]></description>
			<pubDate>Пт, 31 Сер 2012 11:13:08 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=7070&d=0#post35300]]></link>
		</item>
		<item>
			<title>tensh</title>
			<description><![CDATA[<p>
	I just knew there was a more simple way ^^</p>
]]></description>
			<pubDate>Thu, 30 Сер 2012 18:16:33 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=7070&d=0#post35285]]></link>
		</item>
		<item>
			<title>GHengeveld</title>
			<description><![CDATA[If you simply want the URL of the current page,  try this: {PHP._SERVER.REQUEST_URI}]]></description>
			<pubDate>Thu, 30 Сер 2012 17:39:16 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=7070&d=0#post35283]]></link>
		</item>
		<item>
			<title>tensh</title>
			<description><![CDATA[<p>
	Damn, it's not that easy as it might seem. I spent an hour trying to figure it out. </p>
<p>
	Catch this plugin: <strong><a href="http://www.cotonti.com/datas/users/pageurl_253.zip">Page url by alias</a></strong></p>
<p>
	Usage: {PHP.pag.page_alias|pageurl($this)} or just {PHP|pageurl('youraliasintext')}</p>
<p>
	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?</p>
]]></description>
			<pubDate>Thu, 30 Сер 2012 16:00:02 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=7070&d=0#post35282]]></link>
		</item>
		<item>
			<title>foxhound</title>
			<description><![CDATA[<p>
	I hope with my title I correctly show what it is I am looking for <img alt="smiley" height="20" src="http://www.cotonti.com/plugins/ckeditor/lib/plugins/smiley/images/regular_smile.gif" title="smiley" width="20" /><br /><br />
	Anyway, I have this: {PHP.pag.page_id|cot_url('page','id=$this')} to create an url of the curent page I am viewing. However, Sienna uses a different link.<br />
	For example for xx page the url looks like this: index.php?e=page&amp;c=news&amp;al=My-second-newspost<br />
	With {PHP.pag.page_id|cot_url('page','id=$this')} the url returned is index.php?e=page&amp;id=3<br />
	The page_id is correct, but the url is not the same as how it was first displayed ( index.php?e=page&amp;c=news&amp;al=My-second-newspost )<br /><br />
	I would like to use that global tag to recreate the url but so far I have not really been lucky (lucky literally cause I am not really sure about what I am doing).<br />
	I have tried many different versions of this: {PHP.pag.page_id|cot_url('page','c=$pag_cat','al=$pag_alias')} but that creates weird urls like this: index.php?e=page&amp;c=%24pag_catal=$pag_alias<br /><br />
	Anyone has an idea how to adjust the global tag so the proper url is returned?<br /><br />
	In case anyone wonders, I need this so when i click "go to top" the browser knows I want to stay on the same page (url is equal) and so a nice scoller effect is used to go to the top instead of reloading the page to the top.<br />
	I use the scoller from symisun-03 but that one does also not work correctly, cause it uses that global tag to re-create the url which is wrong. So first it reloads the page to index.php?e=page&amp;id=3 and than if you click the "go to top" link the scoller comes into affect cause a link on the same page is activated (you are on index.php?e=page&amp;id=3 and the global tag recreates exactly that).<br /><br />
	I hope the above is clear.........a bit. If anyone knows how to do this I would appreciate a little assistance.</p>
<p>
	[add on]<br />
	{PAGE_URL} does not work in the footer (where the "go to top" is), thats why i am using this global tag.</p>
]]></description>
			<pubDate>Thu, 30 Сер 2012 13:36:23 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=7070&d=0#post35277]]></link>
		</item>
	</channel>
</rss>