Template tags coming soon

Monday, May 10th, 2010|Version 3|by Romans

Often problem in a project is slightly customising existing template. This normally requires to change template/…./shared.html file by saving it locally and updating paths manually. There is a way coming to workaround it.

Here is the new syntax possible in shared.html file:

<link rel=”shortcut icon” href=”<?template?>images/favicon.ico<?/?>” />
<img src=”<?template?>images/logo.png<?/template?>”>

I would like to remind about one nifty feature of SMlite template engine. $template->eachTag(‘template’,callback); This is now used, to automatically locate all the files used in the template. That means – if you drop a new images/logo.png locally and if template locations are set properly, then system will automatically link to your logo instead.

This feature and many others will become available during our next release. We are also planning to launch new project home on Unfuddle.com.

Stay tuned.

2 Comments

Svetlozar Kondakov
Posted May 12, 201010:26 pm

Unfuddle would be good. There we can report problems with current amodules right?

romaninsh
Posted May 13, 201012:09 am

Unfuddle’s payment model does not allow more than 2 developers for free project. I decided to go with Firefly. You’ll find link in my later posts.

Please open tickets with desired functionality in there or bugs and I will add that.