test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • javaclinic2 Friend
    #151510

    Hi , How can i able to have slideshow only in category layout as when i enable it , this also appear when i view the individual articles ..

    I dont want slideshow when viewing the individual articles of that Category/Section .

    any idea ?

    Zeeshan

    toymaker Friend
    #345575

    Hi there…
    Here you can find some info regarding how to show/hide modules if in article view mode.
    http://www.joomlart.com/forums/showthread.php?p=179679

    Peace,
    Gabriel

    javaclinic2 Friend
    #345672

    Boss , i could not find which code to put , can you please paste the code snippet here ? let say i want to hide xx module in article view

    Zeeshan

    Saguaros Moderator
    #345951

    Dear Zeeshan!

    Pls open the file:

    /templates/ja_norite/layouts/blocks/topsl.php

    and find the following codes:
    [PHP]
    <?php global $option; ?>
    <?php if( $this->countModules(‘top’) ): ?>
    [/PHP]
    replace:
    [PHP]
    <?php global $option; ?>
    <?php if( $this->countModules(‘top’) && $option==”com_content” && JRequest::getVar(‘view’) == ‘category’ ): ?>
    [/PHP]

    Good luck

    javaclinic2 Friend
    #347476

    thanks a lot, i just added
    <?php if( $this->countModules(‘top’) && $option==”com_content” && ( (JRequest::getVar(‘view’) == ‘category’) || (JRequest::getVar(‘view’) == ‘section’) || (JRequest::getVar(‘view’) == ‘frontpage’)) ): ?>

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

This topic contains 5 replies, has 3 voices, and was last updated by  javaclinic2 14 years, 5 months ago.

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