Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • icemangs Friend
    #136972

    Hello,

    i will change in teh footer the current year in:

    Copyright 2007 – 2009

    Where and how can I change this?

    icemangs

    scotty Friend
    #285850

    Unless you already modified it, it will change automatically. If you did modify it then it depends where you modified it as this can be set in a number of locations.

    kansen Friend
    #286716

    Hello icemangs

    You can edith the footer file located in root/templates/jamesolite/html/mod_footer/default.php

    Cheers!

    icemangs Friend
    #292770

    <em>@kansen 106404 wrote:</em><blockquote>Hello icemangs

    You can edith the footer file located in root/templates/jamesolite/html/mod_footer/default.php

    Cheers!</blockquote>

    I’ve a problem to change follow:

    Copyright © 2009 Testsite
    to
    Copyright © 2007 – 2009 Testsite

    Eyery changes i make in default.php there come errors…

    Any ideas?

    hbf1000 Friend
    #292782

    icemangs, probably you are breaking the code while editing it. better is to paste here the related piece of code so that people can reply to you with the changes.

    icemangs Friend
    #292790

    <em>@hbf1000 113806 wrote:</em><blockquote>icemangs, probably you are breaking the code while editing it. better is to paste here the related piece of code so that people can reply to you with the changes.</blockquote>

    here is the code from default.php:

    defined(‘_JEXEC’) or die(‘Restricted access’); ?>
    <small><?php echo $lineone; ?>
    <a href=”http://www.xxx.de/” title=”Besuchen Sie die Solutions4your-IT” target=”blank”>Solutions4your-IT</a>.</small>
    <!–<small><?php echo JText::_( ‘FOOTER_LINE2’ ); ?></small> –>

    an here is the code from the module “footer” (mod_footer.php)
    // no direct access
    defined( ‘_JEXEC’ ) or die( ‘Restricted access’ );

    $version = new JVersion();

    ?>
    <div>
    <?php echo $version->URL; ?>
    </div>

    <div class=”smallgrey”>
    <?php echo $version->getLongVersion(); ?>
    </div>

    <div>
    <a href=”http://www.joomla.org/content/blogcategory/32/66/” target=”_blank”><?php echo JText::_( ‘Check for latest Version’ ); ?></a>
    </div>

    wooohanetworks Friend
    #292829

    It is the same code as you use in your current Larix template and seems not to be present in the Mesolite files, located in the footer.php and should look somehow like this:

    <small>Copyright © <?php echo $date->toFormat( ‘2007 – %Y’ ) . ‘ ‘ . $config->sitename;?>All Rights reserved</small>

    Maybe it is present in the index.php or some other file in Mesolite, so first look if there is some code like that anywhere in your template folder files, as to add a second one with the possible old one still present would not change anything.

    scotty Friend
    #292832

    It says in default php “<?php echo $lineone; ?>” this is a reference to your language file.

    Go to your language folder and find XX.mod_footer where XX= the language you are using.

    FOOTER=Footer
    FOOTER_LINE1=Copyright © %date% %sitename%. All Rights Reserved.
    FOOTER_LINE2=<a href="http://www.joomla.org">Joomla!</a> is Free Software released under the <a href="http://www.gnu.org/licenses/gpl-2.0.html">GNU/GPL License.</a>
    MOD_FOOTER=<em>mod_footer</em>
    THIS MODULE SHOWS THE JOOMLA! COPYRIGHT INFORMATION=This module shows the Joomla! copyright information.

    change to…

    FOOTER=Footer
    FOOTER_LINE1=Copyright © 2007 - %date% %sitename%. All Rights Reserved.
    FOOTER_LINE2=<a href="http://www.joomla.org">Joomla!</a> is Free Software released under the <a href="http://www.gnu.org/licenses/gpl-2.0.html">GNU/GPL License.</a>
    MOD_FOOTER=<em>mod_footer</em>
    THIS MODULE SHOWS THE JOOMLA! COPYRIGHT INFORMATION=This module shows the Joomla! copyright information.

    This WILL fix your poblem.

    icemangs Friend
    #292835

    @scotty

    thanks for your help, the problem is solve with changes in language file.

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

This topic contains 9 replies, has 5 voices, and was last updated by  icemangs 15 years, 9 months ago.

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