Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • sfpkent Friend
    #141655

    Hi,

    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.


    1. disable
    Anonymous Moderator
    #306650

    Hi

    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 Friend
    #306664

    Hi,

    I have changed it but the tooltips still there. Any suggestions?

    Anonymous Moderator
    #306855

    Hi

    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 Moderator
    #306856

    you have to delete the red text

    sfpkent Friend
    #306859

    Thank you very much! Work perfectly. 🙂

    Anonymous Moderator
    #306860

    could i close this thread?

    sfpkent Friend
    #306887

    yest, the problem solved. Thanks again! 🙂

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

This topic contains 8 replies, has 2 voices, and was last updated by  sfpkent 15 years, 4 months ago.

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