-
1. Re: I'm not able to access CMS content
peterj Oct 10, 2007 1:15 PM (in response to br4wn)OK, this is weird.
If I enter the url http://localhost:8080/portal/content/default/images/logo.gif, all I get is the logo. Which is all I really want.
But if I enter the url http://localhost:8080/portal/content/default/project.html. I get the full portal home page with the CMS portlet displaying the "default/project.html" content.
As far as I can tell, whenever I ask for an HTML file, I get the whole home page, but for any other file type I get only that file (I tried various image files, and doc files).
By the way, I am using 2.6.2. Br4wN, you never said which Portal version you are using. -
2. Re: I'm not able to access CMS content
soshah Oct 10, 2007 1:22 PM (in response to br4wn)Peter-
This is by design. The way CMS Portlet works is that if its HTML content it is displayed in the context of a Portal with the (Theme, the Page, and inside a CMS Portlet Window).
For other content types, they are treated as stream commands, and those are fetched minus the Portal aggregation. Examples of such content is images, stylesheets, other binary files etc
Thanks -
3. Re: I'm not able to access CMS content
peterj Oct 10, 2007 1:25 PM (in response to br4wn)Thanks, Sohil. That is good to know. And it makes sense.
-
4. Re: I'm not able to access CMS content
br4wn Oct 10, 2007 5:13 PM (in response to br4wn)PeterJ i'm using 2.6.2 too...
By the way now i'm able to reach contents (the wrong was the usage of /content context instead of /portal/content... the documentation is not very very clear).
Thank you! -
5. Re: I'm not able to access CMS content
dashaun Nov 2, 2007 7:15 PM (in response to br4wn)Shouldn't there be a parameter that I can pass to the cmsportlet so that it doesn't wrap the entire content?
I want to show content from the CMS (localized) inside of another JSP page.
This would allow me to have my instructions and descriptions editable via the CMS and displayed along with my functionality. -
6. Re: I'm not able to access CMS content
dashaun Nov 5, 2007 1:11 PM (in response to br4wn)As far as I can tell, there is no parameter to turn off the decoration of mime type text/html.
What would be the best process to allow for the addition of a "decorate=false" paramter to be sent to the content portlet in order to have text/html rendered without the extra page decoration/theme.
Keep in mind I still want the content portlet to strip the html/head/body tags. -
7. Re: I'm not able to access CMS content
ssidhanta Jul 8, 2008 7:52 AM (in response to br4wn)Hi,
I have copied a ".gif", file to the D:\jboss\server\default\deploy\jboss-portal.sar\portal-cms.sar\portal\cms\conf\default-content\default folder. But I cannot view this file from the jBoss content management portlet.
But I can view the default logo.gif file using the url http://localhost:8080/portal/content/default/images/logo.gif.
Please guide me.
None of the jBoss documentations in the web helped.
Thanks in anticipation. -
8. Re: I'm not able to access CMS content
soshah Jul 8, 2008 9:46 AM (in response to br4wn)
I have copied a ".gif", file to the D:\jboss\server\default\deploy\jboss-portal.sar\portal-cms.sar\portal\cms\conf\default-content\default folder.
You need to upload the gif file using the CMS Admin tool instead of copying it directly into the default-content folder. Without that you will be missing the meta data used by JackRabbit and hence wont be able to use the file correctly
Thanks