teitbite wrote:
Hi
If You want to complitly remove the logo form site please go to templates/gk_party_freaks/layouts/blocks/mainnav.php and remove this code:
- Code: Select all
<?php
$siteName = $this->sitename();
if ($this->getParam('logoType')=='image'):
?>
<h1 class="logo">
<a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a>
</h1>
<?php else : ?>
<?php
$logoText = (trim($this->getParam('logoType-text-logoText'))=='') ? $config->sitename : $this->getParam('logoType-text-logoText');
$sloganText = (trim($this->getParam('logoType-text-sloganText'))=='') ? JText::_('SITE SLOGAN') : $this->getParam('logoType-text-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"><?php echo $sloganText;?></p>
</div>
<?php endif; ?>
Thoose are lines form 2 - 23.
What 2 other problems?
why not remove the Trim in :
- Code: Select all
<?php
$logoText = (trim($this->getParam('logoType-text-logoText'))=='') ? $config->sitename : $this->getParam('logoType-text-logoText');
$sloganText = (trim($this->getParam('logoType-text-sloganText'))=='') ? JText::_('SITE SLOGAN') : $this->getParam('logoType-text-sloganText');
?>
if i remove the trim, the spaces in the beginning wont get trimmed (not that good) but i will be able to insert an empty space there, no
another soution = i can put ' ' instead of SITE SLOGAN, right?
about the 2 other problems - i'll link to the other disucssion i opened about them.