PDA

View Full Version : Only view subcategory in main category


khacqui156
02-29-2008, 09:05 AM
Hi vivvo,

I want when I click to one category, the new template will be show in left menu with Main category name and their subcategory name only.

I think I crerate a new subsections.tpl for subcategory. How I can edit file sections.tpl to save as subsections.tpl ?

Sorry, my English bad.

Help me soon.

Thanks for view.

Micha
02-29-2008, 09:30 AM
Have you tried with Navigation (breadcrumb/section crossover) from our resources site?

http://www.vivvo.net/resources/downloads/widgets/section-crossover.html

khacqui156
02-29-2008, 11:04 AM
My site used vivvo 4.0.2 but I don't have file box_navigation.tpl,
Can u send to me this file?


Thanks,

Micha
02-29-2008, 11:44 AM
box_navigation.tpl isn't included in default installation.

Log in and download this widget from resources area.

http://www.vivvo.net/resources/downloads/widgets/section-crossover.html

tunatamaker
04-07-2008, 02:20 AM
i am not sure for this file where i am supposed to put
<vte:include file="{VIVVO_TEMPLATE_DIR}box/box_navigation.tpl" />

which file and where?

Micha
04-07-2008, 10:25 AM
You can place this include <vte:include file="{VIVVO_TEMPLATE_DIR}box/box_navigation.tpl" /> in your default.tpl for homepage if you want ti displayed only on index page of your site.

If you want it trough entire site, you need to place it in other frame templates (category, article, frame...)

You can find list of frame templates here:

http://www.vivvo.net/doc/v4/developer_manual/templates_folder.php

As for where to put it, I think it is best to place it within <div id="box_left_holder"> instead of <vte:include file="{VIVVO_TEMPLATE_DIR}box/sections.tpl" /> because you don't need two navigations on your website.