Help please: How to remove page title displaying above news

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Locked
hans30
Forum Members
Forum Members
Posts: 16
Joined: Sun Jan 06, 2008 7:20 pm

Help please: How to remove page title displaying above news

Post by hans30 »

Hi !!!!

I am using MLE 1.6.6. (three languages hr-HR en_EN de_DE)
Everything working really nice, no problems with translating pages.
To translate news I do this ( forum by Alby)
Generate 3 separate categories (each for 1 language)
Vijesti-hr_HR
Vijesti-en_US
Vijesti-de_DE

(Vijesti (croatian) --NEWS(english))

In main template i wrote:

{news category="news-$lang" number='4' }

also try
{news category="news-$lang" number='4' detailpage='news' }

I cant remove page titles :)

I read lots of forum posts and wiki documentation and I still dont know how to solve this:) :)

Thanx
Attachments
HOW-TO.jpg
Last edited by hans30 on Mon May 03, 2010 11:15 am, edited 1 time in total.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: HOW TO REMOVE PAGE TITLE DISPLAYING ABOVE NEWS

Post by Rolf »

Please read the forumrules: http://forum.cmsmadesimple.org/index.ph ... l#msg86234 at Point 4

Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
alby

Re: Help please: How to remove page title displaying above news

Post by alby »

Your page title is not in news.... look in your page template ({title})

Alby
hans30
Forum Members
Forum Members
Posts: 16
Joined: Sun Jan 06, 2008 7:20 pm

Re: Help please: How to remove page title displaying above news

Post by hans30 »

Sorry Alby,  I dont understand,

In my main template I put this

{news category="Vijesti-$lang" number='4' detailpage='news' }
alby

Re: Help please: How to remove page title displaying above news

Post by alby »

hans30 wrote: Sorry Alby,  I dont understand,

In my main template I put this

{news category="Vijesti-$lang" number='4' detailpage='news' }
From your image you are in english home page with title "HOME-EN"
1. Go in admin panel and look the "template name" of your homepage
2. Go in Template and edit that "template name"
3. Scroll, find {title} in body section, remove {title} and Apply

Alby
hans30
Forum Members
Forum Members
Posts: 16
Joined: Sun Jan 06, 2008 7:20 pm

Re: Help please: How to remove page title displaying above news

Post by hans30 »

Thank you Alby

If i remove {title}, page titles also will be removed (not displayed). Is it possible that the page titles be displayed but removed (or not visible) when the news are displayed. Maybe I got problem with main template. I notice that original templates (Cms made simple built in templates) working at that way.
Last edited by hans30 on Tue May 04, 2010 1:28 pm, edited 1 time in total.
Peciura

Re: Help please: How to remove page title displaying above news

Post by Peciura »

hans30: Similar thing you want is described on section "Dynamic tags" on http://calguy1000.com/Blogs/5/60/the-we ... art-2.html also there is link to full template at he bottom of article.
alby

Re: Help please: How to remove page title displaying above news

Post by alby »

hans30 wrote: If i remove {title}, page titles also will be removed (not displayed). Is it possible that the page titles be displayed but removed (or not visible) when the news are displayed.
In general you have 2 {title} tags, one in head section (in ... ) and another in body section.
Remove in body section only. In this way you have title in top browser window only

Alby
hans30
Forum Members
Forum Members
Posts: 16
Joined: Sun Jan 06, 2008 7:20 pm

Re: Help please: How to remove page title displaying above news

Post by hans30 »

Thank you Alby.
Locked

Return to “[locked] CMSMS MLE fork”