-
AuthorPosts
-
hotsd101 Friend
hotsd101
- Join date:
- March 2015
- Posts:
- 95
- Downloads:
- 2
- Uploads:
- 4
- Thanked:
- 8 times in 1 posts
April 14, 2013 at 1:35 pm #186741which 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 Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
April 14, 2013 at 5:16 pm #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 Friendhotsd101
- Join date:
- March 2015
- Posts:
- 95
- Downloads:
- 2
- Uploads:
- 4
- Thanked:
- 8 times in 1 posts
April 15, 2013 at 12:58 pm #489938NOT 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 ALLwhich code must edit for this ?
hotsd101 Friendhotsd101
- Join date:
- March 2015
- Posts:
- 95
- Downloads:
- 2
- Uploads:
- 4
- Thanked:
- 8 times in 1 posts
April 15, 2013 at 4:07 pm #489952Also please where location of
<!– You can add Google Analytics here–>
</head>so can add script for it ?
pleaz answer for both above
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
April 16, 2013 at 9:40 am #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 Analyticshotsd101 Friendhotsd101
- Join date:
- March 2015
- Posts:
- 95
- Downloads:
- 2
- Uploads:
- 4
- Thanked:
- 8 times in 1 posts
April 16, 2013 at 2:00 pm #490042thanks u mr Saguaros
January 3, 2014 at 5:27 am #517241I 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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
January 3, 2014 at 7:10 am #517242As 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.
1 user says Thank You to Saguaros for this useful post
-
AuthorPosts
This topic contains 8 replies, has 4 voices, and was last updated by Saguaros 10 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum