test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • gioefa Friend
    #192085

    Hi at all,
    i must fix URL on logo in Ja-teline IV. I explain:
    my web url is http://www.meteoportaleitalia.it and all work fine!!, but if you see at left page i have module of social with some value, ok?!? – so if you click on logo image after recharge page, you can see something different in value of social module. For example bofore you see 640 like, after click on logo you see 154 like.
    I don’t understand why!

    I see one different between page (but are same):
    – when i call primary URL in address URL i have: http://www.meteoportaleitalia.it/;
    – when i click on logo the address URL change in: http://www.meteoportaleitalia.it/index.php

    so if possible set in logo http://www.meteoportaleitalia.it/ without recall “index.php”???

    Sorry for my english
    Thank you
    Reguard
    EM


    1. before_click_on_logo
    2. after_click_on_logo
    Ninja Lead Moderator
    #511931

    In order to remove index.php, you open templates/ja_teline_iv/blocks/header.php file

    from

    <?php
    $app = JFactory::getApplication();
    $siteName = $app->getCfg('sitename');
    if ($this->getParam('logoType', 'image')=='image'): ?>
    <h1 class="logo">
    <a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a>
    </h1>
    <?php else:
    $logoText = (trim($this->getParam('logoText'))=='') ? $siteName : JText::_(trim($this->getParam('logoText')));
    $sloganText = JText::_(trim($this->getParam('sloganText'))); ?>
    <div class="logo-text">
    <h1><a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $logoText; ?></span></a></h1>
    <p class="site-slogan"><span><?php echo $sloganText;?></span></p>
    </div>
    <?php endif; ?>

    <div class="ja-header-r">
    <jdoc:include type="modules" name="header-r" />
    </div>

    change to

    <?php
    $app = JFactory::getApplication();
    $siteName = $app->getCfg('sitename');
    if ($this->getParam('logoType', 'image')=='image'): ?>
    <h1 class="logo">
    <a href="/" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a>
    </h1>
    <?php else:
    $logoText = (trim($this->getParam('logoText'))=='') ? $siteName : JText::_(trim($this->getParam('logoText')));
    $sloganText = JText::_(trim($this->getParam('sloganText'))); ?>
    <div class="logo-text">
    <h1><a href="/" title="<?php echo $siteName; ?>"><span><?php echo $logoText; ?></span></a></h1>
    <p class="site-slogan"><span><?php echo $sloganText;?></span></p>
    </div>
    <?php endif; ?>

    <div class="ja-header-r">
    <jdoc:include type="modules" name="header-r" />
    </div>

    Once done, clear cache from Admin site

    gioefa Friend
    #511959

    Ninja Lead,
    thank you for your replay!! It works fine now!!!
    :p
    Enrico M.

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

This topic contains 3 replies, has 2 voices, and was last updated by  gioefa 11 years, 2 months ago.

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