| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
#1
|
|||||||||
|
|||||||||
![]() I want all my pages in the help area to be static...I have made the pages but how do I get rid of the Help Hyperlink and all the links it takes you to...
terms and conditions, privacy statement etc....I have read a few things on it but still cannot seem to find where to just make the whole Help thing static...( I don't want the title HELP to be clickable) I sure wish someone would make X-Cart for dummies...I would buy it in a flash... |
|||||||||
#2
|
|||||||
|
|||||||
![]() Quote:
You want to ignore the entire Help menu, and instead insert your static pages there. so -- figure out what is making the help menu -- if you use WEBMASTER MODE, you'll see that in /customer/home.tpl, there is a call to file, help.tpl -- let's take a look at help.tpl You'll see a {capture name=menu} then a few hard coded links then a file include "pages_menu.tpl" then a close tag for the {/capture} then an include to make the menu SO -- first, comment out the static pages -- you're half way home 2. See where the include for pages_menu.tpl is? That's the key to your embedded pages. Basically, this template takes your static embedded pages and lists them in the help menu. 3. Want to change the name of the help menu? In the help.tpl, see where it says, "menu_title=$lng.lbl_help" -- that's the name of your menu. If you change lbl_help in your languages, this will change... but why bother doing that? Just change the template. menu_title="Your Groovy Menu Name" What else? All you have to do is start with webmaster mode and work your way through the insanity of the nested files. WRITE IT DOWN and make a flowchart of what lives where... it will simplify your xcart life. Otherwise, you will be poking around hours at a time... Hope this wasn't too basic. Good luck. Jeremy
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#3
|
|||||||||
|
|||||||||
![]() Hi Jeremy...
Too basic my A**...I'm the gal asking for a dummy book ! ![]() Thanks for the info...I found all the files you mentioned in the help_tpl area...but what do you mean when you say comment out the static pages ? |
|||||||||
#4
|
|||||||
|
|||||||
![]() Comment out the line means to place the dollar sign in front of the line.
#pages you want to block
__________________
Xcart 5.1.6 Building New Store Xcart4.6.4 Gold Plus Xcart 4.6.4 Platinum Smart Template, Mail Chimp Upgrade Checkout One (One Page Checkout) Checkout One X-Payments Connector Checkout One Deluxe Tools Call For Price On Sale Module Buy Together Module MAP Price MOD |
|||||||
#5
|
|||||||
|
|||||||
![]() Actually no, commenting out in Smarty uses this:
{* Commented out code *} the # is used in PHP files only.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#6
|
|||||||
|
|||||||
![]() Quote:
NO! Not in smarty templates. To comment out contents of a smarty template, use {* content to comment out *} I shoudl not have called the content of help.tpl "static"... the pages in help.tpl that you probably want to comment out so that you can make static links: Code:
SO -- make these lines: Code:
THEN -- write your static pages in here. Or not -- use pages_menu.tpl for your static pages. There is more than one way to get content in here. Remember, help.tpl is calling an include for pages_menu.tpl - {include file="pages_menu.tpl"} - so it doesn't matter where the links live.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|