Icy Phoenix

     
 


Post new topic  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post 025-0002 - Bug in some blocks 
 
template arrays not reset in .php

 link_block_bug

OPEN blocks/blocks_imp_links.php
FIND
Code: [Download] [Hide] [Select]
        //reset($template->_tpldata['links_row.']);

AFTER, ADD
Code: [Download] [Hide] [Select]
        $template->_tpldata['links_own1.'] = array();
        //reset($template->_tpldata['links_own1.']);
        $template->_tpldata['links_own2.'] = array();
        //reset($template->_tpldata['links_own2.']);
        $template->_tpldata['links_scroll.'] = array();
        //reset($template->_tpldata['links_scroll.']);
        $template->_tpldata['links_static.'] = array();
        //reset($template->_tpldata['links_static.']);


OPEN blocks/blocks_imp_news.php
FIND
Code: [Download] [Hide] [Select]
        //$template->_tpldata['news_detail.'] = array();
        //reset($template->_tpldata['news_detail.']);
        //$template->_tpldata['newscol.'] = array();
        //reset($template->_tpldata['newscol.']);
        $template->_tpldata['articles_fp.'] = array();
        //reset($template->_tpldata['articles_fp.']);
        $template->_tpldata['news_categories.'] = array();
        //reset($template->_tpldata['news_categories.']);
        $template->_tpldata['newsrow.'] = array();
        //reset($template->_tpldata['newsrow.']);
        $template->_tpldata['news_archives.'] = array();
        //reset($template->_tpldata['news_archives.']);
        $template->_tpldata['arch.'] = array();
        //reset($template->_tpldata['arch.']);

REPLACE WITH
Code: [Download] [Hide] [Select]
        $template->_tpldata['no_news.'] = array();
        //reset($template->_tpldata['no_news.']);
        $template->_tpldata['news_categories.'] = array();
        //reset($template->_tpldata['news_categories.']);
        $template->_tpldata['newsrow.'] = array();
        //reset($template->_tpldata['newsrow.']);
        $template->_tpldata['newscol.'] = array();
        //reset($template->_tpldata['newscol.']);
        $template->_tpldata['news_detail.'] = array();
        //reset($template->_tpldata['news_detail.']);
        $template->_tpldata['news_archives.'] = array();
        //reset($template->_tpldata['news_archives.']);
        $template->_tpldata['arch.'] = array();
        //reset($template->_tpldata['arch.']);
        $template->_tpldata['year.'] = array();
        //reset($template->_tpldata['year.']);
        $template->_tpldata['month.'] = array();
        //reset($template->_tpldata['month.']);
        $template->_tpldata['day.'] = array();
        //reset($template->_tpldata['day.']);
        $template->_tpldata['no_articles.'] = array();
        //reset($template->_tpldata['no_articles.']);
        $template->_tpldata['articles.'] = array();
        //reset($template->_tpldata['articles.']);
        $template->_tpldata['comments.'] = array();
        //reset($template->_tpldata['comments.']);
        $template->_tpldata['pagination.'] = array();
        //reset($template->_tpldata['pagination.']);


blocks_imp.rar
Description:  
Download
Filename: blocks_imp.rar
Filesize: 3.22 KB
Downloaded: 127 Time(s)

 



 
hplSend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: 025-0002 - Bug in some blocks 
 
Thanks, I should have fixed these.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Post new topic  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron