Secretaria Municipal de Cultura e Economia Criativa
The following has evaluated to null or missing: ==> group.getExpandoBridge().getAttribute("Tipo do site") [in template "20095#20121#4291382" at line 4, column 33] ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign customFieldTypeValue = group... [in template "20095#20121#4291382" at line 4, column 1] ----
1<#include "${templatesPath}/UTILS" />
2<#assign group = themeDisplay.getScopeGroup() />
3<#assign customFieldValue = group.getExpandoBridge().getAttribute("Título do site")!"" />
4<#assign customFieldTypeValue = group.getExpandoBridge().getAttribute("Tipo do site")[0]!"" />
5<#assign customFieldParentValue = group.getExpandoBridge().getAttribute("Nome do site pai")!"" />
6<#assign customFieldURLParentValue = group.getExpandoBridge().getAttribute("URL do site pai")!"" />
7
8<@getCurrentGroupBaseURL/>
9
10<#macro mountNavigation folderId>
11 <#assign
12 folder = restClient.get("/headless-delivery/v1.0/structured-content-folders/" + folderId)!{}
13 />
14
15 <#if folder?exists>
16 <#assign
17 folderPageFriendlyUrl = folder.customFields[0].customValue.data!""
18 folderName = folder.name
19 hasParent = folder.parentStructuredContentFolderId?has_content
20 />
21
22 <#if folderPageFriendlyUrl?has_content && folderName?lower_case != "home" && folderName?lower_case != "menu">
23 <#assign
24 navigation = [{'name': folderName, 'URL': currentGroupBaseURL + folderPageFriendlyUrl}] + navigation
25 />
26 </#if>
27
28 <#if hasParent>
29 <@mountNavigation folder.parentStructuredContentFolderId/>
30 </#if>
31 </#if>
32</#macro>
33
34<#assign
35 navigation = []
36 URL = currentGroupBaseURL
37 folderId=restClient.get("/headless-delivery/v1.0/sites/"+groupId+"/structured-contents/by-key/"+.vars["reserved-article-id"].data).structuredContentFolderId
38/>
39
40<#if folderId != 0>
41 <@mountNavigation folderId/>
42
43 <nav aria-label="Caminho de Navegação">
44 <ol class="breadcrumb">
45 <li class="breadcrumb-item">
46 <a class="breadcrumb-link" href="${portalUtil.getHomeURL(request)}">
47 Início
48 </a>
49 </li>
50
51 <li class="breadcrumb-item">
52 <#if customFieldTypeValue == "subprefeitura">
53 <a class="breadcrumb-link" href="${portalUtil.getHomeURL(request)}/subprefeituras">
54 Subprefeituras
55 </a>
56 <#else>
57 <a class="breadcrumb-link" href="${portalUtil.getHomeURL(request)}/secretarias">
58 Secretarias
59 </a>
60 </#if>
61 </li>
62
63 <#if customFieldParentValue != "">
64 <li class="breadcrumb-item">
65 <a class="breadcrumb-link" href="${customFieldURLParentValue}">
66 ${customFieldParentValue}
67 </a>
68 </li>
69 </#if>
70
71
72 <li class="breadcrumb-item">
73 <a class="breadcrumb-link" href="${currentGroupBaseURL}">
74 <#if customFieldValue != "">
75 ${customFieldValue}
76 <#else>
77 ${themeDisplay.getScopeGroup().getName()}
78 </#if>
79 </a>
80 </li>
81
82 <#list navigation as breadcrumbItem>
83 <li class="breadcrumb-item">
84 <a class="${breadcrumbItem?is_last?then('active breadcrumb-text-truncate','breadcrumb-link')}" href="${breadcrumbItem.URL}">
85 ${breadcrumbItem.name}
86 </a>
87 </li>
88 </#list>
89 </ol>
90 </nav>
91</#if>
Feira de Troca de Livros e Gibis – Calendário 2019
De abril a novembro de 2019, sempre das 10h às 16h, oito edições da Feira de Troca de Livros e Gibis
acontecerão nos parques da cidade:
14 de abril
Parque do Piqueri
Rua Tuiutí, 515 – Tatuapé – Fone: (11) 2097-2213 – Ao lado do Ponto de Leitura – Zona Leste
26 de maio
Parque Lydia Natalízio Diogo
Rua João Pedro Lecor, s/n
Vila Prudente – 03227-190
Telefone: 11 2910-8774 – Zona Leste
30 de junho
Parque Buenos Aires
Avenida Angélica, 1.500 – Higienópolis - Telefone: (11) 3666-8032 – Centro-Oeste
28 de julho
Parque da Aclimação
Rua Muniz de Souza, nº 1.119 - Aclimação – Fone: (11) 3208-4042 – Centro-Oeste
25 de agosto
Parque do Carmo
Olavo Egydio Setúbal – Avenida Afonso de Sampaio e Souza, 951 – Itaquera – Fones: (11) 2748-0010 / 2746-5001 – Zona Leste
29 de setembro
Parque Independência
Entrada pelo portão da Rua Xavier de Almeida, altura do nº 06 – lado esquerdo da Casa Amarela - Ipiranga – Fone: (11) 2273-7250 – Zona Sul
27 de outubro
Barragem de Guarapiranga
Rua Dr. Caetano Petraglia Sobrinho, 41 - Jardim Guarapiranga
Telefone: (11) 5524-8403, Zona Sul
24 de novembro
Parque Ibirapuera
Av. República do Líbano, altura do n.º 1151 – Portão 7 – Próximo ao Viveiro Manequinho Lopes – ao lado do Bosque da Leitura - Vila Mariana – Fone: (11) 5574-5045 - Zona Sul
Veja aqui mais informações sobre a Feira de Troca de Livros e Gibis
HAND TALK
Clique neste componente para ter acesso as configurações do plugin Hand Talk