129
HI zorro I have found a bug when using internet explorer and click instead of mouseover. That is fixed. Css are fixed to. They now look the same in zetagenesis.
Now, I do not think you are crazy.
You can edit mytabs class/pageblock.php
function getAllBlocks() {
$ret = array();
if (mytabs_getcms() != 'XOOPS22') {
$result = $this->db->query("SELECT bid, b.name as name, b.title as title, m.name as modname FROM ".$this->db->prefix("newblocks")." b, ".$this->db->prefix("modules")." m WHERE (b.mid=m.mid) ORDER BY modname, name"); //AND b.mid != ".$GLOBALS['xoopsModule']->getVar('mid')."
} else {
$result = $this->db->query("SELECT b.bid as id, n.name as name, b.title as title, m.name as modname FROM ".$this->db->prefix("block_instance")." b, ".$this->db->prefix("newblocks")." n, ".$this->db->prefix("modules")." m WHERE (m.mid=n.mid) AND (b.bid=n.bid) ORDER BY modname, name"); //AND m.mid != ".$GLOBALS['xoopsModule']->getVar('mid')."
}
while (list($id, $name, $title, $modname) = $this->db->fetchRow($result)) {
$ret[$id] = $modname.' --> '.$title.' ('.$name.')';
}
return $ret;
It works but it has a but.
I have to make a fool proof system to prevent a user to use a page that contains block1 inside block1.
As you can imagine this would create an infinite loop and would only stop when php reach the memory limit or execution time limit.
About the option to set hide the entire mytabs block I think it can be done.