Help with Template Mess

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Locked
juliobear
Forum Newbie
Posts: 14
Joined: Tue Nov 22, 2011 6:37 pm

Help with Template Mess

Post by juliobear »

On the server of the site I'm currently working on I see a bunch of .tpl files, which inside look like regular html files except they also have tags like "{$navi}", "{$menu}" etc.


The problem is I need to add some php code in a couple of those file, but they just show up as plain text. I've heard of template engines like smarty, and gathered online that you can include php code by using curly brackets. Well, I tried that syntax but it didn't work.

I guess the first question is, how can I learn out what template engine is being in use? (Original developer is long gone). I don't see any template-engine name anywhere. So far, all I see on the server are the.tpl files, .php files, img files and css files. I have a deadline to get this done by. I just need to know what php template engine is being used so I can check its documentation, and figure out how to add php statements to the finstor withouttpl files.

Thanks in advance
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: Help with Template Mess

Post by Benjamin »

:arrow: Duplicate = Locked
Locked