Answer the question
In order to leave comments, you need to log in
How to create a user page correctly?
There is a current user and his main page. There are also other users with their pages, which have slightly different functionality. But, in many ways, the pages are similar. Should I create 2 templates, and then choose the one I need from them, or create 1, but specify the condition in it: if the main one, then this functionality, and if it’s someone else’s page, then this functionality? Maybe there are other ways? Thanks in advance)
Answer the question
In order to leave comments, you need to log in
Read about master pages. In short: everything that the pages have in common (menus, styles, columns, etc.) is placed on the Master Page, everything that is not included there and should be different on different pages is placed on the page itself. It turns out something like a container: . This is one way. <Mastepage><Page></Page></Masterpage>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question