J
J
jww2017-06-20 23:35:01
CMS
jww, 2017-06-20 23:35:01

How correct is it to immediately put on CMS during layout?

I often come across that I need to make up and put on a CMS, and it turns out that I put it on a CMS right away during the layout. To what extent is this approach correct or incorrect?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Semenov, 2017-06-21
@denisemenov

Let's take, for example, the menu in any popular CMS, for example, Wordpress. Most often, this element is typeset as a list ul>li*5. But after all, it can be made up with the help of div>a*5. Let's say you don't know this and make up the second option. And then you realize that the default CMS module does it a little differently, and you already have all the styles, which now you have to fix ... Or edit the default module. The same story is about Opencart's language and currency switching menu. I would have laid out this drop-down menu in the same way, but that's bad luck - the currency is used button, and the language is а. And rewriting the logic is much more hemorrhoids than changing the html tag.
Either you need to know the CMS very well so that you don’t have to reverse it later and provided that it is vital for you to separate the process of layout and layout integration into the CMS, or do it directly on the CMS with all the goodies from webpack/npm/nodejs/bower/gulp/ grunt or whoever likes it.
imho :)

K
Kolya K, 2017-06-20
@Kolyagrozamorey

Everything depends on cms. Some of them won't work any other way.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question