-
AuthorPosts
-
gioefa Friend
gioefa
- Join date:
- September 2013
- Posts:
- 13
- Downloads:
- 8
- Uploads:
- 2
- Thanks:
- 6
- Thanked:
- 1 times in 1 posts
November 8, 2013 at 10:02 am #192085Hi 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.phpso if possible set in logo http://www.meteoportaleitalia.it/ without recall “index.php”???
Sorry for my english
Thank you
Reguard
EM-
Ninja Lead Moderator
Ninja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 12, 2013 at 8:05 am #511931In 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
-
AuthorPosts
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
Jump to forum