Welcome Guest, Not a member yet? Register   Sign In
[RESOLVED] Issue with validation + coolfactor's View library (I'm a retard)
#1

[eluser]awpti[/eluser]
So, I'm using coolfactor's View library for ignitedjobs.com

Whenever I 'run' the validation, any 'part' I set doesn't get defined in the view, ex (in the controller):

$this->view->part('header', 'tpl/header');
$this->view->part('footer', 'tpl/footer');

And based upon the true/false of $this->validation->run(), I load the body ( $this->view->load('job_accepted'); )

This, for a reason I can not fathom, results in $header and $footer being undefined in the view.

You can see it here:

http://ignitedjobs.com/addjob/

Just hit submit (there's no code to handle the results other than the validation run - it's not creating entries).

Code is the same as any other page method.

Should I ditch CF's view library? I didn't see any way to handle 'parts' with CI's view lib.


Messages In This Thread
[RESOLVED] Issue with validation + coolfactor's View library (I'm a retard) - by El Forum - 07-10-2008, 11:07 PM



Theme © iAndrew 2016 - Forum software by © MyBB