Thanks guys. That was fast and helpful.
Sergiy
-----Original Message-----
From: blojsom-users-admin lists.sourceforge.net
[mailto:blojsom-users-admin lists.sourceforge.net] On
Behalf Of Rostislav
Hristov
Sent: Tuesday, May 09, 2006 9:15 PM
To: blojsom-users lists.sourceforge.net
Subject: Re: [Blojsom-users] Blog entry titles
I have prepared a set of fixes for the Asual theme and I
still haven't
found the time to update the Ocean one. My change looks
like:
#set($title = $BLOJSOM_BLOG.getBlogName())
#set($separator = "»")
#if($BLOJSOM_PERMALINK)
#foreach($entry in $BLOJSOM_ENTRIES)
#set($title = "$title $separator $entry")
#end
#end
<title>$title</title>
This way it always displays the Blog name first and
preserves the
title on the main page.
There're few more enhancements that will be available soon.
Greets,
Rostislav
On 5/9/06, David Czarnecki <david blojsom.com> wrote:
> In the template that outputs the
<title></title> tag for the page, you
could
> have something like:
>
> #if ($BLOJSOM_PERMALINK)
> #foreach ($entry in $BLOJSOM_ENTRIES)
> <title>$BLOJSOM_BLOG.getBlogName() |
$entry.getTitle()</title>
> #end
> #end
>
> Since there's only one blog entry for a permalink, the
loop only executes
> once.
>
> On 5/9/06 10:06 AM, "Sergiy Kyrylkov"
<kyrylkov mpxsys.com.ua> wrote:
>
> > Hi,
> >
> > How do I make blojsom display blog entry title as
page title when a
single
> > entry is opened in a browser by following
permalink?
> >
> > To be clearer, for example I have "Tomcat vs
Jetty" blog entry. When I
open
> > this entry, the title of the web page is
"Sergiy's Noter" (the name of
my
> > blog). I would like to have the page title as
"Sergiy's Noter | Tomcat
vs
> > Jetty" or something like that.
> >
> > Sergiy
> >
> >
> >
> >
-------------------------------------------------------
> > Using Tomcat but need to do more? Need to support
web services,
security?
> > Get stuff done quickly with pre-integrated
technology to make your job
easier
> > Download IBM WebSphere Application Server v.1.0.1
based on Apache
Geronimo
> > http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > _______________________________________________
> > Blojsom-users mailing list
> > Blojsom-users lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
>
> --
> David Czarnecki
>
> http://www.blojsom.com/b
log/ | http://blojsom.sf.net
>
>
>
>
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web
services, security?
> Get stuff done quickly with pre-integrated technology
to make your job
easier
> Download IBM WebSphere Application Server v.1.0.1 based
on Apache Geronimo
> http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-users lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
>
--
EnFlash - It's all about features...
http://www.asual.com/en
flash/
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://
sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&
3057&dat1642
_______________________________________________
Blojsom-users mailing list
Blojsom-users lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http:
//sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&
amp;3057&dat1642
_______________________________________________
Blojsom-users mailing list
Blojsom-users lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
|