Display content of This page if empty fetch from specific page of typo3

lib.footerContent = CONTENT

lib.footerContent < styles.content.getLeft

lib.footerContent.stdWrap.ifEmpty.cObject < lib.footerContentTwo

 

lib.footerContentTwo = CONTENT

lib.footerContentTwo {

table = tt_content

select {

pidInList = 38

where = colPos = 3

languageField = sys_language_uid

}

}