Welcome Guest, Not a member yet? Register   Sign In
Can I use system variables or functions if using view parser
#1

I've worked through the tutorial (https://www.codeigniter.com/userguide3/t...index.html) - very good BTW - and the decided to redo it using the parser library for all views/templates instead of php. Now while I've managed to get the examples to all work ok, I have some questions:

- The input form example wants to display validation errors using validation_errors() function. Cam this be called/shown is a view rendered via the parser library? Or do we have to collect any errors in a parser friendly format and inject them as 'data'?

- It would be good reference base_url in the for input view, instead of just hoping that relative paths work ok - is this possible?

Cheers
Mark
Reply


Messages In This Thread
Can I use system variables or functions if using view parser - by markir - 04-24-2019, 09:50 PM



Theme © iAndrew 2016 - Forum software by © MyBB