@pichalite
Yes, I created a copy of partials/topics_list.tpl. Then I renamed it to partials/topics_list_diy.tpl
K68
Posts
-
rendering Engine template.js : Import statement in IF statement -
rendering Engine template.js : Import statement in IF statementI want to import different partial templates based on IF statement. Maybe a bug here:
<!-- IF loggedIn --> <!-- IMPORT partials/topics_list.tpl --> <!-- ELSE --> <!-- IMPORT partials/topics_list_diy.tpl --> <!-- ENDIF loggedIn -->
RangeError: Maximum call stack size exceeded
at String.match (native)
at checkConditional (D:\workspace\NodeBB->1.0.3\node_modules.npminstall\templates.js\0.3.4\templates.js\lib\templates.js:227:26)
at checkConditionals (D:\workspace\NodeBB->1.0.3\node_modules.npminstall\templates.js\0.3.4\templates.js\lib\templates.js:223:27)
at parseValue (D:\workspace\NodeBB-1.0.3\node_modules.npminstall\templates.js\0.3.4\templates.js\lib\templates.js:389:14) -
Where's the template file of 'composer' ?@Bri @pichalite
I got it now , thank you guys -
Where's the template file of 'composer' ?@Bri
Great!! Thank you very much.Besides, do you know the following html mean?
<div component="composer" class="...
-
Where's the template file of 'composer' ?Hello everyone ,
I want to modify the view of 'composer', where is the template file of 'composer' ?
Besides, what's the 'component' attribute mean here ?
Any help will be appreciated