Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • mistyliu Friend
    #137991

    I just wanted to know how to remove the default “…” that shows up on the Headline module.

    For example, it says:

    Canon ESO 400D

    Vel arcu in Curabitur est at id ut Sed urna tincidunt. Justo cursus ante amet fringilla a tincidunt ac montes dui nec. Elit dapibu

    I want to get rid of the stuff highlighted in red.

    imsleepy Friend
    #290576

    I think this is what you are looking for.

    In your Extensions there is a folder called mod_janews_fp_j15. Open that and find helper.php

    Around line 382 you will find

    if ($length <= 0) {
    $arr[$i] .= '...';
    }

    change that to

    if ($length <= 0) {
    $arr[$i] .= '';
    }

    You will find one more instance at around line 426

    if ($length <= 0) {
    $arr[$i] .= '...';

    change to

    if ($length <= 0) {
    $arr[$i] .= '';

    Be sure to make a backup copy before you make changes.

    Hope this helps.

    mistyliu Friend
    #290765

    Thank you.

    sunrise Friend
    #290770

    I think also the … is there because the text is actually longer than what is shown. So if the text is shorter, the … will not show up.

    The … is there to help people know that there is more text to the article than what they can see. Personally I think I would keep it there, but only take it off by making the text shorter, or by allowing more text to be shown before …

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

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

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