Jump to content

Archived

This topic is now archived and is closed to further replies.

Guest shaywood

Adding Category Box to Killer Skin

Recommended Posts

Guest shaywood

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?

Share this post


Link to post
Share on other sites

Guest

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.

Share this post


Link to post
Share on other sites
Guest shaywood

Thanks. That would be a good option, however, I want to keep the category listing at the top of the page also. And, add one in the box on the left.

Share this post


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...

Share this post


Link to post
Share on other sites
Guest GaryU

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 :)

Share this post


Link to post
Share on other sites
Guest oldboy

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 ?

Share this post


Link to post
Share on other sites
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...

Share this post


Link to post
Share on other sites
Guest

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

Share this post


Link to post
Share on other sites
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>

Share this post


Link to post
Share on other sites
Guest

thanks for that....now for getting the child/sub cats not to show as icons and hope to show in the side when parent cat is clicked on......

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Guest

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">

Share this post


Link to post
Share on other sites
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 ?

Share this post


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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

×
×
  • Create New...