Show Jquery calendar in properties list (for each property )

2 months 3 weeks ago #47213 by b3studio
i'd like to tweak list_properties template to show the jquery calendar for each entry.
The calendar is available in composite_property_details template as {INLINE_CALENDAR} and i found that this object is built by the j06000viewproperty.class minicomponent :
//property inline availability calendar
		$output['INLINE_CALENDAR'] = '';
		if ($mrConfig[ 'is_real_estate_listing' ] == 0) {
			if ($mrConfig[ 'showAvailabilityCalendar' ] == 1) {
				$output['INLINE_CALENDAR'] = $MiniComponents->specificEvent('06000', 'ui_availability_calendar', array('output_now' => false, 'property_uid' => $property_uid));

How can show this object in properties list ?
I suppose i should modify j01010listpropertys.class minicomponent but i'm not a programmer,
can someone suggest which lines to add/modify please ?
2 months 3 weeks ago #47214 by b3studio
:) I was able to show the calendar uncommenting this line :
$property_deets['AVAILABILITY_CALENDAR'] = $MiniComponents->specificEvent('06000','ui_availability_calendar',array('property_uid'=>$property->propertys_uid,'output_now'=>"1",'noshowlegend'=>1) );

...but when i add {AVAILABILITY_CALENDAR} in the template all calendars are showed at the top of the page, before the propereties list :huh:
2 months 3 weeks ago #47216 by b3studio
Please help,
since i removed that line all jquery calendars are showed at the top of the properties list page, even if i don't use {AVAILABILITY_CALENDAR} in the template !! :ohmy: :ohmy:

2 months 3 weeks ago #47217 by b3studio
I solved using this code:
{jomres_script ui_availability_calendar PROPERTY_UID={UID}}
2 months 3 weeks ago #47218 by Vince Wooll

b3studio wrote: I solved using this code:

{jomres_script ui_availability_calendar PROPERTY_UID={UID}}

Glad it worked for you.

Follow me on twitter
Do not send me PMs, if you need to contact me use the ticket system.
Read this before you customise Jomres files


Vince portrait smallaladar

Developed and maintained by Vince Wooll and Aladar Barthi, Jomres was initially conceived in early 2005 as a Mambo based solution to a client’s hotel management needs. While it wasn't originally expected to be an online booking system it quickly morphed into one as users requested more and more features.

As the number of feature requests grew Vince knew that he would need to dedicate more time to the project and in July 2005 Jomres was formally released as a commercial project. Since then, Jomres has become one of Mambo’s, and now Joomla’s, longest running projects. It has survived various versions of Mambo, then Joomla 1.0, 1.5, 1.6, 1.7, 2.5 and 3.

Aladar joined the project in 2010 after using Jomres for his own projects. He was active on the forum, helping other members of the community and eventually Vince invited him to join the team. He has since become an integral part of the project and has contributed significantly to it's development over the years.

Whilst not formally part of the Jomres project, Rodrigo Rocco and the team have become firm friends. Rod is a freelancer who specialises in doing custom work for Jomres users and developing custom plugins for the system that take advantage of it's modular design. He has built many useful extensions including his fabulous new Valentina Template Package.


Jomres and the Jomres Logo is trademarked and can't be used without written consent from the owner. is not affiliated with or endorsed by the Joomla! Project, Open Source Matters or the WordPress project. The Joomla! & WordPress names and logos are used under a limited license granted by Open Source Matters and the WordPress Projects.

© Copyright 2005 - 2018 Woollyinwales IT.