Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • multigraphic Friend
    #153739

    hello
    We have placed our logo (image) into CSS with JA kyanite but when we print the page out, the logo is not printed. Other images are printed but not the logo.

    so, what have we to do and where do it to let the logo be printed out please?
    Ofcorse we want to keep image into background (CSS), but how to print it on paper please ?
    Thank You

    Saguaros Moderator
    #353449

    now ,you open the file: templatesja_kyaniteiicomponent.php and find following css :
    [PHP]
    <body class=”contentpane”>
    [/PHP]
    replace:
    [PHP]
    <body class=”contentpane”>
    <?php if( JRequest::getVar(‘print’,’0′) ) : ?>

    <div id=”ja-header” class=”wrap”>
    <div class=”main clearfix”>
    <?php
    $tmp = JATemplateHelper::getInstance();
    $siteName = $tmp->sitename();
    if ($tmp->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($tmp->getParam(‘logoType-text-logoText’))==”) ? $config->sitename : $tmp->getParam(‘logoType-text-logoText’);
    $sloganText = (trim($tmp->getParam(‘logoType-text-sloganText’))==”) ? JText::_(‘SITE SLOGAN’) : $tmp->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; ?>
    </div>
    </div>
    <?php endif; ?>
    [/PHP]

    multigraphic Friend
    #353542

    Thank you but it does not work, we can not print logo !!!

    Saguaros Moderator
    #353699

    can you pls provide me the link to your site . thanks

    multigraphic Friend
    #353836

    Thank you
    I sent a PM, did you receive it please ?

    multigraphic Friend
    #354413

    no reponse??

    Saguaros Moderator
    #354493

    oh. sorry for my delay. you had got a mistaken with the print function as you mentioned, you would like to print all page, not click to the print button in each article.

    You open this file: templatesja_kyanitelayoutsblocksheader.php and find the following code:
    [PHP]
    <h1 class=”logo”>
    <a href=”index.php” title=”<?php echo $siteName; ?>”><span><?php echo $siteName; ?></span></a>
    </h1>
    [/PHP]
    replace:
    [PHP]
    <h1 class=”logo”>
    <a href=”index.php” title=”<?php echo $siteName; ?>”>
    <img src=”<?php echo $this->templateurl(); ?>/images/logo.gif”/>
    </a>
    </h1>
    [/PHP]

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

This topic contains 7 replies, has 2 voices, and was last updated by  Saguaros 13 years, 9 months ago.

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