Changes for page Spotlight

From version 14.1
edited by Andrea Omicini
on 25/07/2023 14:56
Change comment: There is no comment for this version
To version 15.1
edited by Andrea Omicini
on 26/07/2023 06:28
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -18,7 +18,7 @@
18 18   #stop
19 19   #end
20 20   #if( $personalCourseDoc.spotNo && $personalCourseDoc.spotNo != "" )
21 - #set( $spotCourseNo = $numbertool.toNumber($personalCourseDoc.display('spotNo','view')).intValue() )
21 + #set( $spotCourseNo = $numbertool.toNumber($personalCourseDoc.spotNo).intValue() )
22 22   #end
23 23  ## USER SPOTLIGHT / START
24 24   #if( $personalCourseDoc.getValue('spotList').size() > 0 )
... ... @@ -25,7 +25,7 @@
25 25   <table width="100%"><tr class='borderhalfbottom'>
26 26   #foreach( $item in $personalCourseDoc.getValue('spotList') )
27 27   #if( $foreach.count <= $maxCourseSpot )
28 - <td>{{course linked='title'}}$item{{/course}}</span></td>
28 + <td>#courselinked($item)</td>
29 29   #end
30 30   #end
31 31   </tr></table>
... ... @@ -43,7 +43,7 @@
43 43   #if( $foreach.count > $spotCourseNo )
44 44   #break
45 45   #end
46 - <td>{{course linked='title'}}$item{{/course}}</span></td>
46 + <td>#courselinked($item)</td>
47 47   #end
48 48   </tr></table>
49 49   #end
... ... @@ -62,7 +62,7 @@
62 62   #if( $foreach.count > $spotCourseNo )
63 63   #break
64 64   #end
65 - <td>{{course linked='title'}}$item{{/course}}</td>
65 + <td>#courselinked($item)</td>
66 66   #end
67 67   </tr></table>
68 68   #end