screenshot.png

This module allows users to unpublish content using a url placed anywhere in a Drupal site

Basically all you have to do the following:

To unpublish a node whose nid is 15 use the following code:

<a href="<?php print base_path().'url_unpublish/15';?>">Unpublish Node</a>

You will be redirected to an unpublish confirmation page, and once you click unpublish the node will be unpublished

You can use the code in your views, blocks or any part of the site

To unpublish nodes without leaving the current page do the following:

  • Install the Popups module
  • Add content selector to your theme correctly as explained in the Popups module readme file
  • Add the "popups-form" class you your url

<a href="<?php print base_path().'url_unpublish/15';?>" class="popups-form">Unpublish Node</a>

Your nodes will be unpublished and the page automatically updated using ajax without refreshing the page

This module was developed and sponsored by JesoX

Downloads

Recommended releases

Version Downloads Date Links
7.x-1.1 tar.gz (7.54 KB) | zip (7.99 KB) 2012-May-11 Notes
6.x-1.1 tar.gz (6.5 KB) | zip (7.01 KB) 2010-Jan-16 Notes

Development releases

Version Downloads Date Links
7.x-1.x-dev tar.gz (7.58 KB) | zip (8.03 KB) 2012-Dec-14 Notes

Project Information


Maintainers for Url Unpublish

  • Shereen Adel - 1 commit
    last: 22 weeks ago, first: 22 weeks ago
  • compujohnny - 4 commits
    last: 1 year ago, first: 3 years ago

Issues for Url Unpublish

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Statistics (2 years)
New issues
Open bugs
Participants
nobody click here