Opened 15 years ago

Closed 14 years ago

#15 closed enhancement (wontfix)

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 (5)

comment:1 Changed 15 years ago by gogo

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

comment:2 Changed 15 years ago by anonymous

  • Priority changed from normal to low
  • Severity changed from normal to enhancement

comment:3 Changed 15 years ago by mokhet

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

comment:4 Changed 15 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.

comment:5 Changed 14 years ago by gogo

  • Resolution set to wontfix
  • Status changed from new to closed

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.