Tag-Archive for "install"

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

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!!

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