You cannot use veariables (yet). instead of
``
name: select
table: blog
query_field: id
query_value: request.args(1)
fields: title
``:widget
do:
``
{{=plugin_wiki.widget('select',table='blog',query_field='id',query_value=request.args(1),fields='title')}}
``:template
should do it.
On Sep 17, 10:00 am, bally boy <[email protected]> wrote:
> I am using plugin_wiki which looks awesome.Looks like you guys are soon
> going to get us developers out of jobs and send us to school to learn
> CSS/Javascript etc. Ok anyway so this is what I wanted to ask.
> I am at this url:-http://127.0.0.1/myapp/plugin_wiki/page_edit/tag/1
>
> Now I am want to do something like this:-
> db(db.table.id==request.args(1)).select()
>
> But the below is not accepted.. does the syntax not accept request.args or
> am i doing something wrong:-
>
> ``
> name: select
> table: blog
> query_field: id
> query_value: request.args(1)
> fields: title
> ``:widget