PDA

View Full Version : [SkyDancer] - display all categories on right column


Zooalex
09-24-2006, 08:27 PM
Hi boys!

How can I display all the categories on right column of SkyDancer template?

It's is possibile to exclude de home page?

Thanks so much!

Michael Hill
09-27-2006, 06:03 AM
How can I display all the categories on right column of SkyDancer template?
Hi,

Find the following code in footer.tpl file of your SkyDancer template:

<div class="box">
<div class="caption-left">
<div class="caption-right">
<div class="box-caption">{$lang.featured_links}</div>
</div>
</div>


Add the following code before it:

<div class="box">
<div class="caption-left">
<div class="caption-right">
<div class="box-caption">Main {$lang.categories}</div>
</div>
</div>
<div class="box-content">
<div class="links">
{foreach from=$top_categories item=top_category}<p class="top-category"><a href="{$config.base}{$config.dir}{$top_category.path}/">{$top_category.title}</a></p>
{/foreach}
</div>
</div>
</div>


Then save footer.tpl and go!

I hope it will help you.

Let me know if there are any problems.