| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Create Embedded Page not shown under Help. | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I want to create an embedded page that doesn't automatically put a link under the "Help" section. I want to be able to put the link somewhere else on my pages. I tried making a static page and copying the home.tpl code to it and just editing the area I want my new content but the .html page just showed all the code (i'm thinking because my new static page was saved in the root not in skin1, is that correct?) Is there an easier way to do this?
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3 mods: reCaptcha running on UNIX www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2 mods: reCaptcha cdseo pro running on UNIX |
|||||||
#2
|
|||||||||
|
|||||||||
![]() If it is a static page then it should be located in /skin1/pages/US/
I do not know why your page only shows code. Here is how we do it..... Once you create your static page you will want it to link onto you home page in some way. For this example I will use our Weekly Specials page. I wanted this page link to be like a category and listed as the first item in the category list. So in categories.tpl just before Quote:
Quote:
Now we have CDSEO Pro so it has changed www.mywebsite.com/skin1/pages/us/pages.php?pageid=## to the html version. There are other ways to do this and to be honest this is probably not the best way when using CSS. Hope this helps and gives you ideas. Mike |
|||||||||
#3
|
|||||||
|
|||||||
![]() Thanks for your reply. The way my static pages go is that if I create an embedded page it gets saved into skin1/pages/US/ but if I create a root level, it saves it in my root (obviously) the problem I'm having is that my embedded level pages automatically gets a link placed under the "Help" section and I'm not sure how to make a page not have a link there. My help section would get pretty long and cluttered if I just let them go in there. How do you get the link out of the Help section?
Also do you have the "parse smarty tags" box checked or unchecked in the admin/static pages...? The page I want to add is a wedding centerpiece ideas page so customers can get an idea of how affordable different decorations can be. (I'd probably add the link to the bottom of my page but I'm not sure yet.)
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3 mods: reCaptcha running on UNIX www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2 mods: reCaptcha cdseo pro running on UNIX |
|||||||
#4
|
|||||||||
|
|||||||||
![]() My parse is unchecked. Use embeded and click disable. You can still create a link to the file if it is disabled.
|
|||||||||
#5
|
|||||||
|
|||||||
![]() Ahhhh....ok that makes sense. I'll give that a shot. Thanks.
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3 mods: reCaptcha running on UNIX www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2 mods: reCaptcha cdseo pro running on UNIX |
|||||||
#6
|
|||||||
|
|||||||
![]() Hoosierglass,
That did work for me. If I create the embedded page and disable it when I enter http://www.uscandleco.com/pages.php?pageid=12 into the address bar I get a "page not found" error. If I type the actual URL (http://www.uscandleco.com/skin1/pages/US/centerpiece-ideas.html) I get the text I entered but it is not embedded within the page. (What I mean is that there is no header, nav links, footer, nothing else but the text) Basically I lose the "embedded" part of embedded. How did you keep all the template stuff intact doing a direct link with the file disabled?
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3 mods: reCaptcha running on UNIX www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2 mods: reCaptcha cdseo pro running on UNIX |
|||||||
#7
|
|||||||
|
|||||||
![]() Quote:
Ah... http://forum.x-cart.com/showthread.php?p=178375#post178375
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#8
|
|||||||||
|
|||||||||
![]() Here is what we do for our help menu.....
Contact Us Privacy Statement Terms & Conditions are all part of help and look like this in the help.tpl file..... Quote:
The line inside help.tpl {include file="pages_menu.tpl"} is what loads your static pages. If you do not want them all to show then comment it out. Use your CDSEO Pro to set your url for the page you create. Now in the help.tpl file you can add a link like this to your static page. <a href="http://www.kennedyhardware.com/order-catalog.html" class="VertMenuItems">Order Catalog</a><br /> Where you place these is where they will order in the menu. When you do it this way the pages need to be marked as embeded in the static pages menu on the admin side. This will take care of the items that you want in the help menu. For items you want elsewhere use the same cose to place it where you want. If it is in a verticle menu then you can keep the class or you can change it to whatever. Mike |
|||||||||
#9
|
|||||||
|
|||||||
![]() Thanks guys,
Hoosierglass, I think part of my issue is that I don't have CDSEO pro so I can't do it quite like you did. I think that carpeperdiem's hack will work though. I'll give that a shot. I love the forums...
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3 mods: reCaptcha running on UNIX www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2 mods: reCaptcha cdseo pro running on UNIX |
|||||||
#10
|
|||||||||
|
|||||||||
![]() I assumed you had it based on you signature.
The only difference is the url. Your should look something like... <a href="http://www.yourwebsite.com/pages.php?pageid=12 " class="VertMenuItems">Order Catalog</a><br /> You might want to consider CDSEO Pro. Mike |
|||||||||
|
|||
X-Cart forums © 2001-2020
|