Newbie User Confusion

2 posts, 0 answers
  1. Steve
    Steve avatar
    13 posts
    Member since:
    Mar 2008

    Posted 25 Mar 2008 Link to this post

    I hope you have patience with a couple of basic questions from a newbie user. We have MOSS 2007 with RadEditor installed. I am not the installer, but I'm supposed to get up to speed on the functionality so I can train others. Specifically, right now I'm trying to understand the MOSS wiki, and I'm not sure if what I'm seeing is normal wiki functionality or Rad functionality.

    I've used other wikis before, but so far the MOSS wiki doesn't seem to be very much like those. The only wiki "tag" supported seems to be the [[ ]] link to another page. Is that correct? (I know that's a MOSS question, but I'd sure appreciate someone confirming what I'm seeing.)

    That [[ ]] tag doesn't even support links to anchors within a page, does it?

    I switched to the HTML mode in the RadEditor and I typed in a <a href> tag by hand. I saved the changes, and then opened the page in HTML mode again. The URL in the href tag had been removed, so all I had left was <a href="">link text</a>. What happened there? Why can't I create hyperlinks manually? I only tried a relative URL -- do I need to use absolute URLs?

    I tried creating an anchor tag as <a name="anchor">. After saving the page and then opening it again in HTML mode, the tag had been changed to <a href="" name="anchor">. That confuses the browser because it thinks it's a hyperlink tag, not an anchor. Seems like odd behavior to me.

    Finally, is there a configuration setting to turn off HTML reformatting? In other words, if I edit a wiki page in HTML mode, I don't want RadEditor to attempt to "clean up" the HTML -- just leave it as I wrote it.
  2. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 27 Mar 2008 Link to this post

    Hello,

    The only difference between a MOSS wiki page and normal HTML code is the support for [[page]] links. Everything else is just standard HTML. The [[]] tag only supports linking to a page, not an anchor within that page. Here is what the wiki documentation says about the [[]] tag:

    Creating links to pages
    You can link to another page in this wiki site by enclosing the name of the page in double brackets on the edit form. For example, type [[Home]] to create a link to the page named Home and [[How to use this wiki site]] to create a link to this page.

    To create a link to a page and have the link display different text than the page name, type a pipe character (|) after the page name, and then type the display text. For example, type [[Home|Home Page]] to create the link labeled Home Page that points to the page named Home.

    To display double opening or closing brackets without making a link, type a backslash before the two brackets. For example, \[[ or \]].

    The anchor problems you have are caused by the MOSS content filters. These filters "clean" the HTML content after it is submitted by our editor and unfortunately we cannot control them. if you have a link, which starts with a slash or is an absolute url (e.g. /page.aspx or http://server/page.aspx) then the filters will leave it. However, if your link is relative (e.g. href="page.aspx"), it will be removed. You can verify that this behavior is not caused by RadEditor by disabling the editor features and trying the same in the original content editor in IE or directly editing the HTML in Firefox.

    The final problem (href="") on anchor links is probably caused by the editor. Open the configuration file ListConfigFile.xml (
    The final problem (href="") on anchor links is probably caused by the editor. Open the configuration file ListConfigFile.xml (
    http://www.telerik.com/help/radeditormoss/SetPropertiesViaConfigFile.html) and change the following two lines:

      <property name="StripAbsoluteAnchorPaths">False</property>
      <property name="StripAbsoluteImagesPaths">False</property>

    to 

      <property name="StripAbsoluteAnchorPaths">True</property>
      <property name="StripAbsoluteImagesPaths">True</property>

    This way the editor will not modify the anchor tags.

    All the best,
    Lini
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

Back to Top