I'm trying to do this on a 4.3 site.
They wanted a handful of static pages to be used as SEM landing pages, with featured products for a non-display category.
So I've rigged the sidemenu to not display certain categories with pos > 800.
Then created the category and featured products.
So far my static page contains:
Code:
{php}
$cat=10;
include "./include/categories.php";
include "./featured_products.php";
{/php}
{include file="customer/main/featured.tpl" f_products=$f_products}
But how do I pass the category parameter to the module?
I also seem to be getting fatal errors when the included php module performs the smarty assign statement.
Fatal error: Call to a member function assign() on a non-object in
/var/www/devwww.aimbooks.com.au/include/categories.php on line
52