[SOLVED] Source not updating

Topics: Customizing Orchard
Dec 14, 2011 at 2:51 PM

I have an HTML Widget with this code:

 

<div class="Aside">
  <div class="Middle">
    <div class="Normal">
      <ul id="RightLinks">
        <li class="icoCE">
          <a href="continuing_ed"><img src="/Media/Default/images/Spacer.gif" alt="CE Icon" /></a>
            <p><span>Continuing Education</span>Click here to see your Continuing Education credit information.</p>          
        </li>
        <li class="icoSsuggestedCourses"><a href="suggested_courses"><img src="/Media/Default/images/Spacer.gif" alt="SuggestedCourses Icon" /></a>
          <p><span>Suggested Courses</span>Click here to see a list of suggested courses for your career path.</p>
        </li>
        <li class="icoSuggestedReading"><a href="suggested_reading"><img src="/Media/Default/images/Spacer.gif" alt="SuggestedReading Icon" /></a>
          <p><span>Suggested Reading</span>Click here to see a list of suggested reading for your career path.</p>
        </li>
        <li class="icoFAQ last"><a href="FAQ"><img src="/Media/Default/images/Spacer.gif" alt="FAQ Icon" /></a>
          <p><span>FAQ</span>Click here to read our frequently asked questions.</p>
        </li>
      </ul>
    </div> <!-- Normal -->
  </div> <!-- Middle -->
</div> <!-- Aside -->

When I change the code in the editor to this:

<div class="Aside">
  <div class="Middle">
    <div class="Normal">
      <ul id="RightLinks">
        <li class="icoCE">
          <a href="continuing_ed">
            <img src="/Media/Default/images/Spacer.gif" alt="CE Icon" />
            <p><span>Continuing Education</span>Click here to see your Continuing Education credit information.</p>
          </a>
        </li>
        <li class="icoSsuggestedCourses">
<
a href="suggested_courses">
<img src="/Media/Default/images/Spacer.gif" alt="SuggestedCourses Icon" /> <p><span>Suggested Courses</span>Click here to see a list of suggested courses for your career path.</p>
</
a> </li> <li class="icoSuggestedReading">
<
a href="suggested_reading">
<
img src="/Media/Default/images/Spacer.gif" alt="SuggestedReading Icon" /> <p><span>Suggested Reading</span>Click here to see a list of suggested reading for your career path.</p>
</
a> </li> <li class="icoFAQ last">
<a href="FAQ">
<img src="/Media/Default/images/Spacer.gif" alt="FAQ Icon" /> <p><span>FAQ</span>Click here to read our frequently asked questions.</p>
</
a> </li> </ul> </div> <!-- Normal --> </div> <!-- Middle --> </div> <!-- Aside -->

The code in the Widget doesn't actually change. The anchor end tag stays after the img tag like in the first example. Why would it do that?

Dec 14, 2011 at 2:56 PM

Nevermind, I got it working by removing and recreating it. I also removed the <p></p> tags, I think that is what did it.

Developer
Dec 15, 2011 at 8:50 AM

OFF: I like the way you marked the title with solved. This could really be a tradition here as it gives an instant clue about who needs help.

Dec 15, 2011 at 3:04 PM

All you have to do is click the Edit Details link in your first pos and then change the title.

I've done it on a lot of Codeplex discussion forums.