Okay, I have read through the forum and see that I can specify a template in the include statement, which I have done:
<?php
$template[]='Staff';
$cat[]='Staff';
include 'news/index.php';
?>
Yet it continues to display the default format no matter what I do... now I did see that when I tried to create a copy of the default template to edit, I received an error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's profile.
So instead I created a new template and that all seemed to go fine. The short story feature/full story links also do not seem to work... I am running with PHP5 and MySQL 5.0.81 so it seems that everything should work.. any advice or insight?
Access: Admin
Total Posts: 1395
Joined: 2006-05-19
Use $template instead of $template[]
Because you can only assign 1 template to each include you set it using a variable $template, for things that can be set to numerous values, like categories, they use an array []