SimplCommerce
SimplCommerce copied to clipboard
Create/Edit page missing way to mark the page as unpublished
Create/Edit page missing way to mark the page as unpublished or published. It shows only on the Pages list in a column and there is no way to update it.
I mean on the static content pages, on the list you can see the published status, but when you edit or create individual pages, there is no way to change this status.
I added it for myself by updating the model and page-form.html in the SimplCommerce.Module.Cms module, but it seems counterintuitive that it's not already there.
If you want to work on some static page, before publishing it...
Below is what I added in page-form.html
<div class="form-group">
<label class="col-sm-2 control-label">{{::vm.translate.get('Is Published')}}</label>
<div class="col-sm-10">
<input type="checkbox" name="isPublished" ng-model="vm.page.isPublished" class="form-control" />
</div>
</div>
https://snipboard.io/bgiDFx.jpg https://snipboard.io/IZOEHk.jpg https://snipboard.io/dl7j85.jpg https://snipboard.io/lKa09x.jpg https://snipboard.io/vNuLxC.jpg
Sorry, I just removed my last comment, coz I confused with another project :)
@dom2049 Can you check in your changes and do a pull request?