Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Embedding level static page, but hiding it under help menu

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-09-2005, 04:28 PM
 
torola torola is offline
 

Advanced Member
  
Join Date: Feb 2005
Location: Toronto, Canada
Posts: 54
 

Default Embedding level static page, but hiding it under help menu

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
Reply With Quote
  #2  
Old 02-09-2005, 06:21 PM
  Stephen Hatton's Avatar 
Stephen Hatton Stephen Hatton is offline
 

Senior Member
  
Join Date: Mar 2004
Location: Melbourne, Australia
Posts: 182
 

Default Embedded & hidden static pages not displayed in Help men

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
Reply With Quote
  #3  
Old 02-09-2005, 07:19 PM
 
torola torola is offline
 

Advanced Member
  
Join Date: Feb 2005
Location: Toronto, Canada
Posts: 54
 

Default

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
Reply With Quote
  #4  
Old 02-10-2005, 01:51 AM
  Stephen Hatton's Avatar 
Stephen Hatton Stephen Hatton is offline
 

Senior Member
  
Join Date: Mar 2004
Location: Melbourne, Australia
Posts: 182
 

Default Embedded & hidden static pages not displayed in Help men

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
Reply With Quote
  #5  
Old 02-10-2005, 05:29 AM
 
torola torola is offline
 

Advanced Member
  
Join Date: Feb 2005
Location: Toronto, Canada
Posts: 54
 

Default

I want the embedded version, whet do I need to do?
__________________
Unix X-Cart PRO 4.0.12
Add-on: X-Affiliate
Reply With Quote
  #6  
Old 02-10-2005, 12:57 PM
  Stephen Hatton's Avatar 
Stephen Hatton Stephen Hatton is offline
 

Senior Member
  
Join Date: Mar 2004
Location: Melbourne, Australia
Posts: 182
 

Default Embedded & hidden static pages not displayed in Help men

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
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:10 PM.

   

 
X-Cart forums © 2001-2020