| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
How do I add new page under Help section | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I want to add a new page with shipping information and put it under the Help section. I tried immitating the privacy notice. I went into admin/languages and I was able to add the heading and text. I went to the help.tpl, copied the code for the privacy statement and then added that code right under the privacy code. Then I changed the $lng.lbl from privacy statement to the one I created for shipping info.
The new link appears in the help section but when you click on it, it goes to the privacy notice, not the new text about shipping that I created in languages. I think I need to add/change something related to the ?section= code on the help.tpl. But I don't know what ?section= refers to and I couldn't find anything in the manual or FAQ. Any suggestions? ![]()
__________________
Graybeard, Xcart Gold 4.0.17 Linux |
|||||||
#2
|
|||||||
|
|||||||
![]() Just create new static page from admin area.
__________________
X-Cart Version 4.1.8 Hosted on Linux |
|||||||
#3
|
|||||||
|
|||||||
![]() Thanks. That helps. I created a static page in the root level and changed the <a href> code in help.tpl to that static page. That will work but I'd like to make it display like a regular help page, in the 3-col format I'm using for the rest of the site.
Is the only way to get the 3 column display to add all the template info to the static page? Isn't there a way using Edit Templates, Help Files, Create New Files to do this? I played with it but was unsuccessful. I tried creating a static page in the embedded level but had a permissions problem. It looked like the software was trying to create the embedded file in skin1/pages/US/. I have a skin1 folder, but no "pages" or "US" folders under it. The skin1 permission is set at 777. Confused and frustrated. ![]()
__________________
Graybeard, Xcart Gold 4.0.17 Linux |
|||||||
#4
|
|||||||
|
|||||||
![]() Quote:
When you add an embeded static page X-cart will automatically put your header, left/right columns and footer in. All you have to do is enter the info you want displayed in the central area. To sort your permissions issue out... FTP into your site and navigate to the skins1 folder - create a new folder called 'pages' - navigate to the new pages folder - create a new folder called 'US' - chmod the US folder to 777 you should now be able to save static pages.
__________________
Various |
|||||||
#5
|
|||||||
|
|||||||
![]() Thanks blue-dreamer. That was a big help. I created the pages I wanted in the 3 column display.
Something goofy is still happening, though. After your help allowed me to create the static pages on the embedded level, I deleted the pages I had created on the root level in admin. I updated the links in help.tpl so it is just to the embedded pages in skin1/pages/US. But the root level links are still displaying under Help as well as the new embedded level links. Here's is what is even weirder, to me. When you mouse over the links, the old root level links show a path that includes skin1/pages/US. The new embedded level links appear as dynamic php pages. I thought that because we had to create the folders named pages and US in order to create embedded level static pages, that is where those pages would be saved. I FTP into the site to see if the two root level html files were still in the root directory. They were and I deleted them. Links to those root level pages still appear on the site, though, and when you click on them, these static pages created in the root level display with an address in skin1/pages/US, not in the root level. Main thing I need is to learn how to get rid of the links to the root level static pages. A bonus would be understanding it all better. Just had an idea that might work. Maybe the embedded pages don't need to be linked in the help.tpl. Since the root level pages appear to be located in skin1/pages/US, maybe if I delete the help.tpl links to skin1/pages/US (that I thought would be to the embedded pages but appear to be to the root level pages instead), that will solve the problem. Many thanks for helping me create the embedded pages. I will post the results of deleting the links in help.tpl.
__________________
Graybeard, Xcart Gold 4.0.17 Linux |
|||||||
#6
|
|||||||
|
|||||||
![]() It worked. I don't understand it, but it worked.
Apparently, static pages created on the embedded level will appear under the Help section without modifying the help.tpl. Now I just need to figure out how to add these new embedded pages to the Help Zone list. Looks like I should be able to do it through either help/index.tpl or help/general.tpl. Thanks again for the help. ![]()
__________________
Graybeard, Xcart Gold 4.0.17 Linux |
|||||||
|
|||
X-Cart forums © 2001-2020
|