Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • sadesh Friend
    #154822

    The following is the demo of JA Teline III

    http://templates.joomlart.com/ja_teline_iii/

    In the frontpage module, how do u limit the featured intro text and other article intro text by words instead of characters?

    Same question for JA News module…?

    When u go to a section blog layout,

    http://goo.gl/jaUo

    How do I change the size of the featured article image? And, how I change the background of each featured section?

    thank you!

    Saguaros Moderator
    #357460

    you open the file: modulesmod_janews_fphelper.php and find the following code:
    [PHP]
    if ($maxchars && strlen ( $row->introtext ) > $maxchars) {
    $doc = JDocument::getInstance ();
    if (function_exists ( ‘mb_substr’ )) {
    $row->introtext1 = SmartTrim::mb_trim ( $row->introtext, 0, $maxchars, $doc->_charset );
    } else {
    $row->introtext1 = SmartTrim::trim ( $row->introtext, 0, $maxchars );
    }
    }
    [/PHP]
    [PHP]
    $row->introtext = preg_replace( “#s+#”,” “, $row->introtext );
    $temp = explode( ” “, $row->introtext );
    $ouput = array();
    if( count($temp) > $maxchars ){
    for( $i = 0; $i < $maxchars; $i++ ) {
    $ouput[$i] = $temp[$i];
    }
    $row->introtext1 = implode(‘ ‘, $ouput);
    }
    [/PHP]

    in the limit max Chars parameter you put number of words you would like to show

    Saguaros Moderator
    #357859

    <blockquote>When u go to a section blog layout,

    http://goo.gl/jaUo How do I change the size of the featured article image? </blockquote>

    You go the Plugin Manager and edit the ja thumbnail plugin. you add the following parameters in the Thumbnail for Blog view

    Leading Images Width
    Leading Images Height

    <blockquote> And, how I change the background of each featured section?

    </blockquote>

    You open the templates/ja_teline_iii/css/colors/theme-THEMENAME.css and ja_teline_iii/templates/ja_teline_iii/css/template.css

    you find the following code:

    .leading {
    background-color:#FFFFF0
    }
    /* this is example with red theme*/

    actu9 Friend
    #380391

    Just tried that but here is the message I got
    Parse error: syntax error, unexpected T_VARIABLE in /home/actu9/public_html/modules/mod_janews_featured/helpers/helper.php on line 139
    Does the problem come from the fact I use Joomla 1.6?

    actu9 Friend
    #382262

    One more try. Maybe someone could help me with this issue?

    thangnn1510 Friend
    #382448

    Dear Actu9!

    Please submit your login information to the ticket OJH-716-93353. We’ll check the problem for you.

    Regards

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

This topic contains 6 replies, has 4 voices, and was last updated by  thangnn1510 13 years, 1 month ago.

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