N
N
Nikita Kit2016-06-10 16:56:12
CMS
Nikita Kit, 2016-06-10 16:56:12

A short guide to stretching the layout on ModX?

Hello, dear colleagues.
Who had experience with ModX - please share. I was invited to work in one good studio and I signed up. I went through the skills everywhere, except for one thing - stretching the layout on ModX CMS. They said they would give me a test on Tuesday - to make a small one-pager with a standard set of elements and *arrrxm* screw it into ModX.
Looked up guides on google. Basically, the difference from other "home" CMS is clear. But the guides are all long and boring and somehow tell more about using the layout APIs that are in the CMS - that is, first you set it - then you write the front-end already in the CMS editors. I kind of got used to my chips like gulp and other orthodoxy, and I would only have a text tutorial - a step-by-step guide - we take a page, and this is here - this is there - and this is something else. And, if possible, in Russian langvaj.
Give me some info, thanks in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mikhail Goryachkin, 2016-06-10
@ShadowOfCasper

Yes, for God's sake, I have never met a more convenient system for stretching my diss on the engine than there is in modx. So do everything as usual, even with gulp, even with webpack (here I write about what I work with myself). The whole process looks something like this:
1) Throw the final build of the front on ftp (usually this is the folder assets/templates/here is the name of your template);
2) Next, create a template in the admin panel, or open the standard one, copy your markup there.
3) Edit paths to js-selves, pictures and css-selves.
4) Here you just open the page with this template and rejoice at how beautiful you are).
Well, there, of course, you already break the template into chunks, and where dynamic content is supposed to be output, find snippets, of which there are many for every taste in the repository, or write your own. Well, what are snippets and chunks, you yourself will read.

Z
zooks, 2016-06-10
@zooks

efimov.ws/main/develop/modx.html
modx.ws/blog/uroki-modx-revolution
https://habrahabr.ru/post/122289/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question