test
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • hotsd101 Friend
    #186741

    which code must edit to disable popup box for JA Content Popup ?

    so no popup box and no link to another item, so its have just image show and nothing more.

    pavit Moderator
    #489825

    <em>@hotsd101 368863 wrote:</em><blockquote>which code must edit to disable popup box for JA Content Popup ?

    so no popup box and no link to another item, so its have just image show and nothing more.</blockquote>

    Hi

    The Our portfolio section is managed by the module Ja_Content Popup

    so choose the module active for your theme and from the configuration disable the Show Popup feature.

    Regards

    hotsd101 Friend
    #489938

    NOT just popup feature.

    If disable popup feature then when click its go to another link.

    i wish to

    1. disable popup feature
    2. disable ability to click on image AT ALL

    which code must edit for this ?

    hotsd101 Friend
    #489952

    Also please where location of

    <!– You can add Google Analytics here–>
    </head>

    so can add script for it ?

    pleaz answer for both above

    Saguaros Moderator
    #490012

    <em>@hotsd101 369009 wrote:</em><blockquote>

    1. disable popup feature
    2. disable ability to click on image AT ALL

    </blockquote>

    Hello,

    In order to remove link on image, go to this file:
    modulesmod_jacontentpopuptmpldefault_item.php
    Find these lines

    <a <?php echo $target;?> href="<?php echo $row->link;?>" title="<?php echo isset($row->subtitle)?htmlspecialchars($row->subtitle):htmlspecialchars($row->title);?>" rel="<?php echo $ref;?>">
    <span class="ja-cp-image">
    <?php echo $row->image;?>
    </span>
    <?php if ($show_titles): ?>
    <span class="ja-cp-title">
    <?php echo $row->title;?>
    </span>
    <?php endif;?>
    </a>

    change to:

    <span class="ja-cp-image">
    <?php echo $row->image;?>
    </span>
    <?php if ($show_titles): ?>
    <span class="ja-cp-title">
    <?php echo $row->title;?>
    </span>
    <?php endif;?>

    <blockquote>Also please where location of

    <!– You can add Google Analytics here–>
    </head>

    so can add script for it ? </blockquote>
    It locates in:
    templatesja_onepagetplsblockshead.php
    in the end of the file, there’s a comment show where to add Google Analytics

    hotsd101 Friend
    #490042

    thanks u mr Saguaros

    jewellman Friend
    #517241

    I would like to also disable the Popup feature, however I would like each of the 8 images to link to their own external url. How can I accomplish this? Another thread said something about an array.

    Thanks in advance!

    Saguaros Moderator
    #517242

    As suggested in the post by Ninja Lead, you need customize the code of this module in order to achieve the feature you mentioned. By default, when you disable popup, it will link directly to detailed article page.

    <blockquote>modules/mod_jacontentpopup/tmpl/default_item.php</blockquote>

    The tweak of above-mentioned file requires PHP knowledge. If you’re not familiar with those, I recommend you hire a developer to get it done for you.

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

This topic contains 8 replies, has 4 voices, and was last updated by  Saguaros 10 years, 11 months ago.

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