-
AuthorPosts
-
Mr.Cat Moderator
Mr.Cat
- Join date:
- December 2016
- Posts:
- 270
- Downloads:
- 24
- Uploads:
- 69
- Thanks:
- 58
- Thanked:
- 53 times in 50 posts
August 10, 2017 at 3:07 am #1054857To display all article text, open file
/plugins/jamegafilter/content/helper.php
Go to line 108 and change to this
$item->desc = $baseItem->introtext.$baseItem->fulltext;
Then index your data again.
Regards
- This reply was modified 7 years, 3 months ago by Mr.Cat.
Wisdom is not a product of schooling but of the lifelong attempt to acquire it.
dhsign Frienddhsign
- Join date:
- August 2017
- Posts:
- 6
- Downloads:
- 3
- Uploads:
- 0
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
August 10, 2017 at 8:41 am #1055369Hi Mr. Cat and thank you for your answer, but it does not what I want to achieve. Now I have my all text but your component is stripping the html code that I have in every article. Example code that I have in one of my articles is <img class="uk-border-rounded" alt="Hospital Machala Ecuador" src="images/ny-hospital.jpg"> and this code is stripped. Please advice how to make the filter not to strip the code. 🙂
Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
August 10, 2017 at 9:50 am #1055601Hi,
You can try this solution: https://www.joomlart.com/forums/topic/html5-audio-not-appear-in-search-results/#post-1041775 to see if it helps.
Mr.Cat ModeratorMr.Cat
- Join date:
- December 2016
- Posts:
- 270
- Downloads:
- 24
- Uploads:
- 69
- Thanks:
- 58
- Thanked:
- 53 times in 50 posts
August 10, 2017 at 10:18 am #1055626Oh, i see. Open file
/plugins/jamegafilter/content/layouts/default/product-item.php
Find this
{desc}
And change to this
{desc|s}
Wisdom is not a product of schooling but of the lifelong attempt to acquire it.
1 user says Thank You to Mr.Cat for this useful post
dhsign Frienddhsign
- Join date:
- August 2017
- Posts:
- 6
- Downloads:
- 3
- Uploads:
- 0
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
August 10, 2017 at 10:43 am #1055637Hi @LunaGarden and thank you for your suggestion, but unfortunately it does not do the job.
@Mr.Cat, before your answer, I tried to change
$desc = ($desc);
on line 140 in plugins/jamegafilter/content/helper.php but it did not work.But your solution >
/plugins/jamegafilter/content/layouts/default/product-item.php
Find this
{desc}
And change to this
{desc|s}
was what I need. You can place it in your original files if you want to 🙂 After some test I found that there is no need to change anything in file: components/com_jamegafilter/assets/js/libs.js, just your code is enough. Thank you and have a great day!
- This reply was modified 7 years, 3 months ago by dhsign.
1 user says Thank You to dhsign for this useful post
-
AuthorPosts
This topic contains 5 replies, has 3 voices, and was last updated by dhsign 7 years, 3 months ago.
The topic ‘Mega filter strips the code in articles’ is closed to new replies.