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
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
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!