处理模板时发生错误。
Expression folderId is undefined on line 5, column 27 in 95691.
1<#-- 公共模板,公共变量 --> 
2    <#include "${templatesPath}/26204" /> 
3	 
12
            
13 
14 
15
           
 
16 
           
 
17	
            
18	
           
 
19		 
20	
 
21	
          
 
22		<#-- 获取乐动软件下载
子栏目 --> 
23		<#assign currentFolderId = folderId ! g_folderId_gywm> 
24		<#assign currentFolder = hirisunArticleUtil.getFolder(currentFolderId)!''> 
25		<#if currentFolder = ""> 
26			

栏目ID参数不正确!

 
27		<#else> 
28			<#-- 当前文件夹对应的一级目录,用于生成左侧菜单 --> 
29			<#assign matchedFolder = hirisunArticleUtil.getMatchedFolder(currentFolder)> 
30			<#assign subFolderList = hirisunArticleUtil.getFolders(scopeGroupId, matchedFolder.folderId)> 
31			 
32			<#include "${templatesPath}/32601" /> 
33		
           
34		
          
 
35			

 

36			 
37			我们的资质荣誉 
38				
 
41			 
42			
          
 
43				
          
 
44					 
45					 
46				
 
47				
         
 
48				<#assign folderList = g_folderId_wmdzzry > 
49					 
50					
         
51						 
52						
         
 
53							
         
 
54							<#assign n = 0> 
55								<#list folderList?sort_by("folderId") as folder> 
56									<#if folder_index = 0> 
57									<#assign n = n + 1> 
58										 
59											${folder.name} 
60											 
61											 
62										 
63									<#else> 
64										 
65											${folder.name} 
66											 
67											 
68										 
69									
          
70								
          
71							
 
72						
 
73						 
74					
 
75					
      
 
76						<#list folderList?sort_by("folderId") as folder> 
77							<#assign articleList = hirisunArticleUtil.getArticles(scopeGroupId, folder.folderId, 0, 20, "Sortnumber", "desc", false) > 
78								<#if folder_index = 0> 
79									
      
80										style="display: block; overflow: hidden; z-index: 1; visibility: visible;"> 
81										
        
 
82											
        
 
83												<#list articleList as article> 
84												<#if article_index = 0> 
85												<#assign img = hirisunPortletUtil.getValueFromXML(article.content,"dynamic-element[@name='img']")> 
86													 
87												
         
88												
         
89											
 
90											
      
 
91											<#assign length1 = (articleList?size / 6)?ceiling> 
92											<#assign num1 = -1> 
93											<#assign num2 = 5> 
94											<#list 1..length1 as le2> 
95												
      
     
96												<#list articleList as article> 
97												<#if article_index gt num1 && article_index lte num2> 
98													<#--标题--> 
99													<#assign title = article.titleCurrentValue> 
100														
  •  
  • 101 
    102${title} 
    103														 
    104												
          	 
    105												
           
    106													<#assign num1 = num2> 
    107													<#assign num2 = num2 + 6>	 
    108												 
    109											
           
    110											<#if articleList?size gt 6> 
    111												
          
     
    112													 
    113 
    114
    115													 
    116 
    117> 
              
     
    118												
     
    119											
          
    120											
     
    121										
     
    122									 
    123								<#else>	 
    124									
       
    125										style="display: none; overflow: hidden;"> 
    126										
         
     
    127											
         
     
    128												<#list articleList as article> 
    129												<#if article_index = 0> 
    130												<#assign img = hirisunPortletUtil.getValueFromXML(article.content,"dynamic-element[@name='img']")> 
    131													 
    132												
          
    133												
          
    134											
     
    135											
       
     
    136											<#assign length1 = (articleList?size / 6)?ceiling> 
    137											<#assign num1 = -1> 
    138											<#assign num2 = 5> 
    139											<#list 1..length1 as le2> 
    140												
       
    141												<#list articleList as article> 
    142									 
    143												<#if article_index gt num1 && article_index lte num2> 
    144													<#--标题--> 
    145													<#assign title = article.titleCurrentValue> 
    146														
  •  
  • 147 
    148${title} 
    149														 
    150												
       	 
    151												
        
    152													<#assign num1 = num2> 
    153													<#assign num2 = num2 + 6> 
    154												 
    155											
        
    156											<#if articleList?size gt 6> 
    157												
       
     
    158													 
    159 
    160
    161													 
    162 
    163> 
           
     
    164												 
    165											
            
    166											 
    167										 
    168									 
    169								
            
    170						
            
    171					 
    172				 
    173			 
    174		 
    175	 
    176 
    177<#-- 底部模板 --> 
    178<#include "${templatesPath}/64807" /> 
    179 
    180 
    181 
    182<#include "${templatesPath}/95691" /> 
    183