Issue Bug Closed

#72123Option to disable feedit for certain typeNum

Christian Weiske 12/09/15, 15:19 updated 12/10/15, 09:51

Description

I’m using custom page.typeNum to output JSON and XML data output from plugins without the HTML frame.

Unfortunately, feedit always wraps its HTML code around the plugin output.

It would be nice if I could disable `feedit` for given typeNums only – so that frontend editing still works on the normal page type, but is disabled on the AJAX type nums.

Example for such an AJAX page type:

page-json = PAGE
page-json {
    typeNum = 4

    config {
        debug = 0
        disableAllHeaderCode = true
        additionalHeaders = Content-type: application/json
        xhtml_cleaning = 0
        admPanel = 0
    }

    10 = CONTENT
    10.table = tt_content
    10.select {
        where = CType = "list"
        orderBy = sorting
    }
}

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.