S
S
Sandr-02019-11-11 14:33:44
CMS
Sandr-0, 2019-11-11 14:33:44

What is the best path for the component template to use when installing the Bitrix module?

I am writing a module for Bitrix, and it uses a customized component template. What is the best folder to copy this template when installing the module?
While choosing from these options:
/bitrix/templates/.default/components/namespace/component_name/template_name/
/local/templates/.default/components/namespace/component_name/template_name/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vldud, 2019-11-11
@Sandr-0

First option. Or in general:
/bitrix/components/name_space/component_name/templates/template_name/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question