Please read before posting on the forums:
Welcome to the Maian Script World support forums. This is the only method for FREE support. If you require assistance or your problem is urgent, think about sending a donation first. Use your descretion with donations. Don`t expect too much of my time for a dollar. :p

You are required to register before you can post. Please post any problems you are encountering here and I`ll do my best to respond as soon as I can. Please note that a reply WILL be posted to all queries, so do not double post. Finally, there are no guarantees when a reply will appear. DO NOT post here and also use the contact option. Unless you have sent a donation, this will NOT speed up the response.

IMPORTANT! Posts in English ONLY please, thank you! Any other languages will be ignored.
SEARCH! Use the search option to see if your question has been answered on the forum before.
PRIVATE MESSAGES! Do NOT contact me via the private message option for support. Your message will be ignored.
DOCUMENTATION: Did you check to see if your question has been answered already in the script documentation?
AUTO ACCOUNT DELETION: If you have an account older than 2 months, but have made no posts or started no topics, it will automatically be deleted. Only register if you are thinking of posting. Thanks.

You are not logged in.

#1 27 July 2010 11:49:42

borfash
Member
Registered: 24 January 2010
Posts: 6

Subcategories

can subcategories be listed vertical not horizontal in the "index.tpl"? how to do it? thank you

Offline

 

#2 28 July 2010 11:00:26

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 9 May 2006
Posts: 4463

Re: Subcategories

Yes, this is possible, but you`ll need to adjust one of the classes files.

So, open 'classes/recipes.php' in your text editor. Find line 579. It starts..

$children .= '<a href="'.$curl.'" title...

Scroll across until you see:

mysql_num_rows($q_children) ? ', ' : (SUB_CATEGORY...

Change the comma to a line break:

mysql_num_rows($q_children) ? '<br /> ' : (SUB_CATEGORY

Save and re-upload. I think that should do it.


David.

Maian Script World
http://www.maianscriptworld.co.uk

Offline

 

#3 28 July 2010 13:38:52

borfash
Member
Registered: 24 January 2010
Posts: 6

Re: Subcategories

It Works.Thanks

Offline

 

#4 29 July 2010 08:01:15

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 9 May 2006
Posts: 4463

Re: Subcategories

No problem. smile


David.

Maian Script World
http://www.maianscriptworld.co.uk

Offline

 

Board footer

MSWorld Forum
© R. Andersson