Block: Auto-complete/Select List of nodes via title. No AJAX
mikeytown2 - February 1, 2009 - 03:55
Was looking for a way to display a list of nodes as a large select list or auto complete field, as a block. No AJAX
sorta like http://drupal.org/project/droplist_filter but if it would act like the Firefox search bar (more like http://drupal.org/project/autocomplete_node_finder ), that would be awesome. Also how would I generate the list of node titles?
Reason for no AJAX is its on shared hosting and using Boost for a static cache. Trying to not use php... its much faster that way.

Not using AJAX implies the
Not using AJAX implies the list of node titles (and nids) is preloaded with the page. Depending on what you consider large this can greatly increase the page size and the time it takes to load. Given an average length of 16 (a random choice) 100 node title would add over 1600 bytes, 1000 would add over 16000 bytes.
Given that is not a problem you would need some custom jQuery (javascript) that attaches an auto complete functionality to a text field and instead of using AJAX and PHP, searches/filters the list loaded with the page.
Sweet, I'll look into a
Sweet, I'll look into a jQuery Solution! It's 200 Nodes so about 4k extra.