Allow users to post pictures/videos and rate it

Hy,

I want to create a website where user can upload photos and videos

The user choose the category and the picture/video is added

Then, every members can rate the contents (it automaticly makes a classification)

Thx for helping

Dropdown menu doesn't show first terms or content

Hello.

I have a problem with a dropdown menus on the top on my site, the first content og term doesn't show but is only blank.
You can press on it though.

You can try it at: www.tragu.com

It used the following code in the page.tpl.php file, to make the dropdown.

newbie: creating modules and buttons, and sending files to user

I'm rather new to Drupal, and got lost in documentation,
so I turn to the forums to ask if anyone is willing to show me some of the basics.

I have a simple test site with a basic page called "about", dislpayed on the content area.

---

What I want to do:

create a button inside the "about" page.
when user clicks the button, it should print "hello world!" in the content area.

---

What I have tried:

first I enabled all the needed php options,
and put this in the page:

How to add a JS to all pages on the site which is not part of any module or theme?

Hi,

I am working on a functionality which requires a JS file defined in '/sites/all/libraries/SOMEFILE.js' to be included on all pages of the site. Now this JS is not part of any module or even theme. So what should be the best way to include this file?

I know that we can add this in hook_theme() but I don't want to make this part of theme as in future there may be 10-15 more JS files like this and adding all those from hook_theme() will not be a good practice.
Also it is not recommended to include such files from hook_init().

Thanks,
Vikesh M

Facebook login integration

Good morning,
after trying everything to make Facebook Connect module work, without any success, i've decided to integrate facebook API on my own.
I managed to write the code for facebook related login/logout but i don't know how to implement it with drupal authentication.

Is there a function or something to call during facebook login to automatically log into drupal site too? or is there a way to put my facebook login code into drupal one?

the code (after calling facebook class):

Ajouter champ de type couleur

Je veut ajouté un champ de type couleur dans un type de contenu personnalisé; comme ajouter un champ de type Int ; est ce qu'il ya un champ predefini de type couleur.merci

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x