[TYPO3-english] TMENU and page_languages_overlay
Gorosito Gonzalo
xgonzalo at gmail.com
Fri Nov 18 05:04:12 CET 2011
I was thinking.. perhaps I'm in the wrong way to access the page language
overlay data, does anyone knows any way to get the sys_language_uid for a
given pid?
Thanks
#######################################
# Gonzalo Gorosito
# Programador && sysadmin
#
# http://www.tutorialesdebian.com - Tutoriales para debianeros, scripts,
info, notícias y mucho mas.
# http://www.ggorosito.com.ar - Website personal
#######################################
On Thu, Nov 17, 2011 at 4:42 AM, Gorosito Gonzalo <xgonzalo at gmail.com>wrote:
> Hi again folks!
>
> I'm trying to access the pages_language_overlay data for a given page in
> the TMENU object, like this:
>
> 2 = TMENU
> 2 {
> expAll = 1
> wrap = <ul>|</ul>
> NO.allWrap.cObject = COA
> NO.allWrap.cObject.wrap = <li>|</li>
> NO.allWrap.cObject {
> 10 = HTML
> 10.value = <div>|</div>
> 20 = TEXT
> 20.field = uid
> 20.dataWrap = <span>{field:title} <input type="hidden"
> value="{field:sys_language_uid}" /></span>
>
> Well, obviously I cannot that field(sys_language_uid) because it does not
> exists in the pages table, but since I'm accessing the pages table already
> to get the title field, I imagine I should have a way to get the fields for
> this page UID in the pages_language_overlay table, but so far no luck, any
> input will be appreciated.
>
> Thanks in advance
> #######################################
> # Gonzalo Gorosito
> # Programador && sysadmin
> #
> # http://www.tutorialesdebian.com - Tutoriales para debianeros, scripts,
> info, notícias y mucho mas.
> # http://www.ggorosito.com.ar - Website personal
> #######################################
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>
More information about the TYPO3-english
mailing list