Recent Topics

246: removed container still listed

started by on May 24, 2009 – Last touched: May 24, 2009

May 24, 2009 10:55    

Not sure if this is already reported or not.

Working on a skin, figured I'd do "Sidebar 2" for singles and page-types but I did it as "Sidebar2" and reloaded the skin. Got widgets in "Sidebar" and in "Sidebar 2" (which is silly because the container doesn't exist except in b2evo's mind), and of course nothing in "Sidebar2". So I edited the file to use the container name b2evo thinks is right. "Sidebar2" is gone from the skin but not gone from the widget page. Clearing pre-rendered cache didn't remove the phantom, nor did adding then deleting a widget.

May 25, 2009 21:38

inc/skins/model/_skins.class.php ( approx 366 )

PHP

$DB->query'DELETE FROM T_skins__container WHERE sco_skin_ID='''.$this->ID'Insert containers fix' );
        $DB->query'INSERT INTO T_skins__container( sco_skin_ID, sco_name )
                                    VALUES '.implode','$values ), 'Insert containers' );
 
        return true;

free typed huh? ;)

¥


Form is loading...

powered by b2evolution free blog software – This forum is powered by b2evolution CMS, a complete engine for your website.