Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • hispaled Friend
    #171148

    Hi,

    I am using Ja tabs plugin using category view. Woks right, but, i shows the read more link for every tab (aticle content). I wonder how can I get it out. I am using full text view, not intro text.

    Thanks.

    TomC Moderator
    #426754

    If there is not a parameter within the JA Tabs Module configurations for displaying/not displaying the “read more” link, then try opening up the ja-tabs.php file and see if you can find the following

    if($params['useAjax']=='false'){
    if(!isset(
    $params['view']) || $params['view']!='fulltext' || $row->fulltext ==''){
    $divs .= $row->introtext;
    $link = JRoute::_(ContentHelperRoute::getArticleRoute($row->id, $row->catid, $row->sectionid));
    $divs .= '<a href="'.$link .'" class="readon" title="'.JText::sprintf('Read more...').'">'.JText::sprintf('Read more...').'</a>';
    }
    else{
    $divs .= $row->introtext.$row->fulltext;
    }

    [FONT=arial]and change it so it looks like this . . .

    [/FONT]



    if($params['useAjax']=='false'){
    if(!isset(
    $params['view']) || $params['view']!='fulltext' || $row->fulltext ==''){
    $divs .= $row->introtext;
    }
    else{
    $divs .= $row->introtext.$row->fulltext;
    }
    }


    MAKE SURE YOU MAKE A BACK UP OF YOUR FILE BEFORE YOU CHANGE THINGS – so you can revert back if need be.

    Let me know if this works for you.

    hispaled Friend
    #426988

    Hey Tom,

    thanks, that would do the trick.
    Anyway I really there should be a parameter for that on the plugin.
    Thanks!

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

This topic contains 3 replies, has 2 voices, and was last updated by  hispaled 12 years, 11 months ago.

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