[Slackbuilds-users] website request - different titles for pages

cRaig Forrester treehead at gmail.com
Fri Apr 11 09:47:23 EDT 2008


On Thu, Apr 10, 2008 at 12:27 PM, Phillip Warner <pc_warner at yahoo.com> wrote:
> It would be nice if the various Slackbuilds.org pages had different titles.

I think this is a great idea.   I had the same thought when I was
bookmarking a page recently.

On Thu, Apr 10, 2008 at 1:07 PM, Alex <alex.j.elliott at virgin.net> wrote:
> Is a mod_rewrite change necessary?  I would have thought this would be a
> change to the PHP segment.  Depending on how you've templated it.
>
>  Something as simple as a $pageTitle, which would be set and passed to
> wherever you output the head of the document would be sufficient.

Agreed.  I've done this on several sites in PHP.  E.G., if you use an
include for your header, you can pass the value of $pageTitle to the
include for display in <title>.

cRaig

EOM


More information about the Slackbuilds-users mailing list