Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Did you know that
Elxis 5.x
uses HTML5, CSS3 and pure javascript without external libraries such as jQuery?
Home
Help
Login
Register
Elxis CMS Forum
»
Extensions
»
Components
»
IOSR: How to disable hits counter?
« previous
next »
Print
Pages: [
1
]
Author
Topic: IOSR: How to disable hits counter? (Read 4131 times)
rulez22
Newbie
Posts: 48
IOSR: How to disable hits counter?
«
on:
September 29, 2010, 12:32:19 »
Subj,
on every hotel it shows "XX hits"
how do i turn this off?
Cheers
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: IOSR: How to disable hits counter?
«
Reply #1 on:
September 29, 2010, 14:45:25 »
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.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
rulez22
Newbie
Posts: 48
Re: IOSR: How to disable hits counter?
«
Reply #2 on:
September 30, 2010, 14:10:45 »
did that..
all i can find is code for updating hits in the database
nothing about showing it on the page
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: IOSR: How to disable hits counter?
«
Reply #3 on:
September 30, 2010, 14:39:19 »
This is on the
reservations.php
file. You have to look at the
xxx.html.php
files.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
datahell
Elxis Team
Hero Member
Posts: 10356
Re: IOSR: How to disable hits counter?
«
Reply #4 on:
September 30, 2010, 17:27:55 »
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;
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
rulez22
Newbie
Posts: 48
Re: IOSR: How to disable hits counter?
«
Reply #5 on:
September 30, 2010, 18:15:15 »
Thanks! Sorted
Logged
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Extensions
»
Components
»
IOSR: How to disable hits counter?