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 #1

Updated by Christian Weiske almost 9 years ago

  • % Done changed from 0 to 100

This can be solved with conditional typoscript:

[globalVar = GP:type = 5]
    #no edit panel
    tt_content.stdWrap.editPanel = 0
[global]

Please close this bug.

Actions #2

Updated by Mathias Brodala almost 9 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF