12 Replies Latest reply on May 24, 2006 12:45 PM by silicio

    root folder of CMS (what is that)

      Hi
      This may be a very naive question. But I would like to ask what is the root folder of CMS?

      I am trying to create a gallery folder in the root folder of CMS and I cannnot figure out which one!!

      thanks for helping me out

        • 1. Re: root folder of CMS (what is that)
          gator

          Hi Ilangocal,

          Out of the box, I would say the root folder for the CMS looks like this:

          http://localhost:8080/portal/content/

          under there you will see the "default" directory. If you want to see
          a image in the default directory you would enter a URL like:

          http://localhost:8080/portal/content/default/images/check.gif

          You should be able to create a "gallery" folder using the CMS Admin
          tool and upload images using this tool. You need to login as "admin"
          password "admin" before you will see this tool.

          The imagegallery uses URLs like the following to link to the images
          you upload:

          /portal/content/gallery/thumbnails/desert.jpg

          Hope this helps

          • 2. Re: root folder of CMS (what is that)

             

            "gator" wrote:
            Hi Ilangocal,

            Out of the box, I would say the root folder for the CMS looks like this:

            http://localhost:8080/portal/content/

            under there you will see the "default" directory. If you want to see
            a image in the default directory you would enter a URL like:

            http://localhost:8080/portal/content/default/images/check.gif

            You should be able to create a "gallery" folder using the CMS Admin
            tool and upload images using this tool. You need to login as "admin"
            password "admin" before you will see this tool.

            The imagegallery uses URLs like the following to link to the images
            you upload:

            /portal/content/gallery/thumbnails/desert.jpg

            Hope this helps


            Thanks a lot. I am going to try this out today

            • 3. Re: root folder of CMS (what is that)

               

              "gator" wrote:
              Hi Ilangocal,

              Out of the box, I would say the root folder for the CMS looks like this:

              http://localhost:8080/portal/content/

              under there you will see the "default" directory. If you want to see
              a image in the default directory you would enter a URL like:

              http://localhost:8080/portal/content/default/images/check.gif

              You should be able to create a "gallery" folder using the CMS Admin
              tool and upload images using this tool. You need to login as "admin"
              password "admin" before you will see this tool.

              The imagegallery uses URLs like the following to link to the images
              you upload:

              /portal/content/gallery/thumbnails/desert.jpg

              Hope this helps


              ---------------
              I created a 'gallery' folder in the following directory:(the 'root' folder of CMS)

              I did not know clearly what this root folder meant, but I went ahead and
              created the 'gallery' folder under
              C:\jbossPortal\jboss-portal.sar\portal-cms.sar\portal\cms\conf\default-content\default

              I took the 'portal-cms.sar' directory as the root folder of CMS. (Maybe I am wrong?)

              Then I drop this folder into /server/default/deploy of JBoss directory.

              I also drop the image gallery ear file into the same directory and see what happens.

              JBoss says that it deployed the ear and but when I navigate to the CMS manager (after I bring up the Portal on http://localhost:8080/portal) I cannot navigate to 'gallery'. (I only see ROOT FOLDER and default and images underneath).

              No upload takes place..

              I am going to try out something that one of the folks out here told me to try..

              But any suggestions, feedback, comments or workarounds are welcome and are gratefully acknowledeged.
              Thanks to everybody's time







              • 4. Re: root folder of CMS (what is that)

                Follow these steps before you try anything else:

                1. Point your browser to 'http://localhost:8080/portal'.

                2. Select 'Standard login' and login as 'admin' with password 'admin'.

                3. Go to the 'CMS Manager' tab.

                4. You will see an icon that symbolizes a folder being created. Click that.

                5. Make sure that you are at the root directory ('/'). Create the folder named 'gallery'.

                6. Navigate to the 'gallery' folder. Click on the icon that symbolizes a 'zip' file being uploaded. Find 'images.zip' on your local file system and upload that.

                7. Navigate to the 'gallery' folder again. Click on the icon that symbolizes a 'zip' file being uploaded. Find 'thumbnails.zip' on your local file system and upload that.

                • 5. Re: root folder of CMS (what is that)

                   

                  "conkan" wrote:
                  Follow these steps before you try anything else:

                  1. Point your browser to 'http://localhost:8080/portal'.

                  2. Select 'Standard login' and login as 'admin' with password 'admin'.

                  3. Go to the 'CMS Manager' tab.

                  4. You will see an icon that symbolizes a folder being created. Click that.

                  5. Make sure that you are at the root directory ('/'). Create the folder named 'gallery'.

                  6. Navigate to the 'gallery' folder. Click on the icon that symbolizes a 'zip' file being uploaded. Find 'images.zip' on your local file system and upload that.

                  7. Navigate to the 'gallery' folder again. Click on the icon that symbolizes a 'zip' file being uploaded. Find 'thumbnails.zip' on your local file system and upload that.



                  Hi
                  I tried your instructions to the letter. When I thought the gallery portal would be created the page goes blank. And then I discover no gallery folder there.

                  Is there something wrong in what I am doing, or am I missing something?

                  thanks a lot

                  • 6. Re: root folder of CMS (what is that)
                    noicangi

                    maybe your uploading the zip file as a file and not as an archive, check that.

                    i have a question, when you upload a big amount of photos the cms gets slow, it gets about 20 seconds to show. any recomendation?

                    • 7. Re: root folder of CMS (what is that)

                      What errors did you get?

                      You might have goofed up the CMS by manually inserting images and other
                      things into 'portal-cms.war'. Keep in mind that the jboss server looks at everything in 'server/default/deploy', and it tries to execute or initialize anything in that directory.

                      • 8. Re: root folder of CMS (what is that)
                        silicio

                        I join to this post to ask why I can't download my files, previously uploaded by CMS Admin !?
                        In browser I put the path name http://localhost:8080/portal/content/prova.txt or http://localhost:8080/portal/content/default/prova.txt to try to download prova.txt file uploaded as simple file (no zip) into the CMS default root directory...
                        Where I make mistake?

                        • 9. Re: root folder of CMS (what is that)

                          I know that you could download files with webdav. (WebDav is in portal 2.0 and portal 2.4, but not in portal 2.2.)

                          I do not know of any way to download from CMS. You need to modify the CMS portlet under org.jboss.portal.core.portlet.cms.admin.CMSAdminPortlet in order to make this work. Otherwise, you could use the 'save as' option in your browser. If you use Mozilla Firefox, go to File->"Save Page As".

                          • 10. Re: root folder of CMS (what is that)
                            silicio

                            I've tried both Firefox and Internet Explorer, clicking on the eye and file name and selecting "save as" but it download an index.html file for 2.2 and CMSAdminPortletWindow.htm for 2.4 but not the file i would...

                            How can I download by webdav? is it protocol?

                            • 11. Re: root folder of CMS (what is that)

                              >I've tried both Firefox and Internet Explorer, clicking on the eye and file
                              > name and selecting "save as" but it download an index.html file for 2.2 and
                              > CMSAdminPortletWindow.htm for 2.4 but not the file i would...

                              Go to 'http://localhost:8080/portal/content/prova.txt' and select "save as".

                              If you are interested in webdav, see the portal 2.0 and portal 2.4 documentation and this website:

                              http://wiki.jboss.org/wiki/Wiki.jsp?page=ManageJBossPortalCMSContentViaExternalEditor

                              • 12. Re: root folder of CMS (what is that)
                                silicio

                                I follow your instructions but got a blank portlet...

                                [url='http://img234.imageshack.us/my.php?image=jbossportal8pv.jpg'][img=http://img234.imageshack.us/img234/664/jbossportal8pv.th.jpg][/url]

                                I've tried also to add network resource using windows webDav (running 2.4 verision. If i've understood, i've to add a new network resource, putting the URL for hibernate repository that would be http://localhost:8080/webdav/files or http://localhost:8080/portal/content), adding http://localhost:8080/webdav/files and http://localhost:8080/portal/content... but doesn't work, it returned an error saying that that directory doesn't exist..