/** * If inline editing is available and enabled lets return true */ function has_content() { $inline_edit =& get_reason_inline_editing($this->page_id); if ($inline_edit->available_for_module($this)) return true; else { return parent::has_content(); } }