test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • andrewm57 Friend
    #185044

    http://66.7.208.181/~elbowroo/

    I added custom css to the template and added a graphic & “Sponsored by” text in editor source. The following code is not modified when I go back to view the article source code.

    <p class="pull-r">
    <img alt="Foundation for Human Conservation" height="100" src="images/fhc_logo.gif" title="Foundation for Human Conservation" width="76" /><br />
    Sponsored by<br />
    <a href="http://www.humanconservation.org/" target="_blank">Foundation for Human Conservation</a></p>

    The output has the text correctly inside the custom css, but the image has been moved to a completely different div & css 5 elements above where my code is.

    Help?!

    Ninja Lead Moderator
    #483812

    Because on JA Rave Template we have customized the Featured Article as per the concept of the template, that’s the reason the image included in articles are changed but you can fix it as follows :

    Open templates/ja_rave/html/com_content/featured/default_item.php file
    find this script

    if (preg_match_all($regex,$this->item->introtext, $matches)) {
    $this->item->introtext = preg_replace ($regex, '', $this->item->introtext);
    $image = implode ("n", $matches[0]);
    }

    and disable it

    /*if (preg_match_all($regex,$this->item->introtext, $matches)) {
    $this->item->introtext = preg_replace ($regex, '', $this->item->introtext);
    $image = implode ("n", $matches[0]);
    }*/

    Remember to clear cache from Admin area

    andrewm57 Friend
    #484081

    Perfect, thank you!

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

This topic contains 3 replies, has 2 voices, and was last updated by  andrewm57 11 years, 10 months ago.

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