I
I
IvanRobot2016-04-25 15:31:40
1C-Bitrix
IvanRobot, 2016-04-25 15:31:40

Why is there no template.php file in the template directory?

The www/catalog/index.php file has

$APPLICATION->IncludeComponent("bitrix:catalog", "", array(

I go into the directory and don't see template.php
I edit section.php and the page changes. all OK? but why not template.php ?
obnZunA.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey Ukolov, 2016-04-25
@IvanRobot

This is a complex component, it does not have a template.php - for each page there is a separate file in which the internal component is connected, which lies in the bitrix folder, which can be seen in the screenshot.

S
Sergey, 2016-04-25
@Logic87

"bitrix:catalog", "", is the same .default

N
no_one_safe, 2016-04-25
@no_one_safe

CBitrixComponent::IncludeComponentTemplate

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question