Go Back   Pligg CMS Forum > Pligg Development > Pligg Templates > Template Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-11-2006, 01:52 PM
3dKiller's Avatar
Constant Pligger
 
Join Date: Mar 2006
Location: Newport Beach
Posts: 142
Thanks: 24
Thanked 2 Times in 1 Post
.tpl files & smarty codes explained

Pligg forum user Laurent best explains what the .tpl files are all about. This is a repost.

"The .tpl files are the template files, aka the layout files. It only includes the html & design, so that's where you need to alter the code when you want to alter the layout. There are also smarty codes in those .tpl files, well... what they do is... they get the information from the .php files and includes them into the .tpl files... So the php files, you don't need to touch them, because that's the "real scripting/code". No, you don't need any editor, notepad is fine."

Thank you Laurent for this excellent explanation. I'm sure this will help many of us who are struggling to understand the relationship between the different files when templating our web site.

++Pligg

Last edited by 3dKiller; 04-12-2006 at 11:50 AM..
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Smarty Files? davemackey Suggestions 1 08-06-2008 11:39 PM
Missing .tpl files in mollio-beat template .... tuxsoul "Mollio-Beat" 1 05-19-2007 03:27 PM
php in .tpl files boardsource General Help 3 03-17-2007 08:18 PM
Prevent people from viewing your .tpl files SeanW Suggestions 1 01-16-2007 09:35 AM
new template tips & questions Book-Bee Template Support 9 04-05-2006 09:25 AM


Search Engine Friendly URLs by vBSEO 3.2.0