test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • saswiss Friend
    #190852

    Hi,
    I don’t want the categories showing on articles/events. How can I hide these?

    Also, I don’t want the ‘Share on’ appearing on some articles. How can I hide this?

    See screenshot.

    Thanks!!!


    1. article
    MoonSailor Friend
    #506850

    Hi,

    <blockquote>
    I don’t want the categories showing on articles/events. How can I hide these?
    </blockquote>

    You can go to administrator -> templates manager -> JA Muzic template -> tab “Templates Config”, you can set param “Event” as “None”

    <blockquote>Also, I don’t want the ‘Share on’ appearing on some articles. How can I hide this?
    </blockquote>

    Open file “templates/ja_muzic/html/com_content/article/default-artist.php” and remove code:


    <button class="btn btn-source btn-share" data-toggle="modal" href="#myModal"><?php echo JText::_('TPL_SHARE_ON'); ?></button>
    <div class="modal hide fade" id="myModal">
    <div class="modal-header">
    <a class="close" data-dismiss="modal">×</a>
    <h3><?php echo JText::_('TPL_SHARE_ON'); ?></h3>
    </div>
    <div class="modal-body">
    <?php echo $this->item->event->beforeDisplayContent; ?>
    </div>

    Regards


    1. 2922750466
    saswiss Friend
    #507041

    <em>@MoonSailor 390883 wrote:</em><blockquote>Hi,

    You can go to administrator -> templates manager -> JA Muzic template -> tab “Templates Config”, you can set param “Event” as “None”

    Thanks, this worked…a bit difficult to actually know where to find this – nothing in the UserGuide :((

    Open file “templates/ja_muzic/html/com_content/article/default-artist.php” and remove code:


    <button class="btn btn-source btn-share" data-toggle="modal" href="#myModal"><?php echo JText::_('TPL_SHARE_ON'); ?></button>
    <div class="modal hide fade" id="myModal">
    <div class="modal-header">
    <a class="close" data-dismiss="modal">×</a>
    <h3><?php echo JText::_('TPL_SHARE_ON'); ?></h3>
    </div>
    <div class="modal-body">
    <?php echo $this->item->event->beforeDisplayContent; ?>
    </div>

    Regards</blockquote>

    This doesn’t quite work. It does remove the Share-on button, BUT it then throws the other modules in this position out – the modules now appear BELOW the article text, not in the inline position…or am I doing something wrong???

    MoonSailor Friend
    #507118

    You can send me a PM with admin and FTP account of your site, I will check further for you.

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

This topic contains 4 replies, has 2 voices, and was last updated by  MoonSailor 11 years, 2 months ago.

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