page { includeCSS { help = EXT:vendee_help/Resources/Public/Scss/help.scss } includeJSFooter { masonry = EXT:vendee_help/Resources/Public/Libs/masonry.pkgd.min.js help = EXT:vendee_help/Resources/Public/Js/help.js } 10.variables { helpFolder = TEXT helpFolder { value = {$vendee_base.help.folder} } helpList = TEXT helpList { value = {$vendee_base.help.list} } } } plugin.tx_solr.index.queue { #Indexation des guides guides = 1 guides { table = pages additionalWhereClause = pid = {$vendee_base.help.folder} fields { struct_stringS = TEXT struct_stringS.value = guides title = title description = TEXT description { field = description } thematicGuide_stringM = SOLR_RELATION thematicGuide_stringM { localField = categories foreignLabelField = title enableRecursiveValueResolution = 1 multiValue = 1 } url = TEXT url { typolink { parameter.field = uid returnLast = url } } } } } lib.catTitle = CONTENT lib.catTitle { table = sys_category select { pidInList = 1 recursive = 99 where = sys_category.uid IN ({$vendee_base.news.catThem}) where.insertData = 1 } max = 1 renderObj = TEXT renderObj { field = title wrap = | } } lib.guidesBtnLink = TEXT lib.guidesBtnLink { typolink { parameter = {$vendee_base.help.list} returnLast = url } } lib.guidesLink = COA lib.guidesLink { 5 = LOAD_REGISTER 5.listIdCat.cObject = TEXT 5.listIdCat.cObject.value.current = 1 10 = CONTENT 10 { table = pages select { pidInList = 1 recursive = 99 where = pages.uid IN ({register:listIdCat}) where.insertData = 1 orderBy = title } renderObj = TEXT renderObj { typolink { parameter.field = uid } wrap =
  • |
  • } } wrap = } lib.guideActus = COA lib.guideActus { 3 = LOAD_REGISTER 3.firstEle.cObject = TEXT 3.firstEle.cObject.value = 1 5 = LOAD_REGISTER 5.idPage.cObject = TEXT 5.idPage.cObject.value.current = 1 10 = CONTENT 10 { table = sys_category select { pidInList = 1 recursive = 99 join = sys_category_record_mm ON sys_category_record_mm.uid_local = sys_category.uid where = `uid_foreign` = {register:idPage} AND `tablenames` = "pages" AND `fieldname` = "categories" where.insertData = 1 } renderObj = COA renderObj { 10 = TEXT 10 { field = uid wrap = | if { value.data = register:firstEle equals = 1 } } 20 = TEXT 20 { field = uid wrap = ,| if { value.data = register:firstEle equals = 0 } } 25 = LOAD_REGISTER 25.firstEle.cObject = TEXT 25.firstEle.cObject.value = 0 } } } lib.guidesBtnLinkFilter < lib.newsBtn lib.guidesBtnLinkFilter.10.renderObj { 10.wrap = ?tx_solr%5Bfilter%5D%5B{field:uid}%5D=thematicGuide_stringM%3A| 20.wrap = &tx_solr%5Bfilter%5D%5B{field:uid}%5D=thematicGuide_stringM%3A| }