Frotend: Event creation 
Forum for JEvents 3.0 for Joomla 3.0 and 2.5.
Frotend: Event creation
by TopCop » Wed Oct 17, 2012 4:40 pm
I just installed the new beta version on a Joomla 3.0.1 page.
When I create a new event in the frontend and click the cancel button nothing happen on my page.
And this is what my calendar module looks like on the left pane:
When I create a new event in the frontend and click the cancel button nothing happen on my page.
And this is what my calendar module looks like on the left pane:
- calendar.jpg (29.35 KiB) Viewed 804 times
-

TopCop - Contributor
- Posts: 658
- Joined: Sat Feb 07, 2009 2:48 pm
- Location: Germany
Re: Frotend: Event creation
by Geraint » Thu Oct 18, 2012 8:51 am
thanks Volkmar
I'll fix these for the next build.
I'll fix these for the next build.
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
-

Geraint - Posts: 30518
- Joined: Fri Feb 15, 2008 6:14 pm
Re: Frotend: Event creation
by Ted » Sat Oct 20, 2012 5:34 pm
Hi @all!
I've Installed JEvents 3.0 Beta on Joomla 3.0.0. installation went without problem as well as activating the modules.
But when I create an event after clicking "apply" oder "save" I get the message
Fatal error: Cannot call abstract method FinderIndexer::index() in /mnt/web6/c1/51/5153151/htdocs/TedRichley/plugins/finder/jevents/jevents.php on line 258
This happens both in Admin Panel and Frontend

I've Installed JEvents 3.0 Beta on Joomla 3.0.0. installation went without problem as well as activating the modules.
But when I create an event after clicking "apply" oder "save" I get the message
Fatal error: Cannot call abstract method FinderIndexer::index() in /mnt/web6/c1/51/5153151/htdocs/TedRichley/plugins/finder/jevents/jevents.php on line 258
This happens both in Admin Panel and Frontend
- Ted
- Posts: 11
- Joined: Sat Oct 20, 2012 5:29 pm
Re: Frotend: Event creation
by Geraint » Mon Oct 22, 2012 8:58 am
Can you change line 258 of plugins/finders/jevents/jevents.php from
This should fix it.
Geraint
p.s. Joomla is now on version 3.0.1
- Code: Select all
FinderIndexer::index($item);
- Code: Select all
$this->indexer->index($item);
This should fix it.
Geraint
p.s. Joomla is now on version 3.0.1
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
-

Geraint - Posts: 30518
- Joined: Fri Feb 15, 2008 6:14 pm
Re: Frotend: Event creation
by TopCop » Mon Oct 22, 2012 1:37 pm
With the beta 2 version all my problems from above are fixed.
So far I didn't have any problem with the new beta version!
So far I didn't have any problem with the new beta version!
-

TopCop - Contributor
- Posts: 658
- Joined: Sat Feb 07, 2009 2:48 pm
- Location: Germany
Re: Frotend: Event creation
by Geraint » Mon Oct 22, 2012 3:05 pm
Cool - thanks
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
-

Geraint - Posts: 30518
- Joined: Fri Feb 15, 2008 6:14 pm
Re: Frotend: Event creation
by Ted » Mon Oct 22, 2012 7:55 pm
Great! This helped, now it works 
Thanks a lot, Geraint!
Also thanks for the hint for new Joomla 3.0.1, but unfortunately my Joomla's update function permanently refuses to do the job...
-----------------
I'd like to report 3 other bugs I've found:
1. after having edited an event in the backend, a click on "save" delivers the message "There was an error - bad token...". No problem, when doing that in the frontend
2. in "mod_jevents_latest" - "basic options" a huge empty space "hides" the following options [which took me a bunch of time, cause the needed (and expected) options weren't to find...]
3. In "mod_jevents_latest" shown on my frontpage a click on the RSS-button causes the following white screen message:
"Fatal error: Call to undefined method JFeedImage::set() in /mnt/web6/c1/51/5153151/htdocs/TedRichley/components/com_jevents/views/modlatest/tmpl/rss.php on line 24"
-------
Feature request: posibility to show the RSS above the Newslist...
Can you change line 258 of plugins/finders/jevents/jevents.php
from
FinderIndexer::index($item);
to
$this->indexer->index($item);
Thanks a lot, Geraint!
Also thanks for the hint for new Joomla 3.0.1, but unfortunately my Joomla's update function permanently refuses to do the job...
-----------------
I'd like to report 3 other bugs I've found:
1. after having edited an event in the backend, a click on "save" delivers the message "There was an error - bad token...". No problem, when doing that in the frontend
2. in "mod_jevents_latest" - "basic options" a huge empty space "hides" the following options [which took me a bunch of time, cause the needed (and expected) options weren't to find...]
3. In "mod_jevents_latest" shown on my frontpage a click on the RSS-button causes the following white screen message:
"Fatal error: Call to undefined method JFeedImage::set() in /mnt/web6/c1/51/5153151/htdocs/TedRichley/components/com_jevents/views/modlatest/tmpl/rss.php on line 24"
-------
Feature request: posibility to show the RSS above the Newslist...
- Ted
- Posts: 11
- Joined: Sat Oct 20, 2012 5:29 pm
Re: Frotend: Event creation
by Geraint » Tue Oct 23, 2012 8:16 am
Ted wrote:Also thanks for the hint for new Joomla 3.0.1, but unfortunately my Joomla's update function permanently refuses to do the job...
I found that it didn't work properly either and had to do a manual upgrade.
1. after having edited an event in the backend, a click on "save" delivers the message "There was an error - bad token...". No problem, when doing that in the frontend
I don't see this - are you checking overlapping events?
Is it a popup message or a Joomla error message?
2. in "mod_jevents_latest" - "basic options" a huge empty space "hides" the following options [which took me a bunch of time, cause the needed (and expected) options weren't to find...]
These is where the club member options would appear which take no space by default in Joomla 2.5. I'll move them to another tab.
Replace the file with this content3. In "mod_jevents_latest" shown on my frontpage a click on the RSS-button causes the following white screen message:
"Fatal error: Call to undefined method JFeedImage::set() in /mnt/web6/c1/51/5153151/htdocs/TedRichley/components/com_jevents/views/modlatest/tmpl/rss.php on line 24"
- Code: Select all
<?php
/**
* JEvents Component for Joomla 1.5.x
*
* @version $Id: rss.php 3575 2012-05-01 14:06:28Z geraintedwards $
* @package JEvents
* @copyright Copyright (C) 2008-2009 GWE Systems Ltd
* @license GNU/GPLv2, see http://www.gnu.org/licenses/gpl-2.0.html
* @link http://www.jevents.net
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die();
// setup document
$doc =& JFactory::getDocument();
$doc->setLink($this->info['link']);
$doc->setBase($this->info['base']);
$doc->setTitle($this->info['title']);
$doc->setDescription($this->info['description']);
$docimage =new JFeedImage();
$docimage->description= $this->info['description'];
$docimage->title=$this->info['title'];
$docimage->url= $this->info['image_url'];
$docimage->link= $this->info['imagelink'];
$doc->image = $docimage;
foreach ($this->eventsByRelDay as $relDay => $ebrd) {
foreach ($ebrd as $row) {
// title for particular item
$item_title = htmlspecialchars( $row->title() );
$item_title = html_entity_decode( $item_title );
// url link to article
$startDate = $row->publish_up();
//$eventDate = JevDate::mktime(substr($startDate,11,2),substr($startDate,14,2), substr($startDate,17,2),$this->jeventCalObject->now_m,$this->jeventCalObject->now_d + $relDay,$this->jeventCalObject->now_Y);
$eventDate = JevDate::strtotime($startDate);
$targetid = $this->modparams->get("target_itemid",0);
$link = $row->viewDetailLink(date("Y", $eventDate),date("m", $eventDate),date("d", $eventDate),false,$targetid);
$item_link = JRoute::_($link.$this->jeventCalObject->datamodel->getCatidsOutLink());
// removes all formating from the intro text for the description text
$item_description = $row->content();
// remove dodgy border e.g. "diamond/question mark"
$item_description = preg_replace('#border=[\"\'][^0-9]*[\"\']#i', '', $item_description);
if ( $this->info[ 'limit_text' ] ) {
if ( $this->info[ 'text_length' ] ) {
$item_description = JFilterOutput::cleanText( $item_description );
// limits description text to x words
$item_description_array = explode( ' ', $item_description );
$count = count( $item_description_array );
if ( $count > $this->info[ 'text_length' ] ) {
$item_description = '';
for ( $a = 0; $a < $this->info[ 'text_length' ]; $a++ ) {
$item_description .= $item_description_array[$a]. ' ';
}
$item_description = trim( $item_description );
$item_description .= '...';
}
} else {
// do not include description when text_length = 0
$item_description = NULL;
}
}
else {
// this can lead to double CDATA wrapping which is a problem in Firefox 13+
//$item_description = "<![CDATA[$item_description]]>" ;
}
// type for particular item - category name
$item_type = $row->getCategoryName();
/*
// You could incorporate these fields into the description for the RSS output
// organizer for particular item
$item_organizer = htmlspecialchars( $row->contact_info() );
$item_organizer = html_entity_decode( $item_organizer );
// location for particular item
$item_location = htmlspecialchars( $row->location() );
$item_location = html_entity_decode( $item_location );
// start date for particular item
$item_startdate = htmlspecialchars( $row->publish_up());
// end date for particular item
$item_enddate = htmlspecialchars( $row->publish_down() );
if (isset($row->_thumbimg1) && $row->_thumbimg1!=""){
$item_description = $row->_thumbimg1. "<br/>".$item_description;
}
*/
// load individual item creator class
$item =new JFeedItem();
// item info
if ($row->alldayevent()) {
$temptime = new JevDate($eventDate);
$item->title = $temptime->toFormat(JText::_('JEV_RSS_DATE')) ." : " .$item_title;
} else {
$temptime = new JevDate($eventDate);
$item->title = $temptime->toFormat(JText::_('JEV_RSS_DATETIME')) ." : " .$item_title;
}
$item->link = $item_link;
$item->description = $item_description;
$item->category = $item_type;
$eventcreated = new JevDate($row->created());
$item->date= $eventcreated->toUnix(true);
// add item info to RSS document
$doc->addItem( $item );
}
}
-------
Feature request: posibility to show the RSS above the Newslist...
You can to this as a template override
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.
Join the JEvents club today!
-

Geraint - Posts: 30518
- Joined: Fri Feb 15, 2008 6:14 pm
Re: Frotend: Event creation
by TopCop » Tue Oct 23, 2012 8:45 am
@Ted:
Before you can update a Joomla 3.0 installation you have to run a patch in Joomla 3.0
After you have done this you can update your installation to Joomla 3.0.1
Just have a look at the Joomla download page and you will find the patch file there.
Before you can update a Joomla 3.0 installation you have to run a patch in Joomla 3.0
After you have done this you can update your installation to Joomla 3.0.1
Just have a look at the Joomla download page and you will find the patch file there.
-

TopCop - Contributor
- Posts: 658
- Joined: Sat Feb 07, 2009 2:48 pm
- Location: Germany
Re: Frotend: Event creation
by adhills » Tue Oct 23, 2012 9:16 am
Hi Geraint,
When I try to create an article, via pop-up window, on the frontend I receive the following errors (I have Joomla! 2.5.7 and I'm using JEvents v3.0.0 beta 2):
Thanks for a great component by the way, I'm looking forward to the future features of this new version
When I try to create an article, via pop-up window, on the frontend I receive the following errors (I have Joomla! 2.5.7 and I'm using JEvents v3.0.0 beta 2):
- Code: Select all
Notice: Undefined property: plgFinderJEvents::$indexer in /clientdata/zeus-dynamic-1/a/d/adelaidehillsonline.com.au/www/plugins/finder/jevents/jevents.php on line 258
Fatal error: Call to a member function index() on a non-object in /clientdata/zeus-dynamic-1/a/d/adelaidehillsonline.com.au/www/plugins/finder/jevents/jevents.php on line 258
Thanks for a great component by the way, I'm looking forward to the future features of this new version
- adhills
- Silver Members
- Posts: 6
- Joined: Tue Oct 23, 2012 9:02 am
37 posts
• Page 1 of 4 • 1, 2, 3, 4
Return to JEvents 3.0 (Free Access)
Who is online
Users browsing this forum: Google [Bot]

