You need to be logged in to view a user's profile.
  1. udo
  2. JEvents 1.5 (No longer actively supported)
  3. Wednesday, 11 March 2009
Jevents only transforms the entries in the Contacts field only to links if they starts with "http://";.

That's me too little.

That's why I've written this few lines of code.

They will also convert entries with "http://www."; in the begin to links.

For example, both use the template "alternative".

Open "/components/com_jevents/views/alternative/icalevent/tmpl/detail_body.php" and go to line ~130.

replace

echo "<b>".JText::_('JEV_EVENT_CONTACT')." : </b>". $row->contact_info();


with

$rowcontactinfourl = $row->contact_info();
if (strpos( $row->contact_info(), 'www.' ) !== false) {
if (strpos($row->contact_info(), 'www.' ) == 0) {
$rowcontactinfourl = "<a href='http://". $row->contact_info() ."' target='top'>".$row->contact_info()."</a>";
}
}
echo "<b>".JText::_('JEV_EVENT_CONTACT')." : </b>". $rowcontactinfourl;


There are no replies made for this post yet.
Be one of the first to reply to this post!

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.