TACC / Core-CMS

The Core CMS codebase used by TACC Portals.
https://cep.tacc.utexas.edu
2 stars 1 forks source link

feat: CMD-97 add content around news list #850

Open wesleyboar opened 1 month ago

wesleyboar commented 1 month ago

Overview

Add content around article list on News page.

Related

Changes

Depends on commit.

Testing

  1. Have a CMS with News app installed and working.
  2. Open http://localhost:8000/.
  3. View page Structure.
  4. Verify nothing is changed.
  5. Open http://localhost:8000/news/.
  6. View page Structure.
  7. Verify "Content" placeholder is available.
  8. Add "Text" plugin, with some text, to "Content".
  9. Verify your text is visible on the page.
  10. Verify article list and title is still visible on the page.
  11. πŸ†• Visit an article page.
  12. πŸ†• ❌ Verify your text is not visible on the page.

UI

Solution C

C.3. Add "Content" to News (fa9b84d)

[!CAUTION]

  • Same content appears on News List and News Article pages.
  • Admin requires Dev to move content (via template or CSS).
Home News
C3 Add Content to News - Home (No Change) C3 Add Content to News - News (New Placeholder)

C.2. Add 4 New Placeholders to All Pages (similar to 8187a20)

[!CAUTION]

  • Placeholder available on all pages.
  • Same content appears on News List and News Article pages.
  • Admin requires dev to move content (via template or CSS).
Home News
C2 Positional Placeholders - Home C2 Positional Placeholders - news

C.1. Add 1 Placeholder to All Pages (similar to 8187a20)

[!CAUTION]

  • Placeholder available on all pages.
  • Same content appears on News List and News Article pages.
  • Admin requires dev to move content (via template or CSS).
Home News
C1 An Extra Placholder - Home C1 An Extra Placholder - News

Solution B

[!TIP] Ideal solution.

Full layout control for editor, likely via plugin that borrows from Blog plugin. Not achieved. Daunting. Details (internal).

Solution A

[!CAUTION]

  • No pagination.

Include News via Blog plugin. Cancelled. Would not have pagination, but pagination is required. Details (internal).