Umbraco: v 4.7 DataType: Richtext editor (TinyMCE v3 wysiwyg)
I have some HTML code, when I replace the <p> tag to <nav> save and publish, the <nav> is completey deleted, what I want to achive is have 6pts space between each link below, how can I achive this, please help
<p> <a href="#sexuality">Sexuality</a><br> <a href="#position-of-women">The position of women and marriage</a><br> <a href="#myths-and-beliefs">Traditional myths and beliefs</a><br> <a href="#the-role-of-men">The role of men</a><br> <a href="#religion">Religion</a><br> <a href="#the-role-of-circumcisors">The role of circumcisors</a><br> <a href="#social-pressure">Social pressure</a> </p>
To:
<nav> <a href="#sexuality">Sexuality</a> <a href="#position-of-women">The position of women and marriage</a> <a href="#myths-and-beliefs">Traditional myths and beliefs</a> <a href="#the-role-of-men">The role of men</a> <a href="#religion">Religion</a> <a href="#the-role-of-circumcisors">The role of circumcisors</a> <a href="#social-pressure">Social pressure</a> </nav>
After changing the config files did you restart you application?
Either recycle the app pool in iis, or make a change to the web.config to force an application rebuild. The config files are only read once when the application starts. :-)
Overwrites CSS
Hi there
Umbraco: v 4.7
DataType: Richtext editor (TinyMCE v3 wysiwyg)
I have some HTML code, when I replace the <p> tag to <nav> save and publish, the <nav> is completey deleted, what I want to achive is have 6pts space between each link below, how can I achive this, please help
<p>
<a href="#sexuality">Sexuality</a><br>
<a href="#position-of-women">The position of women and marriage</a><br>
<a href="#myths-and-beliefs">Traditional myths and beliefs</a><br>
<a href="#the-role-of-men">The role of men</a><br>
<a href="#religion">Religion</a><br>
<a href="#the-role-of-circumcisors">The role of circumcisors</a><br>
<a href="#social-pressure">Social pressure</a>
</p>
To:
<nav>
<a href="#sexuality">Sexuality</a>
<a href="#position-of-women">The position of women and marriage</a>
<a href="#myths-and-beliefs">Traditional myths and beliefs</a>
<a href="#the-role-of-men">The role of men</a>
<a href="#religion">Religion</a>
<a href="#the-role-of-circumcisors">The role of circumcisors</a>
<a href="#social-pressure">Social pressure</a>
</nav>
Many thanks in advance,
Kind Regards
Why not use a XSLT Macro and build the links progamatically?
Hi Skitz, thanks for your reply,
all the links are in the same page http://fgmtest.gorillahq.com/beliefsissues.aspx#sexuality
XSLT would be a bit of over kill I guess
Amyway do you have any sample xslt to do this, please
Many thanks in advance
Regards
Is the Navigation you list above, are they actual content nodes in Umbraco?
think Nav is being completely deleted by the tinyMce/TidyHtml cleanup routinues...
You will need to modify the config/tinyMceConfig.config file to allow you nav tag...
you can do this either in the validElements tag, or add
Here's a reference for you http://www.tinymce.com/wiki.php/Configuration:valid_elements explaining the options...
Also you may need to also turn of tidyHtml in config/umbracoSettings.config, as that is a second cleanup so valid html process in umbraco.
Hi Mike
I added <configkey="extended_valid_elements"value="nav"> to tinyMceConfig.config and also
added <TidyEditorContent>False</TidyEditorContent> to the umbracoSettings.config but this did not help
after I update the HTML and save it, and then re-edit the HTML the nav tag is completely removed.
I am using umbraco 4.7
Many thanks for your help.
Kind Regards
Praveen
After changing the config files did you restart you application?
Either recycle the app pool in iis, or make a change to the web.config to force an application rebuild. The config files are only read once when the application starts. :-)
Hi Mike, YES I did recycle and also tried to restart IIS7 did not help
any help will be greatly appreciated
Thanks
is working on a reply...