Tech4Him – Technology with Integrity

A Christian technology chaos wrangler and his thoughts

Parent Feed Title in FeedAPI Item Node

Posted by Tom On October - 29 - 2009

We recently began testing the installation profile for Drupal called OpenPublish. The good folks at Phase 2 Technology have opened this installation profile (distribution) up for all to use with some key features for the semantic web. This post is not to go over or compares features with other similar distributions. Instead this is more about how to get the parent feed title into the template for a node created from a feed-item with the feedapi module.

Read the rest of this entry »

Popularity: 4% [?]

Drupal 6 Custom Maintenance Pages

Posted by Tom On February - 4 - 2009

workinDo you follow the instructions for upgrading Drupal? If you do, you put your site into maintenance mode as part of the process. (I smile writing this because I haven’t always followed those instructions and I’m betting you haven’t always either.) It is the right thing to do though.

But that is only one reason your users might see the maintenance page. If your host has database problems, you could be showing your customers the default Drupal maintenance or offline page. Probably not the image you were looking for. This article will walk you through the process of creating custom maintenance/offline pages for your Drupal sites that will keep a profession look and feel, respecting your site design and style.

Read the rest of this entry »

Popularity: 64% [?]

CMS Made Simple – Photo Album module and CSS Layout Issue

Posted by admin On November - 5 - 2008

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% [?]

How to Theme a Content Type

Posted by admin On January - 22 - 2008

Popularity: 5% [?]