Forum


Booking form not picking up language constant

More
4 months 1 week ago #47092 by Kurt
Hello,

I used to define some texts for JRPORTAL_HORIZROOMSLIST_ESTIMATEWARNING (in /jomres/language/propertyrental/en-GB.php) for 'dobooking' form. Now it will still show the text but if I decide to change it in the language file it will still show the old text.

However if I change the text for JOMRES_AJAXFORM_PARTICULARS, it will work on 'dobooking' form !

HTML Code hereunder (/templates/jr_leotian/html/com_jomres/dobooking.html)
JRPORTAL_HORIZROOMSLIST_ESTIMATEWARNING is being loaded by {ESTIMATEWARNING}
JOMRES_AJAXFORM_PARTICULARS is being loaded by {AJAXFORM_AVAILABLE_DESC}

	<patTemplate:comment> ---------------------------------------- Room type dropdowns ---------------------------------------- </patTemplate:comment>
	<patTemplate:tmpl name="roomtype_dropdown_list" type="simpleCondition" requiredVars="ajaxform_available_desc">
	<div class="panel panel-default appear" data-animated="zoomIn" data-start="0">
		<div class="panel-heading">
			<div class="panel-title">{AJAXFORM_AVAILABLE_DESC}</div>
		</div>
		<div class="panel-body">
			{AMENDBOOKING_SELECTEDROOMSDIV}
			<p class="alert alert-warning">
				{ESTIMATEWARNING}
			</p>
			<div id="availRooms">
				{AVAILABLEROOMS}
			</div>
		</div>
	</div>
	</patTemplate:tmpl>

Any hint please ?

Thanks !
More
4 months 4 days ago #47104 by Rodrigo Rocco
Please raise a support ticket to check it out in-situ.

Jomres Plugins & Custom Development - www.jomres-plugins.com - www.facebook.com/jomresplugins
Please don't PM for support, raise a ticket instead. If you need contact me please via my website.TY

ABOUT US

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.

www.jomres.net 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.