I just discovered that if I change this:
Code: Select all
<p>{newsarchive number='10' start='0'}</p><p>{cms_module module='News' number=$news_number start=$news_start category='general*'}</p>
to this (change the start='0' to start='10'), it seems to work:
Code: Select all
<p>{newsarchive number='10' start='10'}</p><p>{cms_module module='News' number=$news_number start=$news_start category='general*'}</p>
I have no idea what this may break by doing so...but at least the page(s) where I'm showing the news are no longer blank.
NEW BUG: I also discovered that I get a smarty error:
Code: Select all
<p>string(89) "Smarty error: unable to read resource: "module_db_tpl:News;summarysummary_brewreview.tpl"" </p>
If I try to use the "summarytemplate='summary_brewreview.tpl" (or any custom summary template). These also worked before the upgrade.
I _think_ maybe it might have something to do with some code that is changed in the /modules/News/News.module.php file. Here is the code from the old file:
Code: Select all
/**
* This function is not in the API!!!
*/
function GetSummaryHtmlTemplate()
{
and here is the same section in the new file:
Code: Select all
/**
* This function is not in the API!!!
*/
function GetSummaryHtmlTemplate()
{
die('deprecated');
}
I'm using two different summary templates to show the summaries in different ways, so I really can't just edit the summary template in the news admin page, I really need to be able to call which template I want to use 'on the fly.' Judging by the code, is this "feature" now removed?
NOTE: I've fixed the template issue. Now you have to create the new template in the admin panel before you call it in the webpage. Maybe the news help needs updating to reflect this rather than just saying the template has to be in the /modules/News/templates/ directory?
Thanks in advance for any help or advice guys, and if I've forgotten any useful information I'll try to find it.
Ricky