// 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
page-settings-first-level
Screenshot: Page properties in version 10.1

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.

Original post by Fred Hemberger in Sept 2008, updated on 2011-05-10 by Markus

Share and Enjoy:
  • Print
  • email
  • Twitter
  • Digg
  • Reddit
  • StumbleUpon
  • Google Bookmarks
  • del.icio.us
  • MisterWong
  • Facebook
  • LinkedIn

No related posts.

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

8 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
  8. Does this work for Delivery Server publishing as well? I mean, can we include the Delivery Server folder path along with the file name? or does this solution works only for Directory/FTP Publishing?

    Posted by RD Harjai | October 19, 2010, 10:57 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

Recent Tweets

  • RT @AirKraft: Transport Canada breakout: they manage 80K pages and 300K assets with WSM(RedDot). Wow! #OTCW 2010-11-11
  • The RedDot usergroup session 'Future of WCM' is in National Harbor 7, now. See you there! #otcw 2010-11-11
  • RT @yttergren: @AirKraft: Calling all WSM(RedDot) devs: share your solutions on http://bit.ly/bgPIof EVERY solution can win an iPad #OTCW 2010-11-10
  • Come to the Solution Exchange session. Enhance your (#reddot) CMS project! Chesapeake 12, 3:20pm #otcw Looking forward to see you there! 2010-11-10
  • More updates...