hi i was trying for the same.....i copied the link to the localhost:8080/portal/content/mydir/my.file but didn't worked, then i copied the link from the (portlet (there the html signs the file) )
in the user guide say:
Prefix: This is the context path prefix that will trigger the portal to render content. By default, navigating to a URL such as http://localhost:8080/[portal_context]/content/Test.PDF will trigger the portal to display the PDF isolated from the portal pages. The path following the Prefix has to be absolute when fetching content.
What mean this?
I have to create a directory in the CMS manager with the name "content" and on this load the pdf files and then when i want to link to pdf file do i default/content/file.pdf ?
no you dont need to create content folder look at
content is the root folder of the cms....
what i dont understand is how to open it....and how to open a html file of the cms without the portal
Now its works.. just i have a problem with the languaje..for example i put the languaje spanish in my profile.. and if i create a page with the languaje spanish the portlet not deploy the html that i reference like spanish.. the same thing happen if i define a html like spanish in the portlet.xml
how i can resolve this? i need the portal in spanish and need to use written accent which don't work too..
still i need to resolve how download a zip file..
if someone there knows.. please let me know..
If I understood your problem correctly you can't get to CMS Manager.
Otherwise you would find `upload` and `edit` actions there.
I will assume that you have already downloaded and installed JBoss portal 2.2. and you didn't change deployment descriptors. If you don't please download the fresh version (Bundled JBoss Portal) just for this exercise.
1. Start JBoss portal
2. Login using username:admin and password:admin (default admin user)
3. `CMS Manager` page will apper as soon you logged in, click on it
4. Use `CMS Admin` to modify and upload content.
no that's not the problem, i know that, the thing is how to download a zip file or a pdf from the portal...
ie: i create a cms pointing to the cms content at myfile/myindex.html, here i added a link to a pdf i already upload to the cms.. now how can i link to doanload the file or to open it on a new window?
yes noicangi! that is my trouble.. i have file like .pdf .zip in my cms... what i need to do is download the file.zip and open in a new window a file.pdf..
open the file.pdf its works now.. but when i try to download the file.pdf don't down at file.pdf..down like index.html_ctrl_cmd...file.pdf
how i can download a zip file that i have in the portal?
glodo if you can copy the link ref of an example to open a pdf on a new window or a html file please post it....about how to download it....i don't know
ok.. i create a directory "content" in the cms on default\
in there i load all the pdf that i need.. in a html for example use the editor html and put a link to default/content/articule.pdf
what a shame! i hope someone can help us.. please if someone let us know how download a zip file..
thanks glodo for your fast answer ;) i will try what you say
i confirm the pdf work _self and _blank but i upload a .zip and don't apears the firefox or IE windows with the posibility to download...the only way is right clik and save link as...
thanks noicangi.. good point.. i didn't thy that..
now i try like you say..
if someone know how to download a zip file please let us know..
Hi noicangi! how you do to download a zip file?
can you give me the steps?
i try to do.. but doesn't work for me.