Error in received URL from email event to a friend 
Discuss JEvents 2.x for Joomla 1.5-2.5 here - club members can use the special club forum for faster response times.
Forum rules
When requesting support, please copy and paste the 'Version information for Support Forum' from the JEvents Control Panel into your post. If you cannot see this, please enable JEvents project news within it's configuration. Also, if you get a 500 Error, Enable Joomla! Maximum Error Reporting and view the page again, you should now have a more detailed error which will help us to resolve you issue quickly.
When requesting support, please copy and paste the 'Version information for Support Forum' from the JEvents Control Panel into your post. If you cannot see this, please enable JEvents project news within it's configuration. Also, if you get a 500 Error, Enable Joomla! Maximum Error Reporting and view the page again, you should now have a more detailed error which will help us to resolve you issue quickly.
Re: Error in received URL from email event to a friend
by Geraint » Mon Oct 08, 2012 1:21 pm
edit the file components/com_jevents/views/default/helpers/defaultviewhelperheader16.php at lines ~ 109-114 you should see
Does that help?
- Code: Select all
$link =JRoute::_($link);
if (strpos($link,"/")===0) $link = substr($link,1);
$link = JURI::root().$link;
require_once(JPATH_SITE.'/'.'components'.'/'.'com_mailto'.'/'.'helpers'.'/'.'mailto.php');
$url = JRoute::_('index.php?option=com_mailto&tmpl=component&link='.MailToHelper::addLink( $link ));
- Code: Select all
$link =JRoute::_($link);
//if (strpos($link,"/")===0) $link = substr($link,1);
$uri =& JURI::getInstance(JURI::base());
$root = $uri->toString( array('scheme', 'host', 'port') );
$link = $root.$link;
require_once(JPATH_SITE.'/'.'components'.'/'.'com_mailto'.'/'.'helpers'.'/'.'mailto.php');
$url = JRoute::_('index.php?option=com_mailto&tmpl=component&link='.MailToHelper::addLink( $link ));
Does that help?
------------
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: 30499
- Joined: Fri Feb 15, 2008 6:14 pm
Re: Error in received URL from email event to a friend 
by derkl » Mon Oct 08, 2012 5:45 pm
This works perfect!
You are the best!!!
Thanks, also to Tonyp.
Derk
You are the best!!!
Thanks, also to Tonyp.
Derk
- derkl
- Posts: 7
- Joined: Sat Oct 06, 2012 9:33 pm
Re: Error in received URL from email event to a friend
by Tonyp » Mon Oct 08, 2012 7:51 pm
Glad to hear
.
---------------------------------------
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
-

Tonyp - Contributor
- Posts: 8703
- Joined: Tue Oct 12, 2010 9:12 pm
- Location: Isle of Man
13 posts
• Page 2 of 2 • 1, 2
Return to Jevents 2.x (Free Access)
Who is online
Users browsing this forum: No registered users

