It would be good if there was an option to hide pages/folders when publishing to the BSS hosting. Either as a separate option or by extending the functionality of the current ‘Hide from export’ to do both.
This would enable draft folders or pages to be excluded from the published website be it via BSS publishing or an exported version.
For html pages you can right click the folder or the page in the list and hide them there. I haven’t checked lately to see if folders were added for js and css yet. I know they were planning it. You can hide the js or css the same as html, but the selection list is different in order to accommodate the ability to run them on specific pages. To turn them off for all choose the one that says show on all…except… And choose all the pages.
Hi, Thanks for the info. Yes I’m aware of the hide function but where as it’s hidden from an exported site it’s still included in the site if it’s published to the Bootstrap Studio Site servers.
The other option would be custom publish but that appears to only work for SFTP sites not BS Sites!
I’m looking at the app now and it seems that someting has changed and is missing. I’m sure we were able to hide from export and also for upload. I don’t “think” I was doing custom uploads every time I wanted to not include a page or file.
@Martin, any feedback on this? Something doesn’t look right to me on it.
It is not a bss server issue if you look at the console in the example you will see a 404 error when you try to load a page that not exist that redirect you to a 404 page. The example show that hidden pages are not published
Hi, So I’ve just re-run the test I did a few days ago and the hidden page is no longer being published. So I don’t know if it’s something that’s changed in the latest release or something else was going on with my project file or publishing but it no longer appears to be an issue.
But thanks for your time and discussion which prompted me to re-test
Not a biggie but I just wonder if the menu labels need a tweak to clarify the functionality? maybe instead of ‘Hide in Export’ & ‘Show in Export’ it could be something like ‘Mark as draft’ & ‘Mark as live’ or ‘Mark as Inactive’ & ‘Mark as Active’. With a suitable explanation in the documentation.
The feature states Show/Hide in Export, however hiding doesn’t affect the export of the page at all. The page still gets exported locally.
Maybe it’s not published, I don’t know because I’m not using that function. If, then it should be renamed to something like Don’t publish to make it clear, it’s not affecting the export.
Indeed, when I delete the content of my export folder and export, then those pages are not exported.
However, older versions of those files are left in place in the export folder. Since I run a post-export script, these files were touched and looked like they were exported.