Solidres 4.1 – Change "1 Room, 2 Rooms" dropdown text to custom label

More
3 months 3 days ago #21788 by Webdesign
Hello,

we are using Solidres 4.1 with Joomla 6.

We would like to change the room quantity dropdown from:

1 Room
2 Rooms
3 Rooms

to:

1 Accommodation/Pitch
2 Accommodations/Pitches

We already tried the following:

Joomla language overrides (SR_ROOM, SR_ROOMS)
Editing default_checkavailability.php
Editing the German language file
Searching for the corresponding language strings and JavaScript files

None of these changes affect the dropdown.

It appears that the room quantity labels are generated elsewhere.

Could you please tell us:

Which file generates the "1 Room / 2 Rooms" dropdown?
Which language constants are used?
Is there an official way to replace "Room" with a custom term such as "Accommodation/Pitch"?

Thank you very much.

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

More
2 months 4 weeks ago #21790 by solidres
Hi,

The language key you are looking for are:

SR_SELECT_ROOM_QUANTITY="%s rooms"
SR_SELECT_ROOM_QUANTITY_1="1 room"

Regards,
The following user(s) said Thank You: Thai-Mc-Tours

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

More
1 month 6 days ago - 1 month 5 days ago #21813 by Thai-Mc-Tours
Thanks very much! That's helped me alter everything from Rooms to Tours, except one heading in CheckAvailability, as below

You do not have permissions to access this page.


Apologies, my own fault for using your room type system incorrectly, as in; only *mostly* for tours, consequently hadn't altered everything due to the necessity for our guests to be able to arrive earlier/leave later than the tour itself on an accommodation only basis. Meanwhile we've discovered Experience lends itself well to large groups (i.e a large, "single group" of up to fifty friends on a single booking) due to discount structures while Solidres accommodation-based structure better suited for smaller (1-3 pax on each booking) "mixed groups" usually only totalling 10-15pax per tour. At least that was the workaround we formulated a decade ago and the Experience guests still grumble on occasion having to make a separate booking for their own choices regarding the duration of stay? A gentle reminder they've broken away from the group under these circumstances seems sufficient ?

Consequently we're still very grateful indeed to you guys for being able to provide (certainly back in the day) the 'only' solution available for the two conflicting sides of our business in a single, automated site. Thanks very much indeed and don't worry about that heading, I can live with it!

Warmest regards

Miles

Milo
Only a biker knows why a dog hangs its head out the window...!
Last edit: 1 month 5 days ago by Thai-Mc-Tours. Reason: I'm a biker & businessman, not a developer, a good night's sleep works wonders for clarity

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

Moderators: solidres
Powered by Kunena Forum

All the things you need to make your work easier. Did you like Solidres?