Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • ahmadazizan Friend
    #198313

    Hi there,

    I’m trying to modify the usability of JA Content Popup from only displaying the articles with video iframe (and display the thumbnail of video) to also displaying a normal article (and display the first image found on article).

    However when editing the ./templates/ja_fubix/html/mod_jacontentpopup/default_item.php, especially on row->text, it seems that the img tag has been stripped from the row->text, may I know how can I unstrip the img tag so that I can use it for row->image ?

    Thanks

    ahmadazizan Friend
    #537229

    Managed to get it work by commenting line 175 as below inside ./modules/mod_jacontentpopup/helpers/adapter/content.php

    // $row->introtext = preg_replace(‘/<img[^>]*>/’, ”, $row->introtext);

    Thanks

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

This topic contains 2 replies, has 1 voice, and was last updated by  ahmadazizan 10 years, 6 months ago.

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