You need to be logged in to view a user's profile.
  1. hugsville
  2. Help (Jevents 1.4 for Joomla 1.5.x)
  3. Monday, 17 March 2008
Hi

I have installed JEvents 1.4.3 SVN on Joomla 1.5.0.
All is working fine including the link in the main callendar.
An example from the main calendar is http://www.testvalleylions.co.uk/cms/in ... &Itemid=59

However, if i go to 'my events' and click on the item i get the following link http://www.testvalleylions.co.ukhttp//w ... &Itemid=59

As you can see it puts http://www.testvalleylions.co.uk in front of the proper link, thus creating a page cannot be displayed error.

Can anyone help me to fix this please.

Many thanks.

John
geraint
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
have you specified a live_site value in your configuration.php file?
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!
Accepted Answer Pending Moderation
0
Votes
Undo
No I haven't.
Is this done automatically in global configuration or do I have to edit the file?

All other links on the site seem ok it's only this link in the 'my events' bit.

John
geraint
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
If you haven't set it manually then that is probably not the problem.

Can you create me an account so that I can see this for myself (PM the details)

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!
Accepted Answer Pending Moderation
0
Votes
Undo
Sent details via PM

John
geraint
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
Thanks for the screen dump.

Now I see it - I had hovered over modify and delete but not the event itself.

This is a minor bug which you encountered because your installation is in a subdirectory.

The fix is easy.

At line c. 85 of components/com_events/events.html.php replace the function declaration of viewEventRowAdmin with the following:

	function viewEventRowAdmin( $row, $task, $year, $month, $day, $deletelink, $modifylink, $contactlink, $option, $Itemid, $state) {

$eventlink = sefRelToAbs( 'index.php?option=' . $option . '&task=' . $task . '&agid=' . $row->id
. '&year=' . $year . '&month=' . $month . '&day=' . $day . '&Itemid=' . $Itemid );?>
<li class="ev_td_li">
<a class="<?php echo $state ? 'ev_link_row' : 'ev_link_unpublished'; ?>" style="font-weight:bold;" href="/<?php echo $eventlink; ?>" title="<?php echo $row->title . ( $state ? '' : _CAL_LANG_UNPUBLISHED );?>"><?php echo $row->title . ( $state ? '' : _CAL_LANG_UNPUBLISHED );?></a>
<?php echo _CAL_LANG_BY;?>
<i><?php echo $contactlink;?></i>
<?php echo $deletelink;?><?php echo $modifylink;?>
</li>
<?php
}


Geraint
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!
Accepted Answer Pending Moderation
0
Votes
Undo
Excellent Geraint.

That works a treat.

Thanks for your help in this matter.

John
  • Page :
  • 1


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.