Multiple dialogs in a block

Permalink
Hi, I'm trying to create a block that inserts some HTML content from the database but also allows editing of the data from a second dialog within the same block.

So when i add my block it opens the add.php page containing a list of database record, I want to add functionality to click on one of these entries and for it to pop a second edit page where the data for that record can be edited.

Is this possible? currently my link to the second popup returns 'Access Denied' once opened.

regards
andrew

 
Remo replied on at Permalink Reply
Remo
I guess you're trying to open the second dialog with a direct call to the file name?

Make sure it uses the dispatcher, otherwise it knows nothing about the c5 libraries..

Have a look a the form block, every ajax call should do it the same way!
andrewmale replied on at Permalink Reply
Hi Remo.
Thanks for the reply.

I've got this working now as you suggested.

Cheers
Andrew