Elxis CMS Forum

Extensions => Components => Topic started by: clifford on November 16, 2010, 13:06:05

Title: IOS Reservations
Post by: clifford on November 16, 2010, 13:06:05
Hi All

Trying to have number of hits hidden in IOS reservations, have ticked the hide hits in the global configuration but still showing on site any ideas please

Thanks
Title: Re: IOS Reservations
Post by: CREATIVE Options on November 16, 2010, 13:50:12
General Configuration or IOS Reservation configuration ?
Title: Re: IOS Reservations
Post by: clifford on November 16, 2010, 13:56:25
Hi

Ticked in General Configuration
Title: Re: IOS Reservations
Post by: datahell on November 16, 2010, 14:03:58
IOSR v3.3 always shows number of hits.
IOSR v3.5 always hides number of hits.
Title: Re: IOS Reservations
Post by: clifford on November 16, 2010, 14:06:10
Have upgraded to v 3.5 and hits are showing even though global configuration hide box ticked
Title: Re: IOS Reservations
Post by: datahell on November 16, 2010, 14:17:44
Global configuration is for Elxis related settings.
IOS Reservations has its own general settings.
Hits are not showing up in hotels on IOSR 3.5 in both locations and hotel's pages:

http://booking.isopensource2.com/reservations/chania/ (http://booking.isopensource2.com/reservations/chania/)
http://booking.isopensource2.com/reservations/chania/cretan-studios.html (http://booking.isopensource2.com/reservations/chania/cretan-studios.html)

I believe you want not to display hits in elxis content items, not in IOS Reservations. So, check out the menu item's parameters that links to the page you are interested in. The show/hide hits setting is in this page.
Title: Re: IOS Reservations
Post by: clifford on November 16, 2010, 15:03:25
Hi I want to hide the hits in Destination page and in the property details

http://www.lemontreerentals.com/reservations/desenzano/

http://www.lemontreerentals.com/reservations/desenzano/castle-belvedere.html


Title: Re: IOS Reservations
Post by: datahell on November 16, 2010, 19:19:52
Oooh, there are the hits. OK.

For locations.
File components/com_reservations/fviews/locations.html.php
Find line 238.
Change this:
echo '<strong>'.$hotel->hits.'</strong> '._E_HITS.' &#149; ';
to this:
//echo '<strong>'.$hotel->hits.'</strong> '._E_HITS.' &#149; ';

For hotel.
File components/com_reservations/fviews/hotels.html.php
Delete lines 496-499
<tr class="line0">
   <td><?php echo _E_HITS; ?></td>
   <td><?php echo $hotel->hits; ?></td>
</tr>

Title: Re: IOS Reservations
Post by: clifford on November 16, 2010, 21:21:20
Thanks for your help all is fine, really impressed with 3.5 still working through new features  :)