Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Mac1 Posted October 30, 2020 Posted October 30, 2020 (edited) Hi. I need to output one site in my app (some module) as blank page. How to do this? Currently an IPS renders of course a whole theme but i don't need that. This page would be viewed by some bot. Thanks Edited October 30, 2020 by Mac1
xtech Posted October 30, 2020 Posted October 30, 2020 (edited) If you have IP Pages, just create an HTML page without the Suite HTML wrapper. Edited October 30, 2020 by xtech
Mac1 Posted October 30, 2020 Author Posted October 30, 2020 (edited) @xtech thanks. Do you know solution to do this without IP Pages? Edited October 30, 2020 by Mac1
xtech Posted October 30, 2020 Posted October 30, 2020 1 hour ago, Mac1 said: @xtech thanks. Do you know solution to do this without IP Pages? To be honest, no i don't. I believe that in order to do that you need to create an app because you need to create an FURL.
Morrigan Posted October 30, 2020 Posted October 30, 2020 Do it the ye-olde way? Upload a .html or .php file to your server.... xtech 1
xtech Posted October 30, 2020 Posted October 30, 2020 58 minutes ago, Morrigan said: Upload a .html or .php file to your server.... Good point!
Solution bfarber Posted November 2, 2020 Solution Posted November 2, 2020 If you're trying to output a blank page from within the software, you can do \IPS\Output::i()->sendOutput( "Whatever HTML to output" ); Calling sendOutput() directly does not use any wrapper. Mac1 1
Recommended Posts