Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • mariovfx Friend
    #133607

    how removing copy right

    shertmann Friend
    #271756

    locate in your instalation the following file

    index.php

    is located in the root folder of the janagya template

    is something like this

    yoursite/joomlainstalation/templates/janagya/index.php

    inside of this document find near the line 246 the following code

    <div class="copyright">
    <jdoc:include type="modules" name="user3" />
    <jdoc:include type="modules" name="footer" />
    </div>

    and replace it with this

    <div class="copyright">
    <!--jdoc:include type="modules" name="user3" />
    <jdoc:include type="modules" name="footer" /-->
    </div>

    this code does not remove but coments the tag that call the copyright(it is better practice to not remove code when you edit it). and voila does not have the copyright

    Sherlock Friend
    #271773

    you can edit default.php(templatesja_olivinehtmlmod_footer folder):

    <small><?php echo $lineone; ?> Designed by
    <a href="http://www.joomlart.com/" title="Visit Joomlart.com!" target="blank">JoomlArt.com</a>.</small>

    shertmann Friend
    #271782

    well any of these two ways works the same way:D

    mariovfx Friend
    #271795

    Sorry but line 246 reads totaly different

    where is this code you telling me in janagya:

    “you can edit default.php(templatesja_olivinehtmlmod_footer folder):Code:”

    I do not see it!

    Thanks

    mariovfx Friend
    #271796

    i just need to edit the copy right!

    shertmann Friend
    #271800

    well if you read the begin of post do you see that two diferent solutions were posted, the two of them are useful.

    one editing the index.php, the other editing the default.php
    inside of the folder /html/mod_footer/
    the index.php is at the root of the template you have

    Sherlock Friend
    #271811

    Hi mariovfx
    Sorry
    true link is:default.php(templatesja_nagyahtmlmod_footer folder)

    mariovfx Friend
    #271818

    here is the code in the footer and i do not see the line” design by joolart”

    <?php
    /**
    * @version $Id: mod_footer.php 10381 2008-06-01 03:35:53Z pasamio $
    * @package Joomla
    * @copyright Copyright (C) 2005 – 2008 Open Source Matters. All rights reserved.
    * @license GNU/GPL, see LICENSE.php
    * Joomla! is free software. This version may have been modified pursuant
    * to the GNU General Public License, and as distributed it includes or
    * is derivative of works licensed under the GNU General Public License or
    * other free or open source software licenses.
    * See COPYRIGHT.php for copyright notices and details.
    */

    // no direct access
    defined(‘_JEXEC’) or die(‘Restricted access’);

    global $mainframe;

    $date =& JFactory::getDate();
    $cur_year = $date->toFormat(‘%Y’);
    $csite_name = $mainframe->getCfg(‘sitename’);

    if (JString::strpos(JText :: _(‘FOOTER_LINE1’), ‘%date%’)) {
    $line1 = ereg_replace(‘%date%’, $cur_year, JText :: _(‘FOOTER_LINE1’));
    } else {
    $line1 = JText :: _(‘FOOTER_LINE1’);
    }

    if (JString::strpos($line1, ‘%sitename%’)) {
    $lineone = ereg_replace(‘%sitename%’, $csite_name, $line1);
    } else {
    $lineone = $line1;
    }

    require(JModuleHelper::getLayoutPath(‘mod_footer’));

    Sherlock Friend
    #271820

    please follow link:
    templates/ja_nagya/html/mod_footer folder, file default.php

    <blockquote>
    here is the code in the footer and i do not see the line” design by joolart”

    <?php
    /**
    * @version $Id: mod_footer.php 10381 2008-06-01 03:35:53Z pasamio $
    * @package Joomla
    * @copyright Copyright (C) 2005 – 2008 Open Source Matters. All rights reserved.
    * @license GNU/GPL, see LICENSE.php
    * Joomla! is free software. This version may have been modified pursuant
    * to the GNU General Public License, and as distributed it includes or
    * is derivative of works licensed under the GNU General Public License or
    * other free or open source software licenses.
    * See COPYRIGHT.php for copyright notices and details.
    */

    // no direct access
    defined(‘_JEXEC’) or die(‘Restricted access’);

    global $mainframe;

    $date =& JFactory::getDate();
    $cur_year = $date->toFormat(‘%Y’);
    $csite_name = $mainframe->getCfg(‘sitename’);

    if (JString::strpos(JText :: _(‘FOOTER_LINE1’), ‘%date%’)) {
    $line1 = ereg_replace(‘%date%’, $cur_year, JText :: _(‘FOOTER_LINE1’));
    } else {
    $line1 = JText :: _(‘FOOTER_LINE1’);
    }

    if (JString::strpos($line1, ‘%sitename%’)) {
    $lineone = ereg_replace(‘%sitename%’, $csite_name, $line1);
    } else {
    $lineone = $line1;
    }

    require(JModuleHelper::getLayoutPath(‘mod_footer’) );
    </blockquote>

    that is mod_footer.php in modules/mod_footer folder

    Sherlock Friend
    #271821

    please follow link:
    templates/ja_nagya/html/mod_footer folder, file default.php

    <blockquote>
    here is the code in the footer and i do not see the line” design by joolart”

    <?php
    /**
    * @version $Id: mod_footer.php 10381 2008-06-01 03:35:53Z pasamio $
    * @package Joomla
    * @copyright Copyright (C) 2005 – 2008 Open Source Matters. All rights reserved.
    * @license GNU/GPL, see LICENSE.php
    * Joomla! is free software. This version may have been modified pursuant
    * to the GNU General Public License, and as distributed it includes or
    * is derivative of works licensed under the GNU General Public License or
    * other free or open source software licenses.
    * See COPYRIGHT.php for copyright notices and details.
    */

    // no direct access
    defined(‘_JEXEC’) or die(‘Restricted access’);

    global $mainframe;

    $date =& JFactory::getDate();
    $cur_year = $date->toFormat(‘%Y’);
    $csite_name = $mainframe->getCfg(‘sitename’);

    if (JString::strpos(JText :: _(‘FOOTER_LINE1’), ‘%date%’)) {
    $line1 = ereg_replace(‘%date%’, $cur_year, JText :: _(‘FOOTER_LINE1’));
    } else {
    $line1 = JText :: _(‘FOOTER_LINE1’);
    }

    if (JString::strpos($line1, ‘%sitename%’)) {
    $lineone = ereg_replace(‘%sitename%’, $csite_name, $line1);
    } else {
    $lineone = $line1;
    }

    require(JModuleHelper::getLayoutPath(‘mod_footer’) );
    </blockquote>

    that is mod_footer.php in modules/mod_footer folder

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

This topic contains 11 replies, has 3 voices, and was last updated by  Sherlock 16 years, 1 month ago.

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