Topic Closed
13 Posts

We are creating a simple plugin and envisioned the following structure:

  • A Gadget for inclusion on any page
  • A Special page from which the gadget can update its content (via AJAX calls)

The problem is that the Special page always appears themed with all the surrounding HTML to make it look nice. But in this case, we need to return only the JSON response for use by the gadget, without any formatting.

Is it possible to make a Special page be "blank" so that it renders only plaintext content?

Edit: It appears that adding "die();" to the Special page yields the output in plaintext, but is this approach undesirable for some reason?

Edited: 6 years ago#10639

251 Posts
2 Themes
10 Plugins


You have a lot of ways to this.

I belive this will help you

6 years ago#10640

13 Posts

Hello a2exfr, thank you for your response and the link to the other post. This is exactly what we were looking for!

Have a great day.

6 years ago#10645

Topic Closed



elFinder 2.1.50 in Upcoming Release

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

Log In