Search by Keyword

Need help getting to the cloud? Just search for a specific topic that you're looking for help on.

How do I add PHP code to the HTML boxes on the front of the site in Pinnacle Cart?

Pinnacle Cart uses the Smarty Template Engine to generate site HTML.

Using the traditional <php> tag will allow php to be embedded, however they will not be escaped of the $php_handling setting.  To properly embed php into your site template, please use {php} to include the code you wish to embed.

This is for advanced users only and not typically needed.  Please see the example below:

{php}

// including a php script directly

// from the template.

Include(“/path/to/display_weather.php”);

{/php}

This will not work for custom boxes created from the admin area.

How Useful Was This To You?

1
Average: 1 (1 vote)