chirale

IT and beyond

  • Coding
  • SysAdmin
  • whoami
  • Get alias or system path: drupal_lookup_path

    l function converts automatically system path in alias where available. This simple snippet ports this useful function on your raw HTML attributes, point to alias or to the system path. if(($nodepath = drupal_lookup_path(‘alias’,”node/”.$realnode->nid))===FALSE) $nodepath =  base_path() . “node/”.$realnode->nid; Where $nodepath can be used on href Cfr. drupal_lookup_path

    chirale

    June 26, 2008
    Drupal
    alias, Drupal, drupal_lookup_path, l, path, system path
  • Views Theme Wizard on Zen: it works!

    JohnAlbin writes a good tutorial about how to correct Views Theme Wizard on Zen Subthemes. I was looking for this solution some times ago, it’s very useful for views handling.

    chirale

    June 26, 2008
    Drupal
    Drupal, subtheme, theme, views, views wizard, zen
  • PDF cover thumbnails for attached files

    Display a cover for any PDF attachment loaded on Drupal using Ghostscript.

    chirale

    June 6, 2008
    Drupal
    contemplate, Drupal, ghostscript, image, imagemagick, pdf, preview, thumb, thumbnail
  • Change framebuffer resolution

    While trying to update kernel in order to run Virtualbox, i got a weird resolution error. On OS boot, screen blanks with an error like “Resolution is beyond allowed limits”. Since this happens before GUI is loaded, Xorg is innocent. I’ve installed the 915resolution patch for a widescreen HP, but it’s innocent too. Well, this […]

    chirale

    May 22, 2008
    Howtos
    925resolution, debian, framebuffer, grub, howto, hwinfo
  • Howto merge *.001 to *.999 files on Linux

    Someone give me some files named like this: video.zip.001, …, video.zip.999 Initially I think these was some multipart zip files, but they aren’t. Solution: On your sudo / root shell type: apt-get install lxsplit lxsplit -j video.zip.001 This will install LX Split (a command line HJSplit version for Linux) found on debian-multimedia.org repository to open […]

    chirale

    May 17, 2008
    Howtos
    001, 999, files, hjsplit, howto, linux, lxsplit, multipart
←Previous Page
1 … 23 24 25 26 27 … 30
Next Page→

Blog at WordPress.com.

  • Follow Following
    • chirale
    • Join 28 other followers
    • Already have a WordPress.com account? Log in now.
    • chirale
    • Edit Site
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar