<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Auth blocks in header.tpl</title>
		<link>https://www.cotonti.com</link>
		<description>Последние сообщения в теме</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Sun, 12 Apr 2026 19:24:44 -0000</pubDate>

		<item>
			<title>Trustmaster</title>
			<description><![CDATA[Sounds like an overkill.<br />
<br />
Though, it is still the same problem for all our TPLs: optional tags and optional markup, which is hard to do without yet more blocks.]]></description>
			<pubDate>пн, 19 янв 2009 20:34:57 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&q=1625&d=0#post5510]]></link>
		</item>
		<item>
			<title>Kilandor</title>
			<description><![CDATA[Correct, this is to much of a custom feature to be in core.<br />
<br />
Also the problem sometimes with trying to have guest/user/admin blocks as core, is that if its inside another block, then it won't work.<br />
<br />
Which would be why its only found in header/footer (think it works in footer maybe as well)]]></description>
			<pubDate>пн, 19 янв 2009 18:54:25 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&q=1625&d=0#post5504]]></link>
		</item>
		<item>
			<title>esclkm</title>
			<description><![CDATA[) I think it can made by plugin)]]></description>
			<pubDate>пн, 19 янв 2009 16:47:04 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&q=1625&d=0#post5495]]></link>
		</item>
		<item>
			<title>medar</title>
			<description><![CDATA[Now we have one block for auth info - &lt;!-- BEGIN: USER --&gt;...&lt;!-- END: USER --&gt; . It is inconvenient. For example, i want have caption &quot;Logged as user&quot; ({HEADER_LOGSTATUS}) in one place of site and usermenu ({HEADER_USER_PROFILE} , {HEADER_USER_PFS} etc) in others. Now i can't do it.<br />
	<br />
I propose add to header.php $t-&gt;parse(&quot;HEADER.USER2&quot;); , $t-&gt;parse(&quot;HEADER.USER3&quot;); and $t-&gt;parse(&quot;HEADER.GUEST2&quot;); , $t-&gt;parse(&quot;HEADER.GUEST3&quot;); for additional two auth blocks (or more).<br />
<br />
Not an elegant solution, i see. <br />
Ideally, we need <em>unlimited</em> blocks for differentiation displaying content for admin-user-guest in <em>any</em> tpl file. I think, without X-Template, with own solution.]]></description>
			<pubDate>пн, 19 янв 2009 16:05:33 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ru/forums?m=posts&q=1625&d=0#post5494]]></link>
		</item>
	</channel>
</rss>