dnn warning message |
1. Add jQuery reference and a js file called Home.js
2. Let's add jQuery to format the message<%DotNetNuke.Framework.jQuery.RequestRegistration()%> <script src="<%=SKinPath %>Home.js" type="text/javascript"></script>
$(function() { if ($('#dnn_ContentPane>table').length > 0) { $('#dnn_ContentPane>hr').remove(); var $table = $('#dnn_ContentPane>table') $table.hide(); var html = ''; $('td', $table).each(function() { html += $(this).html(); }); $table.remove(); $('#dnn_ContentPane').prepend('<div id="divMsg"><div class="content-cell-corner-top"></div><div class="content-cell">' + html + '</div><div class="content-cell-corner-bottom"></div>'); } });
And we are done! now let's take a look at how the dnn warning message is looking in Multiflex5 skin?
dnn warning message formatted |
So, we can see a little bit of jQuery can format the message at client side. I was thinking how to get it formatted right from the server side and will try to figure this out.
Next fix in multiflex5 is of dnn action menu, Once I will done with that, new version of mutltiflex5 will be released.
Please tell me your thoughts or shared your solutions for the same problem you faced during dnn development to make the Multiflex5 better suited to use in production.
Have fun with the free skin.
No comments:
Post a Comment
Please add your valuable comments about this post if it helped you. Thanks