Hi,
I have a question about setting relative path of external CSS file for the RadEditor in MOSS 2007.
These are the scenario:
I added the RadEditor control in a layout in Moss, and created two pages based on this layout:
http://mysite/PressReleases/pages/page1.aspx
http://mysite/Academics/pages/page2.aspx
In the ConfigFile.xml, I added the cssFiles property:
<property name="CssFiles">
<item>~/PressReleases/Pages/test.css</item>
</property>
This works fine, the styles in test.css appears in the Apply Css Class dropdown in the RadEditor. But what I what to achieve is to be able to let pages under individual subsite only use css file which exists in the same directory of the page. e.g. when user browses to http://mysite/PressReleases/pages/page1.aspx, only styles in http://mysite/PressReleases/pages/test.css is displayed in the CSS dropdown; and when user browses to http://mysite/Academics/pages/page2.aspx, only styles in http://mysite/Academics/pages/test.css is displayed in the dropdown.
So, how can I set the relative path of test.css in ConfigFile.xml ?
Thanks
Yvonne