[TYPO3-english] load another CE using AJAX on a TRIGGER

jaco graaff jaco at spacexplorer.co.za
Thu Dec 19 01:25:07 CET 2013


a new page just for one content element to be loaded into an iframe:
----------------------------------------------------------------------------------------------------------
ajaxMailPage = PAGE
ajaxMailPage {
    typeNum = 600
    config {
              disableAllHeaderCode = 1
# now add all the necessary JS & CSS again (if it does not exist in host 
page)
              xhtml_cleaning = 0
              admPanel = 0
              debug = 0
              no_cache = 1
              baseURL = http://www.web.com
               absRefPrefix = http://www.web.com
          }
    10 < styles.content.get
    10 {
        //see RSS template - I copied from it
        //select.where = colPos=0 AND list_type = "news_pi1"
        select.where = colPos=0
    }
#test something more
20 = TEXT
20.value = success!!!
}











--------------------------------------------------------------------------------------------------------- 



More information about the TYPO3-english mailing list