Menhir-effect blog

The only constant in webdevelopment is change

Menhir header


  • Building a nice slideshow with Drupal views and jQuery

    Thursday, January 22nd, 2009

    For one of my projects at One-Agency, i had to build a slideshow with images of one of my content types.

    I started to make my promotions content type with CCK and make it possible to upload an image and add extra information on the promo.
    After that, i could start with the real work.

    I made a block-view with the settings to show only promotions that are published, and show the nodes in this view as a node. Once you have this set up, you can start to prepare you’re template file.

  • Hooking drupal s’ logout button with jquery

    Tuesday, September 30th, 2008

    In a project I am working on, I had to hook the login and logout of drupal, so that an extra action would be taken. More specific to my case: when logging in and/or out of a drupal, the same action should be taken for another session to a second server.

    As drupal login and logout are buttons that are built in Drupal, It had to work around it. The most common solution would be to add an extra class attribute to the links that performed the logout. This class then could be triggered with Jquery to override the logout button to handle things differently. You could think of it as branching the logout task. In stead of going to a different page to perform logout, we call two pages with Jquery’s AJAX methods.

  • Introduction to Jquery @ Drupalcon Szeged2008

    Saturday, September 6th, 2008

    Because i am considerably new to drupal, I learned a big deal at the DrupalCon in Szeged. I am also new to jquery because untill now I preferred prototype with scriptaculous to do the fancy javascript in Onegana’s content management system. A couple of sessions handled jquery, jquery in drupal and even advanced javascript techniques and patterns in javascript.

    Javascript has always been a lot of fun when writing, although programmers have to make sure that different browsers give the user the same nice experience they want.

Actionscript 3.0 activity ahah Air AJAX alpha behavior browser caching cck code community content_copy css Design development Drupal embed Facebook fapi fixes Flash Flex fonts Games hangman Heartbeat hyves javascript jquery Library mouse png Pure MVC quick social networks swf tabs taxonomy transparant Twitter UIComponent unicode views
  • Categories

    • Actionscript 3.0 (3)
    • Design (2)
    • Drupal (15)
      • Heartbeat (4)
    • Flash (4)
    • Flex (4)
    • javascript (3)
    • News (1)
    • PHP (2)
    • quick fixes (1)
    • Technology (2)
    • Uncategorized (3)
 

Recent Comments

  • I'm interested in testing and hacking along....
    Kasper Souren
  • Hi, i'm looking for a way to have a view...
    MD
  • Great,thx, I'll take the discussion out there....
    Stalski
  • API category on drupal.org: http://drupal.org/node/113412...
    sun
  • I was not specific enough in my post as well....
    Stalski

home | Entries (RSS) | Comments (RSS) | Menhir
25 queries. 0.232 seconds.