TIPS

From Jomres v4 manual

Jump to: navigation, search

Contents

Quickly add many rooms

If you want to add many rooms to a property, there's a quick way to do it (note if you have already created tariffs this method will remove them, so set up your rooms first, then your tariffs):

  1. Go to Property Config and change the tariff editing mode to Normal.
  2. On pressing Save you'll be taken to Property Admin. Set now some prices and choose the appropriate quantities of each room types. Put any figure you want as the tariff.
  3. Click Save. Jomres will create the number of rooms you require and associate them with their room types. Now in Property Config you can switch your tariff editing mode back to Advanced/Micromanage.


Quickly deleting tariffs

If you were in Micromanage tariff editing mode and decide that you'd prefer to use Advanced tariff editing, you then can switch the tariff editing mode in Property Config, however you might then find that you've got an awful lot of tariffs to sort through. If you just want to quickly delete those tariffs, switch to Normal Tariff editing, then again to Advanced. This will delete all of the old tariffs and you can start with a clean sheet.

Joomla, lost password

Not strictly speaking a Jomres problem but I came across this page when looking for a solution for a client. As it's so useful, I thought I'd be very naughty and copy and paste the advice to here (just in case the parent site went down).

"OK this is a bit tricky as Joomla 1.5 uses its own encryption algorithm. You will have to login to Cpanel, click PhpMyAdmin, select the database and click on jos_users (or prefix_users if you've used another db prefix). Click on the edit icon and put this in the password field :

50e158580f8cd900d1c319c4c08a8a74:oDzHxt8lPSpvbKYf2vW6Vxp9zsw5SlIZ

Click OK. Your password is now cmsdemo . Please change that to something else immediately as it's not safe.

Another way to update the password is to run this query from PhpMyAdmin:

UPDATE jos_users SET password='50e158580f8cd900d1c319c4c08a8a74:oDzHxt8lPSpvbKYf2vW6Vxp9zsw5SlIZ' WHERE usertype = 'Super Administrator';"

General practices

  • Switch off any Joomla caching.
  • Don't tab browse between properties. You can only work on one property at a time.
  • Use a FQD (fully qualified domain) when working on Jomres. Eg use something like "www.domain.com/index.php...", not "www.domain.com/~accountname/index.php...". Jomres checks for a tilde (~) in the rooms list returned in the booking form and uses it to seperate the currently selected rooms from the available rooms. If there's a tilde in the domain name then the javascript ends up very confused, the rooms list doesn't get generated properly and theres tears before bedtime.

Don't post late at night to the forums and expect a sensible comment

As a reply to a user deleting a stray file on his server.


Ah, that poor little file, sitting on your server, doing no harm and minding it's own business. Suddenly, ripped from the womb of the modules folder, hurled mercilessly into the depths of the recycle bin to reside with other, unwanted files, to languish until the server admin hardens his heart and the axe falls. Suddenly, with a zip and a whiz, the spinning of platters offers no warning and the file suddenly finds itself erradicated. Not even dust, with nobody to mourn it's passing except for a few stray ones and zeros here and there that soon will be overwritten themselves. Fear not, little file. I will remember you! [This episode of the lives and times of the forgotten lines of code brought to you by too much Earl Grey Tea at 11:30pm].

Personal tools