Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • edd Friend
    #202493

    Hi there,

    I would like to dissable the “view all” bouton in the features position…

    Please take a look to the attachement to see what I mean…

    Thanks a lot


    1. screen66
    Pankaj Sharma Moderator
    #554408

    Hi
    go to
    Open languageen-GBen-GB.tpl_ja_decor.ini

    Find the word view all and remove it
    please take a backup of original file .

    edd Friend
    #554417

    Hello pankajsharma,

    Thanks for your reply…

    I did like you said, but the button is still there

    Please take a look to the attachement file…

    What do I need to remove?

    Thanks


    1. screen55
    Pankaj Sharma Moderator
    #554420

    Hi Can you PM me your site admin details .
    Send me FTP details if your site is on Joomla2.5.x .
    I will check it for you

    edd Friend
    #554421

    HI,
    the site is in joomla 3.3
    I dont know if I have the right to send you the ftp details, let me ask…

    Dont you have any idea on how to remove this?

    Thank you

    Pankaj Sharma Moderator
    #554423

    Hi I am Here to give you support . <blockquote>Dont you have any idea on how to remove this?</blockquote>
    Yes this is the reason i asked you for Admin details . the above solution should work for you .
    But if you don`t want me to solve and try your self
    then you can check the previous solution again
    Open the “/language/en-GB/en-GB.tpl_ja_decor.ini
    and remove TPL_VIEW = “View All
    View all .

    edd Friend
    #554430

    <em>@pankajsharma 452000 wrote:</em><blockquote>
    But if you don`t want me to solve and try your self </blockquote>

    Is not that I dont want you to solve this, the thing is that I’m not the FTP owner, I’m working for somebody and I think it is thoughtful for me to decide this.

    Thanks for your help anyway…
    Like I told you I remove the “view all” word in the en-GB.tpl_ja_decor.ini file, and is OK the word is not showinf animore, but the button is still there…

    Dont you think there is a way to solve this openning a php file?, if so, wich one ?

    Thanks a lot, and excuse me

    edd Friend
    #554431

    <em>@pankajsharma 452000 wrote:</em><blockquote>
    Or try the solution suggested in these threads
    link1</blockquote>

    Hi,

    This solution is for the “view” button (the one on the image and not on the category field) and when I remove like explained in the post, it makes an error an the title articles… so it is not working…

    edd Friend
    #554433

    Hi again,

    I found this code on :

    templatesja_decorhtmlmod_articles_categorytriangle.php

    and

    templatesja_decorhtmlmod_articles_categorynormal.php

    on line 37 (on both files) :


    <?php
    //Get category info
    if(isset($jacategory)) : ?>
    <div class="col-xs-12 col-sm-6 col-md-3 col-cmd-12 category-info background-primary">
    <div class="grid-1x2 grid-inner">
    <h3 class="category-title">
    <?php
    $cat_title = $jacategory->title;
    $cat_titles = explode(" ",$cat_title);
    echo '<span class="first-letter">'.$cat_titles[0].'</span>';
    unset($cat_titles[0]);
    echo ' '.implode(" ",$cat_titles);
    ?>
    </h3>
    <div class="category-des">
    <?php echo $jacategory->description;?>
    </div>
    <a class="btn btn-primary btn-icon" href="<?php echo JRoute::_(ContentHelperRoute::getCategoryRoute($jacategory->id));?>"><?php echo JText::_('VIEW_ALL'); ?> <i class="fa fa fa-long-arrow-right"></i></a>
    </div>
    </div>
    <?php endif;
    //End add
    ?>

    So I puted off the line 54 :

    <a class="btn btn-primary btn-icon" href="<?php echo JRoute::_(ContentHelperRoute::getCategoryRoute($jacategory->id));?>"><?php echo JText::_('VIEW_ALL'); ?> <i class="fa fa fa-long-arrow-right"></i></a>

    It is working, the buton “view all” is no more there, but the title and text of articles goes on bold, take a look to the screen I’ve attached.

    Any idea on where and how to fix this?

    Thanks


    1. screen44
    Pankaj Sharma Moderator
    #554435

    HI i am not sure what exactly you have done .Please revert your all changes and share your working site url here

    edd Friend
    #554436

    Sent you a PM

    Pankaj Sharma Moderator
    #554440

    Hi
    do this
    open /templates/ja_decore/css/custom.css file
    and add this code

    .category-module .category-info .btn{display:none;}

    if it will not work
    then go to //templates/ja_decor/css/themes/red/template.css
    and change this code

    .category-module .category-info .btn{position:absolute; bottom:30px;left:30px}
    into
    this

    .category-module .category-info .btn{position:absolute;display:none; bottom:30px;left:30px}
    Clear cache and check

    edd Friend
    #554444

    Hi pankajsharma,

    😀
    Yooohoooo … It’s working!!!!!!!
    😀

    I added the fist code you gave me in the custom.css

    Really thank you and excuse me for all 😉

    Pankaj Sharma Moderator
    #554445

    You are welcome 🙂

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

This topic contains 14 replies, has 2 voices, and was last updated by  Pankaj Sharma 9 years, 11 months ago.

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