In all honesty just using PHP scripts along with MySQL is a nice system, I cant see how a template system could improve on that for me.
I had a developer do a site for me quite a few years ago, they did it with smarty and EE sounds very similar… absolute nightmare when you want to change anything but one of the things I did was to add the changes with little bits of Smarty code and pull them into the pages and that was not using FW but I can see how I might have done it with FW.
{{segment_1}_text}. EE puts automagically segment 1 where I want it.
For example I add
<?php
echo $copyRight;
?>
…to the bottom of pages in a site but do a little work in a script to get the content of $copyRight, so I just add that to a file then include it at the bottom of my page, can you not put the code with {{segment_1}_text} in a file and pull it in, so it you want to change it on all the pages you just change the one file on the server? I think that would have worked for me on smarty if I called the page ‘something.tpl’, EE sounds like it works in a similar way.
I remember when I started to delve into make changes on smarty I just experimented to get the little bits of code into the page, it took quite a lot of time but I eventually found a way that smarty would work and that I could change sections easily, I used to curse it but people used it and said they liked it. I am sure if I knew how to use it properly it might have worked for me better but it was built to work a certain way while I was trying to make it do things my way… I finally decided smarty had to go and that I would work ‘my way’ so started to rewrite the site in FW, php and MySQL… unfortunately it is a large site and makes quite a few calculations so it will take a while but at least once done I will be able to make my changes easily and not worry that what I am doing smarty won’t like.
EE is really a nice system, you should try it one day 
That smarty web site seemed like a really nice system at the outset but I think I will stick to my way of doing things, especially if it is giving you headaches. 
On Mar 18, 2013, at 1:18 AM, atelier wrote:
Ah, I understand.
I know about snippets. Use them all the time. This is about something else.
EE works with ‘tags’. These tags are part of a large ecosystem and work together. Each tag performs a certain task in the parsing process. Let’s say the server gets a request for a page. The server sends this request to the EE system. One of the great powers of EE is that elements in the URL determine what EE shall do with (=put into) the page. For example:
my_site.com/index.php/EN/my_template/success.html
calls the file my_template. What about the succes and EN part? I coded EE tags in my_template (which is of course a page in a folder in my FW setup), and these tags pull the content from the database.
And soon as ‘success’ appears as segment 3 in the URL, EE injects content that belongs to a story about success (because the entree has as title ‘success’). The EN part? I told the page to listen to segment 1. EN means: you are now in the English section of the website. The visitor can of course switch between language sections. How does this work in EE? I did not code this as if/ifelse conditional. In stead I name my fields EN_text and SE_text. And in the page: {{segment_1}_text}. EE puts automagically segment 1 where I want it.
Now back to FW, and my crowbar. Or Extended Dialogue. Think of me making some mistake in my code, or I change my mind, and want to alter some of that particulair code in all of my 15 FW pages. These are not snippets that live on the server, but code that is embedded inside FW pages. As I said, I often work with snippets, they are easely changable as you say. But I cannot use them always.
EE is really a nice system, you should try it one day 
dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options