S
S
Sergey2018-06-19 17:42:55
1C-Bitrix
Sergey, 2018-06-19 17:42:55

How to remove layout in Bitrix when editing pages?

How to remove layout in Bitrix when editing pages? For example, a page with contacts .. there is text, a photo and a map. If you go into editing, then there is the html code of the entire page, while editing the content manager can easily screw up there.
Option to only use pluggable areas on files? It is impossible to mark out in one file what can be edited and what cannot? .. some variables.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Burlaka, 2018-06-19
@AlexeyGfi

On one project, managers also constantly broke contacts: there is a map and reviews and a tricky layout with phone numbers and addresses...
If by code, without a database, the included areas. The fact that there will be a whole list of them is even good. It is possible to make a mask on access where the manager can go and where not.
An example of the contents of the .access.php file (which is responsible for accesses inside the folder) - here is a list of files-included areas that users from group #6 are given exclusively read access:

<?
$PERM["sect_contacts.php"]["6"]="R";
$PERM["sect_map.php"]["6"]="R";
?>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question