the 1 to 14 if the number of blocks set up active and inactive and yes it works for html blocks it does everything it did before just without the theme header and footer wrapping it
i used the gallery option to group the blocks so you can edit one block and quickly switch to the next.
As for the option to edit blocks from the block its self that would be straight forward enough just edit the blocks function in mainfile to output an admin icon before the content of each block and use it to open the dialog.
there is one thing i missed in this how to.
In the show block function the link needs editing there too otherwise theres an edit block link that doesnt use the modal n the header wont show for this 1
i was thinking maybe adding to the link to control it like this
Code:'.$admin_file.'.php?op=BlocksEdit&bid='.$bid[$i].'&popup=1
|
that way you decide if its modal or not.
[code]if($popup==1){
define('BLOCKEDITFRAME',true);
}else{
define('BLOCKEDITFRAME',false);
}