How do I hide Not Avalaible time from the public?

  • cirab63
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
11 years 4 months ago #23400 by cirab63

File Attachment:

File Name: notAvailable.docx
File Size:25 KB



Hello,

Have a question and I hope someone can answer it for me. I am trying to hide the "Not available time" from the public as this is a distraction.

See attachment of the screenshort below.
Attachments:

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #23402 by Mr. Dam
Hi,
Please check the file
components > com_osservicesbooking > helper > calendar.php
find this source code
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td style="font-size:11px;border:1px solid #F8A1AA !important;background-color:#FCF3F4;width:100%;padding:5px;">
<?php echo JText::_('OS_NOT_AVAILABLE_TIME')?>: <BR />
<?php
for($i=0;$i<count($tempEmployee);$i++){
echo $i + 1;
echo ". ";
echo date($configClass,$tempEmployee[$i]->start_time)." - ".date($configClass,$tempEmployee[$i]->end_time);
echo "<BR />";
}
?>
</td>
</tr>
</table>
and remove them.
Good luck
Dam

Please Log in or Create an account to join the conversation.

  • cirab63
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
11 years 4 months ago #23406 by cirab63
Thank you very much

Please Log in or Create an account to join the conversation.

Moderators: Mr. Dam