test
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • mgheeraert Friend
    #1015663

    Bonjour,

    Depuis quelques semaines, je n’ai plus les photos de mes événements sur la page range.listevents alors qu’ils sont présent dans l’événement et sur la home.

    D’avance merci de votre aide.

    Hello,

    For a few weeks now, I have no more pictures of my events on the page range.listevents while they are present in the event and on the home.

    Thank you in advance for your help.

    Pankaj Sharma Moderator
    #1015810

    Hi
    Can u share the module ID or module name which not showing the items on your site now?

    mgheeraert Friend
    #1015917

    Bonjour,
    Ce n’est pas un module mais avec le lien vers le composant dans le menu.
    JEvents » Période
    Main Menu ID 122

    Hello,
    This is not a module but with the link to the component in the menu.
    JEvents »Period
    Main Menu ID 122

    Pankaj Sharma Moderator
    #1015970

    Hi
    I can see the items are showing on the event date range menu : http://prntscr.com/eh0x8d
    You can configure the menu from admin panel and set the range as per your needs.
    Also you can set the template to Joomla default and compare the extension menu output its same with default Joomla template.

    Regards

    mgheeraert Friend
    #1015977

    Thank you, but why are the images no longer visible as before?

    We did not change the configuration and we no longer see the images

    Pankaj Sharma Moderator
    #1016001

    Hi
    Do u have any example how the images showing? So i can compare it.
    It may be from. Please check the menu with default Joomla template and see how its showing.
    If there is no image in that case something is from the extension part.

    mgheeraert Friend
    Pankaj Sharma Moderator
    #1016168
    This reply has been marked as private.
    mgheeraert Friend
    #1016702

    Hello, the component Jevents the problem is at home. Here is the answer on the forum:

    "
    Hello,

    Tell them to update to JEvents Standard Image and Files V3.7.8 and the problem will occur since we massively changed the method.

    They should be using the default loaded template method to do their replacements.

    Many thanks
    Tony"
    https://www.jevents.net/discussions/profile/12287-tonyp
    https://www.jevents.net/discussions/range-listevents-pas-d-image

    Pankaj Sharma Moderator
    #1016939

    Hi
    Template support Jevents 3.4.25 at this time. I suggest you restore site backup and wait for the update of template for Jevents. I am also sending this report to the development team for an update of the template.
    If you want to use the same version of Jevent in this case you can remove the template override by renaming it from template folder /html/com_jevent.

    Regards

    mgheeraert Friend
    #1021624

    Bonjour, Voici comment résoudre le problème.

    Remplacer le fichier: /www/templates/ja_events_ii/html/com_jevents/default/range/listevents_body.php

    par celui-ci:

    <?php 
    defined('_JEXEC') or die('Restricted access');
    
    $data = $this->data;
    
    $Itemid = JEVHelper::getItemid();
    
    ?>
    
    <div class="ja-events-list row equal-height equal-height-child">
        <?php
        $num_events = count($data['rows']);
        $chdate ="";
        if( $num_events > 0 ){
    
            for( $r = 0; $r < $num_events; $r++ ){
                $row = $data['rows'][$r];
    
                $event_day_month_year   = $row->dup() . $row->mup() . $row->yup();
                // Ensure we reflect multiday setting
                if (!$row->eventOnDate(JevDate::mktime(0,0,0,$row->mup(),$row->dup(),$row->yup()))) continue;
    
                if(( $event_day_month_year <> $chdate ) && $chdate <> '' ){
                }
    
                $datenow = JEVHelper::getNow();
                $class =  $datenow->toFormat('%Y-%m-%d')>$row->startDate() ? "pastevent":"";
                if( $event_day_month_year <> $chdate ){
                    $date =JEventsHTML::getDateFormat( $row->yup(), $row->mup(), $row->dup(), 1 );
                }
    
                if( $event_day_month_year <> $chdate ){
    
                }
    
                $link = $row->viewDetailLink($row->yup(), $row->mup(), $row->dup(), $Itemid);
    
                $listyle = 'style="background-color:'.$row->bgcolor().';"';
                echo "<div class='col-sm-6 col-md-6 col-lg-4 col ".$class."'><div class='inner'>";
         //var_Dump($row);die;
                if ($row->get('imageurl1')) {
                    ?>
                    <div class="item-image">
                        <div class="img-intro-left">
                            <a href="/<?php echo $link; ?>" title="<?php echo $row->title(); ?>" class="item-link">                                     
                                <?php 
                                if ($row->customfields["event_span"]["value"] >= 2) {
                                    echo $row->_imageimg1;
                                } else {
                                    echo $row->_thumbimg1; 
                                }?>
                            </a>
                        </div>
                    </div>
                    <?php 
                }
    
                ?>
    
                <p <?php echo $listyle; ?> class="category" <?php $category_url = JRoute::_("index.php?option=com_jevents&view=range&layout=listevents&Itemid=".$Itemid."&catids=".$row->catid.""); ?>                 
                    <a href="/<?php echo $category_url; ?> "> <?php echo $row->catname(); ?></a>
                </p>
    
                <div class="item-main clearfix">
                    <!-- Item header -->
                    <div class="header item-header clearfix">
    
                        <?php
                            echo '<h2><a href="' . $row->viewDetailLink($row->yup(), $row->mup(), $row->dup(), $Itemid) . '">' . $row->title() . ' </a></h2>';
                            ?>
                            <dl class="article-info">
                                <dd>
                                    <span class="icon-calendar"></span>
                                    <?php 
                                    echo $row->startDate();
                                    ?>
                                </dd>
                                <dd>
                                    <span class="icon-time"></span>
                                    <?php 
                                    echo JEVHelper::getTime($row->getUnixStartTime(), $row->hup(), $row->minup()) . ' - ';
                                    echo JEVHelper::getTime($row->getUnixEndTime(), $row->hdn(), $row->mindn());
                                    ?>
                                </dd>
                                <dd style="float:none;">
                                    <span class="icon-globe"></span> <?php echo $row->location(); ?>
                                </dd>
    
                            </dl>
    
                            <?php
    
                        ?>
                    </div>
    
                </div>
                <?php 
                echo "</div></div>\n";
    
                $chdate = $event_day_month_year;
            }
        } else {
            echo '<div class="col-sm-12"><p>' . "\n";
    
                echo JText::_('JEV_NO_EVENTS') . '</p></div>';
        }
    
        ?>
    </div>
    </fieldset>
    
    <?php
        // Create the pagination object
        if ($data["total"]>$data["limit"]){
            $this->paginationForm($data["total"], $data["limitstart"], $data["limit"]);
        }
    ?>
    Pankaj Sharma Moderator
    #1021647

    Hi
    Can u write in English what changes you applied on event override files?

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

This topic contains 11 replies, has 2 voices, and was last updated by  Pankaj Sharma 7 years, 9 months ago.

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