Created
July 31, 2012 21:27
-
-
Save witrin/3220729 to your computer and use it in GitHub Desktop.
TypoGento - Ajax Page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Setup basic Ajax page | |
*/ | |
ajax = PAGE | |
ajax { | |
# Set as default type | |
typeNum = 0 | |
config { | |
# Disable header code | |
disableAllHeaderCode = 1 | |
# Set content type (RFC 4627) | |
additionalHeaders = Content-Type: application/json; charset=utf-8 | |
} | |
# Use TypoGento as output | |
10 < plugin.tx_typogento_pi1 | |
10 { | |
# Disable caching | |
cache = 0 | |
# Enable Ajax output | |
mode = ajax | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment