template + php code? template + embedded?
Posted: Sat Jan 20, 2007 9:51 pm
hey all,
i have an existing header.php and footer.php that i use to wrap my content with php includes on every page on my site. what i would like is to wrap s9y in a header and footer thru a template, but smarty seems to have disabled {php} and {include_php}... making that impossible. is it possible to turn that security feature off so i can run these as includes? or perhaps someone knows the location of the smarty plugins dir so i can make a symlink to my header and footer?
if that is not an option, i have been looking into embedding my site using the indexFile option and a wrapper... but when i do so i lose all my template ability. I really have no desire to hardcode the css for layout and style all over. is there some way i can run embedded but leverage the existing templates (mt-rusty)?
thanks in advance
i have an existing header.php and footer.php that i use to wrap my content with php includes on every page on my site. what i would like is to wrap s9y in a header and footer thru a template, but smarty seems to have disabled {php} and {include_php}... making that impossible. is it possible to turn that security feature off so i can run these as includes? or perhaps someone knows the location of the smarty plugins dir so i can make a symlink to my header and footer?
if that is not an option, i have been looking into embedding my site using the indexFile option and a wrapper... but when i do so i lose all my template ability. I really have no desire to hardcode the css for layout and style all over. is there some way i can run embedded but leverage the existing templates (mt-rusty)?
thanks in advance