Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • stc 72 posts 101 karma points
    Jun 10, 2010 @ 08:08
    stc
    0

    Using WLW to write to <head> section...

    Hi guys,

      This might not be the best place to ask this question, but I'd like to use this plugin and extend it so it can insert related media links to the document I'm creating/editing via WLW, hopefully via <link> tags (which AFAIK can only be inserted in the <head> section)...

      However, trying to write <head> to the content area under Source tab in WLW seems to get deleted/refactored immediatelly you switch to the Edit or Preview tabs, which is something I'd like not to happen...so could someone please give me an idea how to solve this...I'm going for the <link> because it should have no visible representation on the Preview/Edit tab (thus I should not confuse the editors too much).

      I realize that using <a> tags (with adequate style) could be much more hassle free but I'm keeping this as a last resort still...I'm just too worried using HAP (HTML Agility Pack) could mess up the usefull content when I try to parse those anchor tags out in the BeforePublish event handler I'll be using...on the Umbraco server side I mean.

      TIA 2 all

Please Sign in or register to post replies

Write your reply to:

Draft