| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Static Page Include Problem | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Static Page Include Problem
Hello,
I have embedded static pages I want to include a .tpl file in. I am doing this thru the pages.tpl file. Here is my code in the pages.tpl file: Code:
This is the same arrangement I have used for another copy of x-cart I have that isn't as current. I have ticked in general setting "Parse Smarty tags in the content of embedded static pages: " For some reason it isn't recognizing the .tpl file. I have looked in the source code of page in question and no navigation bar is being displayed. Please let me know why this isn't working. The 4.0.19 is the one I am having trouble with. Thanks, Randal
__________________
*********************** Visit Our Other Web Sites! ∙ Nutritional Herbs and Supplements <a href="http://www.theherbsplace.com"> The Herbs Place </a> ∙ Frugal Ideas and a Forum To Submit Your Questions <a href="http://www.thefrugallife.com"> The Frugal Life </a> ∙ Healthy and Natural Pet Products <a href="http://www.healthypetcorner.com"> Healthy Pet Corner </a> *********************** Joined 08/02/05 X-Cart Gold Version 4.3.2 Linux RedHat Enterprise |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Static Page Include Problem
Is "rjw/welcome_ship.tpl" the .tpl it is not recognizing? Does it exist in the folder "skin1/rjw/" ?
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#3
|
|||||||
|
|||||||
Re: Static Page Include Problem
Yes, that is what X-Cart found out. I thought it was uploaded because I could see it. However, the code was not being brought in by the .tpl file. Instead, it was being brought in by a language variable but it was news to me.
I am embarrassed that it was so simple of a solution. Instead of going through the pages.tpl interface, I was also needing to embed the smarty code into an individual static page. Do you know what syntax I would use for that? Thanks, Randal
__________________
*********************** Visit Our Other Web Sites! ∙ Nutritional Herbs and Supplements <a href="http://www.theherbsplace.com"> The Herbs Place </a> ∙ Frugal Ideas and a Forum To Submit Your Questions <a href="http://www.thefrugallife.com"> The Frugal Life </a> ∙ Healthy and Natural Pet Products <a href="http://www.healthypetcorner.com"> Healthy Pet Corner </a> *********************** Joined 08/02/05 X-Cart Gold Version 4.3.2 Linux RedHat Enterprise |
|||||||
#4
|
|||||||||
|
|||||||||
Re: Static Page Include Problem
Are there not individual pages in that version of x-cart?
__________________
xcart 5.1.2 |
|||||||||
#5
|
|||||||
|
|||||||
Re: Static Page Include Problem
Yes, there are individual pages but at the time I needed to do it at the pages.tpl level because there were too many to address.
But as you can see from my last reply I now need to have the ability at the individual level and now I need to know that syntax. Thanks, Randal
__________________
*********************** Visit Our Other Web Sites! ∙ Nutritional Herbs and Supplements <a href="http://www.theherbsplace.com"> The Herbs Place </a> ∙ Frugal Ideas and a Forum To Submit Your Questions <a href="http://www.thefrugallife.com"> The Frugal Life </a> ∙ Healthy and Natural Pet Products <a href="http://www.healthypetcorner.com"> Healthy Pet Corner </a> *********************** Joined 08/02/05 X-Cart Gold Version 4.3.2 Linux RedHat Enterprise |
|||||||
#6
|
|||||||||
|
|||||||||
Re: Static Page Include Problem
Can't you just put your content directly in the static page.
I guess I don't understand what you are trying to do.
__________________
xcart 5.1.2 |
|||||||||
#7
|
|||||||
|
|||||||
Re: Static Page Include Problem
Yes, I can put the content in the static page directly. However, it is content that needs to be in several static pages and it changes over time. It lists a shipping charge and that can change based on the manufacturers requirments.
Therefore, I was wanting to put in a .tpl file that I can change one time, if necessary, and it will be changed automatically through all of the static pages. Hope that makes more sense. Randal
__________________
*********************** Visit Our Other Web Sites! ∙ Nutritional Herbs and Supplements <a href="http://www.theherbsplace.com"> The Herbs Place </a> ∙ Frugal Ideas and a Forum To Submit Your Questions <a href="http://www.thefrugallife.com"> The Frugal Life </a> ∙ Healthy and Natural Pet Products <a href="http://www.healthypetcorner.com"> Healthy Pet Corner </a> *********************** Joined 08/02/05 X-Cart Gold Version 4.3.2 Linux RedHat Enterprise |
|||||||
#8
|
|||||||||
|
|||||||||
Re: Static Page Include Problem
On static pages window make sure you tick "Parse Smarty tags in the content of embedded pages"
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
|||
X-Cart forums © 2001-2020
|