K
K
kdeit2016-06-18 18:46:04
1C-Bitrix
kdeit, 2016-06-18 18:46:04

What is the correct way to work with Bitrix templates?

When installing Bitrix, the kit comes with an online store template with good functionality. But there is always something to change. And work becomes hell.
Question: how does anyone work with Bitrix? Do you constantly customize your native template or write your own from scratch and then use it in your projects?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Alexey Cheremisin, 2016-06-18
@leahch

Alas, this is how it works with Bitrix. The copy-paste method. Moreover, in this system it is elevated to the absolute! Take a ready-made page template with two or three complex components, copy it, change css, copy the complex components of this page, change their code and css / javascript, then, using the visual inspection method, find the components included in the complex components, copy, change, and so on circle.
Yes, you can take a third-party component, but it turns out that it does not work with your version, you spit, write to the component developer, find out he has a binge, rewrite, yes, by copying.
Hooray! You have your first component! You put it away carefully. In half a year you have 20 components. You put the site, the second, the third for customers, and strongly do not recommend updating the system.
And so on in a circle. On the seventh round, an epiphany occurs, but the next customer insists on Bitrix... Hell - it's here and now :-)

C
cirega, 2016-06-26
@cirega

Now I am writing a store at work quite complicated, for the first time I don’t use the standard Bitrix component templates, and everything is not as scary as it seems

P
Pavel Kostyukov, 2016-06-18
@PashtetForever

And what prevents you from using any other template? Changing the website template is very easy, you probably know how...
Answer: I take a ready-made template (not in Bitrix), more or less suitable, and customize it for the task. From scratch, of course, it is also possible, but is it profitable for you?

S
Sergey Goryachev, 2016-06-20
@SergeGoryachev

У меня обычно порядок такой.
Ставлю Битрикс с тем, что есть.
Натягиваю тот HTML, который нужен. Со всеми шаблонами компонентов, ессено.
Пока моим клиентам достаточно тех компонентов, которые идут в коробке. Так что, необходимости писать логику не было, а с шаблонами компонентов все достаточно просто.
Имхо, некоторая тяжеловесность Битрикса связана как раз с тем, что компонент берет из базы вообще все данные по теме компонента. Это здорово грузит базу, но в шаблоне вы просто выводите нужные значения из массива и все.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question