Bug 35694 - Give pages the option to be a page or modal
Summary: Give pages the option to be a page or modal
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Tools (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-03 22:44 UTC by Christopher Brannon
Modified: 2024-01-04 18:37 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Brannon 2024-01-03 22:44:52 UTC
Currently, you can only display pages as pages.  However, there is a preview button that shows the content in a modal.  I think that some of the content would be better as a modal.  It would be great if we could specify whether the content is displayed as a page or as a modal.

I do get that this depends on the page it is linked from, but would imagine there are ways to deal with this.  I've created modals on pages via jQuery with no problem.
Comment 1 Lucas Gass 2024-01-04 16:36:21 UTC
Couldn't one just build a modal inside of a custom page?
Comment 2 Christopher Brannon 2024-01-04 18:37:57 UTC
You could, if you want the modal on top of that page.  But if you want the modal to pop up on some pre-existing page, it would need a little more work.  Like if I was going to add some information that pops up from the Circulation page or Cataloging page, where I don't want to navigate away, and instead just have that information come up wherever that link was, that would be a little more complex.