PDA

View Full Version : How to modify subcat display



Wei Hong
August 4, 2013, 04:59 AM
Hi, is there anyway to make the subcat display as a vertical (as 1 subcat per line) list like this in the home page:
608

Instead of horizontal like this:
609

Wei Hong
January 11, 2014, 02:05 AM
Still looking into this. Will appreciate if any1 know how to change this

Wei Hong
January 13, 2014, 05:31 AM
Just want to bump this up so other flynax supporters could see and hopefully know how to do it, or at least tell me which file to look at.
:D

Steffen Buschkemper
January 13, 2014, 09:11 PM
I can not see your images from first post.

Wei Hong
January 13, 2014, 11:17 PM
Hi Steffen
This is the outline of the Categories

793

You can see under the "Services" category, there are 4 sub-categories: Travel, Insurance, Automotive, Other services.
Do you know know to make the sub-categories display 1 per line.

Services
- Travel
- Insurance
- Automotive
- Other services

Instead of:
Services
Travel, Insurance, Automotive, Other services.

Viktor
January 14, 2014, 03:30 AM
Hello Wei Hong,

Exist 2 files which you can change.
1. ftp://templates>>your_template>>tpl>>blocks>>categories.tpl
find comma ',' in 2 places in this file and replace to:
<br/>

2. ftp://templates>>your_template>>tpl>>blocks>>categories_block.tpl
find comma ',' in 3 places in this file and replace to:
<br/>

save and check again.

Wei Hong
January 14, 2014, 05:00 AM
Thanks
Viktor
It works perfect