Ticket #15 (closed enhancement: wontfix)

Opened 8 years ago

Last modified 8 years ago

Easy way to change popups via the config

Reported by: garrettb Owned by: gogo
Priority: low Milestone:
Component: Xinha Core Version:
Severity: normal Keywords:
Cc:

Description

There should be a way to load different HTML files into popups using the default "dialog" setup.

Change History

Changed 8 years ago by gogo

Not sure I understand what you're getting at there? Can you elaborate?

Changed 8 years ago by anonymous

  • priority changed from normal to low
  • severity changed from normal to enhancement

Changed 8 years ago by mokhet

yes please, can you elaborate ? I dont see the real meaning of this ticket.

Changed 8 years ago by anonymous

In HTMLArea anyway, the dialog windows seemed to be embedded pretty deeply into the htmlarea.js and dialog.js.

For example, I needed to have different scripts to do images and links. However, I ended up doing a JS redirect in the existing HTML files for images and links to my new ones. This is a hack since I couldn't get to a spot outside of the core code to make changes.

Ideally, there would be a way to set a config to set the url that is loaded into the popup.

Changed 8 years ago by gogo

  • status changed from new to closed
  • resolution set to wontfix

No, this is what the plugin system is for. You should write a plugin to do what you want and have i t replace the button in the toolbar. See the various insert image type plugins for example.

That said, see yermol's branch, he might do something similar there?

Note: See TracTickets for help on using tickets.