Archive for June, 2010

Me, Myself and Drupal – Chapter 4 & 5: File Manager fun and tweaking Storm

Alright, what is this, day 10 since I started up the Drupal install, although really only day 5 since I’ve gotten serious with this beast.  The love affair has certainly been rocky but there might be an end in sight.  Today is the first day that I’ve gotten enough of the underlying systems in place that I am able to actually use one of them to help manage my team.   That’s right, I’ve officially crossed the line from setting up drupal 100% to using it.  It’s about a 80/20 split now between setup and usage, but still a start!

Day  4 was spent mostly trying to get a File Manager to work.  In the end I really settled on IMCE as it just had a shit ton more functionality to it with a lot of supporting modules made.  Oh, just so you know the two main choices are:

IMCE: http://drupal.org/project/imce

WebFM: http://drupal.org/project/webfm

Again, the reason I chose to go with IMCE, although WebFM had some promise is that IMCE just looked more robust with a lot more features.  In the end however it didn’t matter as IMCE didn’t work at all.  I was able to browse the file system with it, but uploading wasn’t going to happen.  The module installed fine, but the upload button, while clickable, didn’t do anything.  I also installed the IMCE_swfupload module that allows multiple uploads but that two didn’t work.  There was a fair bit of research done all over the place both in IMCE and with swfupload that led to no solution whatsoever and after 6-8 hours I called it quits on this module.

On the bright side WebFM does allow me to upload, however it is limited to single file uploads which really does make the module fairly useless as I may as well just attach them to notes,pages, books or whatever I am working on.

Now in regards to that 20% work I was able to do with Drupal it involved inputting some tasks into Storm.  Although this only came after a fair bit of wrestling.  Mostly because I stumbled across the Storm Conrib Module which adds a lot of functionality to Storm as well as the Storm Dashboard (which is so useful that I am scrapping the Rites of Spring theme all together in favour of a non-fixed width theme).  The problem was that a whole shwack load of modules needed to be added in order for these to work properly.  Notably the mysterious ‘Content’ module, which is notoriously hard to track down.  Trying doing a search for ‘Content’ under the modules section and see how many results come up.  I’ll save you some time and tell you that when you see a module that requires ‘Content’ it is actually referring to CCK or the ‘Content Construction Kit‘ .  Once I figured that out things started to slide a little smoother.  Actually a lot of modules will need CCK so you’re well off just to install it by default.  The ‘Date‘ module was also needed and so I plopped that into my drupal as well.  Lastly for my Project Management it is critical that my team members are notified when they are assigned new tasks or their current tasks are updated.  This one was a little harder to track down as it isn’t an official module yet but if you scroll down here: http://drupal.org/node/637852 you’ll be able to find it.

The vast majority of my work was trying to wrangle with IMCE and WebFM, which in the end was frutiless and I’ve decided to just go down the incredibly more complicated route and install a full SVN on my server.  Of course I’ll need to then teach my team how an SVN works(after, of course, I tech myself how an SVN works).  On the bright side there is a Drupal SVN so I’m keen to see how it integrates into Drupal.  My first order of business after the SVN is setup and running on it’s own is to watch this video: http://gotdrupal.com/videos/drupal-cvs-svn-setup .

More fun awaits!

http://drupal.org/project/date

Tags: , , , , , , ,

Me, myself and Drupal Chapter 3.5 : == ”’Wiki Hell”’ ==

Alright, the nightmare of getting a fully integrated Wiki into Drupal is finally over.  Hopefully some lucky soul finds this and saves themselves the literal days I spent getting this up and running.  At the end of my last post I mentioned a few links and articles here and there and I’m happy to report that none of them did the trick.  That being said I think it is still a good idea to go through them and even follow the instructions, whether or not they work, so that you can learn from them.  They teach a lot of stuff relating to input types that is crucial for using Drupal and will be crucial if you want to successfully implement a Wiki system.

First of all, forget about using any media wiki modules, they are all shit.  In fact mediawiki_api is so bad right now that at one point it actually came close to melting my server down.  The entire server, every one of the dozens of websites I run on it came crashing down to a crawl until I totally shut down apache and mysqld in order to manually remove the mediawiki_api module.  There is another Mediawiki filter module that also doesn’t work, again to flaunt how much they don’t work just implementing them and then trying to create content with an input type involving these filters causes whatever you write as content to just show up as a totally blank page.  Actually that mainly applies for the mediawiki_api module, the standard MediaWiki module with preloaded mediawiki filters goes one step further and causes any wiki content created with this filter to spit out an nginx error as it fucks with apache to the point of apache not even knowing what to do with the page.

So what did I do?  Well in the end the solution was really damn simple, it was just a matter of widdling away all of the non-functioning crap that shows up at the top of all the module lists and google searches for ‘drupal + wiki’ .  First off you are going to have to kiss your media wiki syntax good-bye. Well you don’t have to entirely as you can create your own filter sets by hand but to make filters takes time and patience that I was running out of, although I probably will go ahead now and make them anyways on top of what I have.  If you want some instructions on how to do this go here: http://drupal.org/node/217177

In the end the syntax I am using is from PmWiki because the module I am using comes from the kind sir over at  www.interestingto.me.uk.  For a complete rundown of the pmwiki syntax head over to:  http://www.pmwiki.org/wiki/PmWiki/TextFormattingRules.  So the first module you want to install can be found here: http://www.interestingto.me.uk/DrupalWikiModule .  Why this isn’t in the drupal module repository I don’t know, it damn well should be.  This is a fairly simple install with instructions on the page.  This is the main one, it actually allows you to use a wiki syntax and produce results that don’t destroy your server.

The other module you are going to want is this one: http://drupal.org/project/freelinking which basically implements filter for the easier creation of HTML links to other pages in the site.  So you can have nice [links] going straight to other wiki articles.  You’ll need to do a bit of reading to see how you properly link to other pages.

The Table of contents is the major reason I love Wiki’s and so you will need to get the Table of Contents module found here: http://drupal.org/project/tableofcontents .  It’s a snap to install and all you need to do after that is add it into your input type and insert a [toc] at the top of your post or alternatively you can go into your input type menu, click on your new wiki filter and then go to ‘configure’ to configure the TOC module to auto-insert a TOC when you exceed X number of headers.

The only thing else I can imagine is a module that allows inline images to be placed like in a wiki, but I’ll tackle that later I think after I wrap my head around how Drupal handles it’s images currently

So that’s that.  The wiki is up and running finally and I can breath a sigh of relief as I thought I was going to have to start from scratch here and reinstall drupal at one point.  I haven’t been able to get any of the wiki importers to work properly so it looks like I’ll just be copying and pasting that stuff into Drupal by hand.. Ah, and that makes me realized I am going to have to manually input the media wiki syntax into my filter because all of my other wiki’s are in media wiki format.. No rest for the wicked it would seem!

Here are some other related links of interest:

http://drupal.org/node/356583

http://drupal.org/node/217177

http://drupal-wiki.com/en/applications

http://openconcept.ca/blog/ethan/creating_a_drupal_6_wiki

http://www.starbowconsulting.com/node/111

http://groups.drupal.org/node/7072

http://groups.drupal.org/node/54688

Hope that helps, onto Chapter 4!!

Tags: , , , , , , , ,

Me and Drupal: Chapter 2 & 3

So for the past few days I have been up to my ears in Drupal.  I am finding the overall setup and implementation easier than I remember although it certainly is time consuming to learn and get things just right.  The biggest thing I would say is finding a theme that looks somewhat decent to motivate you to start working on the site layout and suck.  I have a few in there that look decent, I was on Black Mamba for a while but have settled in on Acquia Marina for the time being made by the guys over at http://fusiondrupalthemes.com/ (it’s one of the free ones).

The other big task is going through the insane list of modules are available for Drupal.  My goal here is to have a CMS that manages our Company’s internal Wiki, our Forums, our Project Management System(PMS), the assets we create, video content, blogs and finally an SVN.  These are a lot of systems a few of them very complex but somehow Drupal can do it all under one roof(which is why I’ve signed up).

The message forums were the first to get setup, and the easiest mind you.  It was just as easy as enabling the module and then creating all of the containers and forums for the team to post in.  It looks a little vanilla right now but I am hoping there will be some cool custom theme out there somewhere that jazzes everything up.

Second was the PMS.  Currently we are using Dotproject for all of our PM needs and I cannot rave enough about it.  Firstly it’s open sourced and the guys over at http://www.dotproject.net as insanely helpful.  They have a phenomenal product and if you are looking for a stand alone PMS to run on a central server and be accessible by a distribute team then Dotproject is for you.  Unfortunately for us however there are no Dotproject integration modules for Drupal so I had to look elsewhere for one that is native to drupal.   Luckily enough there seems to be a fairly polished and recently updated module called Storm.  Again it was fairly simple to setup however I have not got my hands dirty with it yet so we’ll see how good it is.  Either way it looks like the best PMS offered for drupal so it’s going to be awesome as that is it is my only option :)

The other thing that was a cinch to install was the IRC module.  Just a quick download and enable away and you too can have an IRC chat channel within Drupal.  Of course now I need to go back and refamiliarize myself with eggdrop and get a bloody bot running on IRC somewhere..

Right now I am beginning work on integrating Wiki functionality with Drupal and have installed several mediawiki modules, one which is supposed to tie into an existing Wiki installation that I have however I have no idea how to go about that as the documentation is fairly spotty and there doesn’t seem to be any tools in the admin area to integrate my mediawiki install.  Most of the modules available seem to be about integrating the users from drupal to your wiki install so there is no need to relogin, however what I want is a wiki inside of my Drupal site so that it is all seamlessly together.  That order, unfortunately is much hard to fill :(   Just tonight however I did stumble upon this article: http://cwgordon.com/how-to-create-a-wiki-with-drupal detailing how I can go about creating a Wiki within my drupal.. So I’m pretty stoked about that and it is my next course of action.

It would appear there are too many outdated modules referenced in the above tutorial for it to really work properly.  I do have some wiki functionality but it is fairly limited and so the hunt continued.    I came across this great conversation thread: http://groups.drupal.org/node/12468 that discussed much of what I was thinking and some high level concepts of how to do what I am attempting  This led to the installation of a few extra modules.  However in the comments section of the original tutorial I found a link to this tutorial: http://cratel.wichita.edu/cratel/cratel_Drupal_6_wiki which deals more with Drupal 6 and some up to date modules that lend even more wiki functionality to what I am doing.

Incase you missed it in the above link there is a nice node with wiki filter examples here: http://drupal.org/node/217177

Inside of Flexifilter there were also several wiki components such as the wiki api and such that I am hoping will automatically add all of the wiki functionality to drupal

Tags: , , , , , , ,

Me and Drupal : Chapter 1 (There could be sparks here)

Up until this point I have been managing remote teams with a smattering of very useful tools.  phpBB3 or YaBB for message boards, Dotproject for project management, MediaWiki for internal documents, TeamSpeak for our voice conferences.  My toolbox was built up our of trial and error and sometimes following the path of least resistance.  But today there is a package that has the potential wrap all of my tools up with a nice pretty bow, add on SVN /  git functionality and much more.  The only problem is that the learning curve is a bit steep to go head into a complicated multi-module drupal setup as I have tried before and was deterred after a few fruitless days. However this day I approach it with new vigor and over the next month I will not quit until I have this system functioning exactly as I want it because i know once I have learned what I need to learn and set it up the way it needs to be setup I will be left with a system of unrivaled efficiency, functionality and usability for me and my teams.

So I shall document my journey’s, making sure to note all the struggles along the way as there will be many in hopes that others will be able to save some of the blood, sweat and tears .

Today my first problem was the installation.  I got to the screen to enter my database name, mysql username and all of that good stuff and then when entered correctly it would just refresh that page, clearing all of the text boxes I just filled out.  Now if I entered anything in incorrectly it would tell me there was an error with this or that but when it was all kosher itwould just blank out the text fields and refresh the page.   Quite strange, and so after researching I found out that if you move the ./sites/default/default.settings.php files to .sites/default/settings.php as it asks you to it does what I just described.  It would seem that it needs that default.settings.php file AND a settings.php files in that directory to function properly.  So word to the wise, do a cp command instead of a mv command and save yourself the trouble

Tags: , , , , ,

Page optimized by WP Minify WordPress Plugin