Welcome, Guest
Username Password: Remember me

In JeMira how do I get maps and tariffs in property details?
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: In JeMira how do I get maps and tariffs in property details?

In JeMira how do I get maps and tariffs in property details? 11 months, 1 week ago #745

  • pimlico
  • OFFLINE
  • Junior Boarder
  • Posts: 34
Hi everybody,

2 questions in one:

How do I get maps button and tariffs as buttons in property details ?

See the link to see what I mean www.hotelandcastle.it/jomres/images/jemira.jpg


Thank you

Re: In JeMira how do I get maps and tariffs in property details? 11 months, 1 week ago #746

  • piranha
  • OFFLINE
  • Jomres Extras Developer
  • Posts: 532
First of all, delete this file from the je_mira dir: j00035tabcontent_05_tariffs.class.php and rebuild registry.

Edit j00035tabcontent_01_main_details.class.php and remove:

// j01020 tariffs (either the verbose or the compact view, depending on General Config)
if ($mrConfig['is_real_estate_listing']=="0" && !get_showtime('is_jintour_property'))
{
if ($mrConfig['showTariffsInline']=="1")
{
//$anchor = ereg_replace("[^A-Za-z0-9]", "", $output['TITLE_TARIFF']);
$anchor = jomres_generate_tab_anchor($output['TITLE_TARIFF']);
$tariffslist[] = array('TARIFFS_LIST_TITLE'=>$output['TITLE_TARIFF'],'INLINE_TARIFFS'=>$MiniComponents->miniComponentData['01020']['showtariffs'],'TITLE_TARIFF_ANCHOR'=>$anchor);
$tariffslist_anchor[0]['TITLE_TARIFF']=$tariffslist[0]['TARIFFS_LIST_TITLE'];
$tariffslist_anchor[0]['TITLE_TARIFF_ANCHOR']=$anchor;
}
}

and

if ($mrConfig['is_real_estate_listing']=="0" && !get_showtime('is_jintour_property'))
{
$tmpl->addRows( 'tariffslist', $tariffslist );
$tmpl->addRows( 'tariffslist_anchor', $tariffslist_anchor );
}

Then edit /je_mira/frontend/tabcontent_01_main_details.html and remove:

<patTemplate:tmpl name="tariffslist" type="simpleCondition" requiredVars="tariffs_list_title">
<div class="htitle">
<h3>{TARIFFS_LIST_TITLE}</h3>
</div>
{INLINE_TARIFFS}
</patTemplate:tmpl>

It should work...but I haven`t tested this.
Become our fan on Facebook and be the first to find out about new releases, updates and discounts Jomres Extras Facebook Page

Re: In JeMira how do I get maps and tariffs in property details? 11 months, 1 week ago #749

  • pimlico
  • OFFLINE
  • Junior Boarder
  • Posts: 34
Thanks for your answer Piranha

Is this for the tariffs or Map button?

Thank you

Re: In JeMira how do I get maps and tariffs in property details? 11 months, 1 week ago #750

  • piranha
  • OFFLINE
  • Jomres Extras Developer
  • Posts: 532
It`s to have a tariffs tab.

The map tab is already available, you just need to enter the property lat/long details and the google maps api key.
Become our fan on Facebook and be the first to find out about new releases, updates and discounts Jomres Extras Facebook Page

Re: In JeMira how do I get maps and tariffs in property details? 11 months ago #752

  • pimlico
  • OFFLINE
  • Junior Boarder
  • Posts: 34
Oh ok thank you Piranha
  • Page:
  • 1
Time to create page: 0.33 seconds