This project is read-only.

Including html between parts

Topics: Customizing Orchard, Writing themes
Jun 13, 2011 at 8:56 PM

Is there a good way to insert some arbitrary html between two parts? 

In this case I'm trying to add a separator.

                Model.Footer.Add(Html.Raw("<span class='seperator'>|</span>"), "2");
Even though my tells the two parts (tags and metadata) to insert at 1 and 3 the separator shows up after 3. My workaround is to add the seperator to the template of the metadata part.

Jun 13, 2011 at 8:57 PM

Maybe try a wrapper instead?

Jun 13, 2011 at 9:12 PM

Silly mistake. I had css causing a weird float which made it appear in the same spot no matter where it was being rendered.