- Posts: 6
- Thank you received: 0
Hide Contact Info
- Paul
- Topic Author
- Offline
- New Member
Less
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.
I've attached a screenshot for your reference.
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12565
- Thank you received: 1627
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
and remove it
Thanks
Dam
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.
- Paul
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
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.
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.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12565
- Thank you received: 1627
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
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.
- Paul
- Topic Author
- Offline
- New Member
Less
More
- Posts: 6
- Thank you received: 0
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.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12565
- Thank you received: 1627
6 years 10 months ago #99731
by Mr. Dam
Replied by Mr. Dam on topic Hide Contact Info
OK Paul
Thanks
Dam
Thanks
Dam
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.