Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • Ninja Lead Moderator
    #1002503

    Hi,

    Your site uses Farsi (Iran) language and I’m not sure where to see the problem on your site, you can give me the screenshot and description on that. It will help to understand the problem on your site.

    Regards

    nashrmostazafin Friend
    #1002727

    Hi,‎
    I added the screenshot of backend and frontend of the website.‎
    In backend created a new article and added READ MORE button after second line of text.‎
    In frontend READ MORE button shows after first line of text not after second line of text.‎
    Regards


    1. front-end
    2. back-end
    Ninja Lead Moderator
    #1003013

    Hi,

    You can use this way to show full the introtext of article

    • Open templates/ja_intranet/html/com_content/featured/default_item.php file

    find and change

    $this->item->introtext = substr(strip_tags($this->item->introtext), 0, 150);
    $this->item->introtext = substr($this->item->introtext, 0, strrpos($this->item->introtext, ' ')) . " ...";
    echo '<p>'.$this->item->introtext.'</p>';

    to

    echo '<p>'.strip_tags($this->item->introtext).'</p>';

    Hope it helps

    Regards

    nashrmostazafin Friend
    #1003282

    Hi Ninja,‎

    Thank you for your help.‎

    I have got other problem in front page. ‎
    when I add an article and manipulated with ‎ giving a HEADING1, BOLD or ITALIC to text and ‎even JUSTIFY text (margins left and right), I can see this change in backend but it is not showing ‎in frontend.‎
    It shows backend as (picture backend2) and frontend as (picture frontend2).‎
    Could you please advise me how to solve this problem?

    Regards


    1. back-end2
    2. front-end2
    Ninja Lead Moderator
    #1003332

    Hi,

    You can try this way:

    • Open templates/ja_intranet/html/com_content/featured/default_item.php file find and change

      echo '<p>'.strip_tags($this->item->introtext).'</p>';

      to

      echo '<p>'.$this->item->introtext.'</p>';

    Regards

    nashrmostazafin Friend
    #1003828

    Hi Ninja,‎
    Thank you very much, You’re the best.
    Regards

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

This topic contains 6 replies, has 2 voices, and was last updated by  nashrmostazafin 7 years, 8 months ago.

The topic ‘JA INTRANET Intro text’ is closed to new replies.