1.2.1releasedPublish Button

A button that toggles an entry's published-state and allows authors to preview unpublished entries on the live site.

Clone URLhttps://github.com/pixelninja/publishbutton.git

Add as a submodulegit submodule add https://github.com/pixelninja/publishbutton.git extensions/publishbutton --recursive

Compatibility

2.x.x2.1.x2.2.x2.3.x2.4.x2.5.x2.6.x2.7.02.7.12.7.22.7.32.7.42.7.52.7.62.7.7
NoNoNoNoNoNoNo1.2.11.2.11.2.11.2.11.2.11.2.11.2.11.2.1

Readme

Publish Button

A button that toggles an entry's published-state and allows authors to preview unpublished entries on the live site.

Installation

  • Upload the /publishbutton folder to your Symphony /extensions folder.
  • Enable it by selecting 'Publish Button', choose 'Enable' from the with-selected menu, then click 'Apply'.

Usage

When this field is added to a section, a new button will appear on its entries pages. This Publish Button will allow an author to toggle the published-state of an entry between "Published" and "Unpublished". Behind the scenes the button acts like a normal checkbox and translates these states to simple yes and no values which then can be used to filter your entries in data-sources.

When the user is logged in to Symphony, the value used for filtering and XML output will always be yes. This allows the author to create/edit an entry (like an article) and preview it on the live site without the public seeing it.

Compatibility

Publish button plays nicely together with the Ajax Checkbox extension (Version 1.5.0 and up) which adds the possibility to easily toggle the published-state directly in the section's index/table view.

Version history

Requires Symphony 2.7.x

  • Added Links to the meta.xml
  • Unified version numbers in meta.xml
  • Extended readme

Requires Symphony 2.7.x

  • Fix bug where authors and managers wouldn't see the button

Requires Symphony 2.7.x

  • Make sure JS is executed after window load

Requires Symphony 2.7.x