hi,
not a complete nood to this php lark! but i could do with someone explaining to me how php works along side .tpl files to draw pages

i have a script i want to modify slightly, and the best way for me to do this is via the template.

if any one knows of any faq or how to for templates that they could point me towards that would be superb.

many thanks in advance

owaring

    thanks for the link, however i guess this would require the script im working from to already use smarty.

    FYI i'm working with phpicalendar

      Well i dont for you but somehow all those template systems are crappy.That's way when i nee d templates i use either forum or blog template system,extract all other functions(i mean delete)and leave template only.

        I'm actually working on my own template system and I will only allow variable replacement and very little functions like foreach() and if()... the rest will have to be set before in variables, then replaced in the template...

          when i bothered to back up through the script its as simple as str_replace!!! have a look at this thread to see how the problem has evolved!

            Write a Reply...