hi
1.
with the table new like this:
db.define_table('new',
SQLField('photo_id', 'string'),
SQLField('name', 'string', notnull=True, length=16,
requires=IS_NOT_EMPTY()),
SQLField('created', 'datetime',
notnull=True,default=datetime.datetime.now(),requires=IS_DATETIME()),
SQLField('created_by', 'string'),
SQLField('tag', 'string'),
SQLField('link', 'string', length=80, default=None,
requires=IS_URL()),
SQLField('type', 'string', notnull=True, length=16, default=types[0],
requires=IS_IN_SET(types)),
SQLField('slug', 'string', length=32, default=''),
SQLField('description', 'text', notnull=True,length=64,
requires=IS_NOT_EMPTY())
)
Using plugin_wiki, I can't use the "read" widget. Other widgets like
jqgrid work fine.
2. How can I access my app model from the plugin_wiki?
3. how should I map a controller to a plugin_wiki page?
Thank you
Best regards