| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Static Pages? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Are they really, totally staic?
I would like to have a "Static" page, but include some php to pull some info from the DB into it. Is that at all possible? I've tried to name the page .php, but that doesn't work. I've tried to just toss some php in, and that doesn't work. I've tried to use {literal} and that doesnt' work. Any help here?
__________________
RobotDeathSquad Version 4.0.11 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Swtich Smarty parsing on then use
{php} php code in here {/php} That should do it.
__________________
Groovico Used by X-carters the world over: Marketing Manager Pro Bundle For X-cart Featured Product Manager for X-cart Feed manager pro for X-cart http://www.firetanksoftware.com Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X |
|||||||||
#3
|
|||||||
|
|||||||
![]() I do that and I get this error:
Parse error: parse error in /home/path/to/file/xcart/Smarty-2.5.0/plugins/function.eval.php(26) : eval()'d code on line 142
__________________
RobotDeathSquad Version 4.0.11 |
|||||||
#4
|
|||||||
|
|||||||
![]() I'm getting an "eval'd code" error on line 4 which is:
$database_fishingconditions = "dbname"; Any idea why this would cause an error?
__________________
RobotDeathSquad Version 4.0.11 |
|||||||
|
|||
X-Cart forums © 2001-2020
|