1. REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Implemented Business hours

Discussion in 'Showcase Closed Suggestions' started by Divokymuz, Dec 16, 2019.

  1. Divokymuz

    Divokymuz New Member Showcase

    Would be nice, to have business hours field in showcase for articles.
     
  2. Bob

    Bob Developer Staff Member

    I've implemented a very basic business hours feature that when enabled, will add a Business hours sidebar block.

    Business hours is a per category feature (so you can enable/disable on a per category basis).

    Selection_880.png


    If the viewing user has permission to set business hours (based on if they can EDIT the item), they will see a link in the More options dropdown titled "Set business hours".

    Selection_881.png


    Clicking on the link will launch an overlay

    You can set each day of the week whether the business is OPEN or CLOSE on a particular day.

    Selection_882.png


    When checking that the Business is open on a specific day, the forum will display 3 rows of inputs that allows you to set hours of operation for that specific day.

    Selection_883.png


    When the block is activated, it will appear in the Sidebar of the Item.

    Selection_884.png


    Here is an example of what it looks like when a business is open 24 hours on a specific day... You can also see that each day can have additional hours for cases where a Business opens and closes multiple times a day.

    Selection_931.png

    Note: I designed this so that if a business is temporarily closed (like on vacation), you can unset all 7 days of the week (unchcked) and SAVE. This will make the block active and display Closed on all 7 days.

    Selection_885.png


    When ever the Business hours block is Activated, there will be a check box that says "Unset business hours", which will wipe out any days that have hours set and will deactivate the block.

    Selection_886.png
     
  3. MarenLBC

    MarenLBC New Member AMS Showcase

    Can you adjust this to 12 Hour time?
     
  4. Bob

    Bob Developer Staff Member

    Not without customization (which would include php edits). You can post a suggestion so that it might be considered in a future version of the addon :)
     
  5. MarenLBC

    MarenLBC New Member AMS Showcase

    Thanks Bob!
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.