Page 1 of 1

Can I change the News Module results page name?

Posted: Sun Jul 16, 2006 10:35 pm
by duplay
I have implemented the news module, and all is well, however, when i user clicks the more button, the page with the details comes back with HOME on the page. Can I change this to NEWS? see pic.

[attachment deleted by admin]

Re: Can I change the News Module results page name?

Posted: Sun Jul 16, 2006 10:58 pm
by Darwin Web Design
I'm not sure how to changes this but I would never give my home page the title of "Home".  I always name my page with a short description of the website eg:  XYZ School, Z Town - Australia.  This is also better for the search engines than "home" as search engines place some importance on the title tags.  So doing this would also make your news results page look nicer as it would just have the title of your school (or whatever) at the top.

To make sure the word "home" still appears in the list of pages in the admin section, I use a different template for the home page that does not put the menu name in the title field, I simply type this title name in the template instead and usually there are other things on the home page that differ from the rest of the site so a separate home template is justified anyway. 

Otherwise if the long title doesn't bother you in the admin section, you wouldn't even need to do a separate template as you would know it is the home page (I just like to do this so my clients, who update their own site, don't get confused).

Regards
Eva  :D

Re: Can I change the News Module results page name?

Posted: Tue Feb 27, 2007 7:49 am
by RonnyK
Duplay,

I don't know if you found it already, but I use

Code: Select all

detailpage="nieuws"
in the calling of

Code: Select all

{news category="general" number=5 detailpage='Uutiset' detailpage="nieuws" dateformat="%d-%m-%Y"}
to make it open in a content-page called "nieuws"

Ronny

Re: Can I change the News Module results page name?

Posted: Wed Mar 28, 2007 6:22 pm
by contented
I'd like to do this too, but am thoroughly confused by the news module.
Sorry to be dim, but just where do I put the code karma suggests?

Thanks in anticipation,
C
::)

Re: Can I change the News Module results page name?

Posted: Thu Mar 29, 2007 7:01 am
by RonnyK
C,

who do you mean with
where do I put the code karma suggests?
There is no one called karma in this topic.

If you want the news to be displayed, you just call the news-module with {news} and optionally some parameters in the template at the place you want it. If you want it placed in the sidebar, you can place it there in the template. If you want it in the content of the mainpage, you just call the module from a content-page. In the signature I've 2 sites linked. The .nl-site holds the news on the homepage, being in the content of it. The .eu-site holds it in the sidebar, so there its calling is placed in the template in the sidebar-area. If you explain where you want it and how you want it called, I can give you the used calling.

Ronny

Re: Can I change the News Module results page name?

Posted: Fri Mar 30, 2007 12:48 pm
by contented
Thanks for offer of help Ronny, but have worked it out now.
I've put the following code on my home page (because I only wanted the news module to show on the home page)

Code: Select all

<!-- Start News -->
<div id="news">
<h2>News</h2>
{news limit=3 detailpage="news-2" } </div>
<!-- End News -->  <br />
and it calls up a page which I've set up with a type of news.

Cheers,

C

:)

Re: Can I change the News Module results page name?

Posted: Sat Mar 31, 2007 2:44 am
by brdon
I also think that Elijah Lofgren worked out a way to do this... but I can't find his link at the moment.

Re: Can I change the News Module results page name?

Posted: Sat Mar 31, 2007 6:50 pm
by RonnyK
brdon,

there are two points. If you want the news to be displayed on a fixed page called "Something" instead of overwriting the content of the page you have opened at the moment you can use "detailpage=""Something"".

If you want the title of every single news-item to be used as your page-title you can use Elijah's trick which is posted under:

http://forum.cmsmadesimple.org/index.ph ... 953.0.html

Ronny