Twig help or hindrance |
(02-07-2017, 03:40 PM)Diederik Wrote: Just a side note, if you plan on using the 'echo shorttag' like <?= $variable ?> be sure you don't want to support PHP<5.4. Prior to PHP5.4 if you disabled php shorttags you disabled the this echo function as well. Since 5.4 it's better seperated, even if you turn off php shorttags (like the 'normal' opening tag <? instead of <?php) you can still use the short echo tag. Wait I thought CI came with rewrite short tags for servers less than php 5.4 in the config file Code: /* Also I'm leaning towards a non-twig version purely because it does require an extra learning step as well as my own server doesn't support twig (which is really a lame excuse)
Practical guide to IgnitedCMS - Book coming soon, www.ignitedcms.com
|
Welcome Guest, Not a member yet? Register Sign In |