You are hereBlogs / Carl's blog / Two Drupal Tips for Marinelli

Two Drupal Tips for Marinelli


By Carl - Posted on 06 November 2009

Printer-friendly versionPDF version

 I've been using the Marinelli theme for my site, as well as my wife's for a while now, and I've found it to be a very attractive, and useable theme.  However, there are a couple of kinks that one might want to sort out that took me a while to find answers for.  Here they are so you don't have to.  

FCKEditor Unuseable

Do you find that FCKeditor has become unuseable after installing this theme because the text box displays the dark background and the text you are writing is black?  There is a very simple fix for this.  Go to admin/settings/fckeditor and click on edit on the first profile listed.  Expand CSS and choose FCKEditor Default in the first dropdown box, entitled Editor CSS.  Hit Save and do the same for all other profiles.  Presto--your FCKeditor should now have a nice white background on all pages.

No "Content Top" Region for Blocks

Marinelli and it's sub themes do not have regions defined in its code, so it gets the default Drupal regions only, which are:  header (which actually doesn't work), left sidebar, right sidbar, footer, and content (underneath the content).  Many sites require the use of more blocks in different places--particularly at the top of the content.  For instance, a forum might need a welcome message to encourage people to sign up. You might want a fancy gallery on the front page.  Maybe you want some snazzy sitemap above the content, or an adsense module above each blog. The solution can be found in this Drupal issue log.  You can also figure out from there how to add your own custom blocks.  The solution is to add in all content regions to the theme's .info and page.tpl.php files.  The end result will be that you have three new "content top" regions - one for above the breadcrumb, one above the page title, and one below the title but above the content. Be sure to follow the solution laid out by mr browney (comment #4) step by step and you'll be fine.  Here's proof.

[image - new blocks in a marinelli based drupal site]

 above: "Look honey, we've got Top Content Regions!"

 

Share/Save
Tags

Carl, I was looking around to see if I could find Marinelli sites that are "broken" in IE after the recent core update to 6.16. You're not (we are, in IE only, but still), but I also read your CKEditor tip. AWESOME!! Thanks so much!!!

Great thanks for the props :)  Sorry I did not get back to you and have been silent--I've been moving house.  Nice Marinelli-based site! :)

BTW We're not on 6.16 yet. Thanks for the heads-up on it breaking Marinelli sites!

Fuelly