1. skipper
  2. Commercial Templates
  3. Sunday, 02 November 2014
  4.  Subscribe via email
Hi Ciarán,
which amendments have to be made in header.php to kill the link:
<div class="logo"> <a href="index.php" title="<?php echo $siteName; ?>">
without changing the visibility of the logo image.
Regards
Skipper
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Skipper

In your templates header.php replace the following...


<div class="logo"> <a href="/index.php" title="<?php echo $siteName; ?>">
<?php if($this->params->get('logoimagefile') == '') : ?>
<img class"logo-image" style="display: block;" src="/<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/images/logo.png" alt="Logo" />
<?php elseif($this->params->get('logoimagefile') != '') : ?>
<img style="display: block;" src="/<?php echo $this->baseurl ?>/<?php echo $logoimagefile; ?>" alt="Logo" />
<?php endif; ?>
</a> </div>
</div>


With...


<div class="logo">
<?php if($this->params->get('logoimagefile') == '') : ?>
<img class"logo-image" style="display: block;" src="/<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/images/logo.png" alt="Logo" />
<?php elseif($this->params->get('logoimagefile') != '') : ?>
<img style="display: block;" src="/<?php echo $this->baseurl ?>/<?php echo $logoimagefile; ?>" alt="Logo" />
<?php endif; ?>
</div>
</div>


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.