Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • andrewparkinson Friend
    #116717

    On the footer of my page, I would like to add a SEO feature :
    Instead to have the basic copyright information (Copyright © 2006 NameOfMysite.), I would like to have something more like this ( Copyright © 2006 NameOfMysite. titleofthepage ). Is it possible to do that ???

    ha le-viet Developer
    #209500

    Hi Andy,

    To do this, just add the code
    echo $mainframe->getPageTitle()
    anywhere in the index.php or the footer.php of ja_spica.

    For example, it could be in the footer.php:

    <?php echo $mainframe->getPageTitle()."<br />" ?>
    Copyright © <?php echo mosCurrentDate( '%Y' ) . ' ' . $GLOBALS['mosConfig_sitename'];?>. 
    <?php echo $_VERSION->URL; ?>

    Regards,
    Ha Le-Viet

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

This topic contains 2 replies, has 2 voices, and was last updated by  ha le-viet 18 years, 6 months ago.

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