// you’re reading...

Plugins / Extensions

RedDot UI: Check Filename


Here is yet another user interface extension for you: Assigning file names in RedDot can be a bit tricky – if you choose the same name twice and both pages are published to the same directory, one file overwrites the other (depending on which file gets published first). This extension allows you to check for duplicate file names.

The setup is quite easy:

  1. Install the extension and put its link into your masterpages (documentation is included in the archive)
  2. Assign a filename to your current page
  3. Click the “Check Filename” link to see if the name has already be taken.

That’s all, folks!

Update

With Version 1.1, there are two different operation modes: A HTML popup (default) and a direct text output for AJAX calls. Additionally, you can also check if the given file name is valid (contains only chars, numbers, hyphens, underscores and periods) – no spaces, umlauts or other characters a web server might have problems with.

Download

Latest version can be downloaded/forked at GitHub

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

6 comments for “RedDot UI: Check Filename”

  1. Hi Frederic,

    nice plugin – but i have some little suggestion for youre next release ;)

    Is it possible to add some simple check for the pagename ?
    like if the pagename is “valid” html filename (like no spaces or german umlaute) ?

    THX!

    Posted by Meiky | November 10, 2008, 3:54 pm
  2. Hi – just downloaded this plugin, but there is no xml definition file included. How do I install it?

    Posted by Johno | July 23, 2009, 4:02 pm
  3. Why don’t you take a look at the included README.txt? ;)

    Posted by Frederic Hemberger | July 25, 2009, 8:57 pm
  4. Doh! I assumed all plugins needed an xml file as well. Ta. :-)

    Posted by Johno | July 28, 2009, 1:24 pm
  5. Is there any possibility of this plugin being updated to work with v10? We’ve become quite reliant on it but v10 seems to have changed how the values it uses are specified.

    Posted by AntonyG | May 28, 2010, 1:12 pm
  6. The RQL part of this plugin is quite simple, so this shouldn’t be the problem.
    So you just have to ask OT for an update of the RQL documentation (or go through the release notes of the v10 builds) to figure out what has changed.

    Posted by Frederic Hemberger | May 28, 2010, 2:14 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...