Jump to content

Adding Category Box to Killer Skin


Recommended Posts

I would like to add a category box (listing) in the left column using the killer skin. Does anyone have a MOD or a walkthrough?

What i did to achieve this was to copy the ../skin/styletemplates/boxes/categories.tpl form the legend skin into the killer skin and then open ../skin/styletemplates/global/index.tpl and move the {categories} tag down into the left hand column.

Link to post
Share on other sites
Guest aikdo

Open Index.php

FIND

include("includes/boxes/categories.inc.php");

$body->assign("CATEGORIES",$box_content);

Below Add

include("includes/boxes/categories2.inc.php");

$body->assign("CATEGORIES2",$box_content);

Now Create a copy of your includes/boxes/categories.inc.php file and name it categories2.inc.php.

Open categories2.inc.php

FIND

$box_content=new XTemplate ("skins/".$config['skinDir']."/styleTemplates/boxes/categories.tpl");

REPLACE WITH

$box_content=new XTemplate ("skins/".$config['skinDir']."/styleTemplates/boxes/categories2.tpl");

Now make a copy of you skins/legend/styleTemplates/boxes/categories.tpl file to a new file in skins/killer/styleTemplates/boxes/ called categories2.tpl ...

Finaly OPEN skins/killer/styleTemplates/global/index.tpl

Place {CATEGORIES2} where you want the new categories to apear...

-----------------------------------------------

If i have confused you with all this PM me to arange for me or my partner to do the edits for you...

Link to post
Share on other sites
  • 6 months later...

Great tutorial mate :whistle:

Thanks.

One question, if I want to edit the text and the box, where do I go to do that? I want to edit the text slightly (font/bold etc..) and there is no line on the bottom of the category2 box.

Cheers :)

Link to post
Share on other sites
  • 3 weeks later...

Open Index.php

FIND

include("includes/boxes/categories.inc.php");

$body->assign("CATEGORIES",$box_content);

Below Add

include("includes/boxes/categories2.inc.php");

$body->assign("CATEGORIES2",$box_content);

Now Create a copy of your includes/boxes/categories.inc.php file and name it categories2.inc.php.

Open categories2.inc.php

FIND

$box_content=new XTemplate ("skins/".$config['skinDir']."/styleTemplates/boxes/categories.tpl");

REPLACE WITH

$box_content=new XTemplate ("skins/".$config['skinDir']."/styleTemplates/boxes/categories2.tpl");

Now make a copy of you skins/legend/styleTemplates/boxes/categories.tpl file to a new file in skins/killer/styleTemplates/boxes/ called categories2.tpl ...

Finaly OPEN skins/killer/styleTemplates/global/index.tpl

Place {CATEGORIES2} where you want the new categories to apear...

-----------------------------------------------

If i have confused you with all this PM me to arange for me or my partner to do the edits for you...

It worked but, i would like to have a Category Box on left side like the one in Legen skin...

is that possible ?

Link to post
Share on other sites
  • 3 weeks later...
Guest Mohegan

got any cc3 mods..?

Banner, seo, shipping, etc..

I need some quick help with mine..

Phil

:):D:)

Open Index.php

FIND

include("includes/boxes/categories.inc.php");

$body->assign("CATEGORIES",$box_content);

Below Add

include("includes/boxes/categories2.inc.php");

$body->assign("CATEGORIES2",$box_content);

Now Create a copy of your includes/boxes/categories.inc.php file and name it categories2.inc.php.

Open categories2.inc.php

FIND

$box_content=new XTemplate ("skins/".$config['skinDir']."/styleTemplates/boxes/categories.tpl");

REPLACE WITH

$box_content=new XTemplate ("skins/".$config['skinDir']."/styleTemplates/boxes/categories2.tpl");

Now make a copy of you skins/legend/styleTemplates/boxes/categories.tpl file to a new file in skins/killer/styleTemplates/boxes/ called categories2.tpl ...

Finaly OPEN skins/killer/styleTemplates/global/index.tpl

Place {CATEGORIES2} where you want the new categories to apear...

-----------------------------------------------

If i have confused you with all this PM me to arange for me or my partner to do the edits for you...

Link to post
Share on other sites
  • 3 weeks later...

a small question; i followed this; but have the tab main cats still there[ want them] but also have them repeated on the sidebox. How can i get rid of these - or those to change when i click on one of the main cats the sub cats are displayed in the sidebox - the main tab above is retained.

I would like to have the main tab cat bar retained; but with the sub cats displayed underneath ONLY when the cat is clicked on - takers? I know theres a sub cat mod but it displays the sub cats whatever the situateion [is this for the org site?]

linky me site HERE

Link to post
Share on other sites
  • 2 months later...
Guest purpledragon

First time I have posted, I hope it's ok for me to post on pinned post.

Thanks for this aikdo. It works great! :w00t:

I have also done this too, which I thought ppl might find helpful.

As it seperates the Shop by Category box from the Shopping Basket box (or whatever is underneath).

Once you have done all that aikdo said

Open categories2.tpl

and on line 14 add

<div class="boxFootLeft"> </div>

Link to post
Share on other sites
  • 2 weeks later...
Guest zedarte

Thanks for this solution... it worked really well for me!

Peter

I would like to add a category box (listing) in the left column using the killer skin. Does anyone have a MOD or a walkthrough?

What i did to achieve this was to copy the ../skin/styletemplates/boxes/categories.tpl form the legend skin into the killer skin and then open ../skin/styletemplates/global/index.tpl and move the {categories} tag down into the left hand column.

Link to post
Share on other sites
  • 2 years later...

i'd like add logo in the left column under categories. How can i do this?

i'd like add this code :

 <div id="naglowek">

	

	  <div id="gora_nag">

		<img src="/logo.png" alt="logo_" align="left" />

	  </div>

	

	  <div id="srodek_nag">

Link to post
Share on other sites
  • 7 months later...
Guest dynamyt100

Open Index.php

FIND

include("includes/boxes/categories.inc.php");

$body->assign("CATEGORIES",$box_content);

Below Add

include("includes/boxes/categories2.inc.php");

$body->assign("CATEGORIES2",$box_content);

Now Create a copy of your includes/boxes/categories.inc.php file and name it categories2.inc.php.

Open categories2.inc.php

FIND

$box_content=new XTemplate ("skins/".$config['skinDir']."/styleTemplates/boxes/categories.tpl");

REPLACE WITH

$box_content=new XTemplate ("skins/".$config['skinDir']."/styleTemplates/boxes/categories2.tpl");

Now make a copy of you skins/legend/styleTemplates/boxes/categories.tpl file to a new file in skins/killer/styleTemplates/boxes/ called categories2.tpl ...

Finaly OPEN skins/killer/styleTemplates/global/index.tpl

Place {CATEGORIES2} where you want the new categories to apear...

-----------------------------------------------

If i have confused you with all this PM me to arange for me or my partner to do the edits for you...

Hi, pls can i intervene :-) I am as far as opening index.tpl - where do insert and what code to get the categories2 into the left column underneath the basket ?

Link to post
Share on other sites
Guest degsey69

As it says

 FIND

 include("includes/boxes/categories.inc.php");

$body->assign("CATEGORIES",$box_content);



Below Add

 include("includes/boxes/categories2.inc.php");

$body->assign("CATEGORIES2",$box_content);</DIV>

That is all you do to the index.tpl

Link to post
Share on other sites
  • 9 months later...
Guest markus40

Open Index.php

FIND

include("includes/boxes/categories.inc.php");

$body->assign("CATEGORIES",$box_content);

Below Add

include("includes/boxes/categories2.inc.php");

$body->assign("CATEGORIES2",$box_content);

Now Create a copy of your includes/boxes/categories.inc.php file and name it categories2.inc.php.

Open categories2.inc.php

FIND

$box_content=new XTemplate ("skins/".$config['skinDir']."/styleTemplates/boxes/categories.tpl");

REPLACE WITH

$box_content=new XTemplate ("skins/".$config['skinDir']."/styleTemplates/boxes/categories2.tpl");

Now make a copy of you skins/legend/styleTemplates/boxes/categories.tpl file to a new file in skins/killer/styleTemplates/boxes/ called categories2.tpl ...

Finaly OPEN skins/killer/styleTemplates/global/index.tpl

Place {CATEGORIES2} where you want the new categories to apear...

-----------------------------------------------

If i have confused you with all this PM me to arange for me or my partner to do the edits for you...

Hi Sir

I have been reading your post here regarding someone wanting to have the categories on the left hand side in their killer skin, I too want the same thing and so I followed your simple steps and the blue strip that goes across the page that had the category tabs on them has gone, but I would like to have it back as I want to put in there in tabs some of the site documents that I have created, for example, About Us, Terms and Conditions, etc etc, so it would be appreciated if you could help me out on this one please sir, my site is www.zenardi-motors.com

With the categories now in a box on the left hand side, I need to move it down slightly, plus I would like to have a gap between the categories box and the shopping basket box so a little help on that too would also be fantastic.

I look forward to hearing from you

best regards

Mark

Link to post
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...