View Full Version : About table columns.
Romario
09-18-2005, 09:16 AM
On main page i have table with 2 columns,
in first column display all categories and second column this is Right Menu.
How don't show second column on all sucategories pages?
My main.tpl
Content visible to registered users only.
kickass
09-18-2005, 08:05 PM
You might find it easier to include it as an additional template file. Simply take the code for your right column link list and create a template file named rightcol.tpl. Then you can call it into any of your other pages by using this:
Content visible to registered users only.
This will need to be called from more than just your main.tpl since other pages sometimes use other templates.
Romario
09-18-2005, 09:29 PM
I think, if do this, right column also will be show in all subcategory pages. I need show right column only main page.
Romario
09-18-2005, 11:30 PM
How don't show this html code on subcategory pages and show only main page.
Content visible to registered users only.
Romario
09-19-2005, 09:32 PM
Please help me, I'm create 2 new template file "right_box1.tpl" and "right_box2.tpl",
It is necessary for me that showed "right_box1.tpl" only index page and "right_box2.tpl" showed all subcategory pages.
Anonymous
09-20-2005, 01:38 AM
Content visible to registered users only.
I have the same problem - anyone can help?
thanks,
Ewa
Romario
09-20-2005, 10:23 AM
php smarty must do it, but how?
yktan
09-20-2005, 12:18 PM
Hi Romario, you can try this code:
Content visible to registered users only.
Romario
09-20-2005, 03:41 PM
Thanks, it's work. I'm happy. :D
ndemi
09-20-2005, 04:50 PM
Content visible to registered users only.
thanks a lot - I'm happy too :)
N.
vBulletin® v3.8.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.