- Posts: 2
- Home
- Forum
- Community Forum
- Questions
- Installation/Upgrade
- PHP notice on frontend asset display in new installation
how to hide reservation button?
- luisolla
- Topic Author
- Offline
Less
More
2 months 20 hours ago #20649
by luisolla
how to hide reservation button? was created by luisolla
Hi everybody, customer asked me to hide te reservation button, they want to manage their reservgations personally.
Does anyone knows how to do it without deleting that code line?
If need to delete that line, how can I acess that files?
thanks and regards
Does anyone knows how to do it without deleting that code line?
If need to delete that line, how can I acess that files?
thanks and regards
Please Log in or Create an account to join the conversation.
- solidres
- Away
Less
More
- Posts: 2901
2 months 9 hours ago #20650
by solidres
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
Replied by solidres on topic how to hide reservation button?
Hi,
You can hide that button by making a template override for this file:
/components/com_solidres/views/roomtype/tmpl/default.php
Regards,
You can hide that button by making a template override for this file:
/components/com_solidres/views/roomtype/tmpl/default.php
Regards,
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
Please Log in or Create an account to join the conversation.
- luisolla
- Topic Author
- Offline
Less
More
- Posts: 2
1 month 3 weeks ago #20664
by luisolla
Replied by luisolla on topic how to hide reservation button?
Thanks ¡
I´ve tried it, but don´t work, even eliminating that item.
(maybe I´m doing it incorrectly)
This is the part I need to override, isn´t int?
<div class="<?php echo SR_UI_GRID_CONTAINER ?> call_to_action">
<div class="<?php echo SR_UI_GRID_COL_12 ?>">
<p>
<a class="btn <?php echo SR_UI_BTN_DEFAULT ?> btn-large"
href="<?php echo SolidresHelperRoute::getReservationAssetRoute($this->item->reservation_asset_id, $this->item->id); ?>">
<?php echo JText::_('SR_SINGLE_ROOM_TYPE_VIEW_CALL_TO_ACTION') ?>
</a>
</p>
</div>
</div>
thnaks and regards
I´ve tried it, but don´t work, even eliminating that item.
(maybe I´m doing it incorrectly)
This is the part I need to override, isn´t int?
<div class="<?php echo SR_UI_GRID_CONTAINER ?> call_to_action">
<div class="<?php echo SR_UI_GRID_COL_12 ?>">
<p>
<a class="btn <?php echo SR_UI_BTN_DEFAULT ?> btn-large"
href="<?php echo SolidresHelperRoute::getReservationAssetRoute($this->item->reservation_asset_id, $this->item->id); ?>">
<?php echo JText::_('SR_SINGLE_ROOM_TYPE_VIEW_CALL_TO_ACTION') ?>
</a>
</p>
</div>
</div>
thnaks and regards
Please Log in or Create an account to join the conversation.
- solidres
- Away
Less
More
- Posts: 2901
1 month 3 weeks ago #20665
by solidres
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
Replied by solidres on topic how to hide reservation button?
Hi,
What is your template override path?
Regards,
What is your template override path?
Regards,
FAQ: www.solidres.com/support/frequently-asked-questions
Support Policy: www.solidres.com/support-policy
Please Log in or Create an account to join the conversation.
Moderators: solidres