# NTPPA CMS — Update: Visual Editor, Word Import & Team Access

This update makes the dashboard friendly for non-technical editors and adds team logins.
**It changes code only — your existing pages, sections and blog posts are untouched.**

## What's new

**1. A Word-style visual editor** on every content block and blog post
- Format with buttons: headings, **bold**, *italic*, underline, bullet & numbered lists, links, images, quotes — no code.
- The old imported pages that showed raw `<style>`/tab code now show **clean, editable text**. That technical code is hidden from view but kept safely in the background, so the live page still looks identical. A **"Clean code"** button lets you drop it permanently when you're ready.
- **`</>` toggle** switches to raw HTML for advanced edits.

**2. Import from Word (.docx)**
- Click **Word** in the editor toolbar, choose a `.docx` file, and its text comes in cleaned up.
- You can also just **copy-paste from Word or Google Docs** — the messy formatting is removed automatically.

**3. Team & Access (under System in the sidebar)**
- Add logins for your team. Each person is an **Administrator** (full access) or an **Editor**.
- For editors, tick exactly what they may manage: **Pages & sections, Blog posts, Media library, Settings** — and optionally limit them to specific pages only.
- Built-in safety: you can't delete yourself or remove the last administrator.

## How to apply (about 5 minutes) — see DEPLOY-CPANEL.md → "Updating an EXISTING install"
1. Back up your database (phpMyAdmin → Export) and the `ntppa/` folder.
2. Extract this package over your existing `ntppa/` folder (overwrite code; your `app/config.php` is not included, so DB settings stay).
3. In phpMyAdmin, **Import** `database/migrate-users-perms.sql` once.
4. Sign in — open a page to see the editor; open **Team & Access** to add your team.

> Do **not** import `schema.sql` or the old content `.sql` files on a live site — they would reset content. This package deliberately ships only the `migrate-users-perms.sql` step.

© ExpertAims — Consulting · Technology · Outsourcing
