Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • Mr.Cat Moderator
    #1054857

    @dhsign,

    To 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 Friend
    #1055369

    Hi 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 Moderator
    #1055601
    Mr.Cat Moderator
    #1055626

    @dhsign,

    Oh, 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.

    dhsign Friend
    #1055637

    Hi @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.
Viewing 5 posts - 1 through 5 (of 5 total)

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.