Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • karotu Friend
    #144159

    Mauri (Hi) All,

    Thought I’d share this.. took me a while to figure it out.

    Problem: You want to use the mod_jacatslwi only for display but no linking to the article in category.

    Locate /modules/mod_jacatslwi/mod_jacatslwi.php

    On line 57, change the following code

    'onclick="location.href=''.$link.''"'

    to

    'onclick="location.href=#"' '

    Hope this helps. Sorry Joomlart for changing some of your code..

    Warm regards from Kiribati!

    Karotu

    user11224767 Friend
    #382707

    Hi!

    If i made this, i will get a blank page!

    any idea?

    Regards
    Jörg

    huypl Friend
    #382829

    Hi,
    Try this way
    Open modulesmod_jacatslwitmpldefault.php
    Find this line:
    <div <?php echo ($link ? ‘onclick=”location.href=”.$link.””‘ : ”); ?> class=”ja-catslwi<?php echo $pos?>” style=”<?php echo ($link ? ‘cursor: pointer;cursor:hand’ : ”); ?>”>
    And replace with:
    <div class=”ja-catslwi<?php echo $pos?>” style=”<?php echo ($link ? ‘cursor: pointer;cursor:hand’ : ”); ?>”>

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

This topic contains 3 replies, has 3 voices, and was last updated by  huypl 13 years, 8 months ago.

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