Page 1 of 1

Tiltle don't change

Posted: Fri Apr 18, 2008 9:23 pm
by Nitai
Hello,

I am now using the newest cmsms that i put over the previous version. I discovered that when i open a page of some article and then go to the news page, the title of the article remains on the next opened news-page.

you can look for the practical example here:
http://harinam.net/
after this open the news 'Harinam times' and you will see the title of the previous article is still there.

How to change this that the article's title is replaced with the title of the news.

Tnx

Re: Tiltle don't change

Posted: Sat Apr 19, 2008 7:55 am
by Nitai
I saw the template for new on http://forum.cmsmadesimple.org/index.ph ... l#msg58559
but when I am at content/news to write a news there is no option for choosing that a template for the news. Is this how it should be? My question is the same how could the title of the news be displayed - on the news page - instead  of the title of the previous article, previously read, which simply doesn't change when I go to the news page.

Please help, after 3 hours of searching for solution on this forum I cannot find the solution. Some things are still too difficult to me to understand.

I am using the "Left simple navigation + 1 column" template. Is something missing from here?





{* Change lang="en" to the language of your site *}



{sitename} - {title}
{* The sitename is changed in Site Admin/Global settings. {title} is the name of each page *}

{metadata}
{* Don't remove this! Metadata is entered in Site Admin/Global settings. *}

{stylesheet}
{* This is how all the stylesheets attached to this template are linked to *}

{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}
{* Relational links for interconnections between pages, good for accessibility and Search Engine Optmization *}


{literal}

=b){nw=b+"px";}if(w



#pagewrapper {width:expression(P7_MinMaxW(720,950));}
#container {height: 1%;}


{/literal}
{* The min and max page width for Internet Explorer is set here. For other browsers it's in the stylesheet "Layout: Left sidebar + 1 column" *}








    {* start accessibility skip links *}
   
      {anchor anchor='menu_vert' title='Skip to navigation' accesskey='n' text='Skip to navigation'}
      {anchor anchor='main' title='Skip to content' accesskey='s' text='Skip to content'}
   
    {* end accessibility skip links *}


   
    {* Horizontal ruler that is hidden for visual browsers by CSS *}


  {* Start Header, with logo image that links to the default start page. Logo image is changed in the stylesheet  "For template: Left menu + 1 column" *}
 
          {cms_selflink dir="start" text="$sitename"}
 
 
  {* End Header *}


  {* Start Search *}
 
          {search}
 
  {* End Search *}


  {* Start Breadcrumbs *}
 
        {breadcrumbs starttext='Welcome to' root='' delimiter='1'}
 
 
  {* End Breadcrumbs *}


  {* Start Content (Navigation and Content columns) *}
 

      {* Start Sidebar *}
     

      {* Start Navigation *}
     
        Navigation
        {menu template='simple_navigation.tpl' collapse='1'}
     
      {* End Navigation *}

      {* Start News *}
     
        News
          {news number='3' detailpage='news'}
     
      {* End News *}

     
      {* End Sidebar *}


      {* Start Content Area *}
     
        {print showbutton=true script=true}
        {title}
        {content}


        {* Start relational links *}


{anchor anchor='main' text='^ Top'}

       
            {cms_selflink dir="previous" label="Previous page: "}

            {cms_selflink dir="next"}
       
        {* The label parameter doesn't need to be there if you're using English, but is here to show how it's used if you don't want the English text "Previous page" *}
{* End relational links *}

     
     
  {* End Content Area *}


 
  {* End Content *}


  {* Start Footer. Edit the footer in the Global Content Block called "footer" *}
 
      {global_content name='footer'}
   
  {* End Footer  *}


{* end pagewrapper *}


Re: Tiltle don't change

Posted: Sat Apr 19, 2008 8:07 am
by RonnyK
Nitai,

de title is the title of the page showing the News, so not the news-article itself....

To get the news-title in the page-title, you could check the Tips & Tricks area, or the WIKI, as there are posts in there in how to achieve this.

Ronny

Re: Tiltle don't change

Posted: Fri Nov 21, 2008 1:25 am
by gianpiero
Hi
excuse me I'm interested also.
Can you provide me a direct link to the solution
Thanks a lot

Gianpiero

( p.s. I can't find alone , sorry )

Re: Tiltle don't change

Posted: Fri Nov 21, 2008 1:52 am
by gianpiero
is this the best solution ?

http://forum.cmsmadesimple.org/index.php/topic,12301.0.html

thanks for any opinion ...

Re: Tiltle don't change

Posted: Fri Nov 21, 2008 10:39 am
by gianpiero
Ok...
I'm on article about this
sorry if cross-posting

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

bye gianpiero

Re: Tiltle don't change

Posted: Sat Nov 22, 2008 4:35 pm
by gianpiero
only for feedback:

I solved not alone, but consulting more than one post, more of them were no easy for me

- create a page 'details' ( any name you like) blank whit a DOT or logo ( something you like non disturbing ), active page, with no links into menu
- when calling the page with  from any template, example edit  Left simple navigation + 1 column
insert {news detailpage='details'}

Partially solved, infact you will have the same title on any news, that's better than a wrong title

That's all

Bye gianpiero

( if any moderator want to fix solved the title of thread, that's no mine so I can't)