-
AuthorPosts
-
sfpkent Friend
sfpkent
- Join date:
- October 2008
- Posts:
- 829
- Downloads:
- 0
- Uploads:
- 100
- Thanks:
- 310
- Thanked:
- 75 times in 1 posts
June 3, 2009 at 10:30 am #141655Hi,
I want to disable the tooltips on JA Topaz, may I know who? Attached with image file, I do it on my computer, not able to provide link, sorry.
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
June 3, 2009 at 10:37 am #306650Hi
Open modulesmod_janewstmplblog_item.php file, at about line 71, find following code:
<a title="<?php echo strip_tags($row->introtext); ?>" href="<?php echo $link; ?>">
<?php echo $row->title; ?></a>and change to:
<a href="<?php echo $link; ?>">
<?php echo $row->title; ?></a>sfpkent Friendsfpkent
- Join date:
- October 2008
- Posts:
- 829
- Downloads:
- 0
- Uploads:
- 100
- Thanks:
- 310
- Thanked:
- 75 times in 1 posts
June 3, 2009 at 11:00 am #306664Hi,
I have changed it but the tooltips still there. Any suggestions?
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
June 4, 2009 at 9:24 am #306855Hi
I am sorry for my mistake.
Please open templatesja_topazhtmlmod_janewsblog_item.php, try change it as follow:
<?php
/*------------------------------------------------------------------------
# $JA#PRODUCT_NAME$ - Version $JA#VERSION$ - Licence Owner $JA#OWNER$
# ------------------------------------------------------------------------
# Copyright (C) 2004-2008 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
# @license - Copyrighted Commercial Software
# Author: J.O.O.M Solutions Co., Ltd
# Websites: http://www.joomlart.com - http://www.joomlancers.com
# This file may not be redistributed in whole or significant part.
-------------------------------------------------------------------------*/
//get Itemid of category
if ($catorsec) {
$catlink = JRoute::_(ContentHelperRoute::getCategoryRoute($rows[0]->catslug, $rows[0]->sectionid));
}else{
$catlink = JRoute::_(ContentHelperRoute::getSectionRoute($rows[0]->sectionid));
}$cattitle = ($catorsec) ? $rows[0]->cattitle:$rows[0]->sectitle;
$catdesc = ($catorsec) ? $rows[0]->catdesc:$rows[0]->secdesc;$cls_sufix = trim($params->get('blog_theme',''));
if($cls_sufix) $cls_sufix = '-'.$cls_sufix;
?>
<div class="jazin-boxwrap jazin-theme<?php echo $cls_sufix;?> jazin-box<?php echo $k+1;?>">
<div class="jazin-box">
<?php if ($showcattitle) : ?>
<div class="jazin-section clearfix">
<a href="<?php echo $catlink;?>" title="<?php echo trim(strip_tags($catdesc));?>">
<span><?php echo $cattitle;?></span>
</a>
</div>
<?php endif; ?>
<?php
$i = 0;
while($i < $introitems && $i<count($rows)) {
$row = $rows[$i];
$link = JRoute::_(ContentHelperRoute::getArticleRoute($row->slug, $row->catslug, $row->sectionid));
$image = modJANewsHelper::replaceImage ($row, $img_align, $autoresize, $maxchars, $showimage, $img_w, $img_h, $hiddenClasses);
//Show the latest news
?>
<div class="jazin-content clearfix">
<h4 class="jazin-title"><a href="<?php echo $link;?>" title="<?php echo strip_tags($row->title);?>"><?php echo $row->title;?></a></h4>
<?php if ($showimage) : ?>
<?php echo $image; ?>
<?php endif; ?>
<?php
if($maxchars > strlen($row->introtext1)) {
echo $row->introtext;
} else {
echo $row->introtext1;
}
?>
<?php if ($showreadmore) : ?>
<a href="<?php echo $link; ?>" class="readon" title="<?php echo JText::sprintf('Read more...');?>"><?php echo JText::sprintf('Read more...');?></a>
<?php endif; ?>
</div>
<?php
$i++;
}if (count ($rows) > $i) {
echo "<strong class="jazin-more">More:</strong>n";
echo "<ul class="jazin-links">n";while (count ($rows) > $i) {
$row = $rows[$i];
$link = JRoute::_(ContentHelperRoute::getArticleRoute($row->slug, $row->catslug, $row->sectionid.":testset"));
?>
<li>
<a title="<?php echo strip_tags($row->introtext); ?>" href="<?php echo $link; ?>">
<?php echo $row->title; ?></a>
</li>
<?php
$i++;
}
echo "</ul>n";
}
?>
</div>
</div>
and change to:
<?php
/*------------------------------------------------------------------------
# $JA#PRODUCT_NAME$ - Version $JA#VERSION$ - Licence Owner $JA#OWNER$
# ------------------------------------------------------------------------
# Copyright (C) 2004-2008 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
# @license - Copyrighted Commercial Software
# Author: J.O.O.M Solutions Co., Ltd
# Websites: http://www.joomlart.com - http://www.joomlancers.com
# This file may not be redistributed in whole or significant part.
-------------------------------------------------------------------------*/
//get Itemid of category
if ($catorsec) {
$catlink = JRoute::_(ContentHelperRoute::getCategoryRoute($rows[0]->catslug, $rows[0]->sectionid));
}else{
$catlink = JRoute::_(ContentHelperRoute::getSectionRoute($rows[0]->sectionid));
}$cattitle = ($catorsec) ? $rows[0]->cattitle:$rows[0]->sectitle;
$catdesc = ($catorsec) ? $rows[0]->catdesc:$rows[0]->secdesc;$cls_sufix = trim($params->get('blog_theme',''));
if($cls_sufix) $cls_sufix = '-'.$cls_sufix;
?>
<div class="jazin-boxwrap jazin-theme<?php echo $cls_sufix;?> jazin-box<?php echo $k+1;?>">
<div class="jazin-box">
<?php if ($showcattitle) : ?>
<div class="jazin-section clearfix">
<a href="<?php echo $catlink;?>">
<span><?php echo $cattitle;?></span>
</a>
</div>
<?php endif; ?>
<?php
$i = 0;
while($i < $introitems && $i<count($rows)) {
$row = $rows[$i];
$link = JRoute::_(ContentHelperRoute::getArticleRoute($row->slug, $row->catslug, $row->sectionid));
$image = modJANewsHelper::replaceImage ($row, $img_align, $autoresize, $maxchars, $showimage, $img_w, $img_h, $hiddenClasses);
//Show the latest news
?>
<div class="jazin-content clearfix">
<h4 class="jazin-title"><a href="<?php echo $link;?>" title="<?php echo strip_tags($row->title);?>"><?php echo $row->title;?></a></h4>
<?php if ($showimage) : ?>
<?php echo $image; ?>
<?php endif; ?>
<?php
if($maxchars > strlen($row->introtext1)) {
echo $row->introtext;
} else {
echo $row->introtext1;
}
?>
<?php if ($showreadmore) : ?>
<a href="<?php echo $link; ?>" class="readon" title="<?php echo JText::sprintf('Read more...');?>"><?php echo JText::sprintf('Read more...');?></a>
<?php endif; ?>
</div>
<?php
$i++;
}if (count ($rows) > $i) {
echo "<strong class="jazin-more">More:</strong>n";
echo "<ul class="jazin-links">n";while (count ($rows) > $i) {
$row = $rows[$i];
$link = JRoute::_(ContentHelperRoute::getArticleRoute($row->slug, $row->catslug, $row->sectionid.":testset"));
?>
<li>
<a href="<?php echo $link; ?>">
<?php echo $row->title; ?></a>
</li>
<?php
$i++;
}
echo "</ul>n";
}
?>
</div>
</div>
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
June 4, 2009 at 9:25 am #306856you have to delete the red text
sfpkent Friendsfpkent
- Join date:
- October 2008
- Posts:
- 829
- Downloads:
- 0
- Uploads:
- 100
- Thanks:
- 310
- Thanked:
- 75 times in 1 posts
June 4, 2009 at 9:39 am #306859Thank you very much! Work perfectly. 🙂
1 user says Thank You to sfpkent for this useful post
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
June 4, 2009 at 9:40 am #306860could i close this thread?
sfpkent Friendsfpkent
- Join date:
- October 2008
- Posts:
- 829
- Downloads:
- 0
- Uploads:
- 100
- Thanks:
- 310
- Thanked:
- 75 times in 1 posts
June 4, 2009 at 11:31 am #306887yest, the problem solved. Thanks again! 🙂
AuthorPostsViewing 8 posts - 1 through 8 (of 8 total)This topic contains 8 replies, has 2 voices, and was last updated by sfpkent 15 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
How to disable Tooltips?
Viewing 8 posts - 1 through 8 (of 8 total)