-
1. Re: URL to access content into CMS Portlet
peterj Aug 2, 2007 11:53 AM (in response to tufla)Assume that in CMS you create a directory named mystuff, and under there a directory named images, and in that directory place a file named logo.gif.
Use the following HTML to access that image:<img src="/portal/content/mystuff/images/logo.gif" />
-
2. Re: URL to access content into CMS Portlet
tufla Aug 2, 2007 12:47 PM (in response to tufla)Thank you Peter, but I need another thing...
If I have a page called "mypage.html" into "mystuff" directory into the CMS; and additionally, I have a CMS window into a page called "PageObject" into my object's structure portal.
How should be the URL to call it ?
http://mysite:8080/portal/myportal/PageObject(??????)
to be able to include mypage.html into the CMS window into my PageObject ...???
It's clear my doubt ??? -
-
4. Re: URL to access content into CMS Portlet
tufla Aug 2, 2007 1:06 PM (in response to tufla)That works, but the page is showed into the default portal with its layout, etc...
I need that mypage will showed into my portal, with my own layout and theme...but I don't know how...and if I use into the url something like:
http://mysite:8080/portal/[myportal]/content/mystuff/mypage.html
It doesn't work. -
5. Re: URL to access content into CMS Portlet
dexxa Aug 2, 2007 1:18 PM (in response to tufla)Hi Tufla,
I was trying to do the same thing you are. From what I undersatnd from JBOSS this is not possible. All non-HTML files will be rendered in a separate browser window but any html files will be rendered as part of the entire portal page. This is by design. -
6. Re: URL to access content into CMS Portlet
peterj Aug 2, 2007 1:20 PM (in response to tufla)I think I am beginning to understand now. You want a link that displays your portal page that contains the CMS portlet that shows your content.
Assuming your portal is named myportal, and the CMS portlet is on a page named MyPage, then try:
http://mysite:8080/portal/portal/myportal/MyPage -
7. Re: URL to access content into CMS Portlet
peterj Aug 2, 2007 1:26 PM (in response to tufla)I had another thought. Are you saying that you would like to be able, within a URL, specify what content is shown in the CMS Portlet that is on your page? If so, that is not possible with the existing CMS Portlet because it displays content based on the preferences. It should be very easy, though, to create a new CMS portlet that does this - make a copy of the existing CMS portlet and modify it to use parameters in the URL.
-
8. Re: URL to access content into CMS Portlet
tufla Aug 2, 2007 3:29 PM (in response to tufla)OK, I understand, I'll try modifying the portlet ...thank you so much !!!