Skip to content

About

A DjangoCMS plugin (for TACC Core CMS) to export page content.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Texas Advanced Computing Center

Django CMS App: "Export Page"

This app exports rendered draft CMS page content (placeholder plugin tree) to DOCX, with optional Google Drive export planned for a later phase.

  • Distribution Name: djangocms-tacc-export-page
  • Package Name: djangocms_tacc_export_page
  • Class Name: TaccsiteExportPage
  • App Name: "Export Page"

See docs/plan-core-cms-export-page.md for Phase 2 (Google Drive) and long-term scope.

Quick Start

  1. Follow (wiki) Usage Quick Start.

Usage

  1. Open /admin/cms/page.
  2. Find a page to export.
  3. Click the ☰ toolbar button for that page.
  4. In menu, click "Download" action.
  5. Verify .docx file:
    • renders text content
    • supports headings and basic formatting
    • renders images
download one via Page menu download many via Page menu
download one via page menu download many via page menu
download one via Page toolbar
download one via page toolbar
example source page example output docx
example source page example output docx

Features

  • Export content of page (and child pages) as .docx

Planned

  • Save to Google Drive (via user OAuth) (reference)

Permissions

Only superusers and staff users who can edit a page can export that page’s draft content.

Why?

Because toolbar, page-tree, and the export URL all use django CMS change page permission. So staff without edit access on a page do not see the actions and cannot download via the admin URL.

About

A DjangoCMS plugin (for TACC Core CMS) to export page content.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages

Generated from TACC/Django-App