PDA

View Full Version : Changing the location of category tree


p0werm4n
10-17-2006, 10:33 AM
I'm using the Fire and Ice template and have been helped quite a bit already. But I have encountered another issue... The front of the page looks clean and nice, but once you go into the different categories there is a problem. The category tree (not sure what you call it) goes over into the left menu and breaks it up. Is there anyway to stop this from happening?

You can see the difference between the front page (http://www.igamex.com/) and the categories page, (http://www.igamex.com/cheats-hints-and-codes/) to get a better idea.

Michael Hill
10-17-2006, 10:47 AM
Which browser you use? I check your script in Firefox and IE, and it seems that no troubles here.
Did you fix it?

p0werm4n
10-17-2006, 11:06 AM
Nope didn't change anything, maybe its my browser, I'm using FireFox... I tinkered with my site a bit today, so maybe I messed it up now lol...

Here is a pic just in case, let me know if its the same for you or not.

http://www.igamex.com/a.jpg

Michael Hill
10-17-2006, 11:40 AM
I display how it is possible for popular links, for other it will similar.

Find in templates->FireandIce->header.tpl string


<div class="caption">{$breadcrumb}</div>

copy it.

Insert it in templates->FireandIce->popular-links.tpl after

{if $links}
<div class="box2">
<div class="box-content">



In style.css add strings in the end

div.caption
{
text-align:left;
margin: 0 0 10px 0
}


Save all and reload your popular-links. Thats all.

You must do this similar for all your other pages, and after this delete from header.tpl

<div class="caption">{$breadcrumb}</div>


Hope, it will help you.

p0werm4n
10-17-2006, 07:28 PM
Thanks! That worked :) If you don't mind, which file is used for the different category listings? I'm having trouble finding that file to edit, thanks again!

p0werm4n
10-17-2006, 09:51 PM
I just figured it out, I'm such a newbie. I should probably take some computer classes so I know what I'm doing.

For anyone else that wants to do this, just add

<div class="caption">{$breadcrumb}</div>

under

{if $category.description}
<div class="box" style="border: none;">{$category.description}</div>
{/if}

on your index.tpl file.

Michael Hill
10-18-2006, 08:35 AM
Hi, p0werm4n!

Thank you for your suggestion, but it works only for categories listing, not for all pages. Probably, it also was your purpose, and I don't clearly understand you.

With any case was glad to help you!