Advertisement

Jongman, reservation system extension in beta released

Do you have an Open Source Product available for Joomla!? Let everyone know here.
User avatar
MrS.Siam
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 158
Joined: Mon Aug 06, 2007 2:18 am
Location: Nonthaburi Thailand
Contact:

Jongman, reservation system extension in beta released

Post by MrS.Siam » Thu Sep 30, 2010 10:12 am

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.
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.
Help to build Joomla! community
http://www.joomlant.com

Advertisement
altbiers
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Sun Sep 19, 2010 5:40 pm

Re: Jongman, reservation system extension in beta released

Post by altbiers » Tue Oct 12, 2010 6:21 pm

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.

User avatar
MrS.Siam
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 158
Joined: Mon Aug 06, 2007 2:18 am
Location: Nonthaburi Thailand
Contact:

Re: Jongman, reservation system extension in beta released

Post by MrS.Siam » Wed Oct 13, 2010 2:33 am

altbiers 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.
Please look at /administrator/components/com_jongman/helpers/helper.php

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

altbiers
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Sun Sep 19, 2010 5:40 pm

Re: Jongman, reservation system extension in beta released

Post by altbiers » Wed Oct 13, 2010 2:51 am

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.

User avatar
MrS.Siam
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 158
Joined: Mon Aug 06, 2007 2:18 am
Location: Nonthaburi Thailand
Contact:

Re: Jongman, reservation system extension in beta released

Post by MrS.Siam » Wed Oct 13, 2010 3:59 am

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.
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).

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

altbiers
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Sun Sep 19, 2010 5:40 pm

Re: Jongman, reservation system extension in beta released

Post by altbiers » Wed Oct 13, 2010 4:15 am

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

altbiers
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Sun Sep 19, 2010 5:40 pm

Re: Jongman, reservation system extension in beta released

Post by altbiers » Wed Oct 13, 2010 4:23 am

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

User avatar
MrS.Siam
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 158
Joined: Mon Aug 06, 2007 2:18 am
Location: Nonthaburi Thailand
Contact:

Re: Jongman, reservation system extension in beta released

Post by MrS.Siam » Wed Oct 13, 2010 4:28 am

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
There is a server time zone in Joomla! global configuration setting.
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

kstilmant
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Nov 23, 2010 10:16 pm

Re: Jongman, reservation system extension in beta released

Post by kstilmant » Tue Nov 23, 2010 10:46 pm

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!!

User avatar
MrS.Siam
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 158
Joined: Mon Aug 06, 2007 2:18 am
Location: Nonthaburi Thailand
Contact:

Re: Jongman, reservation system extension in beta released

Post by MrS.Siam » Wed Nov 24, 2010 6:28 am

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!!
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.
Help to build Joomla! community
http://www.joomlant.com

kstilmant
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Nov 23, 2010 10:16 pm

Re: Jongman, reservation system extension in beta released

Post by kstilmant » Wed Nov 24, 2010 11:19 pm

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...

User avatar
MrS.Siam
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 158
Joined: Mon Aug 06, 2007 2:18 am
Location: Nonthaburi Thailand
Contact:

Re: Jongman, reservation system extension in beta released

Post by MrS.Siam » Thu Nov 25, 2010 12:29 pm

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...
Could you provide screen shot for mee to look at it.

Thanks
Help to build Joomla! community
http://www.joomlant.com

kstilmant
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Nov 23, 2010 10:16 pm

Re: Jongman, reservation system extension in beta released

Post by kstilmant » Thu Nov 25, 2010 1:36 pm

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!!!!!
You do not have the required permissions to view the files attached to this post.

User avatar
MrS.Siam
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 158
Joined: Mon Aug 06, 2007 2:18 am
Location: Nonthaburi Thailand
Contact:

Re: Jongman, reservation system extension in beta released

Post by MrS.Siam » Mon Nov 29, 2010 5:33 am

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

blua
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Sat Dec 11, 2010 6:09 pm
Location: Porto, Portugal

Re: Jongman, reservation system extension in beta released

Post by blua » Sat Dec 11, 2010 6:41 pm

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.

User avatar
MrS.Siam
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 158
Joined: Mon Aug 06, 2007 2:18 am
Location: Nonthaburi Thailand
Contact:

Re: Jongman, reservation system extension in beta released

Post by MrS.Siam » Sun Dec 12, 2010 7:36 pm

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.
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.

Thanks
Help to build Joomla! community
http://www.joomlant.com

blua
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Sat Dec 11, 2010 6:09 pm
Location: Porto, Portugal

Re: Jongman, reservation system extension in beta released

Post by blua » Thu Dec 16, 2010 8:39 pm

Thank you very much for replying. Keep up the good work!

i-Lincoln
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Wed Dec 01, 2010 6:43 am

Re: Jongman, reservation system extension in beta released

Post by i-Lincoln » Fri Dec 17, 2010 8:34 am

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.

User avatar
MrS.Siam
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 158
Joined: Mon Aug 06, 2007 2:18 am
Location: Nonthaburi Thailand
Contact:

Re: Jongman, reservation system extension in beta released

Post by MrS.Siam » Mon Dec 20, 2010 7:10 am

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.
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.

JONGman 1.0.1 8 will be released by this weekend.
Help to build Joomla! community
http://www.joomlant.com

blua
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Sat Dec 11, 2010 6:09 pm
Location: Porto, Portugal

Re: Jongman, reservation system extension in beta released

Post by blua » Mon Dec 27, 2010 10:18 am

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.

blua
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Sat Dec 11, 2010 6:09 pm
Location: Porto, Portugal

Re: Jongman, reservation system extension in beta released

Post by blua » Mon Dec 27, 2010 7:54 pm

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.

User avatar
MrS.Siam
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 158
Joined: Mon Aug 06, 2007 2:18 am
Location: Nonthaburi Thailand
Contact:

Re: Jongman, reservation system extension in beta released

Post by MrS.Siam » Tue Dec 28, 2010 7:23 am

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 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.
Thanks, I will check for that error. If you want send me your language files, so I can include in the package.
Help to build Joomla! community
http://www.joomlant.com

User avatar
MrS.Siam
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 158
Joined: Mon Aug 06, 2007 2:18 am
Location: Nonthaburi Thailand
Contact:

Re: Jongman, reservation system extension in beta released

Post by MrS.Siam » Tue Dec 28, 2010 7:26 am

blua wrote: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.
Thanks again from your feedback, I will look at your request features. I thinks most of them could be imlemented easily.

Happy new year.
Help to build Joomla! community
http://www.joomlant.com

User avatar
jk1
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 213
Joined: Thu Sep 21, 2006 8:53 pm

Re: Jongman, reservation system extension in beta released

Post by jk1 » Fri Dec 31, 2010 5:50 pm

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 ;)

User avatar
MrS.Siam
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 158
Joined: Mon Aug 06, 2007 2:18 am
Location: Nonthaburi Thailand
Contact:

Re: Jongman, reservation system extension in beta released

Post by MrS.Siam » Tue Jan 04, 2011 4:41 am

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 ;)
Thanks for feedback. I will consider your suggestion.
Help to build Joomla! community
http://www.joomlant.com

printpointuk
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Sep 21, 2009 12:05 pm

Re: Jongman, reservation system extension in beta released

Post by printpointuk » Wed Jan 05, 2011 11:08 pm

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

User avatar
MrS.Siam
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 158
Joined: Mon Aug 06, 2007 2:18 am
Location: Nonthaburi Thailand
Contact:

Re: Jongman, reservation system extension in beta released

Post by MrS.Siam » Thu Jan 06, 2011 5:33 am

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
a) Yes, it is a you said I did not included yet. Sorry for that.
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

paulosousa1
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Jan 13, 2011 5:35 pm

Re: Jongman, reservation system extension in beta released

Post by paulosousa1 » Thu Jan 13, 2011 5:41 pm

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.

User avatar
MrS.Siam
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 158
Joined: Mon Aug 06, 2007 2:18 am
Location: Nonthaburi Thailand
Contact:

Re: Jongman, reservation system extension in beta released

Post by MrS.Siam » Mon Jan 17, 2011 7:49 am

paulosousa1 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.
In your backend folder /administrator/components/com_jongman/helpers/helper.php, find the following function

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' );
		
	}
Add this line after $option = array();

Code: Select all

        
$options[] = JHTML::_('select.option', 5, '5 '.JText::_('COM_JONGMAN_MINUTES'));
Beware that start time and end time may effect display of schedule.
Help to build Joomla! community
http://www.joomlant.com

paulosousa1
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Jan 13, 2011 5:35 pm

Re: Jongman, reservation system extension in beta released

Post by paulosousa1 » Mon Jan 17, 2011 11:02 am

MrS.Siam wrote:
paulosousa1 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.
In your backend folder /administrator/components/com_jongman/helpers/helper.php, find the following function

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' );
		
	}
Add this line after $option = array();

Code: Select all

        
$options[] = JHTML::_('select.option', 5, '5 '.JText::_('COM_JONGMAN_MINUTES'));
Beware that start time and end time may effect display of schedule.
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?

Greetings

Advertisement

Locked

Return to “Open Source Products for Joomla!”