Support

  1. hopinn
  2. Features Request
  3. Sunday, February 08 2015, 11:12 AM
Hello,

is it possible to add opening hours like you can in FB or Google plus?

I manage an organisation where all members are pubs, hotels, b&b's, .... and I'd like them to adjust their opening hours themselves.

http://www.horecaregiopoperinge.be

marK
admin Accepted Answer
Admin
Hi,
I don't know how to works Facebook opening hours but can manage this with conditions, HTML delimiter type field and Content Plugin

Small example

Create fields to add opening hours
- radio with these options (hidden on profile page)
1|2 openings
2|1 opening
3|open 24 hours

- checkbox with opening days (hidden on profile page)
1|Monday
2|Tuesday
3|Wednesday
.....

- select with opening hours 1 (hidden on profile page)
00:30|00:30
1:00|1:00
1:30|1:30
2:00|2:00
....
24:30|23:30
00:00|00:00

- select with closing hours 1 (hidden on profile page)
00:30|00:30
1:00|1:00
1:30|1:30
2:00|2:00
....
24:30|23:30
00:00|00:00

- select with opening hours 2 (hidden on profile page)
00:30|00:30
1:00|1:00
1:30|1:30
2:00|2:00
....
24:30|23:30
00:00|00:00

- select with closing hours 2 (hidden on profile page)
00:30|00:30
1:00|1:00
1:30|1:30
2:00|2:00
....
24:30|23:30
00:00|00:00

- Delimeter for 2 openings with this description (hidden on edit profile page)
{user opening_days_alias_field} {user opening_hours1_alias_field}-{user closing_hours1_alias_field} {user opening_hours2_alias_field}-{user closing_hours2_alias_field}

- Delimeter for 1 opening with this description (hidden on edit profile page)
{user opening_days_alias_field} {user opening_hours1_alias_field}-{user closing_hours1_alias_field}

- Delimeter for 24 hours opening with this description (hidden on edit profile page)
{user opening_days_alias_field} 24/24h

Now set conditions on type of opening field like these
Condition 1 - if greater than 1 hide "opening hours 2" and "closing hours 2" fields
Condition 2 - if greater than 2 hide "opening hours 1" and "closing hours 1" fields
Condition 3 - if equal to 1 show Delimeter for 2 openings
Condition 4 - if equal to 2 show Delimeter for 1 opening
Condition 5 - if equal to 3 show Delimeter for 24 hours opening

RESULT of conditions
if I choose 1 opening
- Condition 1 hide "opening hours 2" and "closing hours 2" fields so I can choose only "opening hours 1" and "closing hours 1" fields
- Condition 2 is not met so show "opening hours 1" and "closing hours 1" fields
- Condition 3 is not met so hide Delimeter for 2 openings
- Condition 4 is met so show Delimeter for 1 opening
- Condition 5 is not met so hide Delimeter for 24 hours opening
  1. more than a month ago
  2. Features Request
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.