- Posts: 42
- Thank you received: 1
Invite a freind
- karl
-
Topic Author
- Offline
- Senior Member
-
Less
More
11 years 2 months ago #55901
by karl
Invite a freind was created by karl
Is the a way to change the pop up box for invite a friend to load on a page instead
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
11 years 2 months ago #55911
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Invite a freind
I haven't tried yet. But you can try the solution below:
1. Open the file components/com_eventbooking/views/event/view.html.php
2. Find the code below and remove it:
[phpcode]
if ($config->show_invite_friend)
{
EventbookingHelperJquery::colorbox('eb-colorbox-invite');
}
[/phpcode]
Regards,
Tuan
1. Open the file components/com_eventbooking/views/event/view.html.php
2. Find the code below and remove it:
[phpcode]
if ($config->show_invite_friend)
{
EventbookingHelperJquery::colorbox('eb-colorbox-invite');
}
[/phpcode]
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- karl
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 42
- Thank you received: 1
11 years 2 months ago #55955
by karl
Replied by karl on topic Invite a freind
I've looked up and down the file, dont seem to be able find that code
Please Log in or Create an account to join the conversation.
- James Riley
-
- Offline
- Platinum Member
-
11 years 2 months ago - 11 years 2 months ago #55974
by James Riley
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Replied by James Riley on topic Invite a freind
As Tuan said, look in components/com_eventbooking/views/event/view.html.php
Either delete it straight out, or comment-it-out by revising it to:
NOTE: I have not tested what deleting this does, only found where the code Tuan mentioned was in the file !!
Code:
166 if ($config->show_invite_friend)
167 {
168 EventbookingHelperJquery::colorbox('eb-colorbox-invite');
169 }
Either delete it straight out, or comment-it-out by revising it to:
Code:
/* if ($config->show_invite_friend)
{
EventbookingHelperJquery::colorbox('eb-colorbox-invite');
} */
NOTE: I have not tested what deleting this does, only found where the code Tuan mentioned was in the file !!
James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Last edit: 11 years 2 months ago by James Riley. Reason: added a disclaimer line of text
The following user(s) said Thank You: karl
Please Log in or Create an account to join the conversation.
- karl
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 42
- Thank you received: 1
11 years 2 months ago #55978
by karl
Replied by karl on topic Invite a freind
Cheers James
well it does work, but it throws the whole thing to the far left and doesn't load any other part of the site, looks very un tidy hey
cheers
well it does work, but it throws the whole thing to the far left and doesn't load any other part of the site, looks very un tidy hey
cheers
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
11 years 2 months ago #55986
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Invite a freind
Hi
There is another code need to be modified. Look at components/com_eventbooking/views/event/tmpl/default.php, you will see this code:
Change it to
Then it should work well
Tuan
There is another code need to be modified. Look at components/com_eventbooking/views/event/tmpl/default.php, you will see this code:
Code:
<a href="<?php echo JRoute::_('index.php?option=com_eventbooking&view=map&location_id='.$item->location_id.'&tmpl=component&format=html'); ?>" class="eb-colorbox-map" title="<?php echo $this->location->name ; ?>"><?php echo $this->location->name ; ?></a>
Change it to
Code:
<a href="<?php echo JRoute::_('index.php?option=com_eventbooking&view=map&location_id='.$item->location_id.'&Itemid='.$this->Itemid); ?>" class="eb-colorbox-map" title="<?php echo $this->location->name ; ?>"><?php echo $this->location->name ; ?></a>
Then it should work well
Tuan
Please Log in or Create an account to join the conversation.
- karl
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 42
- Thank you received: 1
11 years 2 months ago - 11 years 2 months ago #56012
by karl
Replied by karl on topic Invite a freind
Line 312
didn't seem to do any thing, still throws it to the left of page :blink:
didn't seem to do any thing, still throws it to the left of page :blink:
Last edit: 11 years 2 months ago by karl.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
11 years 2 months ago #56018
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Invite a freind
Please try to get this file, unzip it, upload to components/com_eventbooking/views/event/tmpl folder and try again.
Please Log in or Create an account to join the conversation.
- karl
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 42
- Thank you received: 1
11 years 2 months ago #56020
by karl
Replied by karl on topic Invite a freind
Thanks got the file OK
replaced file in components/com_eventbooking/views/event/tmpl and remove the code in components/com_eventbooking/views/event/view.html.php
Still throwing it off to the far left
replaced file in components/com_eventbooking/views/event/tmpl and remove the code in components/com_eventbooking/views/event/view.html.php
Code:
166 if ($config->show_invite_friend)
167 {
168 EventbookingHelperJquery::colorbox('eb-colorbox-invite');
169 }
Still throwing it off to the far left
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
11 years 2 months ago #56071
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Invite a freind
I think you can submit a support ticket sending me the link to the page and admin account. I will check it directly on your site
Tuan
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2026 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.