On Apr 11, 10:17 pm, Shedo Surashu <[email protected]> wrote:
> This is the one on the *header.php* file:
>
> <title><?php Options::out( 'title' ) ?><?php if($request->display_entry &&
> isset($post)) { echo " :: {$post->title}"; } ?></title>
>
> Should I completely replace that with yours?
>
> <title><?php if ($request->display_entry || $request->display_page
> &&isset($post)) { echo "{$post->title} - "; } ?><?phpOptions::out( 'title' )
> ?></title>
>
> I'm not *exactly* *that* experienced with these kinds of things. xD
>

If you want the site title first, using

 <title><?php Options::out( 'title' ) ?><?php if($request-
>display_entry || $request->display_page && isset($post)) { echo " ::
{$post->title}"; } ?></title>

is what to use.

The example I gave will put the site title second.

Rick
>
>
>
>
>
> On Tuesday, April 12, 2011 5:25:01 AM UTC+8, rick c wrote:
>
> > Assuming you're using a header template, place this in your header and
> > the page title should display on pages as well as entries. It will
> > also display the name of the site:
>
> > <title><?php if ($request->display_entry || $request->display_page &&
> > isset($post)) { echo "{$post->title} - "; } ?><?php
> > Options::out( 'title' ) ?></title>
>
> > Rick
>
> > On Apr 11, 3:06 pm, Shedo Surashu <[email protected]> wrote:
> > > How do I make the page title on my blog, appear? I'm using Habari 0.6.6.
> > > When I view the single pages for my blog posts, it displays the blog
> > title,
> > > as well as the post title but when I view only pages on my blog, only the
>
> > > blog title shows. How do I make this happen?
>
> > > Best regards,
> > > Shedo Surashu

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/habari-users

Reply via email to