Welcome Guest, Not a member yet? Register   Sign In
Undefined pseudo-variables
#3

[eluser]olimortimer[/eluser]
Thanks, but that means I have to do that manually in each controller.

For example, if I'm using the same template for all pages, including pages with contact forms on, I want to have {feedback} for form feedback. Now instead of defining $data->feedback = false; in all controllers that use the same template, I'd like to extend the template / parser to set any undefined pseudo-variables as false.

I'm guessing this isn't easy though, as the template / parser would need to know what variables are waiting in the template file.


Messages In This Thread
Undefined pseudo-variables - by El Forum - 01-30-2012, 12:42 PM
Undefined pseudo-variables - by El Forum - 01-30-2012, 12:55 PM
Undefined pseudo-variables - by El Forum - 01-30-2012, 01:03 PM
Undefined pseudo-variables - by El Forum - 01-30-2012, 02:02 PM
Undefined pseudo-variables - by El Forum - 01-30-2012, 06:54 PM
Undefined pseudo-variables - by El Forum - 01-30-2012, 06:55 PM
Undefined pseudo-variables - by El Forum - 01-30-2012, 09:43 PM
Undefined pseudo-variables - by El Forum - 01-30-2012, 10:38 PM
Undefined pseudo-variables - by El Forum - 01-30-2012, 10:52 PM
Undefined pseudo-variables - by El Forum - 02-02-2012, 03:16 PM
Undefined pseudo-variables - by El Forum - 02-02-2012, 03:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB