-
AuthorPosts
-
khoand Friend
khoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
November 21, 2011 at 4:26 am #425628You try replace
<div id="ja-header" class="clearfix"><?php
$siteName = $tmpTools->sitename();
if ($tmpTools->getParam('logoType')=='image') { ?>
<h1 class="logo">
<a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a>
</h1>
<?php } else {
$logoText = (trim($tmpTools->getParam('logoText'))=='') ? $config->sitename : $tmpTools->getParam('logoText');
$sloganText = (trim($tmpTools->getParam('sloganText'))=='') ? JText::_('SITE SLOGAN') : $tmpTools->getParam('sloganText'); ?>
<h1 class="logo-text">
<a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $logoText; ?></span></a>
</h1>
<p class="site-slogan"><?php echo $sloganText;?></p>
<?php } ?><?php if ($this->countModules('top')) { ?>
<div id="ja-login">
<jdoc:include type="modules" name="top" style="raw" />
</div>
<?php } ?></div>
with
<?php if ($jamenu->open[0] != 1 && $jamenu->open[0] != 5 && $jamenu->open[0] != 77 && $jamenu->open[0] != 9){ ?>
<div id="ja-header" class="clearfix"><?php
$siteName = $tmpTools->sitename();
if ($tmpTools->getParam('logoType')=='image') { ?>
<h1 class="logo">
<a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a>
</h1>
<?php } else {
$logoText = (trim($tmpTools->getParam('logoText'))=='') ? $config->sitename : $tmpTools->getParam('logoText');
$sloganText = (trim($tmpTools->getParam('sloganText'))=='') ? JText::_('SITE SLOGAN') : $tmpTools->getParam('sloganText'); ?>
<h1 class="logo-text">
<a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $logoText; ?></span></a>
</h1>
<p class="site-slogan"><?php echo $sloganText;?></p>
<?php } ?><?php if ($this->countModules('top')) { ?>
<div id="ja-login">
<jdoc:include type="modules" name="top" style="raw" />
</div>
<?php } ?></div>
<?php } ?>
gavner Friendgavner
- Join date:
- June 2008
- Posts:
- 142
- Downloads:
- 213
- Uploads:
- 2
- Thanks:
- 3
- Thanked:
- 2 times in 1 posts
November 21, 2011 at 7:26 pm #425794<em>@khoand 283948 wrote:</em><blockquote>You try replace
<div id="ja-header" class="clearfix"><?php
$siteName = $tmpTools->sitename();
if ($tmpTools->getParam('logoType')=='image') { ?>
<h1 class="logo">
<a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a>
</h1>
<?php } else {
$logoText = (trim($tmpTools->getParam('logoText'))=='') ? $config->sitename : $tmpTools->getParam('logoText');
$sloganText = (trim($tmpTools->getParam('sloganText'))=='') ? JText::_('SITE SLOGAN') : $tmpTools->getParam('sloganText'); ?>
<h1 class="logo-text">
<a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $logoText; ?></span></a>
</h1>
<p class="site-slogan"><?php echo $sloganText;?></p>
<?php } ?><?php if ($this->countModules('top')) { ?>
<div id="ja-login">
<jdoc:include type="modules" name="top" style="raw" />
</div>
<?php } ?></div>
with
<?php if ($jamenu->open[0] != 1 && $jamenu->open[0] != 5 && $jamenu->open[0] != 77 && $jamenu->open[0] != 9){ ?>
<div id="ja-header" class="clearfix"><?php
$siteName = $tmpTools->sitename();
if ($tmpTools->getParam('logoType')=='image') { ?>
<h1 class="logo">
<a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a>
</h1>
<?php } else {
$logoText = (trim($tmpTools->getParam('logoText'))=='') ? $config->sitename : $tmpTools->getParam('logoText');
$sloganText = (trim($tmpTools->getParam('sloganText'))=='') ? JText::_('SITE SLOGAN') : $tmpTools->getParam('sloganText'); ?>
<h1 class="logo-text">
<a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $logoText; ?></span></a>
</h1>
<p class="site-slogan"><?php echo $sloganText;?></p>
<?php } ?><?php if ($this->countModules('top')) { ?>
<div id="ja-login">
<jdoc:include type="modules" name="top" style="raw" />
</div>
<?php } ?></div>
<?php } ?>
</blockquote>tried this, it dosnt work.
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
November 22, 2011 at 4:44 am #425857Could you give me username+password of your backend and ftp? I will check it
gavner Friendgavner
- Join date:
- June 2008
- Posts:
- 142
- Downloads:
- 213
- Uploads:
- 2
- Thanks:
- 3
- Thanked:
- 2 times in 1 posts
November 22, 2011 at 6:22 pm #425951<em>@khoand 284235 wrote:</em><blockquote>Could you give me username+password of your backend and ftp? I will check it</blockquote>
here is how it looks, out of place, i will pm you login info
http://yourbcs.co.uk/insider-secretskhoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
November 23, 2011 at 4:10 pm #426135I don’t see any menus on your site. What menu do want header is disappeared?
gavner Friendgavner
- Join date:
- June 2008
- Posts:
- 142
- Downloads:
- 213
- Uploads:
- 2
- Thanks:
- 3
- Thanked:
- 2 times in 1 posts
November 23, 2011 at 4:20 pm #426140<em>@khoand 284592 wrote:</em><blockquote>I don’t see any menus on your site. What menu do want header is disappeared?</blockquote>
it already dissapeared because of your code, but the site in now not centered properly, do you see??
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
November 23, 2011 at 5:00 pm #426149Could you give me username+password of your backend and ftp? I will check it.
gavner Friendgavner
- Join date:
- June 2008
- Posts:
- 142
- Downloads:
- 213
- Uploads:
- 2
- Thanks:
- 3
- Thanked:
- 2 times in 1 posts
November 23, 2011 at 5:02 pm #426150<em>@khoand 284609 wrote:</em><blockquote>Could you give me username+password of your backend and ftp? I will check it.</blockquote>
i will pm you now
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
November 24, 2011 at 11:16 am #426258You put code wrong place. I fixed it.
Code I gave you is just used by JA Helio, not zeolite.
I moved the code (at line 241)
<?php } ?>to line 302
-
AuthorPosts
This topic contains 24 replies, has 3 voices, and was last updated by khoand 13 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum