![]() |
empty.php
How can I create a page to have only the top and bottom without the left and right navigations?
I know I could just copy the html, but that does not help. The page needs to be part of the system as I am using 2 languages and I'd like for it to be dynamic. |
Please put your X-Cart version in your signature, we can't help you without it. Edit profile, enter version, enter help desk password, click the 'Always attach my signature:' box, save. Thanks!
|
ok, I have it now, sorry.
|
You could just create a static page, and then write an {if} statement that gets it to hide the left and right columns for that particular page. Is that what you have in mind?
|
static page link displays on menu and i don't want that
|
You can remove that easily.
|
how would I do that just for one or 2 pages, yet live it on for others?
|
Using a smarty {if} statement like this:
{if $smarty.get.pageid eq "1" or $smarty.get.pageid eq "2"}Display this{else}Display this{/if} Replace 1 and 2 with the actual number of the static pages you want to hide the menus for. |
thanks
|
Quote:
You can "group" pages similar to Carrie's free category grouping mod, which then allows you to display/or not display any pages you want, wherever you want. Assign a specific POS value to each of the pages you only want displayed in certain places. Something like this: 900, 901, 902 and so on for each of the "special" pages. Then using codes like this in your /skin1/pages_menu.tpl or by copying that same template to something like /skin1/special_pages.tpl you can display them/turn them off at will: Code:
{section name=pg loop=$pages_menu} |
All times are GMT -8. The time now is 11:13 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.