Welcome Guest, Not a member yet? Register   Sign In
Grabbing and echoing only fragments of views
#9

[eluser]Dave Stewart[/eluser]
Hi Jonas,

[quote author="flojon" date="1214593748"]you would have to have some sort of HTML parser[/quote]

That's right. It's fairly trivial to create something like that anyway.

Once I have my slice, I want to hand it to load->view() (or some derivative I create) to parse any variables, then have it added to the output as normal.

I'm poking around in Loader.php, and it looks like I'd have to extend it and override the following functions:

Code:
view()
_ci_load()

Hopefully it will work out OK. I'll have a tinker over the weekend (hopefully I won't break anything). If you know why this may not work, let me know now!

Cheers,
Dave


Messages In This Thread
Grabbing and echoing only fragments of views - by El Forum - 06-27-2008, 01:34 AM
Grabbing and echoing only fragments of views - by El Forum - 06-27-2008, 05:52 AM
Grabbing and echoing only fragments of views - by El Forum - 06-27-2008, 06:02 AM
Grabbing and echoing only fragments of views - by El Forum - 06-27-2008, 07:16 AM
Grabbing and echoing only fragments of views - by El Forum - 06-27-2008, 07:25 AM
Grabbing and echoing only fragments of views - by El Forum - 06-27-2008, 07:38 AM
Grabbing and echoing only fragments of views - by El Forum - 06-27-2008, 07:53 AM
Grabbing and echoing only fragments of views - by El Forum - 06-27-2008, 08:09 AM
Grabbing and echoing only fragments of views - by El Forum - 06-27-2008, 08:28 AM
Grabbing and echoing only fragments of views - by El Forum - 06-27-2008, 08:54 AM
Grabbing and echoing only fragments of views - by El Forum - 06-27-2008, 01:23 PM
Grabbing and echoing only fragments of views - by El Forum - 12-19-2008, 05:02 AM
Grabbing and echoing only fragments of views - by El Forum - 12-19-2008, 07:09 AM
Grabbing and echoing only fragments of views - by El Forum - 12-19-2008, 11:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB