]> Blog Marco - Drupal http://blog.photos2view.com.s6352.gridserver.com/taxonomy/term/83/0 Posts relating to Drupal en Tagadelic Drupal http://blog.photos2view.com.s6352.gridserver.com/tagadelic-drupal.htm Thanks to the <a href="http://drupal.org/project/tagadelic">tagadelic module</a> and this <a href="http://wiki.bryght.com/tags/tagadelic-module">php snippet</a> I can do this: <br><br> <a href="quote-of-the-day/interesting-quotations" class="tagadelic level6">Interesting Quotations</a> <a href="quote-of-the-day/motivational-quotes" class="tagadelic level1">Motivational Quotes</a> <a href="main-topics/celebrities/ashley-judd" class="tagadelic level1">Ashley Judd</a> <a href="main-topics/marco/travel/locations/asia" class="tagadelic level1">Asia</a> <a href="main-topics/marco/travel/locations/asia/china/beijing" class="tagadelic level3">Beijing</a> <a href="main-topics/marco/random-stuff/business" class="tagadelic level5">Business</a> <a href="main-topics/celebrities-0" class="tagadelic level6">Celebrities</a> <a href="main-topics/marco/travel/locations/asia/china" class="tagadelic level2">China</a> <a href="main-topics/marco/the-internet/css-programming" class="tagadelic level3">CSS programming</a> <a href="main-topics/marco/the-internet/webmaster-information/css-programming" class="tagadelic level3">CSS programming</a> <a href="main-topics/marco/the-internet/drupal" class="tagadelic level3">Drupal</a> <a href="main-topics/marco/the-internet/drupal/drupal-websites" class="tagadelic level3">Drupal Websites</a> <a href="main-topics/marco/random-stuff/ebay" class="tagadelic level1">eBay</a> <a href="main-topics/marco/random-stuff/university/electrical-engineering" class="tagadelic level3">Electrical Engineering</a> <a href="main-topics/marco/random-stuff/filipino" class="tagadelic level3">Filipino</a> <a href="main-topics/marco/random-stuff/food" class="tagadelic level5">Food</a> <a href="main-topics/marco/random-stuff/technology-gadgets/gadgets" class="tagadelic level3">Gadgets</a> <a href="main-topics/marco/random-stuff/technology-gadgets/general-computing" class="tagadelic level4">General Computing</a> <a href="main-topics/marco/random-stuff/life/health" class="tagadelic level5">Health</a> <a href="quote-of-the-day/interesting-quotations" class="tagadelic level4">Interesting Quotations</a> <a href="main-topics/marco/random-stuff/life-0" class="tagadelic level6">Life.</a> <a href="main-topics/marco/travel/locations" class="tagadelic level1">Locations</a> <a href="main-topics/marco/travel/locations/asia/philippines/manila" class="tagadelic level3">Manila</a> <a href="main-topics/marco-0" class="tagadelic level3">Marco</a> <a href="main-topics/marco/random-stuff/money" class="tagadelic level4">Money</a> <a href="quote-of-the-day/motivational-quotes" class="tagadelic level4">Motivational Quotes</a> <a href="main-topics/marco/random-stuff/music-and-other-lyrical-media" class="tagadelic level5">Music (and other Lyrical Media)</a> <a href="main-topics/celebrities/people" class="tagadelic level5">People</a> <a href="main-topics/marco/travel/locations/asia/philippines" class="tagadelic level4">Philippines</a> <a href="main-topics/marco/photography" class="tagadelic level5">Photography</a> <a href="main-topics/marco/photography/photos" class="tagadelic level4">Photos</a> <a href="main-topics/marco/random-stuff/politics" class="tagadelic level1">Politics</a> <a href="main-topics/marco/the-internet/programming-on-the-internet" class="tagadelic level4">Programming on the Internet</a> <a href="main-topics/marco/random-stuff-0" class="tagadelic level6">Random Stuff</a> <a href="main-topics/marco/travel/locations/asia/china/shanghai" class="tagadelic level4">Shanghai</a> <a href="main-topics/marco/random-stuff/university/electrical-engineering/signals-and-systems" class="tagadelic level2">Signals and Systems</a> <a href="main-topics/sports" class="tagadelic level3">Sports</a> <a href="main-topics/marco/random-stuff/sydney" class="tagadelic level5">Sydney</a> <a href="main-topics/marco/random-stuff/food/sydney-cuisine" class="tagadelic level4">Sydney Cuisine</a> <a href="main-topics/marco/random-stuff/sydney/sydney-events" class="tagadelic level4">Sydney Events</a> <a href="main-topics/marco/photography/technique" class="tagadelic level4">Technique</a> <a href="main-topics/marco/random-stuff/technology-gadgets" class="tagadelic level4">Technology + Gadgets</a> <a href="main-topics/marco/the-internet-0" class="tagadelic level5">The Internet</a> <a href="main-topics/marco/travel" class="tagadelic level5">Travel</a> <a href="main-topics/marco/travel/travel-tips" class="tagadelic level1">Travel tips</a> <a href="main-topics/marco/random-stuff/tv-movies-and-any-other-moving-picture-media" class="tagadelic level6">TV. + Movies. (and any other moving picture media)</a> <a href="main-topics/marco/random-stuff/university" class="tagadelic level4">University.</a> <a href="main-topics/marco/the-internet/webmaster-information" class="tagadelic level4">Webmaster information</a> <a href="main-topics/marco/the-internet/websites-of-interest" class="tagadelic level5">Websites of Interest</a> <a href="main-topics/marco/random-stuff/ebay/weird-stuff-on-ebay" class="tagadelic level1">Weird Stuff on eBay</a> Drupal Sun, 16 Apr 2006 05:24:06 -0700 Drupal: Display Related Nodes using the Search Mechanism http://blog.photos2view.com.s6352.gridserver.com/drupal-display-related-nodes-using-the-search-mechanism.htm <p>I <a href="http://www.gerd-riesselmann.net/archives/2005/11/display-related-nodes-in-drupal" target="_blank">found an interesting php snippet</a> 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 <a href="http://www.gerd-riesselmann.net/archives/2005/11/display-related-nodes-in-drupal" target="_blank">http://www.gerd-riesselmann.net</a></p> <p><code ><br /> title);<br /> $searchArgs = "";<br /> foreach($words as $word) {<br /> if (strlen($word) &gt; variable_get('remove_short', 3)) {<br /> $searchArgs .= $word . " ";<br /> }<br /> }<br /> if (count($searchArgs) &gt; 0) {<br /> $results = node_search("search", $searchArgs);<br /> if (is_array($results) &amp;&amp; count($results) &gt; 0) {<br /> print '';<br /> print '<div id="related_nodes">';<br /> print 'The following articles may be of interest to you, too:';<br /> $list = array();<br /> $count = 0;<br /> foreach($results as $item) {<br /> if ($item['title'] == $node-&gt;title) {<br /> continue;<br /> }<br /> $list[] = l($item['title'], $item['link']) .</p> Drupal Tue, 20 Dec 2005 04:16:04 -0800 Hack to prevent display of Title in Block in Drupal http://blog.photos2view.com.s6352.gridserver.com/hack-to-prevent-display-of-title-in-block-in-drupal.htm <p><a href="http://drupal.org/node/11295" target="_blank" rel="nofollow">Hack to prevent display of Title in Block</a><br /> Selecting a title using CSS<br /> Or by using php:</p> <p>Similar Method for PHP Template</p> <p>I am using phptemplate bluemarine and have adjusted my block.tpl.php to read:</p> <div >module; ?&gt; " id="block- module; ?&gt; - delta; ?&gt; "&gt;</p> <p>subject;<br /> $findme = '!!hide!!';<br /> $pos = strpos($mystring, $findme);<br /> // Note our use of ===. Simply == would not work as expected<br /> // because the position of 'a' was the 0th (first) character.<br /> if ($pos === false)<br /> print $block-&gt;subject; ?&gt;<br /> <div class="content"> content; ?&gt; </div> </div> <p>This will hide any title for blocks that I include the string "!!hide!!". </p> <p>***Note: Give the block a description or it won't show up in your blocks list***</p> Drupal Thu, 01 Dec 2005 16:45:32 -0800 Resizing the Comment Box http://blog.photos2view.com.s6352.gridserver.com/resizing-the-comment-box.htm <p>Resize the Comment Boxes on Drupal - CSS input boxes: </p> <p>Just use percentage values:</p> <p>.item-list .title {<br /> width: 80%;<br /> }</p> <p><a href="http://drupal.org/node/24997" target="_blank" rel="nofollow">Resizing the Comment Box</a></p> <p><a href="http://www.bondifm.com.au/public_interface/index.php" target="_blank" rel="nofollow">login box looks interesting</a></p> CSS programming Drupal Thu, 01 Dec 2005 16:44:22 -0800 WordPress Themes - A possibility of porting over to Drupal http://blog.photos2view.com.s6352.gridserver.com/wordpress-themes-a-possibility-of-porting-over-to-drupal.htm <p>WordPress Themes - A possibility of porting over to Drupal - <a href="http://www.alexking.org/index.php?content=software/wordpress/themes.php" target="_blank" rel="nofollow">WordPress Themes</a></p> Drupal Thu, 01 Dec 2005 16:43:53 -0800 Pure CSS Themes in Drupal http://blog.photos2view.com.s6352.gridserver.com/pure-css-themes-in-drupal.htm <p>Pure CSS Themes in Drupal post</p> <p><a href="http://drupal.org/node/34630" target="_blank" rel="nofollow">Pure CSS themes in Drupal</a></p> Drupal Thu, 01 Dec 2005 16:41:46 -0800 Drupal Modules - FlexiMAX and Aggregator2 http://blog.photos2view.com.s6352.gridserver.com/drupal-modules-fleximax-and-aggregator2.htm <p>Aggregator2 - Drupal<br /> "A distributed publishing system"<br /> <a href="http://www.nashvillenews.net" target="_blank" rel="nofollow">Nashvillenews.net</a> uses this module.<br /> <a href="http://drupal.org/node/32384" target="_blank">Aggregator2 - Drupal</a></p> <p>FlexiMAX: the holy grail of theming flexinode teasers and nodes....<br /> "how to theme flexinode content at the $content level."<br /> <a href="http://drupal.org/node/30376" target="_blank">FlexiMAX</a></p> Drupal Wed, 30 Nov 2005 23:32:56 -0800