templates code in .tpl files instead in data base..?

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
intro
New Member
New Member
Posts: 4
Joined: Tue Jun 10, 2008 3:55 pm

templates code in .tpl files instead in data base..?

Post by intro »

Hi.
Any one knows is it possible to keep templates in .tpl files not in date base..? I'd like to have possibility to edit .tpl files in Aptana studio, with syntax highlighting..:-)
Thanks for any replay.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: templates code in .tpl files instead in data base..?

Post by calguy1000 »

a) use the EditArea module (a syntax hiligher)
b) use the Template Externalizer module so that you can edit templates easier.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
intro
New Member
New Member
Posts: 4
Joined: Tue Jun 10, 2008 3:55 pm

Re: templates code in .tpl files instead in data base..?

Post by intro »

calguy1000 wrote: a) use the EditArea module (a syntax hiligher)
b) use the Template Externalizer module so that you can edit templates easier.
Thank a lot  ;D

Can you help me once again..? How can I turn on Development Mode..?
I do'nt know how can I configure TemplateExternalizer to work.. I'm looking for some FaQ's and help now, but still can't get an answer..
Last edited by intro on Tue Jun 10, 2008 4:44 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: templates code in .tpl files instead in data base..?

Post by calguy1000 »

there's an admin panel for the Template Externalizer.... there's a button or something in there.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
intro
New Member
New Member
Posts: 4
Joined: Tue Jun 10, 2008 3:55 pm

Re: templates code in .tpl files instead in data base..?

Post by intro »

Ok I just found It. Thanks for your help! :)

maybe you know how to export my new .tpl file to the cms admin  panel..? I made a new .tpl file and I'd like to have possibility to chose it in Layout/Templates in admin panel.. how can I do this..?
Last edited by intro on Tue Jun 10, 2008 5:08 pm, edited 1 time in total.
LouiseW
Forum Members
Forum Members
Posts: 83
Joined: Tue Jun 10, 2008 6:59 pm

Re: templates code in .tpl files instead in data base..?

Post by LouiseW »

Could you please explain where your found that Template Externalizer?
Thanks for your help
I use CMS Made Simple 1.6 "New Caledonia"
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: templates code in .tpl files instead in data base..?

Post by Dr.CSS »

@ intro
Go to Layout » Templates at bottom click 'Add New Template' paste HTML there...
Go to Layout » Stylesheets at bottom click 'Add a Stylesheet' paste CSS there...
Go back to templates and attach CSS to template, orange icon to right...

@ LouiseW http://dev.cmsmadesimple.org/projects/externalizer/
Post Reply

Return to “Layout and Design (CSS & HTML)”