An open API service indexing awesome lists of open source software.

https://github.com/backdrop-contrib/url_unpublish

Publish and Unpublish nodes through URL parameters on your Backdrop CMS website
https://github.com/backdrop-contrib/url_unpublish

backdrop backdropcms cms content-management php publish unpublish views

Last synced: 2 months ago
JSON representation

Publish and Unpublish nodes through URL parameters on your Backdrop CMS website

Awesome Lists containing this project

README

        

URL Publish and Unpublish
========

URL Publish and Unpublish enables you to publish and unpublish nodes via a URL.
The URL can either be used in a view or added to a template or block. A
permission is added to use this link and a confirmation form is provided.

Comparison to Publish Content
-----------------------------

- This module has a similar function to [Publish Content](https://backdropcms.org/project/publishcontent) in that it can provide links to Views.
- This module does not offer the granular permission of Publish Content.
- This module does offer a URL that can be used in other places such as blocks or
templates.

Installation
------------

- Install this module using the official Backdrop CMS instructions at
https://docs.backdropcms.org/documentation/extend-with-modules.

Usage
-------------

Link in template or block:
- Simple link to unpublish node 15
```html
Unpublish Node
```
- Use more advanced dynamic functions to dynamically include the node ID.

Link in view:
- Click to add a new field
- Search for publish or unpublish and select either:
- Content: Publish link
- Content: Unpublish link
- You can optionally add this to the Global Dropbutton; just rearrange so the
link(s) are before the dropbutton.
- You can optionally use Views Conditional to hide and show these links
depending on the status of the node.

Issues
------

Bugs and Feature Requests should be reported in the Issue Queue:
https://github.com/backdrop-contrib/url_unpublish/issues.

Current Maintainers
-------------------

- [Martin Price](https://github.com/yorkshire-pudding) - [System Horizons](https://www.systemhorizons.co.uk)
- Collaboration and co-maintainers welcome!

Credits
-------

- Ported to Backdrop CMS by - [Martin Price](https://github.com/yorkshire-pudding) - [System Horizons](https://www.systemhorizons.co.uk).
- Port sponsored by [System Horizons](https://www.systemhorizons.co.uk).
- Originally written for Drupal by [John Youssef](https://www.drupal.org/u/compujohnny)
- Original development sponsored by [JesoX](https://www.drupal.org/jesox)

License
-------

This project is GPL v2 software.
See the LICENSE.txt file in this directory for complete text.