Was helping someone work out an issue with a layout issue on a website running on CMS Made Simple content management system. Honestly, I’ve never used CMSMS. After a bit of looking around, it seems like a great little, page based cms.
Of course, I’m used to more platform based solutions like DotNetNuke and Drupal. Platforms meaning they are a starting point with core functionality that you build on. CMSMS has some of that with add-on modules, templates and tag replacement capabilities. Interesting to say the least.
One thing to note, the way that images, files, links, etc.. are managed in CMSMS is fantastic. Especially when you see how easy they are used inside the TinyMCE WYSIWYG editor. Great implementation here….Drupal community, take note!
Anyhow, this CMSMS installation was using the hgsunset theme. This is a dark CSS based theme with a menu on the right. Problem was that on the photo album page (generated by the photo album add-on module) the menu was pushed below the body content and to the left.
For the life of me I could not see the problem in the CSS. Firebug failed me there.
Oh well… a bit more playing and a solution was found.
In the “default” photo album template are two script tags that bring in the thickbox and jquery javascripts. Removing them (or actually commenting them out) and place them in the hgsunset template in the <head> section worked like a charm. The script tags were cause a break in the layout so that the menu was no longer pushed right by the body content.
<script type="text/javascript" src="modules/Album/templates/db/js/jquery.js"></script> <script type="text/javascript" src="modules/Album/templates/db/js/thickbox.js"></script>
I figured I’d post this solution so that anyone else running into this issue on that platform might be able to help themselves.
Ah…fun stuff and I got to play in a new CMS. What fun.
Popularity: 18% [?]

