Elxis CMS Forum
Extensions => Components => Topic started by: elishevadpw on May 10, 2011, 08:56:52
-
Hi all,
I am familiar with Joomla and just installed Elxis and noticed they are basically the same. I have bought and installed the IOS Reservations software but I'm using it for hostel reservations instead of hotels. It is for the website http://ehostel.com.
I love the component very much, however, since I'm using it for Hostels, there are some things that doesn't fit our needs. I would like to know how to customize it for the following:
1. When I log into Elxis as Administrator, I am able to set the payment under "Hotels" menu in the component to 10% of the total booking cost. However, it looks like Hoteliers can edit it from their Control Panel as well. The problem is that we are allowing Hoteliers to add their hostels to our website for free, but we take the 10% of the booking deposit that users pay in advance. We don't want the Hoteliers to have access to edit the Payment section. How do I do that?
2. Since the component is for Hotel reservations, it counts how many rooms are available. With hostels, however, we don't count the available rooms, we count the beds/ persons. Hostels usually have only 1 or 2 dorm rooms with over 8 beds and I want my users to be able to book the beds and not the rooms. The problem now is, when one user books 3 out of 12 beds in the only bedroom that the hostel have, other users are unable to book the remaining 9 beds in the same room. How do I change that?
Thanks for your help! :)
-
Regarding (1)
You have to block access to this page:
index2.php?option=com_reservations&task=cpanel&act=editpay&module=XXX&hid=ZZZ&Itemid=QQQ
Note that the task's name is editpay.
As controllers.cpanel.php file is license locked, don't modify it. We will modify the html file.
Open file: fviews/cpanel.html.php
Go to line 2138 (function editpayment)
Find this:
mosCommonHTML::loadOverlib();
Add a new line and add bellow (before "?>")
echo '<div id="reservcontainer">You are not authorized to manage payment methods</div>';
return;
Regarding (2)
This is too custom, I can not help you.
-
datahell,
Thank you for your reply.
Is there anybody that I can pay to make that customization for me regarding point (2) above?
Thanks again for your help.