test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Ninja Lead Moderator
    #986877

    Hi,

    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 Friend
    #987056

    Hi 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 Moderator
    #987273

    Hi,

    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 Friend
    #987573

    Thanx Ninja works fine !!

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

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.