Add two fields in NodeBB
-
I'm not 100% sure what you're asking about, can you rephrase please? (I'm sorry!)
-
I think he wants to add input fields to the acp for modifying/customising special escaped fields inside templates. But he's running into two problems: The escaped fields are being removed by validator.escape(), and he needs to know where to call replace for templates when they are sent via ajax.
-
@yariplus
validator.escape()
not particularly worried for me. If the above is not clear I written, me nothing to add -
@yariplus said:
I think he wants to add input fields to the acp for modifying/customising special escaped fields inside templates. But he's running into two problems: The escaped fields are being removed by validator.escape(), and he needs to know where to call replace for templates when they are sent via ajax.
if that's the case, then have a look at
admin/general/navigation
route, we escape language strings so it can be displayed in the input without looking like it's been escaped: -
@sergej-saveljev said:
Please tell me what to do, that be can use the template categories.tpl (ie on the main page) tag
\{content\}
?
I myself realized. Thanks to all!