users edit & crop pictures

is there a module to allow users to crop pictures after they upload one, much like that of facebook?

Help needed where "Comment" text shows twice

Hi,

I'm running 7.9 and can't find out where this issue is. Bascially on any content or in the site activty page (using heartbeat module) I get the "comment" text showing twice.

See here

and again here in a content node. Again comment appears twice (scroll down to see comments)

facebook connect WPOD

i have installed FBConnect and when i attempt to login with my FB login OR create a new accoutn with my FB login I get a WPOD,

the following error was logged,
PHP Fatal error: Call to a member function getLoginUrl() on a non-object in C:\\xampp\\htdocs\\drupal\\new\\sites\\all\\modules\\fbconnect\\fbconnect.pages.inc on line 231,

i hope someone can help!

Openlayers KML layer not appears

Hi, this is my first post here so I'd like to thank you for developing Drupal. I like it very much, it is an amazing and very interesting world where all of my ideas can be realized.

But sometimes it behaves strange.

I have a map here: http://trains.hu/hu/photomap

Use variable string in EntityFieldQuery

I hava a query like this:

function _entity_list_display_output($number_of_posts, $view_mode, $content_type, $use_terms) {

$query = new EntityFieldQuery;
    $entities = $query->entityCondition('entity_type', 'node')
  ->entityCondition('bundle', $content_type)
  ->propertyOrderBy('created', 'DESC')
  ->range(0, $number_of_posts)
  ->execute();
  $nodes = entity_load('node', array_keys($entities['node']));
  $output = drupal_render(node_view_multiple($nodes, $view_mode));
  return $output;
}

Now I would like something like this:


function _entity_list_display_output($number_of_posts, $view_mode, $content_type, $use_terms) {

//setting variable as empty
$selecthub = '';

//use_terms contains tid value
$hub = $use_terms[2];

// if $use_terms[2] conatins value, fill the $selecthub
if (strlen($use_terms[2])>=1)
{
$selecthub = "->fieldCondition('field_news_hub', 'tid'," . $hub . ",'=');";
}
$query = new EntityFieldQuery;
$entities = $query->entityCondition('entity_type', 'node')
$selecthub
->entityCondition('bundle', $content_type)
->propertyOrderBy('created', 'DESC')
->range(0, $number_of_posts)
// and here I would like to add
$selecthub
->execute();
$nodes = entity_load('node', array_keys($entities['node']));
$output = drupal_render(node_view_multiple($nodes, $view_mode));

Upgrading from Drupal 6.22 to 7.9 generates error and keeps appending to settings.php

I maintain 6 different sites with Drupal, which are almost all running on the same host and running the same release of modules. I recently upgraded 4 of the 6 from 6.22 to 7.9 successfully. For the others, I followed the steps of taking the site offline, disabling all non-core modules, changing the theme to Garland, and removing the old folders. (I ended up renaming them to .6, and kept site, but renamed all to all.6.) This worked for running the upgrade on 4 of the 6.

On the 2 other sites, I got a 500 error about header information being sent. On investigation, I found out that settings.php kept getting something like:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x