• HOME
  • ABOUT ME

www.jeremyfrench.co.uk

  • tags
  • my photos
Activity Stream › jeremyfrench's Activity Stream › 1124

Answer by Jeremy French for How to get and set the delta value?

jeremyfrench — Wed, 07/28/2010 - 15:09

hook_block() is used for defining a and displaying blocks. You define the delta when you are producing the data for $op='list' this is passed back to the hook when it it is called for $op='view'.

the $delta argument will therefore be whatever you define. If you define the keys in your list array as red, green and blue that is what will be passed if the block is displayed.

Maby looking at the example will help you.

See original: User Jeremy French - Stack Overflow Answer by Jeremy French for How to get and set the delta value?

Activity Stream

September 8, 2010

  • Flickr jeremyfrench posted IMAG0274 10:47pm #
  • Flickr jeremyfrench posted IMAG0275 10:47pm #
  • Flickr jeremyfrench posted IMAG0276 10:47pm #
  • Flickr jeremyfrench posted IMAG0277 10:46pm #
  • Flickr jeremyfrench posted IMAG0297 10:46pm #
  • foursquare jeremyfrench checked in at Monmouth Coffee Company8:20am#

September 6, 2010

  • Github jeremyfrench started watching yched/field_group 3:22pm#
  • Twitter jeremyfrench tweeted "JFrenchTweet: Looks like bbc news now supports RDFa via open graph. Didn't notice that before the weekend. #bbc #rdfa #opengraph" 9:00am #
  • Del.icio.us jeremyfrench linked to Welcome — LOD2 – Creating Knowledge out of Interlinked Data 8:50am#
  • Del.icio.us jeremyfrench linked to Semantic Web, Semantische Technologien, Web 2.0, Web 3.0, Social Software, Ausbildung, Seminare, Studien 8:47am#

Links

  • Tags
  • my photos

Powered by Drupal, an open source content management system
  • tags
  • my photos