Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • sirajm Friend
    #128654

    Hello,
    How to add additional image in the header.

    http://www.ihelpcommunity.com/

    Thanks,

    Sherlock Friend
    #249682

    Hi 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>

    ralley Friend
    #249826

    This 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?

    sirajm Friend
    #249827

    Thank you hainn84. I have run into the same issue , the logo and text are stacked on top of one another.

    Thanks again

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 3 voices, and was last updated by  sirajm 16 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum