Jump to content

Categories


Guest ByondF1

Recommended Posts

  • 3 weeks later...
Guest chrismaber

Hi ByondF1,

Did you resolve your problem.

I also would like to show my top level categories on 2 rows, at the moment I have too many which is making my cart too wide to display on smaller screen resolutions creating a horizontal scroll bar which is undesirable.

Thanks in advance.

Chris :rolleyes:

Link to comment
Share on other sites

Guest chrismaber

Thanks vrakas,

That mod actually adds 2nd level categories to the 2nd row.

Still it is a solution.

Thanks for your help.

Regards,

Chris :rolleyes:

Link to comment
Share on other sites

  • 3 weeks later...
Guest Bitz'n'Batz

Hi,

You can find the killer skin mod in the free mods section of store my store

here's direct link to it: killer skin mod

Thanks

/Goober

Its not the 2 row one i want its the 1 that goes in a box on the left and side of my store.

But want to keep the bar without the categories at the top of the page

Link to comment
Share on other sites

Guest ByondF1

Ok, here is how I moved the categories to the side of the Killer skin.

First make a copy of the folder called Killer under the skins directory and call it whatever you want your new skin to be.

{store}/skins/{Your new skin}/styleTemplates/global/index.tpl

Search for

{CATEGORIES}

Move it to just before

{INFORMATION}

If you want the blue bar at the top of the page add this where the {CATEGORIES} was:

<div class="topCats">

<div class="topCatsBgRight">

<span class="topCatsBgLeft">&nbsp;</span>

</div>

</div>

Now edit

{store}/skins/{Your new skin}/styleTemplates/boxes/categories.tpl

and make it look like:

<!-- BEGIN: categories -->

<div class="boxTitleLeft">{LANG_CATEGORY_TITLE}</div>

<div class="boxContentLeft">

<ul>

<li class="bullet"><a href="\" class="txtDefault">ByondF1 Home</a></li>

<li class="bullet"><a href="index.php" class="txtDefault">{LANG_HOME}</a></li>

<!-- BEGIN: li -->

<li class="bullet"><a href="index.php?act=viewCat&amp;catId={DATA.cat_id}" class="txtDefault">{DATA.cat_name}</a></li>

<!-- END: li -->

<!-- BEGIN: sale -->

<li class="bullet"><a href="index.php?act=viewCat&amp;catId=saleItems" class="txtDefault">{LANG_SALE_ITEMS}</a></li>

<!-- END: sale -->

</ul>

</div>

<div class="boxFootLeft">&nbsp;</div>

<!-- END: categories -->

Then upload those 2 files and away you go.

Hope that helps.

Link to comment
Share on other sites

Guest sunshine

LOL I went to Goober's site to see what they were talking about on the skin and I came across this :) New Flash on the side bar. Read it and clicked the 'more' button to find out more. I'm sitting here looking at, saying where's the pic so I can see it?!?! Duh, I just used it!!! B)

BTW: cool News Flash Mod :)

Link to comment
Share on other sites

Cheers ByondF1

Followed your instructions to the letter.

Copied and pasted your categories.tpl over mine and worked perfectly.

Oh, by the way I deleted the line

<li class="bullet"><a href="\" class="txtDefault">ByondF1 Home</a></li>

as although this has been so helpful, I didn't think a link to your site was needed on mine. :D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...