Hi Ronny,
OK I might try an upgrade but I have never done one before!!
I have read through the steps on the CMSMS site and I was wondering when you complete the upgrade does it remove the template/stylesheet changes you made and replace them with the default settings?
So for example you changed the Navigation simple vertical stylesheet to have a different look and feel and you complete an upgrade, do you lose these new look and feel edits and you get back the default look and feel? I know I can create backups of the stylesheets but just wondering?
Tks
Aidan
Displaying news articles in different ways - SOLVED
Re: Displaying news articles in different ways
Aidan,
when you perform an upgrade, make sure to BACKUP before you do.
An upgrade exists of files only, and if a DB-change needs to happen, install/upgrade.php needs to run, but the data inside the DB, content/stylesheets/templates etc.... aren't touched.
Ronny
when you perform an upgrade, make sure to BACKUP before you do.
An upgrade exists of files only, and if a DB-change needs to happen, install/upgrade.php needs to run, but the data inside the DB, content/stylesheets/templates etc.... aren't touched.
Ronny
-
aidank
Re: Displaying news articles in different ways
Hi Ronny,
I just upgraded my version so when I go to Content > News > Summary Template, I can add a new summary template. I will try creating a new summary template called hp_summary and call it with the following code
{news number='2' category='general' detailpage='news' summarytemplate="hp_summary.tpl"}
They are the correct steps yeah?
Just an aside, in the upgrade guide on CMSMS, it tells users to update the robots.txt file. What do I need to do here? Apologies if this is a really basic question but just want to be sure I take all the correct steps.
Thanks
Aidan
I just upgraded my version so when I go to Content > News > Summary Template, I can add a new summary template. I will try creating a new summary template called hp_summary and call it with the following code
{news number='2' category='general' detailpage='news' summarytemplate="hp_summary.tpl"}
They are the correct steps yeah?
Just an aside, in the upgrade guide on CMSMS, it tells users to update the robots.txt file. What do I need to do here? Apologies if this is a really basic question but just want to be sure I take all the correct steps.
Thanks
Aidan
-
aidank
Re: Displaying news articles in different ways
Actually when I try the code:
{news number='2' category='general' detailpage='news' summarytemplate="hp_summary.tpl"}
I get the following error
string(81) "Smarty error: unable to read resource: "module_db_tpl:News;summaryhp_summary.tpl""
{news number='2' category='general' detailpage='news' summarytemplate="hp_summary.tpl"}
I get the following error
string(81) "Smarty error: unable to read resource: "module_db_tpl:News;summaryhp_summary.tpl""
-
aidank
Re: Displaying news articles in different ways
Read through some of the old posts on the forum and found a resolution. Sorry for the redundant question.

