Drupal

Drupal: Display Related Nodes using the Search Mechanism

I found an interesting php snippet to use in my website which enables a search function to look for related articles to the current page you are reading and listing them. Thanks to http://www.gerd-riesselmann.net


title);
$searchArgs = "";
foreach($words as $word) {
if (strlen($word) > variable_get('remove_short', 3)) {
$searchArgs .= $word . " ";
}
}
if (count($searchArgs) > 0) {
$results = node_search("search", $searchArgs);
if (is_array($results) && count($results) > 0) {
print '';
print '

Hack to prevent display of Title in Block in Drupal

Hack to prevent display of Title in Block
Selecting a title using CSS
Or by using php:

Similar Method for PHP Template

I am using phptemplate bluemarine and have adjusted my block.tpl.php to read:

module; ?> " id="block- module; ?> - delta; ?> ">

subject;
$findme = '!!hide!!';
$pos = strpos($mystring, $findme);
// Note our use of ===. Simply == would not work as expected
// because the position of 'a' was the 0th (first) character.
if ($pos === false)
print $block->subject; ?>

content; ?>

This will hide any title for blocks that I include the string "!!hide!!".

***Note: Give the block a description or it won't show up in your blocks list***

Resizing the Comment Box

Resize the Comment Boxes on Drupal - CSS input boxes:

Just use percentage values:

.item-list .title {
width: 80%;
}

Resizing the Comment Box

login box looks interesting

WordPress Themes - A possibility of porting over to Drupal

WordPress Themes - A possibility of porting over to Drupal - WordPress Themes

Pure CSS Themes in Drupal

Pure CSS Themes in Drupal post

Pure CSS themes in Drupal

Drupal Modules - FlexiMAX and Aggregator2

Aggregator2 - Drupal
"A distributed publishing system"
Nashvillenews.net uses this module.
Aggregator2 - Drupal

FlexiMAX: the holy grail of theming flexinode teasers and nodes....
"how to theme flexinode content at the $content level."
FlexiMAX

XML feed