This forum is for less technical discussions about the Drupal project, not for support questions.

Module Only Search

1. Is there a way to search only modules? I am having a very hard time finding specific modules.
2. How do I turn my "notifications on" for my posts, so that I will recieve and email when I recieve a reply?

Localizations, I18N, Google Translations... whats the best???

Hi all, I'm building a site using drupal and I need to have it available in different languages.

What I've gathered so far is that I should be using the localization module and the .po standard.

Another option would be still to use the localization module but to use google translations instead.

Can anyone tell me what would probably be easier and more reliable? advantages and disadvantages? suggestions?

How about the I18N module? Would that help me anyhow?

thanks a lot..

Modules that ROCK

Just had to comment on two new modules that are rock'n. The IM module(recently by killes&jbellsey) and the Gmap Modules(webgeer&yecarrillo), really turn it up a notch. On top of all the great features, functions and augmentations of the Drupal CMS, these just add that extra polish.

Great work.

Having trouble adding thumbnail pics to user_profile.tpl.php

<?php
// Display N most recent thumbnails of images submitted by the user
// Each thumbnail is linked back to it's image node
// Can optional limit the photos shown by specififying one or taxonomy term id's

// The number of thumbnail images to show
$nlimit = 3;
$taxo_id = array();
// Add one line for each taxonomy term id you want to limit the thumbnails to
// As an example, the following two lines would select images associated with taxonomy terms 36 OR 37
// $taxo_id[] = 36;
// $taxo_id[] = 37;
// Note, if not taxonomy term ids are specified, the selection is from all the user submitted images

$userid=$user->uid;

if ( count($taxo_id) > 0 ) {
// Limit images based on taxonomy term id's
$taxo_str = implode(',', $taxo_id);
$sql = "SELECT n.created, n.title, n.nid, n.changed FROM node n INNER JOIN term_node ON n.nid = term_node.nid AND term_node.tid IN ($taxo_str) WHERE n.type = 'image' AND n.uid = $userid AND n.status = 1 ORDER BY n.changed DESC";
}
else {
$sql = "SELECT n.created, n.title, n.nid, n.changed FROM node n WHERE n.type = 'image' AND n.uid = $userid AND n.status = 1 ORDER BY n.changed DESC";
}

$result = db_query_range($sql, 0, $nlimit);
$output = '';
while ( $info = db_fetch_object($result) ) {
$node = node_load(array('nid' => $info->nid));
$img_tag = image_display($node, 'thumbnail');
$link = 'node/' . $node->nid;

loading random members with images in block only works with node permission selected

$count = 22;
$result = db_query_range(db_rewrite_sql("SELECT * FROM {users} u ORDER BY RAND()"), 0, $count);
  while ($user_info = db_fetch_object($result)) {
      if($user_info->picture){
      print "<p align=\"center\"><a href=\"user/$user_info->uid\" title=\"View $user_info->name 's profile and brief biog.\">";      print '<img border="1" border-color="#eaeaea" src="'.$user_info->picture.'" width="88"><br>';
      print $user_info->name;
      profile_load_profile($user_info);

Channel Nine Theme -- How to put content in right columns?

I downloaded the Channel Nine theme but can't see how to add content to the right columns. They don't show up in the blocks. There was no documentation with the theme.

This looks like the relevant part of page.tpl.php, but I don't know what it means:

<?php if ($right1) { ?>
    <div id="right1">
      <?php print $right1 ?>
    </div>
  <?php } ?>

  <?php if ($right2) { ?>
    <div id="right2">
      <?php print $right2 ?>
    </div>
  <?php } ?>

Pages

Subscribe with RSS Subscribe to RSS - General discussion