An error occurred while processing the template.
For "." left-hand operand: Expected a hash, but this has evaluated to a sequence (ArrayList wrapped into f.t.DefaultListAdapter):
==> secondLevelPage.getChildren()  [in template "10254#10292#885026" at line 65, column 100]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #elseif secondLevelPage.isChildSelect...  [in template "10254#10292#885026" at line 65, column 53]
----
1<#--  Nombre de la plantilla: Nivel actual con hijos  --> 
2<#--  rootLayoutLevel: 1  --> 
3 
4<#if entries?has_content> 
5 
6    <div class="main"> 
7 
8        <div class="section-menu-wrap programa ${themeDisplay.getColorSchemeId()}"> 
9 
10        	<div class="section-menu menu"> 
11 
12        		<ul> 
13 
14            	<#--  1st level  --> 
15            	<#assign firstLevelPages = entries> 
16 
17				<#list firstLevelPages as firstLevelPage> 
18 
19            		<#if firstLevelPage.isChildSelected() && firstLevelPage.getChildren()?has_content> 
20            		 
21						<#--  2nd Level  --> 
22						<#assign secondLevelPages = firstLevelPage.getChildren()> 
23 
24						<#list secondLevelPages as secondLevelPage> 
25 
26						    <#if secondLevelPage.isSelected()> 
27 
28                	            <li class="active"> 
29 
30                        			<a href="${secondLevelPage.getRegularURL()}">  
31                        				<span>${secondLevelPage.getName()}</span> 
32                        			</a> 
33             
34                        		<#if secondLevelPage.getChildren()?has_content> 
35 
36                        		     <div class="submenu-wrap"> 
37 
38                    		            <div class="section-menu menu left"> 
39 
40                    		                <ul> 
41 
42                    		                <#--  3rd Level  --> 
43                							<#assign thirdLevelPages = secondLevelPage.getChildren()> 
44 
45											<#list thirdLevelPages as thirdLevelPage> 
46 
47                                        		<li class=""> 
48                    		                        <a title="${thirdLevelPage.getName()}" href="${thirdLevelPage.getRegularURL()}"> 
49                    		                            <span class="left">${thirdLevelPage.getName()}</span> 
50                    		                        </a> 
51                    		                    </li> 
52 
53        						            </#list> 
54 
55                    		                </ul> 
56 
57                        		        </div> 
58 
59                        		    </div> 
60 
61                        		</#if> 
62								 
63                        		</li> 
64 
65						    <#elseif secondLevelPage.isChildSelected() && !secondLevelPage.getChildren().isEmpty()> 
66 
67						        <#--  3rd Level  --> 
68    							<#assign thirdLevelPages = secondLevelPage.getChildren()> 
69 
70								<#list thirdLevelPages as thirdLevelPage> 
71 
72    							    <#if thirdLevelPage.isSelected()> 
73 
74                        	            <li class="active"> 
75                                			<a href="${thirdLevelPage.getRegularURL()}">  
76                                				<span>${thirdLevelPage.getName()}</span> 
77                                			</a> 
78                 
79                                		<#if !thirdLevelPage.getChildren().isEmpty()> 
80 
81                                		    <div class="submenu-wrap"> 
82 
83                            		            <div class="section-menu menu left"> 
84 
85                            		                <ul> 
86 
87                            		                <#--  4th Level  --> 
88                    								<#assign fourthLevelPages = $thirdLevelPage.getChildren()> 
89 
90													<#list fourthLevelPages as fourthLevelPage> 
91 
92                                                		<li class=""> 
93                            		                        <a title="${fourthLevelPage.getName()}" href="${fourthLevelPage.getRegularURL()}"> 
94                            		                            <span class="left">${fourthLevelPage.getName()}</span> 
95                            		                        </a> 
96                            		                    </li> 
97 
98                						           </#list> 
99 
100                            		                </ul> 
101 
102                                		        </div> 
103 
104                                		    </div> 
105 
106                                		</#if> 
107 
108                                		</li> 
109 
110        						    <#else> 
111 
112        						        <li class=""> 
113        						            <a href="${thirdLevelPage.getRegularURL()}">  
114                                				<span>${thirdLevelPage.getName()}</span> 
115                                			</a> 
116                                		</li>	 
117 
118        						    </#if> 
119 
120    							</#list> 
121 
122    						<#else> 
123 
124    						    <li class=""> 
125						            <a href="${secondLevelPage.getRegularURL()}">  
126                        				<span>${secondLevelPage.getName()}</span> 
127                        			</a> 
128                        		</li> 
129 
130						    </#if> 
131						    		 
132						</#list> 
133						 
134            		</#if> 
135 
136            	</#list> 
137 
138            	</ul> 
139 
140    		</div> 
141 
142    	</div> 
143 
144    </div> 
145	 
146</#if> 

Visit us and enjoy a day full of fun, surprises and learning

  • ADDRESS

    Isaac Newton, 26

    08022 Barcelona, Spain

    Tel. +34 93 212 60 50

    Fax +34 93 253 74 73

    icosmocaixa@magmacultura.net

  • TIMETABLE

    From Monday to Sunday, from 10 am to 8 pm.


    Christmas 

    Special timetable from 10 am to 6 pm on 24th and 31st December and 5th January.

    The centre is closed on 25th December and 1st and 6th January.

  • TRANSPORT

    Bus

    Lines H4, V13, V15, 22, 73, 75, 60 and 196

    Generalitat trains (FCG)

    Line L7, CosmoCaixa - Av. Tibidabo station

    Tramvia Blau

    By road

    Exit 6 and 7 of the Ronda de Dalt ring road

    Parking

    Saba - CosmoCaixa

    Timetable: from 7 am to 11 pm

    Tel. +34 93 253 74 88

    Coach parking

    Ronda de Dalt

  • CHANNELS

  • STORE

    Laie – CosmoCaixa Barcelona

    Timetable: from 10 to 8.30 pm 

    Tel. +34 93 253 74 87

    cosmocaixa@laie.es

  • CAFETERIA - RESTAURANT

    ARCASA – CosmoCaixa

    Gluten-free cooking

    Timetable: from 10 am to 8 pm

    Tel. +34 93 253 74 51

HOW TO GET THERE