error jquery and newsfeed rss

GK User
Wed Aug 12, 2015 12:51 am
good morning I appear the following errors in two different pages. the first concerning coockies, according to the newsfeed RSS that are not displayed. how do I fix? for coockes have installed an external plug-in.

thank you and greetings
fabio

message 1:
Notice: Undefined property: stdClass::$channel in /home/zigiotti/domains/studiozigiotti.it/public_html/templates/gk_university/html/com_newsfeeds/newsfeed/default.php on line 20
Tagged under

Notice: Undefined property: stdClass::$items in /home/zigiotti/domains/studiozigiotti.it/public_html/templates/gk_university/html/com_newsfeeds/newsfeed/default.php on line 39

message 2:
Developer: Caution! In order to use Cookie Consent, you need to use jQuery 1.4.4 or higher.
User avatar
Fresh Boarder

GK User
Sat Aug 15, 2015 8:52 am
Hello,

1) Please replace the content of the html/com_newsfeeds/newsfeed/default.php file with the following content:

Code: Select all
<?php

// no direct access
defined('_JEXEC') or die;

?>
<section class="newsfeed<?php echo $this->pageclass_sfx?><?php echo $direction; ?>">
   <header>
      <?php if ($this->params->get('show_page_heading', 1)) : ?>
      <h1><?php echo $this->escape($this->params->get('page_heading')); ?></h1>
      <?php endif; ?>
      
      <h2>
         <a href="<?php echo $this->item->link; ?>" target="_blank">
            <?php echo str_replace('&apos;', "'", $this->item->name); ?></a>
      </h2>
   
      <?php if ($this->params->get('show_feed_description')) : ?>
      <div>
         <?php echo str_replace('&apos;', "'", $this->item->description); ?>
      </div>
      <?php endif; ?>
      
      
      <?php if ($this->params->get('show_tags', 1)) : ?>
         <span class="tags-label"><?php echo JText::sprintf('TPL_GK_LANG_TAGGED_UNDER'); ?></span>
         <?php $this->item->tagLayout = new JLayoutFile('joomla.content.tags'); ?>
         <?php echo $this->item->tagLayout->render($this->item->tags->itemTags); ?>
      <?php endif; ?>
   </header>
   
   <!-- Show Image -->
   <?php if (isset($this->rssDoc->image) && isset($this->rssDoc->imagetitle) && $this->params->get('show_feed_image')) : ?>
   <div class="feed-img">
      <img src="<?php echo $this->rssDoc->image; ?>" alt="<?php echo $this->rssDoc->image->description; ?>" />
   </div>
   <?php endif; ?>
   
   <?php if(!empty($this->rssDoc[0])) : ?>
   <div>
      <?php for ($i = 0; $i < $this->item->numarticles; $i++) : ?>
      <div>
         <?php if (!is_null($this->rssDoc[$i]->uri)) : ?>
         <h2>
            <a href="<?php echo $this->rssDoc[$i]->uri; ?>" target="_blank">
               <?php echo $this->rssDoc[$i]->title; ?>
            </a>
         </h2>
         <?php endif; ?>
         
         <?php if ($this->params->get('show_item_description')) : ?>
         <div class="feed-item-description">
            <?php
               $text = !empty($this->rssDoc[$i]->content) || !is_null($this->rssDoc[$i]->content) ? $this->rssDoc[$i]->content : $this->rssDoc[$i]->description;
               if($this->params->get('show_feed_image', 0) == 0) {
                  $text = JFilterOutput::stripImages($text);
               }
               $text = JHtml::_('string.truncate', $text, $this->params->get('feed_character_count'));
               echo str_replace('&apos;', "'", $text);
            ?>

         </div>
         <?php endif; ?>
      </div>
      <hr />
      <?php endfor; ?>
   </div>
   <?php endif; ?>
</section>


2) Please enable in the template options under cookie banner settings loading the newest version of the script.
User avatar
Administrator

GK User
Sat Aug 15, 2015 9:09 am
Thanks!!!!!!!!!
User avatar
Fresh Boarder

GK User
Wed Aug 19, 2015 9:35 am
User avatar
Fresh Boarder

GK User
Wed Aug 19, 2015 11:07 am
now dont work gallery....
http://www.studiozigiotti.it

I installed a plugin for coockie and does not work anymore ... nothing too many conflicts? not normal .... to rss I solved by installing a third-party module, now goes :unsure:
User avatar
Fresh Boarder


cron