| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Embedding level static page, but hiding it under help menu | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() How do I create a an ebedded level static page so that the link to that page shows only on the "Help Zone" page.
I mean I don't want a link to that page on the main page under the Help heading. I want it only on the Help zone page once someone clicks on the help link from the main page. Thanks Tom
__________________
Unix X-Cart PRO 4.0.12 Add-on: X-Affiliate |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Hi Torola
If you wish to create a static page outside the shopping cart, put a link to your page in the /skin1/help.tpl If you wish to have a static page that still has the shopping cart framework but does not appear in the help menu, pmail me for my mods. Have a look at my entry to this post: http://forum.x-cart.com/viewtopic.php?t=11602&highlight=hidden+static+page s See if this is what you want to achieve. 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 |
|||||||||
#3
|
|||||||
|
|||||||
![]() Hi Stephen,
Thanks for your reply. I simply want to add more pages (links) on the help/general.tpl There is currectly 6 links to 6 pages on the "Help Zone" page which is accessed by clicking on link "Help" from the main page. So what I want to do is add another 2 links to the list of 6 already there(for total of 8 ) just on the "Help Zone" page. There is: Recover password Contact us FAQ Privacy statement Terms & Conditions About us I want to add 2 more How to shop on our website Shiping and return policy I hope its not confusing and you understand me. Right now when I add a new static page the link to that page shows under the Help Menu on the main page, (menu_customer.tpl) <I don't want that I want it to show only on the "Help Zone" page help/general.tpl Another problem I'm having is when I want to edit the About page and I'm in the webmaster mode, there is nothing to click on to enter text underneath the heading. There is no text there so I can't click on it to edit. How do I enter text in that area? There is probably a simple answer here, but for the time being I'm stuck, as I'm a newbe to the smarty Thanks
__________________
Unix X-Cart PRO 4.0.12 Add-on: X-Affiliate |
|||||||
#4
|
|||||||||
|
|||||||||
![]() Hi Torola
Yep, you have the right template (/yourshop/skin1/help/general.tpl) for modifying. The help.php in the cart root (/www.yoursite.com/yourshop/help.php) calls up the help.php in the include directory (/yourshop/include/help.php) that uses the general.tpl. All of the buttons are links back to the /include/help.php with the variables set for each of the menu items. So you cannot make a link to your pages in the same manner because the /include/help.php does not handle your page data. You can put a link in there to your html pages that you can make yourself. eg: <H3> How to shop on our website</h3> <H3> Shipping and return policy</h3> It is better to put it after {/capture} and you can embed it into a table structure like general.tpl has. These pages would be outside of the shopping cart structure and so would not be very elegant. However with my hidden pages method, these links can jump you to an embedded page. For example, if you click on "Powered by Xcart" link under the payment methods (all shopping cart screens), you will see the hidden page : http://www.eotr.com/Light4Life/EOTRpages.php?pageid=19 This page is embedded in the shopping cart framework and you use the same static page creation method in the administration area. I also have a test method to look at pages that are disabled (so you can work on them with the shopping cart fully operational but hidden from customers). You can add the go button to any link. So do you want an external page or an embedded page? Note: there is another method in the forum for embedded static pages. Search for it, choices, choices, choices..... 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 |
|||||||||
#5
|
|||||||
|
|||||||
![]() I want the embedded version, whet do I need to do?
__________________
Unix X-Cart PRO 4.0.12 Add-on: X-Affiliate |
|||||||
#6
|
|||||||||
|
|||||||||
![]() Hi Torola
Easy, pmail me with your email details. I will then forward the changes needed. They are to long to list here. Plus I can keep track and update people who are using it. (Revision control) Anybody else interested, same procedure. ![]() 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 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|