[TYPO3-english] EXT: YAG - get name of current album
sylvain hess
sylvain at onepixel.ch
Tue Jul 2 19:53:21 CEST 2013
Hi everybody,
I'm trying to get the name of the current albumUid name in YAG Gallery, but doesn't work, any ideas ?
My TS :
# get title of current album
temp.albumTitle = RECORDS
temp.albumTitle {
if.isTrue.data = GP:tx_yag_pi1|albumUid
dontCheckPid = 1
tables = tx_yag_domain_model_album
source.data = GP:tx_yag_pi1|albumUid
source.intval = 1
conf.tx_yag_domain_model_album = TEXT
conf.tx_yag_domain_model_album{
field = name
}
}
#if page is YAG album, change main Title
[globalVar = GP:tx_yag_pi1|albumUid > 0]
lib.titleMain = COA
lib.titleMain < temp.albumTitle
lib.titleMain.wrap = |
[global]
Thx a lot,
best regards,
Sylvain
More information about the TYPO3-english
mailing list