- in Admin Console
- go to Website & Content → Browse Website section
- click on Content Mode button in top frame
- click on orange Edit Content button on 1st content block on the page
- type some content and press Save button on toolbar
- confirm, that content is shown
- in IDE
- open /themes/advanced/index.tpl template
- locate ContentBlock tag, that matches Edit Content button on the page
- add mode="readonly" attribute to it
- in Admin Console
- reload the page by clicking on Content Mode button in top frame
- confirm, that editing controls no longer are shown for that content block
- confirm, that content block data is still shown
Details
Details
- Reviewers
erik - Commits
- rINP16528: Fixes INP-1584 - Add readonly mode to "st:ContentBlock" tag
Diff Detail
Diff Detail
- Repository
- rINP In-Portal
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.