Jun
30

10 random Drupal tips

Gepost in Drupal, Tips & Tools door Albert

Drupal tipsTime for some random Drupal tips and tricks. Some of these are very straightforward and if you are someone who allways reads all documentation you should probably know most of them, but hey! Who reads manuals? ;) Anyway here are 10 random Drupal tips I got from first hand experience.

update 02/2009: also available: top 11 tips and modules to improve Drupal usability

1. Removing the body field
Whenever you create a content-type a body field is automatically created. If you simply don’t need it or don’t want it (because you create a custom one with CCK for example), you can remove it by simply editting the content type and erase the label ‘Body’. Using a blank label will remove the field.

2. Using different page templates depending on the current path
Standard Drupal feature. For example, create a page-front.tpl.php for a custom frontpage. Read all about it here.

3. Display categories
You can use this snippet If you want to display a list of categories quick and easy (and don’t want to use some module like taxonomy_menu)

4. Install DHTML menu for your Garland admin theme
If you use Garland (like many people) as your admin theme, don’t forget to install DHTML menu. It will put a smile on your face. Promise.

5. Drupal default input filters by content-type
Though it is still in development I really like this module. Using it you can give each content-type a default input-type. This way an admin won’t have to manually switch to the desired filter type (e.g. full html) each time a node is created. Which is common because you probably want the admin to have more privileges than an anonymous user, but the default input type is allways available for all roles – thus forcing an admin to manually have to switch in such situation. An annoying task which is easily overlooked.

6. Howto get rid of the my account menu
This one was also mentioned in the Lullabot top 50 Drupal tips: Move the “My Account” menu item by creating a custom menu item at ‘user’.

7. Drupal active menu-item trail
A very common setup is to have a vertical submenu (for example in the left sidebar) and a horizontal main-menu (in the header). In the default setup you lose the active, parent menu item if you are at one of the subitems. If you want to easily show your active parent items through CSS you can use this method.

8. Multi-language and SEO
Drupal can easily handle a multilingual site, but there are some things you should consider when using i18n and Search Engine Optimization.

9. Removing subject in comment form (theming forms)
If you want to mimic Wordpress commenting-style by removing the subject field in a comment form, do it the right way. (not by setting display:none in css) However, theming forms is a bit different from theming other stuff in Drupal. Here is a step by step tutorial.

10. One problem many solutions
Finally, most problems can be solved in Drupal in different ways. For example: image galleries in Drupal (dutch post). Make sure you do the right research before you start building! While many challenges can be taken care of using the right mix of modules – there are situations when writing your own Drupal module is necessary.

 
Jun
24

Alfresco en Drupal

Gepost in Drupal door Albert

Alfresco and Drupal logosAlfresco is een open-source Enterprise Content Management (ECM) pakket dat als alternatief kan dienen voor bijvoorbeeld Plone of Sharepoint van Microsoft. Het biedt document management, work-flows en nog veel meer.

Drupal vs Alfresco
In tegenstelling tot Alfresco is Drupal veel sterker web-gerelateerd. Back-end versus Front-end dus. Hoewel er ook veel overlap bestaat, want ook Alfresco is geschikt voor web content management. Volgens een recent onderzoek van Forrester onderscheiden beide systemen zich duidelijk in open-source markt op het gebied van sterke architectuur, professionele actieve community en commerciële ondersteuning.

Drupal richt zich dus vooral op web-managment, niet enterprise management. Eén van de gebreken van Drupal om als ECM te dienen is degelijke document management en workflows. Dat zijn juist weer de sterke punten van Alfresco. Bij de laatste kun je bijvoorbeeld handig (door middel van het CIFS protocol) samenwerken met shared drives. In combinatie met de ingebouwde workflow functionaliteit kun je qua automatisering aardig uit de voeten met het pakket.

Drupal + Alfresco integratie
Maar Drupal blinkt weer uit in web-content management. Een feature die wel beschikbaar is in Alfresco maar niet de mogelijkheden biedt van Drupal. Wil je het beste van twee werelden dan zul je dus beiden pakketten moeten gebruiken zullen ze bij Amnesty.org gedacht hebben. Zij hebben namelijk Alfresco en Drupal geïntegreerd. Een knap staaltje werk en uit de comments hier en hier blijkt dat er veel behoefte is aan een dergelijke combi. Alfresco beseft dit ook en is bezig zijn front-end te verbeteren.

Wordt vervolgd dus! Voorlopig gaan wij eens wat experimenteren met Alfresco.

 
Jun
21

Google Trends uitgebreid

Gepost in SEO, Tips & Tools door Albert

Google Trends was al een ontzettend nuttige tool, bijvoorbeeld bij het vinden van de juiste trefwoorden ten behoeve van zoekmachine optimalisatie. Maar nu is de site uitgebreid met een tabje ‘websites’. Wanneer je hierop klikt kun je domeinen invullen in plaats van trefwoorden.

Trends voor websites
Vervolgens krijg je aardig wat informatie: globale bezoekersaantallen (geschat door Google), de trefwoorden waar bezoekers op zochten en andere verwante sites die bezoekers bezochten. Behoorlijk waardevolle data voor een concurrentie-onderzoek dus!

Trends voor websites volgens Google

Je krijgt overigens alleen data te zien voor sites met een behoorlijk aantal bezoekers. Tevens viel het mij op dat in de grafiek de linker y-as geen schaalindeling biedt voor de daily unique visitors. Terwijl ik op andere sites toch duidelijk wel de aantallen zie staan… Heeft Google dit inmiddels misschien weer uitgezet?

update: ah.. ik zie het al, om de geschatte aantallen bezoekers te zien moet je ingelogd zijn.

Zeitgeist
Een andere bron voor zoektrends, welke niet zo bekend is (en ook niet zo nuttig maar wel leuk) is de Google Zeitgeist. Hierop kan je per maand per land zien waarop veel gezocht is. Dus ook voor Nederland.

 
Jun
18

Delft Challenge

Gepost in Projects door Albert

Delft ChallengeWat de Tour de France is voor wielrenners, dat is de Tour de France à la Voila voor zeilers: een competitieve zeilrace rond Frankrijk. Onder de teams doet ook de TUDelft mee met het Delft Challenge studententeam. De zeilmarathon start op 26 juni en dat betekent dat het team een maand lang te volgen zal zijn via de vernieuwde website. Merge verzorgde als sponsor-supplier hiervoor in samenwerking met HeD Denktank het concept, techniek en realisering.

Het team volgen via de website
Doelstelling hierbij is om de bezoeker die het team wil volgen zo goed mogelijk te voorzien van informatie in de vorm van actueel nieuws, foto’s en video’s. Bezoekers kunnen updates krijgen via e-mail, RSS of Twitter (sms-updates mogelijk) en zien de positie en route van de boot op een kaart (google map). En natuurlijk kunnen bezoekers ook zelf reacties plaatsen bij alle actuele berichten.

Met een camera aan boord worden filmpjes gemaakt en via YouTube op de site geplaatst. Via sms kan de crew zelfs korte berichten plaatsen op de site. Handig want een internet-cafe of wi-fi verbinding is niet altijd in de buurt tijdens de race. De rest van de site kan eenvoudig beheerd worden via het open-source Drupal framework dat als Content Management Systeem dient.

Kortom – een creatieve mix van moderne web(2.0)diensten en technieken om optimaal contact te houden met iedereen die het Delft Challenge Team veel succes toewenst!

 
Jun
16

Merge headquarters

Gepost in Blushuis, Ondernemen door Albert

Mijn vader kwam afgelopen vrijdagmiddag langs en maakte met zijn EOS 20D een aardige panoramafoto van onze unit in het Blushuis die ik wel even wilde delen. Je ziet: Erik heeft aan 1 toetsenbord niet eens genoeg ;)

De Merge Studio in het Blushuis