D
D
DeniSidorenko2020-05-08 07:35:41
1C-Bitrix
DeniSidorenko, 2020-05-08 07:35:41

The path to the file of one article in bitrix'e?

I found all the files and folders, but where is the file of one article in Bitrix being edited?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya, 2020-05-08
@DeniSidorenko

Find the component that displays the article (at the address and urlrewrite you can find the file itself that the component connects).
Next, see which component and template is being used, and then search in the following order (the order is IMPORTANT ):
1. /local/templates/[current template name]/components/[vendor name]/[component name]/[template name]/template .php
2. /local/templates/.default/components/[vendor name]/[component name]/[template name]/template.php
3. /local/components/[vendor name]/[component name]/templates /[template name]/template.php
4. /bitrix/templates/[current template name]/components/[vendor name]/[component name]/[template name]/template.php
5. /bitrix/templates/.default/components/[vendor name]/[component name]/[template name]/template.php
6. /bitrix/components/[vendor name]/[component name]/templates/[ template name]/template.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question