CodeIgniter Forums
Template Parser Class Improvement - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Template Parser Class Improvement (/showthread.php?tid=5263)

Pages: 1 2 3 4 5 6 7 8 9


Template Parser Class Improvement - El Forum - 02-23-2012

[eluser]Mistry007[/eluser]
Hi Everyone .. I am using latest verion of CI. Now i have used parser class in my application. it will work fine. but if i try to use
Code:
{if test}
{test}
{/if}
then it will not working. some how it is not taking if condition. and directly shoe in on view file {if test}{test}{/if}. So can any one tell me what is wrong.
Do have to change somthing for this library ?.
thanks




Template Parser Class Improvement - El Forum - 02-23-2012

[eluser]pbflash[/eluser]
I don't see anything in the user manual that says the parser will handle if statements.

http://ellislab.com/codeigniter/user-guide/libraries/parser.html


Template Parser Class Improvement - El Forum - 02-28-2012

[eluser]RaviDalal[/eluser]
hi i am using this library but some how it is not working. i have download the file from file
It is showing me
Code:
A PHP Error was encountered
Severity: Warning
Message: preg_replace() [function.preg-replace]: Compilation failed: nothing to repeat at offset 3
Filename: libraries/MY_Parser.php
Line Number: 76

Now can any one tell me how to slow this problem ?
Thanks



Template Parser Class Improvement - El Forum - 03-20-2012

[eluser]Unknown[/eluser]
I cant download the parser.

I always get a blank page when i try to download it Sad


Template Parser Class Improvement - El Forum - 04-05-2012

[eluser]Molchy[/eluser]
[quote author=".$pIrit" date="1332237796"]I cant download the parser.

I always get a blank page when i try to download it Sad[/quote]

Same on my side Sad can't get extendet version to download.


Template Parser Class Improvement - El Forum - 09-12-2012

[eluser]Nathan Pitman (Nine Four)[/eluser]
Likewise, looking for simple if support in the template parser, ended up here... anyone find anything to do the job?


Template Parser Class Improvement - El Forum - 10-22-2012

[eluser]Unknown[/eluser]
[quote author="Denis Molan" date="1333640429"][quote author=".$pIrit" date="1332237796"]I cant download the parser.

I always get a blank page when i try to download it Sad[/quote]

Same on my side Sad can't get extendet version to download.[/quote]

me too :/ What's happening to forum?


Template Parser Class Improvement - El Forum - 10-22-2012

[eluser]Nathan Pitman (Nine Four)[/eluser]
Apparently it's now fixed!

https://github.com/EllisLab/CodeIgniter/issues/1914


Template Parser Class Improvement - El Forum - 12-03-2012

[eluser]FDisk[/eluser]
Looks like not fixed. I can't download. I can't find any download link in this whole thread.
Please provide any correct link or add to the github


Template Parser Class Improvement - El Forum - 06-27-2014

[eluser]FDisk[/eluser]
Some updates: https://gist.github.com/FDiskas/90894d62f566d68a8bb3