-
AuthorPosts
-
August 23, 2010 at 1:09 pm #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 YouSaguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 23, 2010 at 2:35 pm #353449now ,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]August 24, 2010 at 2:15 pm #353542Thank you but it does not work, we can not print logo !!!
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 26, 2010 at 2:53 am #353699can you pls provide me the link to your site . thanks
August 27, 2010 at 7:40 am #353836Thank you
I sent a PM, did you receive it please ?September 2, 2010 at 7:14 am #354413no reponse??
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 3, 2010 at 7:56 am #354493oh. 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]1 user says Thank You to Saguaros for this useful post
-
AuthorPosts
This topic contains 7 replies, has 2 voices, and was last updated by Saguaros 14 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum