[Solved]Can core modules be uninstalled and re-installed?

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
jasnick
Power Poster
Power Poster
Posts: 695
Joined: Sat Jan 15, 2011 8:36 am

[Solved]Can core modules be uninstalled and re-installed?

Post by jasnick »

Using CMSMS 1.9.4.3

Having trouble with the News module. I am getting the More link even though I do not fill in the Summary field. I posted this problem but no-one replied. There does not seem to be anything wrong with the template.

Can I uninstall the News Module and then re-install it? Thought I had better check first as it is a core module.
Last edited by jasnick on Sat Oct 08, 2011 1:26 am, edited 1 time in total.
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Can core modules be uninstalled and re-installed?

Post by Wishbone »

Did you modify your summary template? If so, post the section that deals with the summary.
jasnick
Power Poster
Power Poster
Posts: 695
Joined: Sat Jan 15, 2011 8:36 am

Re: Can core modules be uninstalled and re-installed?

Post by jasnick »

Thanks Wishbone ! Here's the whole lot just in case ...

<!-- Start News Display Template -->
{if $pagecount > 1}
<p>
{if $pagenumber > 1}
{$firstpage}&nbsp;{$prevpage}&nbsp;
{/if}
{$pagetext}&nbsp;{$pagenumber}&nbsp;{$oftext}&nbsp;{$pagecount}
{if $pagenumber < $pagecount}
&nbsp;{$nextpage}&nbsp;{$lastpage}
{/if}
</p>
{/if}
{foreach from=$items item=entry}
<div class="NewsSummary">

<div class="NewsSummaryLink">
{$entry->title|cms_escape:htmlall}
</div>


{if $entry->postdate}
<div class="NewsSummaryPostdate">
{$entry->postdate|cms_date_format}
</div>
{/if}

{if $entry->summary}
<div class="NewsSummarySummary">
{eval var=$entry->summary}
</div>

<div class="NewsSummaryMorelink">
[{$entry->morelink}]
</div>

{else if $entry->content}

<div class="NewsSummaryContent">
{eval var=$entry->content}
</div>
{/if}

{if isset($entry->extra)}
<div class="NewsSummaryExtra">
{eval var=$entry->extra}
{* {cms_module module='Uploads' mode='simpleurl' upload_id=$entry->extravalue} *}
</div>
{/if}
{if isset($entry->fields)}
{foreach from=$entry->fields item='field'}
<div class="NewsSummaryField">
{if $field->type == 'file'}
<img src="{$entry->file_location}/{$field->value}"/>
{else}
{$field->name}:&nbsp;{eval var=$field->value}
{/if}
</div>
{/foreach}
{/if}

</div>
{/foreach}
<!-- End News Display Template -->
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Can core modules be uninstalled and re-installed?

Post by Dr.CSS »

That looks correct and yes you can uninstall News but you will lose any articles you have...

Are you sure there isn't some kind of hidden something in the summsry box?...
jasnick
Power Poster
Power Poster
Posts: 695
Joined: Sat Jan 15, 2011 8:36 am

Re: Can core modules be uninstalled and re-installed?

Post by jasnick »

No, there was nothing there. Will mark this one solved. I seem to recall when I didn't get an answer, I did re-install the news module and that sorted the issue.

Thanks Dr.CSS.
Locked

Return to “[locked] Installation, Setup and Upgrade”