// you’re reading...

CMS

Publishing page to subfolder


Michael posted a very nice tip in the German RedDot Usergroup forum: When you want to publish all pages of a certain SmartTree branch to a separate folder (e.g. all news pages into yourdomain.com/news/) and assign a publication package to the navigation list, the parent page of this branch still gets published to the folder level above.

You can publish the news door page into the news-folder by simply including the path before the file name (see “page properties”): news/index.html

Note: Your Windows RedDot user must have write access to all sub folders inside the CMS directory to create the news-folder in his temporary publishing path, otherwise the page doesn’t get published.

Share and Enjoy:
  • Print
  • email
  • Twitter
  • Digg
  • Reddit
  • StumbleUpon
  • Google Bookmarks
  • del.icio.us
  • MisterWong
  • Facebook
  • LinkedIn
Related posts:
  1. Duplicate content publishing – SEO and Open Text Web Solutions
  2. Getting a Page Preview from outside the CMS
  3. Debugging PreExecute ASP – Reloaded
  4. Two free RedDot CMS plugins – CMS User Chat & Batch Publish
  5. RQL Check if connected editor is in a user group

About the author:

Frederic Hemberger Frederic Hemberger lives in Cologne, Germany where he works as a technical consultant and senior RedDot developer. After years of studying the ancient and mysterious ways of content management, he acquired the black belt of RedDot-fu. After teaching many students in the weird ways of the Dot, he retreated to the old misty mountains to meditate. Legends tell that he finally reached the mysterious state of IoRangeNoRedDotMode.

Discussion

7 comments for “Publishing page to subfolder”

  1. You need to set the path inside the filename? Awesome :)

    Where’s the grumpy fred from last weekend?
    ;)

    Posted by markusgiesen | August 28, 2008, 9:55 pm
  2. Ah! That’s absolutely brilliant. We’ve been looking for a workaround to that little navman flaw.

    Reddot UK told us there wasn’t anything we could do…

    Posted by Paul Smith | September 1, 2008, 12:26 pm
  3. [...] of weeks ago, Paul pointed me to an entry on the “Unofficial RedDot CMS Blog” – “Publishing page to subfolder” – which would seem to be both a simple *and* elegant solution. Basically, just modify the [...]

    Posted by Adrian Mateljan » Blog Archive » Navigation Manager and Index Pages | September 18, 2008, 11:31 pm
  4. This is not working. I get an error in the publishing logs that the path is not found when I add news/index.html to the properties. Any suggestions?

    Posted by JP | February 23, 2009, 10:31 pm
  5. You have to create this folder in the temporary publishing path (ASP\RedDotTemp\[Project-GUID]\[Language variant-GUID]\yourfolder) first. It’s a bit complicated, I know. It’s just a proof of concept.

    Posted by Frederic Hemberger | March 11, 2009, 9:39 am
  6. Seeing that you have to create a temp folder for this to work. Is there at any stage that the CMS might delete the temp folders manually created?

    Posted by Quoc Hoang | March 17, 2009, 6:27 pm
  7. If you hit “Delete reference directory” on your publishing target, all temp folders should be gone.
    But you could create a batch script which checks for the folders (and recreates them) and run it as a scheduled task.

    I know, this whole method is not the best solution, but it’s definetely better than nothing.

    Posted by Frederic Hemberger | March 18, 2009, 2:22 pm

Post a comment



Stay up to date! - Get notified about followup comments

If you don't feel the urge to comment but wish to stay in the loop:
Just enter your email and subscribe to new comments.

Subscribe without commenting

Shoutbox, have your say!

Recent Tweets