X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Add new page php.....in main page!!! (https://forum.x-cart.com/showthread.php?t=19619)

Fleshatomale 01-31-2006 02:56 AM

Add new page php.....in main page!!!
 
Hi all,
this is my first topic, please help me!! :(

I want create a link to send by email (newsletter), but this link must open a main page (categories, top etc) with a PHP DINAMIC PAGES in main page.

(example that not work www.example.com/index.php?pageid=TRY.PHP)

Have you understand?

I have try with STATIC PAGE, but I can't insert PHP code...

Help me please :(

(Sorry for my bad english but I'm Italian :)

shan 01-31-2006 06:47 AM

use php in static pages

http://smarty.php.net/manual/en/language.function.php.php

Fleshatomale 01-31-2006 07:52 AM

Thanks for fast reply! :D

I have try {php} and close with {/php} but I think this is not active in my x-cart because result HTML TEXT

{php} echo ("hi!!") {/php} display

{php} echo ("hi!!") {/php}
AS TEXT and NOT AS SCRIPT

How I can activate it? :( :(

shan 01-31-2006 08:27 AM

make sure you check the box

"parse smarty tags in static pages"

Fleshatomale 01-31-2006 11:34 AM

YOU ARE GREAT!!!!!! :) :)

Very thanks, now work correctly!!!

Tnx
Bye :D :D


All times are GMT -8. The time now is 06:45 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.