I believe you would want to 'render' the view, not 'eval' it.

On Thursday, October 17, 2013 7:52:20 AM UTC-7, Alan wrote:
>
>
> Hi
>
> im writing application that render the view and the content from the 
> database, but i want to have the content contain calls to plugins (one 
> example will generate slideshow code from a given id).
>
> Is eval my only option here to ensure the call to the plugin from the 
> database field of page content is processed or is there something im 
> missing?
>
> I need the call to the plugin to be editable to the user who administrates 
> the site content, so they can just reference one as the page requires.
>
> Thanks,
>
> Alan
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to