·
Added a discussion

Hi guys! I'm trying to find a way to sort some events in one place. Let's say I have two pages of events- New York and California. In the add event form, I added a drop-down list "State". After I add a new event with the selection of "New York" Is there a way I can create a New York page that shows New York events only instead of showing all? This is what I would like to see....

New York Page

Calendar showing New York events only

Same categories but only show New York events

California Page

Calendar showing California events only

Same categories but only show California events.

I hope I make sense here. I don't want everything in one calendar. It's just overloaded. Is there a way to break them up and keep them organized? Your help would be much appreciated!

Patrick

  • 584
Comments
    • Hello @Patrick !

      Yes, you may add the RAW block with the content like:

      2 opening brackets ~bx_posts:browse[{"mode":"created_entries", "params":{"state":"1"}}]~ 2 closing brackets.

      Where the state=1 means the first entered state (but it depends from the structure of your created field)

      • Hi @LeonidS !

        UNA is a huge change since I used Boonex back in 2014! 😮

        I use the RAW block and try this.

        image_transcoder.php?o=sys_images_editor&h=472&dpx=2&t=1655731167

        I get an error message- "Error: unsafe macros"

        Did I do the opening and closing brackets wrong? Not sure if I suppose to use state or events_state for this one.

        image_transcoder.php?o=sys_images_editor&h=473&dpx=2&t=1655731297

        image_transcoder.php?o=sys_images_editor&h=474&dpx=2&t=1655731345

        Login or Join to comment.