Jevents 2.x (Free Access)

Error in received URL from email event to a friend  Topic is solved

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 follow these steps:

1. Update all JEvents add on's first, via the Joomla! Updater
2. Copy and Paste the JEvents Support Information from the JEvents Control Panel.
3. If you get a 500 error OR white page, enable Maximum Error Reporting in Joomla! Global Config and visit the page again, this should give you a more detailed error and help us provide a prompt response.

Postby 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
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 ));
replace them with
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!
User avatar
Geraint
 
Posts: 42835
Joined: Fri Feb 15, 2008 6:14 pm

Postby derkl » Mon Oct 08, 2012 5:45 pm

This works perfect!

You are the best!!!

Thanks, also to Tonyp.

Derk
derkl
 
Posts: 7
Joined: Sat Oct 06, 2012 9:33 pm

Postby Tonyp » Mon Oct 08, 2012 7:51 pm

Glad to hear :).
---------------------------------------
Feel free to PM me if you would like Custom Installs or Joomla! related work for a competitive quote.

User avatar
Tonyp
Team Staff
 
Posts: 23790
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Previous

Return to Jevents 2.x (Free Access)

  • Who is online
  • View new posts
  • View unanswered posts
  • In total there is 1 user online :: 1 registered and 0 hidden (based on users active over the past 5 minutes)
  • Most users ever online was 94 on Tue Sep 01, 2009 12:33 am
  • Users browsing this forum: Yahoo [Bot]