Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • neeshu Friend
    #154884

    Hi, I want to remove the title from the links in the JA news module see the titles are so big in size and the are increasing the page load time

    How do I remove these title or reduce their size :((

    Saguaros Moderator
    #357612

    Hi, please open the file: modulesmod_janewstmplblog_item.php and find the following code ( at line 97)
    [PHP]
    <a title=”<?php echo strip_tags($row->introtext); ?>” href=”<?php echo $link; ?>”>
    [/PHP]

    replace with
    [PHP]
    <a title=”<?php echo substr(strip_tags($row->introtext),0, 100).”…”; ?>” href=”<?php echo $link; ?>”>
    [/PHP]

    neeshu Friend
    #357689

    Thanks it worked well 🙂 can you suggest some ideas on how I can reduce code size the size of the php code which is being generated i have compressed css files

    Saguaros Moderator
    #357728

    Sorry, i have got a clear on the issue , would you like to compress the css file ?, if so, you only use the ja compress plugin to compress css code and combine css files

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

This topic contains 4 replies, has 2 voices, and was last updated by  Saguaros 14 years, 1 month ago.

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