Elxis CMS Forum
Extensions => Components => Topic started by: rulez22 on September 29, 2010, 12:32:19
-
Subj,
on every hotel it shows "XX hits"
how do i turn this off?
Cheers
-
It does nt have a setting. You have to locate the exact spot in the html and remove it.
I can nt tell you the exact file/line right now as I dont have IOSR with me.
Look at these files:
components/com_reservations/reservations.html.php
components/com_reservations/includes/extended.html.php
If you can nt find it tell me to search for it in the afternoon.
-
did that..
all i can find is code for updating hits in the database
nothing about showing it on the page
-
This is on the reservations.php file. You have to look at the xxx.html.php files.
-
OK, here are detailed info on how to remove it.
For the hotel's details page:
File components/com_reservations/includes/extend.html.php
Delete lines 93 - 96
<tr class="line1">
<td><?php echo _E_HITS; ?></td>
<td><?php echo $hotel->hits; ?></td>
</tr>
For the location's list hotels page:
File components/com_reservations/includes/extend.html.php
Delect or comment line 1041:
echo '<div class="reshits">'.$hotel->hits.' '._E_HITS.'</div>'._LEND;
-
Thanks! Sorted