Previously I have had a number of custom templates which simply were copies of the main template with some include files added - I load the include files into the template directory, where they get updated on occasion. My motivation here was I had some folded up what's new information I reuse on a number of pages, this way I can change it in one place (the include file) and it could be seen in multiple places. I was going to do the same with Suffusion or maybe there better ideas to achieve the same?
Trying my outlined solution I copy the default template, page.php, to create a custom template and in suffusion_after_begin_post before the original post call I include the lines, e.g.
- Code: Select all
<?php include(TEMPLATEPATH . '/whats_new_general.php'); ?>
where whats_new_general.php is my own file uploaded to the template directory, which contains a html table and use 2 css classes which set the column width, totalling 500px. My include files are all of this form and are not related to any theme. This works, however my sidebar contents now appear under the page rather than at the right side for this page only.
I could not see a way to use the custom template to reshow different snippets on different pages. Any advice appreciated on what the issue might be or other ideas.