news title appears under referer page title

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
ichnation

news title appears under referer page title

Post by ichnation »

Im running cmsmadesimple-0.11.2 with the News module 2.0.1.

On each page we have  News Summaries and the More link to the Details. On this details page, the
title is "title-of-previous-page","newsdetails-title".

You can see this on
http://www.milieudichterbij.nl/index.php?page=geluid . Its title is "Geluid"

The news is on the right, in grey.  More == "Lees Door".

The More page is then
http://www.milieudichterbij.nl/index.ph ... returnid=5
and there the title is "Geluid"-"Nieuw Uitzicht"

Note that also the title in the html body is set wrong, here the {title} tag is replaced also with the title of the referring page.

It may be a bug, it may be a feature. On this site, it's a bug. In 0.10 it was okay.

Thanx in advance!
jelle

Re: news title appears under referer page title

Post by jelle »

I don't know if this really is a bug and not a feature, but you know you can specify a different template in the news module? By default it reuses the template the news module was called in and presumebly does some tricks with it to diplay the news details. you can specify a different (static) template instead.
User avatar
pixelita
Power Poster
Power Poster
Posts: 388
Joined: Sun Sep 16, 2007 3:07 am

Re: news title appears under referer page title

Post by pixelita »

This has not been resolved. I'm using CMSMS version 1.1.2 "Savaii" and the native News Module and I'm having these issues on both my CMSMS sites. It's very annoying. 

It picks up the title from the refering page.  Creating a new template doesn't help because that template is INSIDE that title.  So how should I create a different template and tell CMSMS to drop the refering page's title? Ideally, I'd like the H2 title for the News detail to be "News" or something similar.

This is very frustrating and resolving it would really be a boon to further use of CMSMS by me and my clients.

Thanks for any help.

P.S. The development site is here:  http://hastingsfirm.mytestbed.com

A live site that is exhibiting this same problem is here: http://www.idylwood.org/index.php
Submit your site to the We Love CMSMS showcase
User avatar
Lio
New Member
New Member
Posts: 6
Joined: Thu Dec 06, 2007 4:50 pm

Re: news title appears under referer page title

Post by Lio »

Hi !

Does anybody got an idea ?
That would be really better for our websites' indexing !

Bye bye.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: news title appears under referer page title

Post by calguy1000 »

pixelita I just checked out those two links and don't see what you're talking about.
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.
nivekiam

Re: news title appears under referer page title

Post by nivekiam »

Me neither.  The links for the news articles behave the same as all of the other links.

Can someone post some screenshots that highlight what you are describing?
User avatar
Lio
New Member
New Member
Posts: 6
Joined: Thu Dec 06, 2007 4:50 pm

Re: news title appears under referer page title

Post by Lio »

[ I'm French, sorry for my approximate english ]

Look at this link. How to name this page with the news' title ?

The problem is the same with the albums photo module. Look at My website and enter one of the three albums. The title of the page will be always "Albums photos", and not "Albums photos - title of the album".

Thanks !
Last edited by Lio on Mon Jan 14, 2008 7:21 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: news title appears under referer page title

Post by calguy1000 »

Oh.... you want the News article title to be the page title, to replace  the {title} tag.

That's been answered numerous times,,,, check out the tricks & tips forum.
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
pixelita
Power Poster
Power Poster
Posts: 388
Joined: Sun Sep 16, 2007 3:07 am

[solved] Re: news title appears under referer page title

Post by pixelita »

I finally figured out how to solve the problem and I bet you looked at those sites *after* I implemented the change.  What I did was to create a new page template called "News" and named it "News" in the menu title and in its actual page title.  And pointed the news module to it.  Simple as pie.  (And I love pie!)
Submit your site to the We Love CMSMS showcase
Locked

Return to “CMSMS Core”