Video Gallery DRUPAL 7

Hello

1.
I am very very very interested in creating a video gallery PRO. [ Something similar to http://buildamodule.com/ ]
What is the DRUAPL 7 existing module, that allows me to do this?

2.
I have a 1and1 dedicated server.

It is better to place the videos off my server, ie, hire some specialized services?
What suggest I use?

Sorry for my English.

Alex

how to show a pie chart in my module

Hi Guys

i have the profile module enabled ie profile types and profile value tables

in this i have 10 fields but need to grab only 3 fields that i wish to make into a pie chart have got the chart module but i have no idea how i can output the fields into a pie chart in my own module

i have tried in my function

function get_chart() {
  
  $values = array();
$results = db_query("SELECT users.uid AS uid,
   profile_value_total.value AS profile_value_profile_total_value,
   profile_value_test.uid AS profile_value_profile_test_uid,
   FROM users users
 LEFT JOIN {profile_value} profile_value_profile_total ON users.uid = profile_value_profile_total.uid AND profile_value_profile_total.fid = 8
LEFT JOIN {profile_value} profile_value_profile_test ON users.uid = profile_value_profile_test.uid AND profile_value_profile_test.fid = 10
where uid = uid");
$ii = 0;
while ($next_val = db_fetch_object($results)){
$values[$ii] = $next_val->chartvals;
$ii++;
}
 

$chart = array(
'#plugin'    => 'google', // Google Charts API will be used
'#type'     => 'line2D', // A simple line chart
'#height'   => 100, // in pixels
'#width'    => 200, // in pixels
$values, // This is the contents of the array build above
);

return charts_chart($chart);
  
}

but this just throws me a Syntax error or access violation: 1064

Drupal 7 Field cleanup

I've used every possible combination of field_delete_field and field_delete_instance in my modules' uninstall function but none of these ever seem to cleanup all of the fields and instances I have created during the install. I also have a field_purge_batch(1000) call after doing the deletes.

Can anyone give me a good working example?

SQLSTATE[42000]: Syntax error or access violation: 1064

PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY fit DESC LIMIT 0, 1' at line 1: SELECT * FROM {menu_router} WHERE path IN () ORDER BY fit DESC LIMIT 0, 1; Array ( ) in menu_get_item() (line 445 of /home/starpc/web/piratkopi.no/drupal/includes/menu.inc).

What to do to correct this error?
For me, drupal have just given me error after error.
I fix them but this one is a hard nut for me to crack.

amfserver doesn't return data

Hi,

I am trying to get D7 to work with amfserver and flex. I am working with the services module 7.x-3.0-rc3 and amfserver 7.x-3.0-rc1. I am also using the dpdk example provided with the amfserver module (dpdk subversion revision 543). I hope I set up everything correctly as described in module description.
The testexample works fine but the DrupalData object is always empty - no matter which service resource I try to fetch. For example:

How to create new Views 2 filter handler (custom term disabling feature)?

Hi there,

I am developing small module for term disabling feature (one of my customers asked for it). This is what I have done so far:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x