Is there any way to easily publish every page on a site?
Use case
Every page uses a common template for a top navigation bar. A change gets made to the top navigation, and now all pages need to be republished to reflect the change.
Problems with Current Solutions
Publish the entire site
Republishing the entire site takes several hours because it includes images and other files such as pdfs. Publishing only the pages would speed up the process considerably, but publishing every page by hand is even more time consuming because I can't work on anything else in the meantime.
Publishing Sets
I see that there are things called "Publishing Sets" in the administration tab, but they seem to require each page to be added individually. Again, this presents the same problem, albeit a one time hassle instead of a regular job. I'm assuming Publishing Sets would also require maintenance because each new page needs to be manually added to the set after it is created.
Please let me know if a solution exists or not, thank you!
Troy
Discussions are closed to public comments.
If you need help with Cascade CMS please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Ryan Griffith on 31 Aug, 2015 01:37 PM
Hi Troy,
If you have Smart Publishing enabled, these file assets should be skipped if they have no been modified since the last time they were published. When you scope out the publish report, you should see these skipped jobs listed in the report.
As you mentioned, Publish Sets are an option, but are generally meant for a smaller number of un-changing assets. If this is more of an ad-hoc publish, what you could do is visit each Content Type, click on it's References tab and publish it's subscribers.
Although still a bit manual, this should help reduce the amount of manual work involved since the number of Content Types is generally small. Optionally, you could use Web Services to obtain the subscribers of each Content Type (
listSubscribers
operation) and publish them programmatically.Please let me know if you have any questions.
Thanks!
2 Posted by Wing Ming Chan on 31 Aug, 2015 01:44 PM
Hi Troy,
If you are interested in using web services, take a look at my library. You can use an asset tree to publish all pages in a folder or a site, for example.
But you may also want to consider using server-side scripting. At Upstate, we embed PHP code in every page so that the global menu, for example, is included by PHP. In this way, I can change anything in the top navigation from the outside, without the need to republish anything.
Wing
3 Posted by Troy Wolters on 31 Aug, 2015 01:54 PM
Hello Ryan and Wing Ming,
Thank you for the information. I published a folder a couple of times to see if Smart Publishing was enabled, and it doesn't appear to be. There were no skipped jobs when publishing the same folder (~150 assets) twice. I'll see about turning that on, thank you. I appreciate the other options too!
Thank you for the suggestion as well, Wing Ming. I think using our current system will be most effective for us for the time being, however.
Troy
4 Posted by Ryan Griffith on 04 Sep, 2015 01:03 PM
Hi Troy,
You can see if Smart Publishing is disabled or not by going to System Menu -> Preferences -> Content, the option is about 3/4 down the page.
Also wanted to note that Smart Publishing is only applicable for File assets that are being tracked by Cascade, so you will see skipped jobs for files such as CSS, JS, images, etc. that are being referenced on the page(s).
Please let me know if you have any questions.
Thanks!
5 Posted by Michael McGinni... on 18 Sep, 2015 01:53 PM
Can't we just add the Base Folder (/) to a Publish Set? That should publish all publishable assets on the site. I ask that because I created such a site-wide Publish Set but it didn't run. Other Publish Sets work, and I can publish the Base Folder manually, though there are issues on some pages when I do that.
6 Posted by Ryan Griffith on 18 Sep, 2015 02:21 PM
Hi Michael,
You can certainly select the Base Folder for a Publish Set, but that's essentially the same thing as publishing the Site. Both can also be configured to be published on a schedule as well.
If the Publish Set didn't work and you were able to manually publish the Base Folder, you may have ran into an issue during publish that prevented the entire publish job to complete. Did you check your publish report for errors?
Thanks!
7 Posted by Michael McGinni... on 18 Sep, 2015 02:31 PM
There was a publish report for when I published the Base Folder manually an hour ago, but no publish report for when the Publish Set was supposed to publish eight hours ago.
I thought publishing the Base Folder was the only way to publish the Site in a Publish Set. My Publish Sets configuration for Cascade Server 7.14.1 only lets me publish folders, files and pages. Is there another way?
8 Posted by Ryan Griffith on 18 Sep, 2015 02:44 PM
Hi Michael,
If you have access to the Site Management area, you can view the Site and use it's Publish tab. Additionally, you can configure the Site to schedule on a publish by editing the Site and checking the Publish on a Schedule option.
Please let me know if you have any questions.
Thanks!
9 Posted by Michael McGinni... on 18 Sep, 2015 03:30 PM
Alas, I don't have access to the Site Management area.
10 Posted by Ryan Griffith on 18 Sep, 2015 03:56 PM
Ah, that would do it. So in your case, you have a two options:
As for the actual issue of the Publish Set not working and no report being sent, I believe you need to configure the scheduled publishing for that Publish Set and choose users/groups to send a report to in order for a report to be generated. Additionally, you can choose whether or not to only send a report when there was an error.
Please let me know if you have any questions.
Thanks!
Ryan Griffith closed this discussion on 24 Sep, 2015 01:03 PM.