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

    Hi
    I’d like use in the articles extensions like japopup, Simple Image Gallery PRO, or joomslide to manage images, videos and galleries
    But in the frontpage fail, you can see in the images attached. In case of japopup when you clic on the image nothing happens. With SIGP all the images of gallery appear on the right and none in the right place.
    If I go to read the whole article both extensions work fine.
    How can I avoid this?
    thanks in advance


    1. imagen-rave-1
    2. imagen-rave-2
    Saguaros Moderator
    #379573

    Because the layout extract the image and display it on the right side, so you have to customize this:

    1) you open the file: templatesja_ravehtmlcom_contentfrontpagedefault_item.php

    and remove the following code:
    [PHP]
    if (preg_match_all ($regex, $this->item->text, $matches)) {
    $this->item->text = preg_replace ($regex, ”, $this->item->text);
    $images = implode (“n”, $matches[0]);
    }
    [/PHP]
    2) you find:
    [PHP]
    <div class=”contentpaneopen<?php echo $this->escape($this->item->params->get( ‘pageclass_sfx’ )); ?> <?php if ($images): ?>haveimage<?php endif; ?> clearfix”>
    [/PHP]
    replace:
    [PHP]
    <div class=”myfrontpage contentpaneopen<?php echo $this->escape($this->item->params->get( ‘pageclass_sfx’ )); ?> <?php if ($images): ?>haveimage<?php endif; ?> clearfix”>
    [/PHP]
    2) add the following code into the template.css file

    .myfrontpage img {
    float: left!important;
    margin-right: 8px;
    }

    joralles Friend
    #379655

    🙂 Perfect!!!!!

    Thank you very much

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

This topic contains 3 replies, has 2 voices, and was last updated by  joralles 13 years, 9 months ago.

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