CodeIgniter Forums
Default parsing data? - 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: Default parsing data? (/showthread.php?tid=56587)



Default parsing data? - El Forum - 01-04-2013

[eluser]Unknown[/eluser]
Hi,

I'm writing a forum for a website I intend to start, and I'm having issues figuring out how to perform default parsing data, I have html templates, and I'm absolutely OCD over no php inside my html...

Low down, I wanna be able to parse {siteName} for example without having to put it in the parse array, as it may change later on down the road, can I do this? Or do I just need to suck it up and write my vars in my parse array each and every time?