template library for CodeIgniter 2.0 |
[eluser]WanWizard[/eluser]
Which means the class Welcome doesn't have a property called 'quickauth'. As I haven't got a clue what it is supposed to be, and it's not part of your code snippet, I can't be of more assistance.
[eluser]duellsy[/eluser]
[quote author="Frank Rocco" date="1297306069"]duh, thanks Now getting Message: Undefined property: Welcome::$quickauth[/quote] eep... sorry about that, I've fixed up the issue and pushed to github. If you want to manually fix, in libraries/template.php: Comment out / remove the following line (around line 32): Code: $this->data['user'] = $this->CI->quickauth->user();
[eluser]Basketcasesoftware[/eluser]
I've finally given this library the scrutiny it deserves. You are lacking a couple of features I have, but you have things that I lack. The ability to select between raw and loaded css/java is something I don't have. I've been doing raw Java and CSS loading. I also have a separate IE CSS load section (gotta love IE!). But those clear functions. Nice touch! I have a meta tag loader and I have a function for page title, something you cover with the catch-all add_head function. The body section is pretty generic, but this is supposed to be a generic template system. I'm just going by the README.textile right now and there are features I don't quite understand what they are for (yet). The "page stack" isn't very clear to me for instance. It looks like all I'd have to do is wrap your functions in some of my own needed functions to make it work for me. Sweet! This will definitely save me some work and template setup.
[eluser]duellsy[/eluser]
Cheers! Glad you got some use from it, thanks for the lookover, any suggestions on stuff that's blatantly missnig? [quote author="Basketcasesoftware" date="1297947966"]I'm just going by the README.textile right now and there are features I don't quite understand what they are for (yet). The "page stack" isn't very clear to me for instance. [/quote] I probably worded that poorly, basically you can add as many errors / warnings / success messages as you want and it will output them neatly grouped and styled into their types, and output simply via $messages If you add items to the session via set_flashdata with the name of success/notice/warning they will be added to the errors list as well so they remain grouped.
[eluser]Basketcasesoftware[/eluser]
For one there isn't any broken links in the documentation. Second, it is able to stand alone without the need for other code libraries (other than CI).
[eluser]duellsy[/eluser]
haha "what he said" Phil's a great CI coder, so no doubt his is a solid solution. So with all due respect, I'm not about to disect Phils library and compare it to the work that I've done, they are two different approaches to a single task. This is just the way I like to do it, so thought I'd release it for public use.
[eluser]Basketcasesoftware[/eluser]
Oh. Another difference is Phil's is in fact a full templating system while yours is mostly a generator. Same approach I've been using. I use the CI Parser class for actual templating. Small template system that is more powerful than it appears.
[eluser]InsiteFX[/eluser]
Phil's is based on the Dwoo Template Library Dwoo Template Library InsiteFX |
Welcome Guest, Not a member yet? Register Sign In |