change Media File Selectors library path?

I'd like a simple way to have a user choose a national flag image to display representing a persons nationality. At the moment, it gives 3 options (web, upload, library) of which i only want library to show, and library opens the general image media file, I'd like a separate folder path with only flag image thumbnails.

How can this be achieved/configured?

How to customize drupal 7 user registration form?

How to customize drupal 7 user registration form?

I'd like to add a contact number field and an image field in user registration form. The image field is for ID image in JPG or GIF format.

The scenario is:
When user is signing up with the site, user needs to provide contact number and upload their proof of ID. The image file need to be private. No one can see the user contact number and ID image file except admin.

How to achieve this?

Setting | (Pipes) between menu items in SuperFish excluding front and end of menu

I was working on a project on Drupal with SuperFish and the idea was we didn't want a drop down menu but we used SuperFish anyways. For formatting reasons we wanted the menu to look something like this:

Menu Item | Menu Item | Menu Item | Menu Item

Notice no pipes at the front or the end. The issue was when you add the tags in the Advanced HTML around each link as its an array it will either at the pipe at the front or the end. However, because Drupal + Superfish is awesome, they do allow you to enable the first / last classes.

So, with that said here is a quick howto to get your menu to show up the same way we made ours.

This tutorial is assuming that you already have Drupal and Superfish up and running and the menu setup the way you want but can not get the formatting correct.

In the SuperFish Menu Go to:
- Advanced CSS Settings
- - Helper Classes
Enable : Add first \ middle \ last classes.
Enable : Do not add first \ middle \ last classes to single menu items. (not sure if this is needed but its how I have it)

THEN

Go to Custom Classes
Add "list-work" (without the quotes) to the "For the list items" box.
*Note : "list-work" is the name of the class I created in CSS and can be named to anything as long as it is the same in CSS file.

Now you will need to add the following to your CSS file for this theme.

Webform Submission to Content

Does anyone know of a way to create content when a webform is submitted, using some of the data from the webform submission? I tried using Rules and Webform Rules to do this, but I'm not having any luck.

The reason I'm asking about this is because I prefer the flexibility of the Webform module for creating a form that the user can submit content with over Drupal's built-in "Add Content" form.

Invoke scripts specific to a node

Until now I have invoked scripts with the theme.info file in the following manner:

scripts[] = scriptfile.js
scripts[] = scriptfile2.js

This results in the script being loaded for every page, but how could I limit the script to load only on specified nodes inorder to save resources?

Problem after Upgrade Drupal 6 to 7

I did a upgrade from drupal 6.22 to 7.7 and have updated the database.

Everything works accept my blogs and pages.
I only get the title of the blog/page the story is gone and gives errors like:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x