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]
Can I change the News Module results page name?
- Darwin Web Design
- Forum Members
- Posts: 212
- Joined: Tue May 30, 2006 3:12 am
- Location: Darwin NT, Australia
Re: Can I change the News Module results page name?
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
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

Re: Can I change the News Module results page name?
Duplay,
I don't know if you found it already, but I use
in the calling of
to make it open in a content-page called "nieuws"
Ronny
I don't know if you found it already, but I use
Code: Select all
detailpage="nieuws"
Code: Select all
{news category="general" number=5 detailpage='Uutiset' detailpage="nieuws" dateformat="%d-%m-%Y"}
Ronny
Re: Can I change the News Module results page name?
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

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?
C,
who do you mean with
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
who do you mean with
There is no one called karma in this topic.where do I put the code karma suggests?
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?
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)
and it calls up a page which I've set up with a type of news.
Cheers,
C

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 />
Cheers,
C

Re: Can I change the News Module results page name?
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?
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
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