Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • amxecure Friend
    #931428

    Hi,
    PLS. HELP,
    Question~
    how do I setting company logo Link back index page.

    3Q very much.

    MAIL: momo@amxecure.com


    1. m17-001
    Pankaj Sharma Moderator
    #931433

    Hi
    Your question is not clear to me .
    Kindly post the site url and let me know the issue .
    If you want to change the logo link to static link you can define the new link in /tpls/blocks/header.php file .

    PS : Open new post for different topics .

    amxecure Friend
    #935899

    my mean I want change logo "Hyperlink"
    where can fixing it ?

    MAIL: momo@amxecure.com

    Pankaj Sharma Moderator
    #935907

    Hi
    go to /tpls/blocks/header.php file in the template folder of ja decor template .
    Find below code

    <a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>">
    

    replace it with

    
                        <a href="http://www.google.com" title="<?php echo strip_tags($sitename) ?>">

    change the google.com url with your URL link .
    Hope it helps .

    amxecure Friend
    #935911

    HI,
    help again pls.
    my header.php can’t find u offer code.

    pls, see my Attached files.

    new Hyperlink : http://www.amxecure.com

    3QQ

    amxecure Friend
    #935914

    HI,
    help again pls.
    my header.php can’t find u offer code.

    pls, see my Attached files.

    new Hyperlink : http://www.amxecure.com

    3QQ

    —————- the following is my header.php code ———-

    <?php
    /**

    • @package T3 Blank
    • @copyright Copyright (C) 2005 – 2012 Open Source Matters, Inc. All rights reserved.
    • @license GNU General Public License version 2 or later; see LICENSE.txt
      */

    defined(‘_JEXEC’) or die;

    // get params
    $sitename = $this->params->get(‘sitename’);
    $slogan = $this->params->get(‘slogan’, ”);
    $logotype = $this->params->get(‘logotype’, ‘text’);
    $logoimage = $logotype == ‘image’ ? $this->params->get(‘logoimage’, ‘templates/’ . T3_TEMPLATE . ‘/images/logo.png’) : ”;
    $logoimgsm = ($logotype == ‘image’ && $this->params->get(‘enable_logoimage_sm’, 0)) ? $this->params->get(‘logoimage_sm’, ”) : false;

    if (!$sitename) {
    $sitename = JFactory::getConfig()->get(‘sitename’);
    }

    ?>

    <header id="t3-mainnav" class="t3-mainnav navbar navbar-default">

    <div class="container">
        <div class="main-container">
    
        <!-- NAVBAR HEADER -->
        <div class="navbar-header">
    
            <!-- LOGO -->
            <div class="logo logo-<?php echo $logotype ?>">
                <a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>">
                        <?php if($logotype == 'image'): ?>
                            <img class="logo-img <?php if($logoimgsm) : ?> hidden-sm hidden-xs <?php endif ?>" src="<?php echo JURI::base(true) . '/' . $logoimage ?>" alt="<?php echo strip_tags($sitename) ?>" />
                        <?php endif ?>
                        <?php if($logoimgsm) : ?>
                            <img class="logo-img-sm visible-sm visible-xs" src="<?php echo JURI::base(true) . '/' . $logoimgsm ?>" alt="<?php echo strip_tags($sitename) ?>" />
                        <?php endif ?>
                        <span><?php echo $sitename ?></span>
                    </a>
                <small class="site-slogan hidden-xs"><?php echo $slogan ?></small>
            </div>
            <!-- //LOGO -->
    
            <?php if ($this->getParam('navigation_collapse_enable', 1) && $this->getParam('responsive', 1)) : ?>
                <?php $this->addScript(T3_URL.'/js/nav-collapse.js'); ?>
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".t3-navbar-collapse">
                    <i class="fa fa-bars"></i>
                </button>
            <?php endif ?>
    
        </div>
        <!-- //NAVBAR HEADER -->
    
        <?php if ($this->countModules('head-search')) : ?>
        <!-- HEAD SEARCH -->
        <div class="head-search <?php $this->_c('head-search')?>">     
          <jdoc:include type="modules" name="<?php $this->_p('head-search') ?>" style="raw" />
        </div>
        <!-- //HEAD SEARCH -->
        <?php endif ?>
    
        <!-- NAVBAR MAIN -->
        <?php if ($this->getParam('navigation_collapse_enable')) : ?>
        <nav class="t3-navbar-collapse navbar-collapse collapse "></nav>
        <?php endif ?>
    
        <nav class="t3-navbar navbar-collapse collapse ">
            <jdoc:include type="<?php echo $this->getParam('navigation_type', 'megamenu') ?>" name="<?php echo $this->getParam('mm_type', 'mainmenu') ?>" />
        </nav>
        <!-- //NAVBAR MAIN -->
    
        </div>
    
    </div>

    Pankaj Sharma Moderator
    #935918

    Hi check it again , you file showing the code

    <a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>">

    http://prntscr.com/ba33sc
    If still you are not able to find the code , you can send site temp. super user details via private reply . i will give u screenshot from your site , for how to make changes .

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

This topic contains 6 replies, has 2 voices, and was last updated by  Pankaj Sharma 7 years, 11 months ago.

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