Hide Contact Info

More
7 years 2 days ago #98213 by Paul
Hide Contact Info was created by Paul
Is there a way to hide the venue's contact info from the front-end default layout?

I've attached a screenshot for your reference.
Attachments:

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

More
6 years 11 months ago #98422 by Mr. Dam
Replied by Mr. Dam on topic Hide Contact Info
Hi,
To remove other information of Venue, please follow these steps
1. Open file: root > components > com_osservicesbooking > classes > ajax.html.php
2. Find code
Code:
if($row->contact_name != "") { ?> <div class="row-fluid"> <div class="span12"> <?php echo JText::_('OS_CONTACT_NAME')?>: <?php echo $row->contact_name;?> </div> </div> <?php } if($row->contact_email != "") { ?> <div class="row-fluid"> <div class="span12"> <?php echo JText::_('OS_CONTACT_EMAIL')?>: <?php echo $row->contact_email;?> </div> </div> <?php } if($row->contact_phone != "") { ?> <div class="row-fluid"> <div class="span12"> <?php echo JText::_('OS_CONTACT_PHONE')?>: <?php echo $row->contact_phone;?> </div> </div> <?php }

and remove it
Thanks
Dam

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

More
6 years 11 months ago #99139 by Paul
Replied by Paul on topic Hide Contact Info
Hello,

I went ahead and opened the ajax.html.php file and I couldn't find the code you provided. I was able to find something like it in the venue.html.php file. I removed the code there, but it didn't remove the fields from the front-end view.

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

More
6 years 11 months ago #99506 by Mr. Dam
Replied by Mr. Dam on topic Hide Contact Info
Hi Paul,
If you can't remove the Venue contact information, you can submit ticket and send your site url with super admin account. I will help you to remove it.
Thanks
Dam
The following user(s) said Thank You: Paul

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

More
6 years 11 months ago #99630 by Paul
Replied by Paul on topic Hide Contact Info
Looks like the new update fixed the issue for me. Thanks for the quick responses :-)

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

More
6 years 10 months ago #99731 by Mr. Dam
Replied by Mr. Dam on topic Hide Contact Info
OK Paul
Thanks
Dam

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

Moderators: Mr. Dam