News options?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
BrianB

News options?

Post by BrianB »

Couple of questions about CMSMS's News module:

1. Can I get it to display the News Category title somewhere alongside the actual news item? I've found the item to limit display to one particular category's entries, and I'll be using that, but having the category visible would be nice.

2. How do I edit the title of the News module's RSS feed? There's nothing in the help about it, or in any of the Admin sections that I can see. Right now it comes up as "CMS Made Simple News Feed" which is a bit less specific than I'd like! ;)

Thanks again!
BrianB

Re: News options?

Post by BrianB »

Sorry, just realized that I posted this to Installation help rather than the General help forum.

Can one of the mods move it, or should I lock it & start again?
westis

Re: News options?

Post by westis »

Hi BrianB,

1. As for the category title, insert {$entry->category} in the template (Summary or Detail) where you want the title to appear. This should already be in the Detail Template, so you can look in that template and use it similarly in the Summary Template.

You can format the category title by wrapping it in a tag, for example {$entry->category} and then style the categorytitle class in your stylesheet.

2. As for the title of the RSS feed, I haven't used that myself so not sure what you mean. When using {cms_module module="News" makerssbutton="true"} all I see is an XML button with "RSS News Feed" as the alt title.

But I guess when opening it in an RSS reader you get a title (I don't have an RSS reader here, so can't try it) and that's what you want to change? I'm sure Wishy can help you with that.

:-)
BrianB

Re: News options?

Post by BrianB »

westis wrote: 2. As for the title of the RSS feed, I haven't used that myself so not sure what you mean. When using {cms_module module="News" makerssbutton="true"} all I see is an XML button with "RSS News Feed" as the alt title.

But I guess when opening it in an RSS reader you get a title (I don't have an RSS reader here, so can't try it) and that's what you want to change? I'm sure Wishy can help you with that.
Yes, that's what I mean - if I click on the News module's RSS button right now, it comes up as "CMS Made Simple News Feed" or something similar in Opera's RSS client, and the News module's help section contains nothing that I can see on changing the feed title.

Thanks for the other information, I'll edit the News templates to suit.
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: News options?

Post by Ted »

Unfortunatly, I didn't do anything very slick for setting the title.  The easiest thing to do is modify the modules/News/templates/rssfeed.tpl file and change it accordingly.
BrianB

Re: News options?

Post by BrianB »

Thanks, that works. Changing the stuff between the tags changes the title of the RSS feed.

Any chance of having someplace in the Admin setup to modify some of those settings in the future?
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: News options?

Post by Ted »

Sure can.  Can you make a feature request in the forge for it so I don't forget?  (I do that a lot.  :) )
BrianB

Re: News options?

Post by BrianB »

wishy wrote: Sure can.  Can you make a feature request in the forge for it so I don't forget?  (I do that a lot.  :) )
I just registered at the CMS Forge, but I don't see a Feature Request form or area?
westis

Re: News options?

Post by westis »

Hi BrianB,

For each project feature requests, bugs etc. are displayed under the tab called "Tracker". For the CMS Made Simple core project, the list of feature requests is found at http://dev.cmsmadesimple.org/tracker/?a ... unc=browse

Click on Submit New on that page (when logged in) to make a new feature request.

There should probably be direct links to feature requests and bug reports for the core project, that are directly accessible from the forge front page. We'll do something about that.

:-)
BrianB

Re: News options?

Post by BrianB »

Ok, got that all sorted...

I also figured out how to tweak the news module to display items from certain categories in areas of the {content}... neat feature to save typing!  ;)
Locked

Return to “CMSMS Core”