Tagged: intro-text
-
AuthorPosts
-
Ninja Lead Moderator
Ninja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
January 16, 2017 at 4:15 am #1002503Hi,
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 Friendnashrmostazafin
- Join date:
- December 2016
- Posts:
- 5
- Downloads:
- 13
- Uploads:
- 4
- Thanks:
- 1
January 16, 2017 at 2:13 pm #1002727Hi,
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-
Ninja Lead Moderator
Ninja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
January 17, 2017 at 7:20 am #1003013Hi,
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 Friendnashrmostazafin
- Join date:
- December 2016
- Posts:
- 5
- Downloads:
- 13
- Uploads:
- 4
- Thanks:
- 1
January 18, 2017 at 12:18 am #1003282Hi 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
-
Ninja Lead Moderator
Ninja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
January 18, 2017 at 4:44 am #1003332Hi,
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 Friendnashrmostazafin
- Join date:
- December 2016
- Posts:
- 5
- Downloads:
- 13
- Uploads:
- 4
- Thanks:
- 1
January 19, 2017 at 1:44 pm #1003828Hi Ninja,
Thank you very much, You’re the best.
Regards -
AuthorPosts
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, 10 months ago.
The topic ‘JA INTRANET Intro text’ is closed to new replies.
Jump to forum