I have a similar problem - simply trying to link from one HTML page to another, within the same folder in CMS. The system cannot seem to find the file - one would think that the links should be done the same as the SRC attribute in IMG tags, but that does not seem to be the case.
Please - what's the proper path??
Sterling Testing Systems
Use absolute paths:
Mine does actually link. So I created a folder called demos and then a few sub folders in CMS admin.
Then on the html page the URL is as follows: demos/Desktop/Installing/1.Install.htm
So clicking on it works, but the theme then changes to the default theme and does not keep the theme of the portal I am in.
Is your new HTML page a full page, or a fragment? It seems to me that the CMS portlet expects only a fragment that is set to fit inside the "portlet-content" DIV. Perhaps there's other code in your file that is calling on the default theme.
I know that I have only had success in getting well-styled pages by importing my file, and making sure that it only uses styles marked with "font class='portlet-xxxxxx'" right out of the theme's CSS sheet.
ANYWAY - I still can't get my link to work. The portlet is on a page other than the default page, and the HTML page that the portlet is set to start with is in a directory parallel to "default" in the CMS. (CMS has "default", "clientconfig" and "drug". The portlet in question looks first at "drug/index.html". I have a link in it that is supposed to go to "drug/clientlist.html". The portlet can't find it. The directions in the CMS Admin portlet say "Links to resources within this portal should be absolute. For example: A link to an image located in default/images/back.gif should be typed in exactly as shown here. Do not prefix a slash (/) to the path of the resource."
This advice works for images, but not for URL links.
If anyone can help, I'd appreciate it.
Make sure the file you created exists for the locale your browser it set to.
Also, per shaun, there is a known limitation with the cmsportlet, that it ONLY renders in the default page. So if you have this portlet on another Portal Page, and click a link, it will bounce you back to the default portal page.
Maybe its the same problem for paul?
"Make sure the file you created exists for the locale your browser it set to."
Not sure what that means. The file has been uploaded into the CMS system.
He also wrote:
"... there is a known limitation with the cmsportlet, that it ONLY renders in the default page. So if you have this portlet on another Portal Page, and click a link, it will bounce you back to the default portal page. "
Well, I DO get the intial page in this instance rendering on a different page (I've actually created 3 separate instances of the CMS portlet, and each is on a different page.)
Anyway, I changed the DrugDept page to be the default page for the Portal, and the link from index.html to clientlist.html still doesn't work.
When you upload a file, you specify a locale. Make sure its english for you... Im guessing.
Can you check the log and paste any erros you see, here. Typically when something is not found, there is *something* in the log to that effect.