Jeff Wallace
Jun 30, 2011
  3233
(3 votes)

CMS 6 R2 “File explorer” Page Type

Based on CMS 6 R2

A partner recently inquired about the “File explorer” Page Type that used to be in the CMS 5 Public Templates and it’s availability in CMS 6.  My understanding is that we removed it, or did not include it, in the Alloy Technologies Templates.  However, it seemed that this would be simple enough to add so I looked into it and confirmed this to be true.  Here’s what I did:

1) Exported the Page Type definition from a CMS 5 site

2) Copied the FileManager.aspx, FileManager.aspx.cs, and FileManager.designer.cs from the CMS 5 sites Visual Studio project over to my CMS 6 R2 site

3) Updated the FileManager.aspx to point to the right Master Page and User Controls and updated the TagPrefix on the user controls to “AlloyTech” to keep things clean

4) Compiled

5) Imported the previously exported Page Type definition for the “File explorer” into my CMS 6 R2 site

6) Created a new page and set the desired folder path that I wanted to use for the page

7) Tested

8) Smiled

image

Figure 1 – Create new File explorer Page Type

image

Figure 2 – The rendered page

 

Nothing groundbreaking here, but I figured I’d share in case I can save anyone else some cycles.  The necessary code files and export file can be found here

 

This code is provided “as is” without warranty or guarantee of, well, anything actually.  Winking smile  Use at your own risk.  Good luck and enjoy!

Jun 30, 2011

Comments

Please login to comment.
Latest blogs
Opti ID overview

Opti ID allows you to log in once and switch between Optimizely products using Okta, Entra ID, or a local account. You can also manage all your use...

K Khan | Jul 26, 2024

Getting Started with Optimizely SaaS using Next.js Starter App - Extend a component - Part 3

This is the final part of our Optimizely SaaS CMS proof-of-concept (POC) blog series. In this post, we'll dive into extending a component within th...

Raghavendra Murthy | Jul 23, 2024 | Syndicated blog

Optimizely Graph – Faceting with Geta Categories

Overview As Optimizely Graph (and Content Cloud SaaS) makes its global debut, it is known that there are going to be some bugs and quirks. One of t...

Eric Markson | Jul 22, 2024 | Syndicated blog

Integration Bynder (DAM) with Optimizely

Bynder is a comprehensive digital asset management (DAM) platform that enables businesses to efficiently manage, store, organize, and share their...

Sanjay Kumar | Jul 22, 2024

Frontend Hosting for SaaS CMS Solutions

Introduction Now that CMS SaaS Core has gone into general availability, it is a good time to start discussing where to host the head. SaaS Core is...

Minesh Shah (Netcel) | Jul 20, 2024

Optimizely London Dev Meetup 11th July 2024

On 11th July 2024 in London Niteco and Netcel along with Optimizely ran the London Developer meetup. There was an great agenda of talks that we put...

Scott Reed | Jul 19, 2024