Forums / Cotonti / Support / Simple Question

blocks and links navigation?

Twiebie
#36695 2013-01-05 19:20

Hi eksplode,

You can manage these blocks in the .tpl files of your website.

For example if you want to remove the polls on the index, open index.tpl in your theme folder (themes/nemesis/index.tpl)

Find the block:

<!-- IF {INDEX_POLLS} -->
<div class="block">
    <h2 class="polls">{PHP.L.Polls}</h2>
    {INDEX_POLLS}
</div>
<!-- ENDIF -->

You can then simply remove it, change it, style it, etc.

The top main navigation is in the header.tpl file. Just open the file and look for:

	<ul id="nav" class="body">
		<li>
			<a href="{PHP.cfg.mainurl}" title="{PHP.L.Home}">
				{PHP.L.Home}
				<span>Start here</span>
			</a>
		</li>
		<!-- IF {PHP.cot_modules.forums} -->
		<li>
			<a href="{PHP|cot_url('forums')}" title="{PHP.L.Forums}">
				{PHP.L.Forums}
				<span>Discussions</span>
			</a>
		</li>
		<!-- ENDIF -->
		<li>
			<a href="{PHP|cot_url('page','c=news')}" title="{PHP.L.News}">
				{PHP.L.News}
				<span>Our updates</span>
			</a>
		</li>
		<!-- IF {PHP.cot_modules.rss} -->
		<li>
			<a href="{PHP|cot_url('rss')}" title="{PHP.L.RSS_Feeds}">
				RSS
				<span>Subscribe me</span>
			</a>
		</li>
		<!-- ENDIF -->
	</ul>

Here is some more information:

http://www.cotonti.com/docs/ext/themes/rendering_overview

 

This post was edited by Twiebie (2013-01-05 21:43, 11 years ago)