Page 1 of 1

News Module Customization Question

Posted: Sat Apr 12, 2008 10:00 pm
by vangabond
Greetings. I am running the latest version of CMSMadeSimple (installed only a few days ago) and I am wondering how I might go about modifying the News Module functionality so that news postings include the item Title and Date, but not the Category or Posted By information. Can I make these changes from within the CMSMS framework itself, or do I need to independently access a file on my server?

Any help would be greatly appreciated.

Re: News Module Customization Question

Posted: Sat Apr 12, 2008 10:03 pm
by Nullig
You can change/remove those in the display templates (summary, detail, etc.) of te News module.

Nullig

Re: News Module Customization Question

Posted: Sun Apr 13, 2008 1:25 am
by vangabond
thanks for the response. honestly though, it was not nearly specific enough to really help me. i have thoroughly explored every module / template option within CMSMadeSimple and have not found any options to make the changes you suggest. I am just at a loss.

Re: News Module Customization Question

Posted: Sun Apr 13, 2008 1:57 am
by Nullig
Ok let's look at the News Summary DefaultTemplate:


{if $pagecount > 1}
 
{if $pagenumber > 1}
{$firstpage} {$prevpage} 
{/if}
{$pagetext} {$pagenumber} {$oftext} {$pagecount}
{if $pagenumber
{/if}
{foreach from=$items item=entry}


{if $entry->formatpostdate}

{$entry->formatpostdate}

{/if}


{$entry->titlelink}


              category}                                                                author}                                                  author}                                                      summary}

{eval var=$entry->summary}



[{$entry->morelink}]


{else if $entry->content}


{eval var=$entry->content}

{/if}

{if isset($entry->extra)}
   
        {eval var=$entry->extra}
{* {cms_module module='Uploads' mode='simpleurl' upload_id=$entry->extravalue} *}
   
{/if}
{if isset($entry->fields)}
  {foreach from=$entry->fields item='field'}
   
        {if $field->type == 'file'}
          file_location}/{$field->value}"/>
        {else}
          {$field->name}: {eval var=$field->value}
        {/if}
   
  {/foreach}
{/if}


{/foreach}



Does that make it more clear?

Nullig

Re: News Module Customization Question

Posted: Sun Apr 13, 2008 2:03 am
by leslie894
Or you can use the News stylesheet to control whether or not to display the info:

Code: Select all

.NewsSummaryCategory {
  display: none;
 }

.NewsSummaryAuthor {
  display: none;
}

Re: News Module Customization Question

Posted: Sun Apr 13, 2008 4:49 am
by vangabond
thank you all very much for your time and help. much appreciated.

Re: News Module Customization Question

Posted: Sat Aug 02, 2008 6:52 pm
by fijiwater
I did that but through FTP, didn't upload on the the actual page Im calling the news module, do i HAVE to do it through the admin cp? Its not saying my permissions are right (or .htaccess file) but i dont even have a htaccess file on the server right now I don't believe.

What do I need to chomd?

Re: News Module Customization Question

Posted: Sat Aug 02, 2008 8:41 pm
by Dr.CSS
To get anything to show up on a page using CMSMS you have to do everything in the admin, this is not like a flat file html website where you make changes on your computer, using notepad/dreamdeceiver, then FTP it to the site...

All the content/pages/templates/css are in the DB, that's why you don't see a bunch of contact.html,about us.html,etc.html,etc.html, files when you install it or make pages...

All changes have to be made after you log in to the admin...