On Wednesday, October 24, 2012 3:37:17 PM UTC+1, Jim S wrote:
>
> Are you logged in?
>
> On Tuesday, October 23, 2012 12:32:32 PM UTC-5, David Simmons wrote:
>>
>> Hi
>>
>> I am following the image tutorial described in the online web2py book. I
>> have the following code:
>>
>> @auth.requires_membership('manager')
>> def manage():
>> grid = SQLFORM.smartgrid(db.image, linked_tables=['comment'])
>> return locals()
>>
>> I have the following view:
>>
>> {{extend 'layout.html'}}
>> <h2>Management Interface</h2>
>> {{=grid}}
>>
>> BUT
>>
>> I don't see any links to the child buttons.
>>
>> I am on version 2.1.1.
>>
>> Any help would be much appreciate.
>>
>> many thanks
>>
>> Dave
>>
>>
@Jim S - yes I'm logged in with a user in the manager group
@Leonel - I tried removing the linked_tables=['comment'] but it made no
difference.
Just to be clear what I see are my list of images with a buttons for [view]
[edit] [delete]
I'd assumed, and the documentation seems to show this, that if I used
smartgrid I'd see another button [children] which would allow me to view
the comments.
thanks to both of you for your help but I'm still stuck :-).
Kind Regards
Dave
--