-
AuthorPosts
-
May 18, 2008 at 4:40 am #128654Sherlock Friend
Sherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
May 19, 2008 at 4:10 am #249682Hi sirajm !
Teline ii have 2 option for logo type ,
1- Logo is text
2- Logo is image
You can choose 1 of 2 option by way :
– Login to admin
– Select extensions >> template manager >> JA Teline ii then select option from logo type select box.If You need text and image in logo both. You can open index.php file in templates/ja_teline find following code section at about line 95 :
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 } ?>
change into :
?>
<h1 class="logo">
<a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a>
</h1>
<?php
$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>
May 20, 2008 at 2:46 am #249826This is a great tip hainn84. When I tried this, however, the logo and text are stacked on top of one another. Any idea how to shift the logo to one side or another of the text?
-
AuthorPosts
This topic contains 4 replies, has 3 voices, and was last updated by sirajm 16 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum