Home General Discussion

Is there a way to default Portal Announcements to display collapsed?

Eric_EvansEric_Evans Member IT Monkey ✭

I am looking for a way to display the announcements as a single bard across the top on the portal that a user can expand, rather than it be expanded and they have to collapse. Is there an easy way to do this?

Best Answer

  • Justin_WorkmanJustin_Workman Cireson Support Super IT Monkey ✭✭✭✭✭
    Answer ✓

    @Eric_Evans - If you add the following to your custom.js the announcements will always start as "read".

    localStorage.setItem("cireson_last_read_announcement",new Date().toISOString());

Answers

  • Justin_WorkmanJustin_Workman Cireson Support Super IT Monkey ✭✭✭✭✭
    Answer ✓

    @Eric_Evans - If you add the following to your custom.js the announcements will always start as "read".

    localStorage.setItem("cireson_last_read_announcement",new Date().toISOString());

  • Eric_EvansEric_Evans Member IT Monkey ✭

    Worked like a charm thank you!

Sign In or Register to comment.