-
AuthorPosts
-
Ninja Lead Moderator
Ninja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 16, 2016 at 8:49 am #986877Hi,
If you want to change as your expectation, you have to change it from templates/ja_lens/html/com_k2/ja_lens/category.php file and replace script below to image tag
<?php if($this->params->get('show_page_title')): ?> <!-- Page title --> <div class="componentheading<?php echo $this->params->get('pageclass_sfx')?>"> <?php echo $this->escape($this->params->get('page_title')); ?> </div> <?php endif; ?>
Hope it helps
Regards
pagefactory Friendpagefactory
- Join date:
- March 2012
- Posts:
- 102
- Downloads:
- 20
- Uploads:
- 11
- Thanks:
- 1
- Thanked:
- 3 times in 1 posts
November 16, 2016 at 8:44 pm #987056Hi Ninja Lead thx,
it works but it only when show page heading is set to yes in home item in mainmenu.
this is what I change in category.php
<div class="componentheading<?php echo $this->params->get(‘pageclass_sfx’)?>">
<?php echo $this->escape($this->params->get(‘page_title’)); ?>
<img src="templates/ja_lens/html/com_k2/ja_lens/logo.png" alt="" />How can I delete the menitem title " Home " in the toolbar now ?
and
Is there a way to get the logo in the toolbar on every page , not only on the homepage ?
regards
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 17, 2016 at 10:32 am #987273Hi,
You can remove Home text by removing this code <?php echo $this->escape($this->params->get(‘page_title’)); ?>
If you want to show the image all pages on your site, you need to apply my solution above to all files below
templates/ja_lens/html/com_k2/default/tag.php templates/ja_lens/html/com_k2/default/user.php templates/ja_lens/html/com_k2/generic.php templates/ja_lens/html/com_k2/ja_lens/category.php templates/ja_lens/html/com_k2/ja_lens/latest.php templates/ja_lens/html/com_k2/ja_lens/tag.php templates/ja_lens/html/com_k2/ja_lens/user.php templates/ja_lens/html/com_k2/ja_lens_blog/category.php templates/ja_lens/html/com_k2/ja_lens_blog/latest.php templates/ja_lens/html/com_k2/ja_lens_blog/tag.php templates/ja_lens/html/com_k2/ja_lens_blog/user.php templates/ja_lens/html/com_k2/register.php
Regards
pagefactory Friendpagefactory
- Join date:
- March 2012
- Posts:
- 102
- Downloads:
- 20
- Uploads:
- 11
- Thanks:
- 1
- Thanked:
- 3 times in 1 posts
November 18, 2016 at 1:39 pm #987573Thanx Ninja works fine !!
-
AuthorPosts
This topic contains 4 replies, has 2 voices, and was last updated by pagefactory 8 years, 1 month ago.
The topic ‘Logo(image) in stead off text.’ is closed to new replies.