Project

General

Profile

Actions

Bug #72123

closed

Option to disable feedit for certain typeNum

Added by Christian Weiske almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2015-12-09
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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 @typeNum@s 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
    }
}

Actions

Also available in: Atom PDF