NOTE: Use **non-root** administrator account, when performing login to Admin Console.
# Preparations
# in Admin Console
* go to {nav Website & Content > Structure & Data > News} section
* click on `Articles` tab
* create a new article with 3 images (1 primary image and 2 additional images)
# in IDE:
* open `/themes/advanced/in-news/articles/article_detail.tpl` template for editing
* change `additional_image_element` block content to include `<inp2:AdminEditButton template="in-news/articles/images_edit"/>` before `A` tag, that has `IMG` tag inside it
* add `<inp2:n_AdminEditButton template="in-news/articles/articles_edit"/>` tag before `<inp2:n_Field name="Title"/>` tag (article title)
# Test Plan 1
# in Admin Console
* go to {nav Website & Content > Browse Website} section
* click on `Content Mode` button in top frame
* click on green `Section Properties` button in top right corner
* confirm, that popup/modal window was opened with current page data being displayed in it
* confirm, that in opened window the **temp mode** is being used by looking at debugger SQLs
* try changing category fields and/or it's sub-item (e.g. image) fields
* save changes
* confirm, that changes were saved successfully by looking at that category directly from {nav Website & Content > Structure & Data} section
# Test Plan 2
# in Admin Console
* go to {nav Website & Content > Browse Website} section
* click on `Content Mode` button in top frame
* click on orange `Edit Content` button
* confirm, that popup/modal window was opened with selected content block data being displayed in it
* confirm, that in opened window **live mode** is being used by looking at debugger SQLs
* change content block data
* save changes
* confirm, that changed content block data appears immediately on the page
# Test Plan 3
# in Admin Console
* go to {nav Website & Content > Browse Website} section
* click on `Content Mode` button in top frame
* go to `News` category using Top Menu
* open detail page of article, that was created before
* confirm, that green `Edit Item` buttons appear next to each additional image of that article
* confirm, that clicking these buttons will open popup/modal window:
* in opened window the **temp mode** is being used by looking at debugger SQLs
* without warnings/notices in debugger
* the blue bar text will be correct (as if we're editing an article from admin console)
* any changes made can be properly saved
* after saving changes we're staying on same page (article detail page) and see changes applied (e.g. alt change on the image)
# Test Plan 4
# in Admin Console
* go to {nav Website & Content > Browse Website} section
* click on `Content Mode` button in top frame
* go to `News` category using Top Menu
* open detail page of article, that was created before
* confirm, that green `Edit Item` button appear next to article title
* confirm, that clicking that button will open popup/modal window:
* in opened window the **temp mode** is being used by looking at debugger SQLs
* without warnings/notices in debugger
* the blue bar text will be correct (as if we're editing an article from admin console)
* any changes made can be properly saved
* after saving changes we're staying on same page (article detail page) and see changes applied (e.g. title/body change of the article)