-
1. Re: Link paths in CMS content
roy.russo Aug 28, 2006 6:47 PM (in response to peterj)Im aware of this issue. Its actually a task in jira for me, and has to do with the cms not understanding relative urls. The CMS is fine in this respect, but the problem lies in the WYSIWYG editor that needs a root path for the images and links.
Hopefully I can get this done in 2.6, but it will require some hacking of the editor's javascript. -
2. Re: Link paths in CMS content
peterj Aug 28, 2006 7:15 PM (in response to peterj)Actually, one thing that I tried was this:
I created a simple html page that references an image and two other files. The page showed just fine when I double-clicked on the html file. Zipped up the files without any base directory. I then created a directory in the CMS Admin and uploaded the files into that directory. Of course, that new directory is not in any of the relative URLs and thus none of the links, or the image reference, work.
In this case, I never got near the HTML editor built into the CSM Admin.
But you got me thinking about if what I did would work if I didn't load into a new directory and just uploaded into root. I will try that later and let you know how it goes. -
3. Re: Link paths in CMS content
1 Nov 22, 2006 2:35 PM (in response to peterj)Hello,
is it possible that there is another bug in the current 2.4 release?
The examples in the quickstartguide (JBossQuickstartForUsers.pdf) just don't work as expected. I can upload the quickstart.zip and it shows up in the CMS Admin portlet, but: I can not link to it!
The link the CMS creates is "http://localhost:8080/portal/auth/content/quickstart/index.html", but it can not find the file, thus I am being redirected to the default page.
Strange thing is that it works with the files that are already present before uploading, e.g. "http://localhost:8080/portal/auth/content/default/support.html" resolves fine. I just can not access the files I (a) uploaded or (b) created with the CMS.
system:
JBoss Portal + AS 2.4
WinXP
Java 5
Thanks,
Dave