How to remove "Category" and "Posted By" in NEWS

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
senorcosta

How to remove "Category" and "Posted By" in NEWS

Post by senorcosta »

I searched and found an answer here> http://forum.cmsmadesimple.org/index.php/topic,11291.0.html

However, I follow the solution exactly and nothing changes when I refresh the page. ???
Whenever I make changes to other templates, I have no problem. Any ideas? Thanks

I am running CMS Made Simple 1.1 "Samoa"
I am running PHP 4.4.6
I am running MySQL 4.1.21
Linux
Apache 1.3.37 (Unix)
Last edited by senorcosta on Mon Aug 13, 2007 3:52 pm, edited 1 time in total.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: How to remove "Category" and "Posted By" in NEWS

Post by Nullig »

Have you tried clearing the cache in Admin?

Nullig
senorcosta

Re: How to remove "Category" and "Posted By" in NEWS

Post by senorcosta »

No I haven't. I don't see a place in ADMIN to do that. Can you point me in the right direction?
Thanks
senorcosta

Re: How to remove "Category" and "Posted By" in NEWS

Post by senorcosta »

Ooops...I see it.

Nope, it didn't make a difference ???
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: How to remove "Category" and "Posted By" in NEWS

Post by calguy1000 »

News 2.3 (the version that comes with CMS 1.1) supports multiple templates in the database for summary and detail templates.  I'll bet you're editing the text area at the top of the 'summary template' or 'detail template' tab.  This is the text used for when you create a new template.

If you scroll down, you'll see a table with one or more database templates listed there.  One of them will be marked as 'default'.  Edit that default one and make your changes there.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: How to remove "Category" and "Posted By" in NEWS

Post by Dr.CSS »

EDIT: hey calguy you type faster than me...  ;)

The new News that comes with CMSMS 1.1 has some great new features one of which is not so obvious, the template you see when you open the Summary or Detail template tab doesn't effect either one it's just a sample to show the default layout.

If you look below them you will see templates called Sample, should be called Default, click this one as it is the one that the news is using, unless you use one of the new features which will let you add a template and call it in the news tag w/o having to put it into the modules/News/templates folder which if you look at the Help for News it still says to do, needs changing, and you can make a new template and check it as default that all news items will use and still call the Sample or other templates with the tag...

Anyways click the Sample template and make your changes to it...

Or just use CSS and make those as .NewsSummaryCategory {display:none}...
senorcosta

Re: How to remove "Category" and "Posted By" in NEWS

Post by senorcosta »

DUH!! (I feel stupid)  :-\

Thanks guys...that did the trick!
Locked

Return to “Layout and Design (CSS & HTML)”