Sorry, I have been searching the forum for 60 min now but I couldn't find any answer.
I am a beginner with GL so be patient with me, please
How can I use this code from home.html in the category.html or any other template? I tried to copy the code in the category.html but it didn't work.
<%set split = Links::Utils::column_split($category_loop.length, $home_category_cols)~%><%loop category_loop%>
<%~set splitmod = $row_num % $split%>
<%~if row_num == 1 or splitmod == 1 or split == 1%><dl><%endif%>
<%~include subcategory.html%>
<%~if row_num == $category_loop.length or splitmod == 0%></dl><%endif%>
<%~endloop%>
I hope somebody can help me. Thanks in advance.
Steelhammer
Sorry for my English but I am not a native speaker
I am a beginner with GL so be patient with me, please

How can I use this code from home.html in the category.html or any other template? I tried to copy the code in the category.html but it didn't work.
<%set split = Links::Utils::column_split($category_loop.length, $home_category_cols)~%><%loop category_loop%>
<%~set splitmod = $row_num % $split%>
<%~if row_num == 1 or splitmod == 1 or split == 1%><dl><%endif%>
<%~include subcategory.html%>
<%~if row_num == $category_loop.length or splitmod == 0%></dl><%endif%>
<%~endloop%>
I hope somebody can help me. Thanks in advance.
Steelhammer
Sorry for my English but I am not a native speaker
