Hello Levine. On Lun, 25 Gennaio 2010 13:33, Brian Levine wrote: > > > Whoops, as I was hitting send I saw that you said you're using roller 3.1. > I don't believe that code will work for you. Sorry about that. > /B
$model.weblogEntry.title works but I have only 3 templates in my theme: - Weblog - _day - _css And putting: <title>$model.weblogEntry.title</title> in Weblog templlate I get obviously that the variable isn't substituted when the page in not an entry page. Maybe I have to use a separate and customized template fro permalink. But I have no idea on how I could link it to the rest of the them. Someone could give me some hints? Thanks, rocsca >> From: levine_br...@hotmail.com >> To: user@roller.apache.org >> Subject: RE: Change title of window >> Date: Mon, 25 Jan 2010 07:26:43 -0500 >> >> >> >> If you look at the basic theme, it has part of what you're looking for: >> add this to the permalink template: >> <title>$model.weblogEntry.title</title> >> >> Not sure about the setting the category part of it. Maybe someone else >> has an idea... >> >> /Brian >> >> > Date: Mon, 25 Jan 2010 12:01:40 +0100 >> > Subject: Re: Change title of window >> > From: rocco.scappat...@infracom.it >> > To: user@roller.apache.org >> > CC: user@roller.apache.org >> > >> > On Lun, 18 Gennaio 2010 19:00, Rocco Scappatura wrote: >> > > Hello. >> > > >> > > Im using roller 3.1. >> > > >> > > I would like to customize my template so that every time that one >> browse >> > > a permalink, the title of the page is set to the title entry. And >> maybe >> > > if one click on a category, the title of the window is set to the >> name >> > > of category. >> > > >> > > Otherwise the title of the window could be a whatever value (e.g.: >> > > $model.weblog.name). >> > > >> > > Thanks, in advance, >> > >> > Any idea? >> > >> > Thanks all, >> > >> > rocsca >> > >> >> _________________________________________________________________ >> Hotmail: Trusted email with Microsofts powerful SPAM protection. >> http://clk.atdmt.com/GBL/go/196390706/direct/01/ > > _________________________________________________________________ > Hotmail: Powerful Free email with security by Microsoft. > http://clk.atdmt.com/GBL/go/196390710/direct/01/