test
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • sctweb Friend
    #151955

    This is a question for the JA Purity II template,

    I’m trying to change my website page title to so that I can have the article title at the front divide it with a “|” and then my site name.

    "About Us | YourSiteName"

    I know that I was to put the following code in the index.php of the template folder (/var/www/templates/ja_purity_ii/), under <head>:

    [PHP]
    <head>
    <?php
    $document =& JFactory::getDocument();
    $document->setTitle($document->title . ” | ” . $mainframe->getCfg(‘sitename’));
    ?>
    .
    .
    .
    </head>[/PHP]

    However, I can’t seem to find it in the JA Purity II template folder.

    Help!? Very much appreciated

    micrantha Friend
    #347723

    Hello,

    If you want to change head section, you can find the file here: templates/ja_purity_ii/layouts/blocks/head.php

    Good luck,
    Micrantha

    sctweb Friend
    #347883

    No luck 🙁

    uniquebiz Friend
    #347892

    Hi
    Where did you get the replacement code from? can I see the original post and reply please?
    Cheers Shannon

    sctweb Friend
    #351504

    I got it off the web somewhere by searching “Customizing Ja Purity page title”…something like that

    It worked for Ja purity (the older version), but it doesn’t work on ja purity ii 🙁

    sctweb Friend
    #351670

    <em>@sctweb 188592 wrote:</em><blockquote>I got it off the web somewhere by searching “Customizing Ja Purity page title”…something like that

    It worked for Ja purity (the older version), but it doesn’t work on ja purity ii :(</blockquote>

    I found a simple solution after some couple of months!!?! = http://extensions.joomla.org/extensions/site-management/seo-a-metadata/3521

    This is a Title manager extension from the Joomla! extensions website. It lets you customize your page title at the top of the browser…e.g. Contact Us | MyOrganization

    :D!

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 3 voices, and was last updated by  sctweb 14 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum