I am having problems incorporating a section on the home page:
Here is my code inside sts_user_code.php:
$sts->start_capture();
include(DIR_WS_MODULES . FILENAME_FEATURED);
$sts->stop_capture('featuredproducts');
$sts->start_capture();
include(DIR_WS_MODULES . FILENAME_FEATURED_C);
$sts->stop_capture('featuredcategory');
For some reason, having $featuredproducts in the html will make featured.php(FILENAME_FEATURED) show up on the home page, but when I have $featuredcategory or $featuredcategory$, all that shows up is that text, not the featured_c.php file that I would like. If I used the 'featuredproducts' to show featured_c.php, that works as well, so it is not my php file that is the problem, it seems that it is the 'featuredcategory' alias itself, or that I need to declare it somewhere else so that the template system will read it properly.
Does anyone know of something that I'm missing? thank you