[TYPO3-english] Re trieve the stored data from back end module and displayed in frontend
Victor Livakovsky
v-tyok at mail.ru
Wed Jul 4 14:06:34 CEST 2012
Hi.
> Please help somebody to solve my problem.
> I created one back end module through extension builder. I want to
> retrieve
> the data and wrap to the particular div using typo script. Is it possible
> to
> access the created table data directly through typo script or need to
> create
> new front end plugin for that. If I need to create front end plugin how I
> need to call the function through typo script.
You may use CONTENT cObject for this purpose.
Just do something, like:
lib.my_content = CONTENT
lib.my_content {
table = tx_mytable
select {
pidInList = ...
selectFields = myfield1, myfield2
where = ...
}
renderObj = COA
renderObj.10 = TEXT
renderObj.10.field = myfield1
renderObj.20 = TEXT
renderObj.20.field = myfield1
renderObj.20.wrap = <div class="my-class">|</div>
}
More information about the TYPO3-english
mailing list