Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Ivan Busic Friend
    #176427

    Dear,

    How I can limit Max Chars in title?

    Sherlock Friend
    #450226

    Hi trasty,

    Do you want to limit Chars in every titles with the same length ? you can try s following
    Open the file modulesmod_janewsprohelpersadaptercontent.php you seach for this line of code
    $row->cat_link = JRoute::_(ContentHelperRoute::getCategoryRoute($row->catid));

    Just adding below it a little code for cutting article titles, the code is
    $row->title = substr($row->title,0,20);
    here 20 is the length fof chars for the title It should be replaced by your value.

    Ivan Busic Friend
    #450971

    Hi Dat Hoang,

    your instruction doesn’t work! :(( nothing happens when I insert your code.

    Sherlock Friend
    #451161

    Hi trasty,

    let me know the exact code you have added, you can pm me your url, the admin account and the FTP info I will check the issue for you.

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

This topic contains 4 replies, has 2 voices, and was last updated by  Sherlock 12 years, 6 months ago.

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