| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
#1
|
|||||||
|
|||||||
![]() 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.
__________________
X-Cart Gold 4.0.17 [unix] X-Cart Gold 4.0.18 [unix] |
|||||||
#2
|
|||||||
|
|||||||
![]() 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!
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() ok, I have it now, sorry.
__________________
X-Cart Gold 4.0.17 [unix] X-Cart Gold 4.0.18 [unix] |
|||||||
#4
|
|||||||
|
|||||||
![]() 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?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() static page link displays on menu and i don't want that
__________________
X-Cart Gold 4.0.17 [unix] X-Cart Gold 4.0.18 [unix] |
|||||||
#6
|
|||||||
|
|||||||
![]() You can remove that easily.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#7
|
|||||||
|
|||||||
![]() how would I do that just for one or 2 pages, yet live it on for others?
__________________
X-Cart Gold 4.0.17 [unix] X-Cart Gold 4.0.18 [unix] |
|||||||
#8
|
|||||||
|
|||||||
![]() 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.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#9
|
|||||||
|
|||||||
![]() thanks
__________________
X-Cart Gold 4.0.17 [unix] X-Cart Gold 4.0.18 [unix] |
|||||||
#10
|
|||||||
|
|||||||
![]() 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:
|
|||||||
|
|||
X-Cart forums © 2001-2020
|