<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Highlight Active Category</title>
		<link>https://www.cotonti.com</link>
		<description>Neueste Themenbeiträge</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Wed, 08 Apr 2026 13:08:00 -0000</pubDate>

		<item>
			<title>aro747</title>
			<description><![CDATA[<p>Thank you very much!  Works great.</p>
]]></description>
			<pubDate>Do, 05 Dez 2013 06:32:29 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=7614&d=0#post38726]]></link>
		</item>
		<item>
			<title>Yusupov</title>
			<description><![CDATA[<p>The condition for profiles link:</p>

<pre>
&lt;!-- IF ({PHP.env.location} == 'pages' OR {PHP.env.location} == 'list') AND ({PHP.c|cot_structure_parents('page', $this, 'first')} == 'profiles' OR {PHP.pag.page_cat|cot_structure_parents('page', $this, 'first')} == 'profiles') --&gt;active&lt;!-- ENDIF --&gt;</pre>

<p>The condition for cars link:</p>

<pre>
&lt;!-- IF ({PHP.env.location} == 'pages' OR {PHP.env.location} == 'list') AND ({PHP.c|cot_structure_parents('page', $this, 'first')} == 'cars' OR {PHP.pag.page_cat|cot_structure_parents('page', $this, 'first')} == 'cars') --&gt;active&lt;!-- ENDIF --&gt;</pre>
]]></description>
			<pubDate>Do, 05 Dez 2013 06:18:10 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=7614&d=0#post38725]]></link>
		</item>
		<item>
			<title>aro747</title>
			<description><![CDATA[<p>Hi all,</p>

<p>I'm trying to get the button in the main nav to stay 'active' when viewing pages within that category.  Unfortunately, when viewing a page in that category, I'm getting more than one button to become active.  I have in header.tpl:</p>

<pre class="brush:php;">
&lt;li class="&lt;!-- IF {PHP.m} == 'page' OR {PHP.env.ext} == 'page' --&gt;active&lt;!-- ENDIF --&gt;"&gt;&lt;a href="https://www.cotonti.com/{PHP|cot_url('page', 'c=profiles')}"&gt;Profiles&lt;/a&gt;&lt;/li&gt;
&lt;li class="&lt;!-- IF {PHP.m} == 'page' OR {PHP.env.ext} == 'page' --&gt;active&lt;!-- ENDIF --&gt;"&gt;&lt;a href="https://www.cotonti.com/{PHP|cot_url('page', 'c=cars')}"&gt;Cars&lt;/a&gt;&lt;/li&gt;</pre>

<p>When viewing a page in the 'Cars' category, the 'Profiles' button also becomes active.  How can I fix it?  Thanks for your help.</p>
]]></description>
			<pubDate>Do, 05 Dez 2013 05:40:44 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=7614&d=0#post38724]]></link>
		</item>
	</channel>
</rss>