Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Hydro - Parse Site Content (and HTML Tags) Straight From Your Language Files
I used Fuel's HTML class along with some simple recursion and design logic to automatically generate HTML from my language files, so no more need to write markup and echo out pieces of the language file one at a time = ) Check it out on Github:
I made this in about an hour, so it may be buggy. However, I am currently using it on my own project so I think you could as well.
I just pushed some updates to this. I'm using it in two apps now. You can now use a numerically indexed array for repeating keys (like repeating paragraph tags). Also supports IDs in addition to classes now (so, for example you can do div.whatever or div#whatever as your array key and <div class="whatever"></div> or <div id="whatever"></div> will be generated by the parser). The full details are in the README file:
Is anyone else using this? It's saved me writing tons of HTML manually.
Just found this, going to look at using it. Thanks
Add a Comment
It looks like you're new here. If you want to get involved, click one of these buttons!
Apply for Membership
↳ Job Board
↳ Installation & Setup
↳ Tips and Tutorials
↳ Code share
In this Discussion