How to create .asp folders?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Louise06
    New Member
    • Feb 2007
    • 26

    How to create .asp folders?

    Hi there,

    I am working with a Content Management System - CMS (ASP.net solution).

    I would like to create .asp folders which could contain documents stored in the CMS.

    Thanks for advising me.

    L.
  • DrBunchman
    Recognized Expert Contributor
    • Jan 2008
    • 979

    #2
    Hi Louise,

    I'm not sure what it is you're trying to do...what do you mean by .asp folders?

    You say you are working with a .NET solution but .asp files are Classic ASP files - can you confirm which you are using?

    Dr B

    Comment

    • Louise06
      New Member
      • Feb 2007
      • 26

      #3
      Thanks.

      Basically, users save documents in the CMS which are located in folders.
      Those folders are displayed in a collapsible and / or static tree in an Intranet Documents page.

      My aim is to display one or many folders of this tree in other Intranet pages where it is relevant to place them.

      Thanks for advising

      Louise

      Comment

      • DrBunchman
        Recognized Expert Contributor
        • Jan 2008
        • 979

        #4
        As long as you know where these documents are located and you can grant the required permisisons then you will be able to create your own pages to browse the folder structure. Are your own pages going to be written in ASP.NET or Classic ASP?

        Is something like this the sort of thing you were thinking of for displaying the file structure?

        Dr B

        Comment

        • Louise06
          New Member
          • Feb 2007
          • 26

          #5
          Thanks for this useful link.

          In my case, the .asp tree is built already.

          What I would like to do is to fragment it.

          If we consider the link you sent me:

          -I want to create an HTML page called "Personal Folders", then somewhere in this page, I would like the folder called "Personal Folders" to appear only without the rest of the tree because the HTML page in question is about a topic talking about Personal Folders.

          Thanks for your thoughts.

          Louise

          Comment

          • jeffstl
            Recognized Expert Contributor
            • Feb 2008
            • 432

            #6
            Originally posted by Louise06
            Thanks for this useful link.

            In my case, the .asp tree is built already.

            What I would like to do is to fragment it.

            If we consider the link you sent me:

            -I want to create an HTML page called "Personal Folders", then somewhere in this page, I would like the folder called "Personal Folders" to appear only without the rest of the tree because the HTML page in question is about a topic talking about Personal Folders.

            Thanks for your thoughts.

            Louise
            I don't understand. Is this a programming question or are you asking how to make an HTML page? The page you describe with a folder appearing at the top and the name? Are you wanting to get that folder name dynamically basically?

            So you can make 1 .asp page to handle all folder "topics"?

            Just make a FolderPage.asp that handles the querystring for the folder name.

            Like FolderPage.asp? name=Personal+F olders

            Code:
            dim FolderName
            FolderName = request.querystring("name")
            
            'then later in your page wherever you need the name
            
            <%=FolderName%>

            Comment

            • DrBunchman
              Recognized Expert Contributor
              • Jan 2008
              • 979

              #7
              I am also a bit confused about this one.

              Would I be right in saying that you want to build an html page that displays only the part of the tree (which resides on another page somewhere) that you are interested in?

              If so then doing so would depend on how the page that contains the tree worked.

              I would have thought it would be easier to generate your own tree looking at the relevant parts of the file system.

              Dr B

              Comment

              • Louise06
                New Member
                • Feb 2007
                • 26

                #8
                Originally posted by DrBunchman
                I am also a bit confused about this one.

                Would I be right in saying that you want to build an html page that displays only the part of the tree (which resides on another page somewhere) that you are interested in?

                If so then doing so would depend on how the page that contains the tree worked.

                I would have thought it would be easier to generate your own tree looking at the relevant parts of the file system.

                Dr B
                Hi Dr B,

                Thanks

                "Yes. If so then doing so would depend on how the page that contains the tree worked." :
                All documents are stored in a CMS (admin system) where users can create folders, sub-folders...and upload MS Documents. Then the Documents tree is automatically generated in one Intranet page.

                FYI, a programmer sent me the link of a document saved in the tree:

                <a class="ctl22_Co llapsible1_tree Documents_0 ctl22_Collapsib le1_treeDocumen ts_1 ctl22_Collapsib le1_treeDocumen ts_5" href="/default.aspx?ap pid=2763&amp;fi leid=1614" target="_blank" onclick="javasc ript:TreeView_S electNode(ctl22 _Collapsible1_t reeDocuments_Da ta, this,'ctl22_Col lapsible1_treeD ocumentst7');" id="ctl22_Colla psible1_treeDoc umentst7"><img src="/images/icons/doc.png" align="absmiddl e" border="0"> Consultation Report.doc<br>2 7/03/07</a>

                Thanks for your advice!

                L

                Comment

                Working...