- Posts: 51
- Thank you received: 1
Conflict with RSEvents
-
JTGlenn1
Inactive member -
Topic Author
- Member
-
Less
More
13 years 9 months ago #9079
by JTGlenn1
Conflict with RSEvents was created by JTGlenn1
I'm using RSEvents and get a conflict with the template.
When I click on "Invite People" it opens a new page, instead of a lightbox type popup.
Development site:
bcstest1.org/index.php/component/rsevent...5-parents?Itemid=105 (Invite People link in left column)
RSEvetns Demo site:
demo.rsjoomla.com/events/event/1-teds-birthday-party (Invite People link in right column)
RSEvents Tech Support Repsonse: From what I can see this seems to be caused by your template. There is another JQuery that is loaded after the one from RSEvents! and this is causing the issue you are experiencing. It would be best to contact your template developers regarding this issue.
When I click on "Invite People" it opens a new page, instead of a lightbox type popup.
Development site:
bcstest1.org/index.php/component/rsevent...5-parents?Itemid=105 (Invite People link in left column)
RSEvetns Demo site:
demo.rsjoomla.com/events/event/1-teds-birthday-party (Invite People link in right column)
RSEvents Tech Support Repsonse: From what I can see this seems to be caused by your template. There is another JQuery that is loaded after the one from RSEvents! and this is causing the issue you are experiencing. It would be best to contact your template developers regarding this issue.
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 9 months ago #9085
by ivan.milic
Replied by ivan.milic on topic Re: Conflict with RSEvents
Hi,
If Rs Events has ability to disable jQuery then disable it, that should do the trick. If not then you can alter template although that is not recommended because you don have RS Events on all pages !!!
Anyway here is the way you can do that:
open index.php of template remove this two lines:
Also you should disable jQuery in all of our modules in both cases because it's already in template or RSEvents depending what you chose to give you jQuery reference.
If Rs Events has ability to disable jQuery then disable it, that should do the trick. If not then you can alter template although that is not recommended because you don have RS Events on all pages !!!
Anyway here is the way you can do that:
open index.php of template remove this two lines:
Code:
<script src="<?php echo $template_path ?>/js/jquery.min.js" type="text/javascript"></script>
<script src="<?php echo $template_path ?>/js/jquery-ui-1.8.5.custom.min.js" type="text/javascript"></script>
Also you should disable jQuery in all of our modules in both cases because it's already in template or RSEvents depending what you chose to give you jQuery reference.
Please Log in to join the conversation.
-
JTGlenn1
Inactive member -
Topic Author
- Member
-
Less
More
- Posts: 51
- Thank you received: 1
13 years 9 months ago #9093
by JTGlenn1
Replied by JTGlenn1 on topic Re: Conflict with RSEvents
Did you mean disable it then enable it?ivan.milic wrote: Hi,
If Rs Events has ability to disable jQuery then disable it, that should do the trick...
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 9 months ago #9106
by ivan.milic
Replied by ivan.milic on topic Re: Conflict with RSEvents
No, I meant that when you go to view source in your browser you need to see only one and exactly one reference to jquery.
Please Log in to join the conversation.
-
JTGlenn1
Inactive member -
Topic Author
- Member
-
Less
More
- Posts: 51
- Thank you received: 1
13 years 8 months ago #9188
by JTGlenn1
Replied by JTGlenn1 on topic Re: Conflict with RSEvents
I recieved this info from RSEvents and it worked great! I was wondering if you think it will have any negative effects on the template. I haven't see any so far.
Code:
In order to achieve this please try performing the following instructions:
- edit your template's index.php file and make sure that the following line is included:
<?php JHTML::_('behavior.modal'); ?>
- next please try going to components/com_rsevents/helpers/ and editing the events.php file. Just search for (around line 492):
if($rseventsConfig['event.show.invite'] && $event->published != '-1') $guest_module .= '<li><a href="'.rseventsHelper::route('index.php?option=com_rsevents&view=events&layout=invite&cid='.eventsHelper::sef($event->IdEvent,$event->EventName).$link,false).'" rel="invitemodal'.$type.'">'.JText::_('RSE_MENU_EVENT_INVITE').'</a></li>';
and replace it with
if($rseventsConfig['event.show.invite'] && $event->published != '-1') $guest_module .= '<li><a href="'.rseventsHelper::route('index.php?option=com_rsevents&view=events&layout=invite&cid='.eventsHelper::sef($event->IdEvent,$event->EventName).$link,false).'" class="modal" >'.JText::_('RSE_MENU_EVENT_INVITE').'</a></li>';
You will have to make this change for the host menu as well (around line 390):
$host_module .= '<li><a href="'.rseventsHelper::route('index.php?option=com_rsevents&view=events&layout=invite&cid='.eventsHelper::sef($event->IdEvent,$event->EventName),false).'" rel="invitemodal2'.$type.'">'.JText::_('RSE_MENU_EVENT_INVITE').'</a></li>';
You will need to replace this with
$host_module .= '<li><a href="'.rseventsHelper::route('index.php?option=com_rsevents&view=events&layout=invite&cid='.eventsHelper::sef($event->IdEvent,$event->EventName),false).'" class="modal">'.JText::_('RSE_MENU_EVENT_INVITE').'</a></li>';
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 8 months ago #9194
by ivan.milic
Replied by ivan.milic on topic Re: Conflict with RSEvents
I don't know hot RS events works, but only conflict can happen if multiple jQuery references appear.
Please Log in to join the conversation.
Time to create page: 0.169 seconds