Project templates
Moderator: kfury77
Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
Please try to follow these guidelines. This will help to receive faster and more accurate response.
- Check the Support section of the corresponding product first. Chances are you will find your answer there;
- Do not create new topics for already reported problems. Add your comments to the existing topics instead;
- Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
- Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
- Include the version number of the software you are using;
- This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Templates
The local include functionality could be enought.
The only imporovement could be a kind of syncronization when an include is modified.
So if I have a big static site, I'll have all the files with a particular include updated, when that include changes. Otherwise I have to open each file and save it.
The only imporovement could be a kind of syncronization when an include is modified.
So if I have a big static site, I'll have all the files with a particular include updated, when that include changes. Otherwise I have to open each file and save it.
- syrupcore
- Top Contributor
- Posts: 917
- Joined: Thu Jul 21, 2005 12:58 am
- Location: Portland, Oregon, usa
- Contact:
renato, you get 20 bonus points for using the search engine. 
why not switch to a simple template system in php? it's really very very clean and simple and will allow you to do what you're looking for. literally, it's two lines of php for most templating systems: one to include the header, one to include the footer.
ok, that's a little bit of a stretch, but only a little. perhaps 2 or 3 more lines on each page so that you can dynamically set the page title and meta info.
here's the write up I learned it from: http://www.mezzoblue.com/archives/2005/ ... ple_templ/
The other benefit of this is that it's not tied at all to an editor. Not that you'd ever ever ever use anything other than Blumentals but some of your less enlightened colleagues might.

why not switch to a simple template system in php? it's really very very clean and simple and will allow you to do what you're looking for. literally, it's two lines of php for most templating systems: one to include the header, one to include the footer.
ok, that's a little bit of a stretch, but only a little. perhaps 2 or 3 more lines on each page so that you can dynamically set the page title and meta info.
here's the write up I learned it from: http://www.mezzoblue.com/archives/2005/ ... ple_templ/
The other benefit of this is that it's not tied at all to an editor. Not that you'd ever ever ever use anything other than Blumentals but some of your less enlightened colleagues might.
