| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Adding New Pages to Xcart, Help please | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Adding New Pages to Xcart, Help please
I am fairly new to X-Cart and don't really have experience wih PHP and Smarty. However I have managed to set up my xcart store fine for the moment. The only thing I dont get is how it really all works together.
What I want to do: below the categories box on the user front end, add a new "box" below with further links to pages which should be displayed in the main area of x-cart. Basically I just want to add more content pages to x-cart and if possible, administer these from the admin backend. Any of you guys who can give me a hand with this? Would be greatly appreciated. Thanks.
__________________
X-Cart Version :: 4.1.6 (Finally) X-Cart Mods :: Kids Skin by 7dana Running on :: SUSE Linux 9.3 with Plesk 7.5.4 Webserv :: Apache 2.0.53 mySQL :: 4.1.10 PHP :: 4.3.10 |
|||||||
#2
|
|||||||||
|
|||||||||
You could easily do this with static pages. Easy to administrate from the admin section and automaticly indexed on the customer side of your store. In your admin directory on the right side you'll find the link to the static pages. Use the embeded pages to create new content pages for your store. These pages will be placed under your help menu items link contact us, privacy statement and terms and conditions.
Note: 4.1.1 is not stable yet and not recommended for live stores. For a stable version you should use the 4.0.18 version which is stable. If you want to add a new box you have to make a new tpl file with a menu. And cut the code for the static pages out of the help section. But if you don't really have knowledge about the template system you can just make some static pages to get some experience. Hope this helps.
__________________
Best regards, Niki Buitenrust Hettema X-Cart Gold 4.1.8 (Live & Loaded) Royal Bhaktapur: Handmade products from Nepal - Pashmina's, scarfs, shawls, stola's and more... |
|||||||||
#3
|
|||||||
|
|||||||
Thanks
Thanks for your quick reply. Sorry that I didnt see the static page link, its working fine now so thanks a lot.
Could you or anyone by chance expand a bit on how to create a new menu and integrating it? Thanks!
__________________
X-Cart Version :: 4.1.6 (Finally) X-Cart Mods :: Kids Skin by 7dana Running on :: SUSE Linux 9.3 with Plesk 7.5.4 Webserv :: Apache 2.0.53 mySQL :: 4.1.10 PHP :: 4.3.10 |
|||||||
#4
|
|||||||
|
|||||||
new page without dialog box
I'm trying to do the same thing. This was helpful, however, I don't want my new page content to come up in what I think they call the dialog box. How would I get rid of that?
Is there another way to do this without using the static pages link? I tried copying a php page such as home.php and added an include to my file, but that didn't work. It only showed my file and not the surrounding storefront.
__________________
xcart version 4.0.18 |
|||||||
#5
|
|||||||||
|
|||||||||
In the skin1 folder look for the help.tpl file.
Inside that file look for this line: Code:
Change it to: Code:
To create a menu with only the static pages links: In the skin1 directory create a new file called for example: new_menu.tpl And place this code in it: Code:
You can adjust the menu to your liking by changing the lbl_help variable. In skin1/customer/home.tpl insert this code where you want to include the menu: Code:
This should do the trick
__________________
Best regards, Niki Buitenrust Hettema X-Cart Gold 4.1.8 (Live & Loaded) Royal Bhaktapur: Handmade products from Nepal - Pashmina's, scarfs, shawls, stola's and more... |
|||||||||
#6
|
|||||||
|
|||||||
static pages and dialog box
I answered my own question about getting rid of the dialog box in static pages. I commented out the call to that in the customer/main/pages.tpl but then the page was blank. So I created a new dialog_blank.tpl with no fancy table and table top, and then included that in pages.tpl instead. There might be a better way, but for this newbie, it works.
__________________
xcart version 4.0.18 |
|||||||
#7
|
|||||||
|
|||||||
Re: Adding New Pages to Xcart, Help please
I cant seem to get this to work anymore after upgrading to 4.1.3
Any ideas how I can fix this? thanks
__________________
X-Cart Version :: 4.1.6 (Finally) X-Cart Mods :: Kids Skin by 7dana Running on :: SUSE Linux 9.3 with Plesk 7.5.4 Webserv :: Apache 2.0.53 mySQL :: 4.1.10 PHP :: 4.3.10 |
|||||||
#8
|
|||||||
|
|||||||
Re: Adding New Pages to Xcart, Help please
can php scripts run under embedded pages?
__________________
X-Cart Gold 4.1.11 X-Cart Gold v4.1.8 X-Cart Gold v4.1.1 X-Cart Gold v4.4.3 X-Cart Gold v4.5.4 |
|||||||
#9
|
|||||||
|
|||||||
Re: Adding New Pages to Xcart, Help please
I've done this exact procedure - and it's not working!
Only thing that seems to work is the {* *} which hides the pages from the help.tpl???????
__________________
Version 4.0.19 |
|||||||
#10
|
|||||||
|
|||||||
Re: Adding New Pages to Xcart, Help please
ok it works! - but not on the main page?
__________________
Version 4.0.19 |
|||||||
|
|||
X-Cart forums © 2001-2020
|