Ecosyste.ms: Awesome

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

https://github.com/robhabraken/sitecore-power-publish

Sitecore Publish functionality improvements and extensions by Rob Habraken
https://github.com/robhabraken/sitecore-power-publish

Last synced: 3 months ago
JSON representation

Sitecore Publish functionality improvements and extensions by Rob Habraken

Lists

README

        

Sitecore Power Publish
======================

Sitecore Publish functionality improvements and extensions for Sitecore by Rob Habraken. This module works on Sitecore version 6.4 and up and is tested and proved for all versions up to Sitecore XP version 8.0 Update 1.

### Power Publish ###

First of all, this publish button will force the item being published, regardless the state of the Publishable option on the Item tab in the Publish restrictions, so you can use it to publish items that you've unpublished via the Unpublish button of this add-on (it does respect other Publishing restrictions and Worflows though). But more importantly, this publish button also publishes all resources used by the current item. So if you've included media items like an image or a PDF, but forgot to publish them, clicking this button will also publish those items. It even works if you've publised the media item itself, but forgot to publish its parent folder...

This function will not publish linked pages in your site that are not published, but only resources like media library items and data sources used in item fields, as those are needed to display the item you want to publish correctly. This method even publishes the templates and layouts used by the current item, if that's not done yet.

If you are using Sitecore 7 or 8, this also works for datasource field values, as they are represented by GUIDs from version 7.0 and up. Older versions of Sitecore store datasources as plain text, hence they are not noted as a reference by Sitecore and thus this plugin will not have any effect on those items.

### Unpublish ###

This button enables you to unpublish an item with a single click. It will change the Publish Restrictions as it unchecks the Publishable option on the Item tab and publishes the item after that, using a full Republish without Subitems.

### Publishing State ###

This gallery button shows the publishing state for all publishing targets. If a publishing target is up-to-date, a green dot is shown. If the item is published to a publishing target, but the item has changed afterwards, an orange dot is shown (so it's published, but not up-to-date). If the current item is not present in a publishing target at all, a red dot is shown. This function enables the content editor to check into detail if the content is published or not, for every publishing target.

## Release notes ##

* 0.3 - Initial release
* 0.4 - Added Power Publish and Unpublish button to the Page Editor
* 0.5 - Fixed bug that already published references aren't published again and added Publishing State gallery button
* 0.6 - Added backwards compatibility for versions 6.4 and up
* 0.7 - Added multi-language support
* 0.9 - Tested on Sitecore XP 8 and tested workflow compatibility

## Feature requests ##

* (Optionally) publishing via the Smart Publish option instead of a Full Republish to speed up the publishing process.
* Add a progress indicator to see how many items are being published and to follow its progress.

## License info ##

Copyright (C) 2015 Rob Habraken

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.