ted serbinski – entrepreneur & web architect
  • thoughts
  • about
  • contact



Popular content

  • Nolo: Law articles without the cruft
  • "Orange Mint" Drupal theme for download
  • New iPod
  • SimpleMenu 4.0 released
  • Gorgeous wallpapers
  • Widescreen Mac Mail
  • Blueprint Drupal Theme Released
  • DC Drupal Meetup #4
  • Live from London
  • ted 2.0 - a site redesign
more

Recent comments

  • thanks very much
    1 week 6 days ago
  • it is really nice written
    2 weeks 5 days ago
  • Hi, I have used the
    4 weeks 3 days ago
  • thankyou so much and for
    9 weeks 19 hours ago
  • It’s typical for the
    10 weeks 4 days ago
more

Recent comments

  • MTV.co.uk   1 week 6 days ago
    thanks very much

    thanks very much

  • Reducing Drupal blog spam   2 weeks 5 days ago
    it is really nice written

    it is really nice written article from you guys. i would suggest it to everyone who wants to read and learn more. there is so many helpful information’s which i couldn’t find on other websites and other similar blogs. thank you for that drupal is really great.

  • Creating an Alpha Pager with Views 2 and Drupal 6   4 weeks 3 days ago
    Hi, I have used the

    Hi,

    I have used the glossary view in Views2 to get this to work. However, I am having a problem with the default argument. Was wondering if you can help. Currently, the default argument is hardcoded to “a”. So, if I don’t have any results starting with “a”, the results page comes up empty. Instead, I want it to display the results starting with the first letter in the summary. How can I set the default argument so that I can get this functionality? Would appreciate if you can help…

    Thanks!

  • Creating an Alpha Pager with Views 2 and Drupal 6   9 weeks 19 hours ago
    thankyou so much and for

    thankyou so much and for those who can’t quite be bothered to fill in the dots:

    1. <div class="alpha-pager">
    2. <a class="alpha-page" href="/directory/a">A</a> <a class="alpha-page" href="/directory/b">B</a> <a class="alpha-page" href="/directory/c">C</a> <a class="alpha-page" href="/directory/d">D</a> <a class="alpha-page" href="/directory/e">E</a> <a class="alpha-page" href="/directory/f">F</a> <a class="alpha-page" href="/directory/f">G</a> <a class="alpha-page" href="/directory/h">H</a> <a class="alpha-page" href="/directory/i">I</a> <a class="alpha-page" href="/directory/j">J</a> <a class="alpha-page" href="/directory/k">K</a> <a class="alpha-page" href="/directory/l">L</a> <a class="alpha-page" href="/directory/m">M</a> <a class="alpha-page" href="/directory/n">N</a> <a class="alpha-page" href="/directory/o">O</a> <a class="alpha-page" href="/directory/p">P</a> <a class="alpha-page" href="/directory/q">Q</a> <a class="alpha-page" href="/directory/r">R</a> <a class="alpha-page" href="/directory/s">S</a> <a class="alpha-page" href="/directory/t">T</a> <a class="alpha-page" href="/directory/u">U</a> <a class="alpha-page" href="/directory/v">V</a> <a class="alpha-page" href="/directory/w">W</a> <a class="alpha-page" href="/directory/x">X</a> <a class="alpha-page" href="/directory/y">Y</a> <a class="alpha-page" href="/directory/z">Z</a>
    3. </div>

  • Rebuilding a BMW intake: S52 to M50 intake manifold conversion, day 1   10 weeks 4 days ago
    It’s typical for the

    It’s typical for the directions to make it sound easy. It seems nothing is ever as easy as they make it out to be.

  • Automatically Extracting Tags from Nodes   16 weeks 3 hours ago
    I’m glad to see this review.

    I’m glad to see this review. I was about to embark on writing yet-another module and am glad to know that the Auto Tagging module exists so that I can just plug into that.

    One other module to consider is http://drupal.org/project/inform

  • Preventing Drupal from Handling 404s for Performance   18 weeks 3 days ago
    @Quoc: I’m wondering the same

    @Quoc: I’m wondering the same thing, and am working to try to find a solution. The issue here is that in Drupal 6, the function _phptemplate_variables has been deprecated. Here’s a read on that: http://drupal.org/node/223430.

    I wonder if function _preprocess_page () could be good for this, by injecting some of the same code above (it would also have to be verified to work with Drupal 6, however).

    1. // show custom 404 page
    2. $headers = drupal_get_headers();
    3. if (strpos($headers, 'HTTP/1.1 404') !== <span class="caps">FALSE</span>) {
    4.   // make sure this path = ErrorDocument in .htaccess above
    5.   include_once './sites/all/themes/foundation/404.php';
    6.   exit();
    7. }  

  • Getting Drupal to Play Nice with Your CDN   24 weeks 1 day ago
    Hi Ted/et all, there is an

    Hi Ted/et all, there is an easy way to do CDN on a drupal site which I blogged about a while ago. It kind depends on using simpleCDN or a network that allows mirroring via a URL. The lightning service on simpleCDN + the simpleCDN module do this and they are super cheap. The project and the service share the same name but are not associated.

    There is my write up here: http://www.markparrott.com/blog/drupal-website-performance-improve-your-...

    and the drupal projects here: http://drupal.org/project/simplecdn

    and simpleCDN is here: http://www.simplecdn.com

  • Menu bar 2.0, released from Belgium!   29 weeks 1 day ago
    Hello, I love this module,

    Hello, I love this module, or rather Simple menu.

    Is it possible to use it for the whole sites navigation instead of only using it for administration?

  • Creating an Alpha Pager with Views 2 and Drupal 6   31 weeks 1 day ago
    The default glossary view in

    The default glossary view in views 2 does not work, the number and alpha pager at the top does nohting.

    This tutorial also does not work for me because the pager is accessing “http://www.mysite.com/directory/” when the page is actually located at “http://www.mysite.com/index.php?q=directory/”

    The first URL results in a 404 not found.

    I do not have clean URLs turned on, my server doesnt support them.

  • RightScale & Drupal - How to Get Internal IP Address   31 weeks 5 days ago
    Yes that would work,

    Yes that would work, however, we don’t need the user’s IP address in particular, we need the IP address of the actually machine in our cluster. During boot time we can use the above script to write the IP address to a file so we have it handy at the PHP level with no other trickier :)

  • RightScale & Drupal - How to Get Internal IP Address   31 weeks 6 days ago
    Hi Ted, If you just want to

    Hi Ted, If you just want to have the remote user ip address and you are using the HA-Proxy configuration from Rightscale then you can just put this on your settings.php, from my point of view is safe enough.

    1. /*
    2. * Support for haproxy, remote ip addres is in the x_forwarded_for
    3. */
    4. $_SERVER['REMOTE_ADDR'] = array_shift(explode(',', $_SERVER['HTTP_X_FORWARDED_FOR']));

    If you need the whitelist configuration for anything else, then your option is the best one, but you need to execute a ssh script towards any already existing Drupal server and you need to have that server list in some place.

    I look forward to know about your new projects that are probably so exciting as your last ones.

  • Preventing Drupal from Handling 404s for Performance   32 weeks 5 days ago
    Hi, Does anyone know how

    Hi,

    Does anyone know how to make this work on Drupal 6.x, to be exact is the Drupal version 6.13?

    I have used this modification on Drupal 5.x flawlessly in the past, but now it doesn’t seem to work on Drupal 6.x.

    Thanks for your help

  • Blueprint Drupal Theme Released   33 weeks 6 days ago
    Right, thanks Ted!

    Right, thanks Ted!

  • Blueprint Drupal Theme Released   35 weeks 2 days ago
    Yes, the whole theme is a

    Yes, the whole theme is a template and met to be editable. Change page.tpl.php to your likening. It reuses Blueprint CSS classes so check the README for the links on how those work.

  • Blueprint Drupal Theme Released   35 weeks 2 days ago
    hey, thanks for the

    hey, thanks for the theme! The only problem I found, I have no idea what can I edit ? style.css is empty and waiting for me, great. But what about grid changes ? Its all in page.tpl.php coded by php variables. Where can I change them ?

    I think I missed something really obvious..

  • Getting Drupal to Play Nice with Your CDN   35 weeks 5 days ago
    Just an update, a better

    Just an update, a better version of this patch is slated to hit core for Drupal 7. Check it out: http://drupal.org/node/499156

  • Reducing Drupal blog spam   37 weeks 8 hours ago
    really interesting and well

    really interesting and well written article.

  • Creating an Alpha Pager with Views 2 and Drupal 6   40 weeks 4 hours ago
    cloning the

    cloning the

    Default Node view: glossary

    Will do the trick… _

    All you have to do is make a little changes on the arguments and fields depending on what you want…

    _

  • Creating an Alpha Pager with Views 2 and Drupal 6   40 weeks 3 days ago
    vacabindex module (drupal

    vacabindex module (drupal 5/6)

    Once installed you can setup the path here: admin/build/vocabindex

    Best, iA

  • Creating an Alpha Pager with Views 2 and Drupal 6   40 weeks 4 days ago
    I seem not to know where to

    I seem not to know where to set the path….still confuses me…please Help

  • Creating an Alpha Pager with Views 2 and Drupal 6   42 weeks 1 day ago
    Hi guys, Here a module

    Hi guys,

    Here a module that does the trick without tweaking: http://drupal.org/project/vocabindex

    Best, iA

  • Drupal Behavior to Fix IE6 CSS Background Image Flickering   42 weeks 1 day ago
    Linda a few background

    Linda a few background images should still work fine in IE6. If you are using a lot of them like in the above linked examples that is where you can run into issues.

    To use this technique create a new JavaScript file and use your themes info file to include this script. You could also optionally add this in a module using drupal_add_js but that might be more work than is needed.

  • Drupal Behavior to Fix IE6 CSS Background Image Flickering   42 weeks 2 days ago
    Hi Ted, This solution

    Hi Ted,

    This solution sounds brilliant and just what I’m looking for!

    I only have one problem….as a newbee in Drupal, I haven’t got any idea WHERE to put this code….. can you help me out?.... what file needs to be changed? Do I create a new module?

    I would love to add a background-image to my site, but not if it flickers in IE!!

    Thanks in advance,

    Linda

  • Getting Drupal to Play Nice with Your CDN   42 weeks 4 days ago
    Thanks guys that was

    Thanks guys that was extremely helpful!

    sandeep verma (http://sandeepverma.wordpress.com)

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • …
  • next ›
  • last »
Code examples and downloadable zip files of code are licensed under a Creative Commons License.
All other content, unless where noted, ©2010 Theodore Serbinski. All Rights Reserved.