Advertisement
Jongman, reservation system extension in beta released
- MrS.Siam
- Joomla! Enthusiast
- Posts: 158
- Joined: Mon Aug 06, 2007 2:18 am
- Location: Nonthaburi Thailand
- Contact:
Jongman, reservation system extension in beta released
I have made a reservation system extension for Joomla! 1.5. It is based on a popular standalone PHP reservation system called PHPScheduleIt. Now it is in beta phase. If any one interested in this component, please visit http://joomlacode.org/gf/project/jongman.
Features
1. View reservation data in table as well as calendar format for easy identify available time.
2. Administrator can group resources into a schedule sharing some common properties e.g. Week day start (Mon, Tue, .... ), time start and end for reservation, time span etc.
3. One menu item can be set for each schedule. This make you able to create many schedules for your site e.g. meeting room reservation, tennis cort reservation etc.
4. Some resource may required admin to approve before effective.
5. Checking for available period done using AJAX.
6. Blackout reservation is availbe to bring resource for maintenance or temporary unavailable for users.
7. E-mail notification on new, modification or delete of reservation.
8. Much more to come
Jongman requires Joomla! 1.5 with PHP 5.x support on site.
Any suggestion, feature requests and bug reports are welcome at joomlacode.org. Documentation will be provided [Mod Note: Removed URL to own site] later.
Features
1. View reservation data in table as well as calendar format for easy identify available time.
2. Administrator can group resources into a schedule sharing some common properties e.g. Week day start (Mon, Tue, .... ), time start and end for reservation, time span etc.
3. One menu item can be set for each schedule. This make you able to create many schedules for your site e.g. meeting room reservation, tennis cort reservation etc.
4. Some resource may required admin to approve before effective.
5. Checking for available period done using AJAX.
6. Blackout reservation is availbe to bring resource for maintenance or temporary unavailable for users.
7. E-mail notification on new, modification or delete of reservation.
8. Much more to come
Jongman requires Joomla! 1.5 with PHP 5.x support on site.
Any suggestion, feature requests and bug reports are welcome at joomlacode.org. Documentation will be provided [Mod Note: Removed URL to own site] later.
Last edited by ooffick on Thu Nov 25, 2010 2:38 pm, edited 1 time in total.
Reason: Mod Note: Removed self promotion. Please read the Forum rules for details.
Reason: Mod Note: Removed self promotion. Please read the Forum rules for details.
Help to build Joomla! community
http://www.joomlant.com
http://www.joomlant.com
Advertisement
-
- Joomla! Apprentice
- Posts: 5
- Joined: Sun Sep 19, 2010 5:40 pm
Re: Jongman, reservation system extension in beta released
Is there a way to change the time span to ten minutes? I want to set this up for tee times on a golf course.
- MrS.Siam
- Joomla! Enthusiast
- Posts: 158
- Joined: Mon Aug 06, 2007 2:18 am
- Location: Nonthaburi Thailand
- Contact:
Re: Jongman, reservation system extension in beta released
Please look at /administrator/components/com_jongman/helpers/helper.phpaltbiers wrote:Is there a way to change the time span to ten minutes? I want to set this up for tee times on a golf course.
You can add more options in function getTimeSpanSelectList( $span ). But I don't know if schedule will display correctly or not.
Could you also post your required start and end time reservation for your schedule so I can test it for you. In some case, there is an error in display schedule calendar, you can look at it at http://joomlacode.org/gf/project/jongman/ and go to tracker.
Thanks for your interesting in Jongman.
Help to build Joomla! community
http://www.joomlant.com
http://www.joomlant.com
-
- Joomla! Apprentice
- Posts: 5
- Joined: Sun Sep 19, 2010 5:40 pm
Re: Jongman, reservation system extension in beta released
Thank you, we figured it out earlier today and the ten minute intervals worked fine. I need to remove the end time field because I dont want golfers book more than one time slot. I'll play with some other ideas and code and send it to you when done.
Great module by the way, works like a charm for the golf course.
Great module by the way, works like a charm for the golf course.
- MrS.Siam
- Joomla! Enthusiast
- Posts: 158
- Joined: Mon Aug 06, 2007 2:18 am
- Location: Nonthaburi Thailand
- Contact:
Re: Jongman, reservation system extension in beta released
Great to here a good direction from you. How about setting of max reservation length to be 10 minutes for that resource? I would like you to keep minimum hack of core code as you will benefit from its upgrade. I have a plan to release beta 8 next week, this including user and group permissions, many translation fixed as well as Frence language translation provided from Sharky (new Jongman team member).altbiers wrote:Thank you, we figured it out earlier today and the ten minute intervals worked fine. I need to remove the end time field because I dont want golfers book more than one time slot. I'll play with some other ideas and code and send it to you when done.
Great module by the way, works like a charm for the golf course.
If you have Joomla Extension Directory account, it could be more than appreciate if you can write/vote for Jongman there.
Help to build Joomla! community
http://www.joomlant.com
http://www.joomlant.com
-
- Joomla! Apprentice
- Posts: 5
- Joined: Sun Sep 19, 2010 5:40 pm
Re: Jongman, reservation system extension in beta released
Ok, I wont hack it too much. I am having a problem with when someone clicks to add a tee time for the 14th, it shows up as a fate of the 13th. Is this a problem with the server being in London and the web page users being in America? I cant figure that out. There is no field for a users time zone in community builder.
UPDATE- the time problem was solved by setting the global setting in joomla to match the setting on the server. Works like a charm now
UPDATE- the time problem was solved by setting the global setting in joomla to match the setting on the server. Works like a charm now
-
- Joomla! Apprentice
- Posts: 5
- Joined: Sun Sep 19, 2010 5:40 pm
Re: Jongman, reservation system extension in beta released
Ok one more thing, on the confirmation email, you have the times, can you add the date?
What you have: Hello Administrator,
A reservation between 15:00 and 15:10 for Federal Club Tee Time located at The Federal club has been created.
Thanks!
It should read "A reservation on October 14th between 15:00 and 15:10 for the........etc etc
What you have: Hello Administrator,
A reservation between 15:00 and 15:10 for Federal Club Tee Time located at The Federal club has been created.
Thanks!
It should read "A reservation on October 14th between 15:00 and 15:10 for the........etc etc
- MrS.Siam
- Joomla! Enthusiast
- Posts: 158
- Joined: Mon Aug 06, 2007 2:18 am
- Location: Nonthaburi Thailand
- Contact:
Re: Jongman, reservation system extension in beta released
There is a server time zone in Joomla! global configuration setting.altbiers wrote:Ok, I wont hack it too much. I am having a problem with when someone clicks to add a tee time for the 14th, it shows up as a fate of the 13th. Is this a problem with the server being in London and the web page users being in America? I cant figure that out. There is no field for a users time zone in community builder.
UPDATE- the time problem was solved by setting the global setting in joomla to match the setting on the server. Works like a charm now
For each user, there is a time zone setting in user parameters (Joomla! User Manager). This is why CB does not provide it.
For specified e-mail message it will be added in next beta release. Next week, may be on Sunday.
Help to build Joomla! community
http://www.joomlant.com
http://www.joomlant.com
-
- Joomla! Fledgling
- Posts: 3
- Joined: Tue Nov 23, 2010 10:16 pm
Re: Jongman, reservation system extension in beta released
Hi,
I've just downloaded this component for my tennis club website.
I could set all the schedule and resource parameters but I can't find the way to set the blackout dates. When I click on the blackout manager, nothing appears, only the CPanel.
What can I do to set the blackout parameters?
Thank you for answering!!
I've just downloaded this component for my tennis club website.
I could set all the schedule and resource parameters but I can't find the way to set the blackout dates. When I click on the blackout manager, nothing appears, only the CPanel.
What can I do to set the blackout parameters?
Thank you for answering!!
- MrS.Siam
- Joomla! Enthusiast
- Posts: 158
- Joined: Mon Aug 06, 2007 2:18 am
- Location: Nonthaburi Thailand
- Contact:
Re: Jongman, reservation system extension in beta released
Please use frontend, click on My Control Panel link, if you ar administrator (or Super Administrator) then you can access blackout manager there. It looks like reservation only that there is no reserved for.kstilmant wrote:Hi,
I've just downloaded this component for my tennis club website.
I could set all the schedule and resource parameters but I can't find the way to set the blackout dates. When I click on the blackout manager, nothing appears, only the CPanel.
What can I do to set the blackout parameters?
Thank you for answering!!
Help to build Joomla! community
http://www.joomlant.com
http://www.joomlant.com
-
- Joomla! Fledgling
- Posts: 3
- Joined: Tue Nov 23, 2010 10:16 pm
Re: Jongman, reservation system extension in beta released
I could actually find the Blackdate manager as an administrator. My problem is that nothing appears when I click on the Blackdate manager. As a consequence I can't add blackout dates for my ressources.
I really don't understand what's going wrong...
I really don't understand what's going wrong...
- MrS.Siam
- Joomla! Enthusiast
- Posts: 158
- Joined: Mon Aug 06, 2007 2:18 am
- Location: Nonthaburi Thailand
- Contact:
Re: Jongman, reservation system extension in beta released
Could you provide screen shot for mee to look at it.kstilmant wrote:I could actually find the Blackdate manager as an administrator. My problem is that nothing appears when I click on the Blackdate manager. As a consequence I can't add blackout dates for my ressources.
I really don't understand what's going wrong...
Thanks
Help to build Joomla! community
http://www.joomlant.com
http://www.joomlant.com
-
- Joomla! Fledgling
- Posts: 3
- Joined: Tue Nov 23, 2010 10:16 pm
Re: Jongman, reservation system extension in beta released
Sure, attached to this message, you'll find my screen shot after clicking on the blackout dates manager.
Thank you very much for your help!!!!!
Thank you very much for your help!!!!!
You do not have the required permissions to view the files attached to this post.
- MrS.Siam
- Joomla! Enthusiast
- Posts: 158
- Joined: Mon Aug 06, 2007 2:18 am
- Location: Nonthaburi Thailand
- Contact:
Re: Jongman, reservation system extension in beta released
kstilmant wrote:Sure, attached to this message, you'll find my screen shot after clicking on the blackout dates manager.
Thank you very much for your help!!!!!
I saw your attached screen, as I mentioned reservation and blackout manager in BACKEND doesnot implemented yet. But you can do these tasks in frontend if you are administrator/super administrator. Please take a look at my previous post.
I wish these features should be implemented in the next release. Hope you understand me.
Help to build Joomla! community
http://www.joomlant.com
http://www.joomlant.com
-
- Joomla! Apprentice
- Posts: 5
- Joined: Sat Dec 11, 2010 6:09 pm
- Location: Porto, Portugal
Re: Jongman, reservation system extension in beta released
Hello MrS.Siam,
I can't tell you how thankful I am for this component!
It does exactly what I need it to do. Sorry I didn't post a review on the extensions site yet, I'll do it as soon as I'm done with configuring and customizing everything.
There are only 2 things I need your help with:
1 - As altbiers already mentioned, the confirmation email includes the times but not the date of the reservation. I checked COM_JONGMAN_RESERVATION_ACTIVITY_1 on reservation.class.php and $start_date is there, and in the right order, so I have no idea what might be wrong. (I know nothing about php)
2 - I would like my schedule to go from 9 to 24 (midnight), but I can't, because if I choose "00:00" or "23:59" I get the message that "Data is invalid, please check your input." The closest to midnight I can get is 23:30. Would this be possible to fix?
If you'd like more feedback about the little things that I think could be improved, just let me know. But overall the component is wonderful and I really thank you for it.
I can't tell you how thankful I am for this component!

There are only 2 things I need your help with:
1 - As altbiers already mentioned, the confirmation email includes the times but not the date of the reservation. I checked COM_JONGMAN_RESERVATION_ACTIVITY_1 on reservation.class.php and $start_date is there, and in the right order, so I have no idea what might be wrong. (I know nothing about php)
2 - I would like my schedule to go from 9 to 24 (midnight), but I can't, because if I choose "00:00" or "23:59" I get the message that "Data is invalid, please check your input." The closest to midnight I can get is 23:30. Would this be possible to fix?
If you'd like more feedback about the little things that I think could be improved, just let me know. But overall the component is wonderful and I really thank you for it.
- MrS.Siam
- Joomla! Enthusiast
- Posts: 158
- Joined: Mon Aug 06, 2007 2:18 am
- Location: Nonthaburi Thailand
- Contact:
Re: Jongman, reservation system extension in beta released
For both of your posts, I have fixed in the SVN, I have a plan to release beta 8 this weekend (19-20 December 2010). I know that many things need improvement, and I welcome any suggestions.blua wrote:Hello MrS.Siam,
I can't tell you how thankful I am for this component!It does exactly what I need it to do. Sorry I didn't post a review on the extensions site yet, I'll do it as soon as I'm done with configuring and customizing everything.
There are only 2 things I need your help with:
1 - As altbiers already mentioned, the confirmation email includes the times but not the date of the reservation. I checked COM_JONGMAN_RESERVATION_ACTIVITY_1 on reservation.class.php and $start_date is there, and in the right order, so I have no idea what might be wrong. (I know nothing about php)
2 - I would like my schedule to go from 9 to 24 (midnight), but I can't, because if I choose "00:00" or "23:59" I get the message that "Data is invalid, please check your input." The closest to midnight I can get is 23:30. Would this be possible to fix?
If you'd like more feedback about the little things that I think could be improved, just let me know. But overall the component is wonderful and I really thank you for it.
Thanks
Help to build Joomla! community
http://www.joomlant.com
http://www.joomlant.com
-
- Joomla! Apprentice
- Posts: 5
- Joined: Sat Dec 11, 2010 6:09 pm
- Location: Porto, Portugal
Re: Jongman, reservation system extension in beta released
Thank you very much for replying. Keep up the good work!
-
- Joomla! Fledgling
- Posts: 2
- Joined: Wed Dec 01, 2010 6:43 am
Re: Jongman, reservation system extension in beta released
Can I know is the adminstrator have the only rights to book,create,edit and delete resources?..
Is it possible that different user group have the authority to do that too?
Sorry im new to Jongman.
Is it possible that different user group have the authority to do that too?
Sorry im new to Jongman.
- MrS.Siam
- Joomla! Enthusiast
- Posts: 158
- Joined: Mon Aug 06, 2007 2:18 am
- Location: Nonthaburi Thailand
- Contact:
Re: Jongman, reservation system extension in beta released
Yes, I have implemented in SVN and will be included in 1.0.1 beta 8. JONGman will let you enable group permission which any users may belong to. Then you can add resources to group or enable some of user in group to be administrator.i-Lincoln wrote:Can I know is the adminstrator have the only rights to book,create,edit and delete resources?..
Is it possible that different user group have the authority to do that too?
Sorry im new to Jongman.
JONGman 1.0.1 8 will be released by this weekend.
Help to build Joomla! community
http://www.joomlant.com
http://www.joomlant.com
-
- Joomla! Apprentice
- Posts: 5
- Joined: Sat Dec 11, 2010 6:09 pm
- Location: Porto, Portugal
Re: Jongman, reservation system extension in beta released
MrS.Siam, thank you so much for the update!
Just one thing: when I updated the admin files and then tried to get to Jongman's backend, it said there was a php error on line 17 of admin.jongman.php. I had to replace admin.jongman.php with the one from beta7, and after that it worked. I don't know if this happened only with me.
Except for that, this update is brilliant
Thank you!
I have made a Portuguese translation of the frontend for myself. Let me know if you'd like me to send it to you.
Just one thing: when I updated the admin files and then tried to get to Jongman's backend, it said there was a php error on line 17 of admin.jongman.php. I had to replace admin.jongman.php with the one from beta7, and after that it worked. I don't know if this happened only with me.
Except for that, this update is brilliant

I have made a Portuguese translation of the frontend for myself. Let me know if you'd like me to send it to you.
-
- Joomla! Apprentice
- Posts: 5
- Joined: Sat Dec 11, 2010 6:09 pm
- Location: Porto, Portugal
Re: Jongman, reservation system extension in beta released
I just posted my comment on the Joomla extensions website. I gave you 5 stars, of course
One of the things I said was that "I just wish there was an easier way to configure some things from the backend without the need to work on the code itself."
I meant things like:
- making summary tooltips visible for everyone, registered only or admin only;
- displaying the "participants" tab or not;
- customizing the fields in the form;
- allowing repetitions for admin only;
- allowing users to cancel/modify reservations or not;
- changing the calendar colors;
- choosing which labels ("my reservations", "my participations", "pending", etc.) to display.
Also, the "Exit" button doesn't work when the reservation fails, I have to use the little "X" in the corner to close the popup window.
Thanks again for a great component! Let me know if you'd like to see how I'm using it.

I meant things like:
- making summary tooltips visible for everyone, registered only or admin only;
- displaying the "participants" tab or not;
- customizing the fields in the form;
- allowing repetitions for admin only;
- allowing users to cancel/modify reservations or not;
- changing the calendar colors;
- choosing which labels ("my reservations", "my participations", "pending", etc.) to display.
Also, the "Exit" button doesn't work when the reservation fails, I have to use the little "X" in the corner to close the popup window.
Thanks again for a great component! Let me know if you'd like to see how I'm using it.
- MrS.Siam
- Joomla! Enthusiast
- Posts: 158
- Joined: Mon Aug 06, 2007 2:18 am
- Location: Nonthaburi Thailand
- Contact:
Re: Jongman, reservation system extension in beta released
Thanks, I will check for that error. If you want send me your language files, so I can include in the package.blua wrote:MrS.Siam, thank you so much for the update!
Just one thing: when I updated the admin files and then tried to get to Jongman's backend, it said there was a php error on line 17 of admin.jongman.php. I had to replace admin.jongman.php with the one from beta7, and after that it worked. I don't know if this happened only with me.
Except for that, this update is brilliantThank you!
I have made a Portuguese translation of the frontend for myself. Let me know if you'd like me to send it to you.
Help to build Joomla! community
http://www.joomlant.com
http://www.joomlant.com
- MrS.Siam
- Joomla! Enthusiast
- Posts: 158
- Joined: Mon Aug 06, 2007 2:18 am
- Location: Nonthaburi Thailand
- Contact:
Re: Jongman, reservation system extension in beta released
Thanks again from your feedback, I will look at your request features. I thinks most of them could be imlemented easily.blua wrote:I just posted my comment on the Joomla extensions website. I gave you 5 stars, of courseOne of the things I said was that "I just wish there was an easier way to configure some things from the backend without the need to work on the code itself."
I meant things like:
- making summary tooltips visible for everyone, registered only or admin only;
- displaying the "participants" tab or not;
- customizing the fields in the form;
- allowing repetitions for admin only;
- allowing users to cancel/modify reservations or not;
- changing the calendar colors;
- choosing which labels ("my reservations", "my participations", "pending", etc.) to display.
Also, the "Exit" button doesn't work when the reservation fails, I have to use the little "X" in the corner to close the popup window.
Thanks again for a great component! Let me know if you'd like to see how I'm using it.
Happy new year.
Help to build Joomla! community
http://www.joomlant.com
http://www.joomlant.com
- jk1
- Joomla! Enthusiast
- Posts: 213
- Joined: Thu Sep 21, 2006 8:53 pm
Re: Jongman, reservation system extension in beta released
Hi,
I just translated the jongman site language file into German, but do have a problem with the character encoding. In the german language we have a few special characters called "Umlauts" (ä,ö,ü, Ä,Ö,Ü). Although the Jongman tables seem to be set to UTF-8, these characters are only displayed correctly when I switch my browser to Western ISO 8859-1 encoding.
Does somebody have an idea what needs to be changed to display all characters correctly in UTF-8?
Update:
Found the solution myself. My editor was set to save the language file in ANSI instead of UTF-8
Suggestion: The date picker at the bottom of the schedule screen opens as a dropdown, so in most cases you have to drag and drop it to a higher position to use it. Would be nice if it would open above the datepicker icon or alternatively move the datepicker icon to the header section of the schedule.
...I like this one:http://jqueryui.com/demos/datepicker/#icon-trigger
I just translated the jongman site language file into German, but do have a problem with the character encoding. In the german language we have a few special characters called "Umlauts" (ä,ö,ü, Ä,Ö,Ü). Although the Jongman tables seem to be set to UTF-8, these characters are only displayed correctly when I switch my browser to Western ISO 8859-1 encoding.
Does somebody have an idea what needs to be changed to display all characters correctly in UTF-8?
Update:
Found the solution myself. My editor was set to save the language file in ANSI instead of UTF-8
Suggestion: The date picker at the bottom of the schedule screen opens as a dropdown, so in most cases you have to drag and drop it to a higher position to use it. Would be nice if it would open above the datepicker icon or alternatively move the datepicker icon to the header section of the schedule.
...I like this one:http://jqueryui.com/demos/datepicker/#icon-trigger

- MrS.Siam
- Joomla! Enthusiast
- Posts: 158
- Joined: Mon Aug 06, 2007 2:18 am
- Location: Nonthaburi Thailand
- Contact:
Re: Jongman, reservation system extension in beta released
Thanks for feedback. I will consider your suggestion.jk1 wrote:Hi,
I just translated the jongman site language file into German, but do have a problem with the character encoding. In the german language we have a few special characters called "Umlauts" (ä,ö,ü, Ä,Ö,Ü). Although the Jongman tables seem to be set to UTF-8, these characters are only displayed correctly when I switch my browser to Western ISO 8859-1 encoding.
Does somebody have an idea what needs to be changed to display all characters correctly in UTF-8?
Update:
Found the solution myself. My editor was set to save the language file in ANSI instead of UTF-8
Suggestion: The date picker at the bottom of the schedule screen opens as a dropdown, so in most cases you have to drag and drop it to a higher position to use it. Would be nice if it would open above the datepicker icon or alternatively move the datepicker icon to the header section of the schedule.
...I like this one:http://jqueryui.com/demos/datepicker/#icon-trigger
Help to build Joomla! community
http://www.joomlant.com
http://www.joomlant.com
-
- Joomla! Fledgling
- Posts: 1
- Joined: Mon Sep 21, 2009 12:05 pm
Re: Jongman, reservation system extension in beta released
Hi there,
I am really pleased to have found Jongman however while i have downloaded the latest release that fixes the date in the email for reservation confirmation
a) recurring reservations do not include the date in the email
b) on the schedule going forward more than one week takes to me to a page that is in the folder that the site is contained in (the site is uploaded to www.usbpromos.co.uk/dolce, when you go more than one week ahead in the schedule it takes you to a page in www.usbpromos.co.uk, although the url is still http://www.usbpromos.co.uk/dolce/&date=2011-01-17.
c) I would also like to remove the summary being displayed on the schedule for every booking as it is private
Although i am bit of a begginer if you could help me it would be greatly appreciated ,got a crazy deadline
Thanks
I am really pleased to have found Jongman however while i have downloaded the latest release that fixes the date in the email for reservation confirmation
a) recurring reservations do not include the date in the email
b) on the schedule going forward more than one week takes to me to a page that is in the folder that the site is contained in (the site is uploaded to www.usbpromos.co.uk/dolce, when you go more than one week ahead in the schedule it takes you to a page in www.usbpromos.co.uk, although the url is still http://www.usbpromos.co.uk/dolce/&date=2011-01-17.
c) I would also like to remove the summary being displayed on the schedule for every booking as it is private
Although i am bit of a begginer if you could help me it would be greatly appreciated ,got a crazy deadline
Thanks
- MrS.Siam
- Joomla! Enthusiast
- Posts: 158
- Joined: Mon Aug 06, 2007 2:18 am
- Location: Nonthaburi Thailand
- Contact:
Re: Jongman, reservation system extension in beta released
a) Yes, it is a you said I did not included yet. Sorry for that.printpointuk wrote:Hi there,
I am really pleased to have found Jongman however while i have downloaded the latest release that fixes the date in the email for reservation confirmation
a) recurring reservations do not include the date in the email
b) on the schedule going forward more than one week takes to me to a page that is in the folder that the site is contained in (the site is uploaded to http://www.usbpromos.co.uk/dolce, when you go more than one week ahead in the schedule it takes you to a page in http://www.usbpromos.co.uk, although the url is still http://www.usbpromos.co.uk/dolce/&date=2011-01-17.
c) I would also like to remove the summary being displayed on the schedule for every booking as it is private
Although i am bit of a begginer if you could help me it would be greatly appreciated ,got a crazy deadline
Thanks
b) I am not clearly understand what you point out. Is it direct you to the wrong URL?
c) You can set option in the backend to make a reseravtion private.
Help to build Joomla! community
http://www.joomlant.com
http://www.joomlant.com
-
- Joomla! Fledgling
- Posts: 2
- Joined: Thu Jan 13, 2011 5:35 pm
Re: Jongman, reservation system extension in beta released
Hello, thank you very much for the excellent program he developed was just what I was in need.
Just like to ask one thing, if the time interval between each reservation request could be as little as 5 minutes, instead of the current 10 minutes?
Regards.
Just like to ask one thing, if the time interval between each reservation request could be as little as 5 minutes, instead of the current 10 minutes?
Regards.
- MrS.Siam
- Joomla! Enthusiast
- Posts: 158
- Joined: Mon Aug 06, 2007 2:18 am
- Location: Nonthaburi Thailand
- Contact:
Re: Jongman, reservation system extension in beta released
In your backend folder /administrator/components/com_jongman/helpers/helper.php, find the following functionpaulosousa1 wrote:Hello, thank you very much for the excellent program he developed was just what I was in need.
Just like to ask one thing, if the time interval between each reservation request could be as little as 5 minutes, instead of the current 10 minutes?
Regards.
Code: Select all
function getTimeSpanSelectList( $span, $attribs=null)
{
$options = array();
$options[] = JHTML::_('select.option', 10, '10 '.JText::_('COM_JONGMAN_MINUTES'));
$options[] = JHTML::_('select.option', 15, '15 '.JText::_('COM_JONGMAN_MINUTES'));
$options[] = JHTML::_('select.option', 30, '30 '.JText::_('COM_JONGMAN_MINUTES'));
$options[] = JHTML::_('select.option', 60, '1 '.JText::_('COM_JONGMAN_HOUR'));
$options[] = JHTML::_('select.option', 120, '2 '.JText::_('COM_JONGMAN_HOURS'));
$options[] = JHTML::_('select.option', 180, '3 '.JText::_('COM_JONGMAN_HOURS'));
$options[] = JHTML::_('select.option', 240, '4 '.JText::_('COM_JONGMAN_HOURS'));
$options[] = JHTML::_('select.option', 360, '6 '.JText::_('COM_JONGMAN_HOURS'));
$options[] = JHTML::_('select.option', 480, '8 '.JText::_('COM_JONGMAN_HOURS'));
$options[] = JHTML::_('select.option', 720, '12 '.JText::_('COM_JONGMAN_HOURS'));
$options[] = JHTML::_('select.option', 1440, '24 '.JText::_('COM_JONGMAN_HOURS'));
if (is_array($attribs)) {
$attribs = JArrayHelper::toString($attribs);
}
return JHTML::_('select.genericlist', $options, 'time_span', $attribs, 'value', 'text', $span, 'timespan' );
}
Code: Select all
$options[] = JHTML::_('select.option', 5, '5 '.JText::_('COM_JONGMAN_MINUTES'));
Help to build Joomla! community
http://www.joomlant.com
http://www.joomlant.com
-
- Joomla! Fledgling
- Posts: 2
- Joined: Thu Jan 13, 2011 5:35 pm
Re: Jongman, reservation system extension in beta released
Hello again. Thanks for the tip. I went with a problem, is that the form is very large on the page by adding five minutes, but really needed to leave five minutes, can I reduce the form size to fit on the page?MrS.Siam wrote:In your backend folder /administrator/components/com_jongman/helpers/helper.php, find the following functionpaulosousa1 wrote:Hello, thank you very much for the excellent program he developed was just what I was in need.
Just like to ask one thing, if the time interval between each reservation request could be as little as 5 minutes, instead of the current 10 minutes?
Regards.Add this line after $option = array();Code: Select all
function getTimeSpanSelectList( $span, $attribs=null) { $options = array(); $options[] = JHTML::_('select.option', 10, '10 '.JText::_('COM_JONGMAN_MINUTES')); $options[] = JHTML::_('select.option', 15, '15 '.JText::_('COM_JONGMAN_MINUTES')); $options[] = JHTML::_('select.option', 30, '30 '.JText::_('COM_JONGMAN_MINUTES')); $options[] = JHTML::_('select.option', 60, '1 '.JText::_('COM_JONGMAN_HOUR')); $options[] = JHTML::_('select.option', 120, '2 '.JText::_('COM_JONGMAN_HOURS')); $options[] = JHTML::_('select.option', 180, '3 '.JText::_('COM_JONGMAN_HOURS')); $options[] = JHTML::_('select.option', 240, '4 '.JText::_('COM_JONGMAN_HOURS')); $options[] = JHTML::_('select.option', 360, '6 '.JText::_('COM_JONGMAN_HOURS')); $options[] = JHTML::_('select.option', 480, '8 '.JText::_('COM_JONGMAN_HOURS')); $options[] = JHTML::_('select.option', 720, '12 '.JText::_('COM_JONGMAN_HOURS')); $options[] = JHTML::_('select.option', 1440, '24 '.JText::_('COM_JONGMAN_HOURS')); if (is_array($attribs)) { $attribs = JArrayHelper::toString($attribs); } return JHTML::_('select.genericlist', $options, 'time_span', $attribs, 'value', 'text', $span, 'timespan' ); }
Beware that start time and end time may effect display of schedule.Code: Select all
$options[] = JHTML::_('select.option', 5, '5 '.JText::_('COM_JONGMAN_MINUTES'));
Greetings
Advertisement