MojoPortal module headings not including h2 solution

I have been gradually upgrading MojoPortal on my www.stuartjames.info site for quite a while now, except for a few migrations the database has remained intact. I came across an interesting problem where sometime over the last year of upgrades some of my module titles had h2 elements to them and some didn't. The older of these module titles didn't.

After trying to figure out a way to solve this then decided enough is enough it must be somewhere in the database so went on a hunt to find it.

What I found is in mp_Modules under the HeadElement column some items had h2 defined and some were null. Therefore with the Developer Tools Query Tool enabled (in web.config, makes available in admin menu) I performed a quick SQL command to solve my problems.

UPDATE mp_Modules SET HeadElement='h2'

So if your a little lazy like me and after a quick hack to solve those rogue h2 tags, give it a try

Friday, January 20, 2012 7:31:00 PM Categories: MojoPortal
Stuart James

Comments

Wednesday, April 18, 2012 3:06:34 AM

re: MojoPortal module headings not including h2 solution

nice post,thanks for sharing! BTW,check out my new android 4.0 tablet

Comments are closed on this post.