PHP Classes

To use PHP-Scripts for placeholders in templates is not the w...

Recommend this page to a friend!

      XtremeTemplate  >  All threads  >  To use PHP-Scripts for placeholders...  >  (Un) Subscribe thread alerts  
Subject:To use PHP-Scripts for placeholders...
Summary:Package rating comment
Messages:2
Author:Ralf Mike Pretzlaw
Date:2009-03-03 12:44:57
Update:2009-03-08 06:31:51
 

Ralf Mike Pretzlaw rated this package as follows:

Utility: Bad
Consistency: Bad
Examples: Not sure

  1. To use PHP-Scripts for placeholders...   Reply   Report abuse  
Picture of Ralf Mike Pretzlaw Ralf Mike Pretzlaw - 2009-03-03 12:44:58
To use PHP-Scripts for placeholders in templates is not the way the templates are meant. Also nearly every user will be confused if he couldn't use his variables from the script, where he uses your class, in the other that is included.
Besides: To include PHP-Scripts for an placeholder has already been solved several times.

  2. Re: To use PHP-Scripts for placeholders...   Reply   Report abuse  
Picture of shahnur shahnur - 2009-03-08 06:31:51 - In reply to message 1 from Ralf Mike Pretzlaw
Actually that's not a good idea to use diff delimiter. That is just waste of time. That's why smarty is in death now. 2 level compilation always time killing. Using default tag for template file, there's nothing confusing. As a programmer knows what he's doing...