You are here

Cool tricks

Testing wmfilter.module

Submitted by admin on Sun, 01/02/2005 - 15:41

The wmfilter module for Drupal allows the use of syntax such as [google:omarzblog] to create links like: [google:omarzblog].

Or [dictionary:syntax] to look up the definition of [Dictionary:syntax]

Moreover, there are tons of other wiki based sites that have already been mapped out there (Interwiki Map). For the hell of it, I decide to try out all of them by using a simple text editor to create these 166 (mostly useless) links to search for "omarzblog"...

... on AbbeNormal >> [AbbeNormal:omarzblog] ingredients: CMS+RSS

Submitted by admin on Thu, 12/23/2004 - 10:35

Content Management Systems (CMSs) help create identity, community and collaboration, and Rich Site Summary (RSS) automates and fosters communication within and between these identities and communities. If CMS-based websites are like silos of knowledge on specialised issues, RSS is like the wind that blows between them, cross-polinating all the ideas, people and communities along the way. Aaaaaahh... sounds to me.

Drupal Tip: navigation block for authenticated users only...

Submitted by admin on Wed, 12/15/2004 - 12:45

The navigation box in Drupal contains a collection of links that are particularly useful for registered users. When surfing a Drupal site anonymously, there are fewer links and often, when building a web site that is NOT intended for the public to open accounts, the site adminitrators decide to only display this box for internal members team (administrators, editors, etc.). This thread on Drupal describes how to do this. Basically, it involves adding one line to the user_block funtion in the user.module file.

Open user.module in a simple text editor, find the string "user_block", scroll down to where is says "Case 1", and add... "if (!$user->uid) return;" before "if ($menu = theme('menu_tree'))". Save and upload the file.

A new look is emerging for OmarzBlog

Submitted by admin on Tue, 11/16/2004 - 17:27

So what do you think of the newlook of OmarzBlog?

It is based on Drupal's Pushbutton theme.

My hacks to the code aren't very pretty either. I'd love to know a cleaner and/or more intuitive way to accomplish the box trick.

You can visit the download page for this theme .

Feel free to download and use this theme under the CreativeCommons Attribution-ShareAlike 2.0 license.

Subscribe to RSS - Cool tricks