| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Easy Hidden Static Pages Mod 3.5.x | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Easy Hidden Static Pages Mod 3.5.x
Ok. This has to be one of the most annoying things in X-Cart. You can either enable or disable a Static Page but if you want to enable it throughout the customer front end by direct link, but not in the help menu here is the trick.
First set all of the Help Menu Hidden Static Pages (HMHSP) to the same order by # in the admin. I use 99. In skin1/pages_menu.tpl change from Code:
change to Code:
|
|||||||||
#2
|
|||||||
|
|||||||
totally agree adp - the static pages side coul dbe sooo much better if:
you could disable a page but still access it. I have done a similiar mod as you have here for that very reason but did it slightly differently. I edited the php scripts to stop the site doing the work in retreiving the page names if it isnt going to use them. Also it has to have a wysiwyg editor there... that is why I have built in htmlarea into variuous sites so that clients could use that to actually creates pages rather than just display text.
__________________
ex x-cart guru |
|||||||
#3
|
|||||||
|
|||||||
Nice simple mod this, but has anyone got this working for v4.x ?
__________________
xcartmods.co.uk |
|||||||
#4
|
|||||||||
|
|||||||||
cant see any reason why this would not work for 4 too
another way around is to set the order by to what you would normally and then set the one you want to hide to say 99 and the say {if $pages_menu[pg].orderby eq 99} instead. this way you still have control over the order of the other pages
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#5
|
|||||||
|
|||||||
Sorry, works fine, my stupid fault
__________________
xcartmods.co.uk |
|||||||
#6
|
|||||||
|
|||||||
thanks
__________________
----------------------- x-cart v4.7.6 [LIVE] x-cart v4.0.18 [retired 2004-2016] x-cart v3.5.13 [retired] x-cart v3.4.14 [retired] |
|||||||
#7
|
|||||||||
|
|||||||||
Hidden static pages
Hi All
I have a method of having pages on the menu, pages disabled and pages that are hidden. All are accessable inside the cart framework. Here is my last post: http://forum.x-cart.com/viewtopic.php?t=13705&highlight=hidden+pages+hatto n Here is a sample of hidden pages: Normal menu pages: http://www.eotr.com/Light4Life/pages.php?pageid=2 Hidden pages (not on menu): http://www.eotr.com/Light4Life/EOTRpages.php?pageid=19 Test pages (not on menu and not available but viewable outside of admin): http://www.eotr.com/Light4Life/EOTRtestpages.php?pageid=14 (it is a test page for Gijs Himpe of the forum) (There is another test page for forum members - search my posts for this one). All pages are individually addressable. I have over 200 pages assigned - about 25% are done, the others are awaiting completion and page linking from other pages. If you have a need for these, email me for details: stephen_hatton1959@yahoo.com.au Regards Ing. Stephen Hatton
__________________
Apache Linux V1.3.33 PERL version: 5.8.0 PHP version: 4.3.11 MySQL version: 4.0.22-standard X-cart V4.0.17: Addons: X-PConfig, X-Giftreg, X-Fancycat, X-AOM |
|||||||||
#8
|
|||||||
|
|||||||
Re: Easy Hidden Static Pages Mod 3.5.x
I am also trying to make hidden static pages that don't show up in the menu. I've tried following the above directions, but to no avail...I get smart errors every time.
I want to have about 8 static pages listed in my menu (in a specified order of 1-, but then have other hidden pages (specified at higher numbers starting at 91, as suggested above by SHAN). This is what my pages_menu.tpl file looks like. Quote:
What exactly does this text need to look like to achieve my desired results? Thank you for any help you may give me!
__________________
Alisa X-Cart 4.3 |
|||||||
|
|||
X-Cart forums © 2001-2020
|