To get default value of a field within node type

I have created a node-type e.g. news. A field, say, banner is added to the node-type which has a default value within it which was saved during creating the field. So, the node-type news contains a default banner for it. I have created a module to get the details from a node. I used node_load() to get the detail of the node. But for some node, the client will not add data to the field 'banner'. So, we need to extract the default 'banner' data. Is there any function in drupal 7 through which I could get that default 'banner' data? or is there any other method to retrieve this field?

IP addresses management module

Hello,

I'm new to Drupal, and I choose it for the great field feature to develop my project.
I'm a system engineer so code is not my main job, but I have some knowledges ;)

What I want to do like the topic suggest, is to create an IP management system for my Intranet. I use Drupal to manage my servers like a wiki, but more automated. I'm attending the Relation module to create relations between clients->projects->servers or datacenter->firewall->switchs->vlan->servers etc etc ...

User Points Rules integration

According to the documentation, the User Points module should provide a whole category of conditions for Rules. I see two events: "Points: User was awarded points," but also "Points: User will be awarded points." But I don't see anything for conditions, and for Actions, I see another item that isn't documented here: "Points: Load points of a user."

Configuration i18n for Jquery UI date picker pop-up (-> an example in French)

Hello

I am using JQuery datepicker pop up in a view on a site in French. The months and days are appearing in English in the pop-ups.

I downloaded : jquery.ui.datepicker-fr.js that I call in my pages thanks to an entry in my theme .info file :

scripts[] = scripts/jquery.ui.datepicker-fr.js

If I check the head of my pages I have the jquery.ui.datepicker-fr.js that appears after the jquery.ui.datepicker.min.js

Even if I empty my caches and reload I'm still getting my pop-ups in English.

OakmeadDrupalTheme.zip does not contain any .info files.

But it does.... lol.

I get this for when I use programs to make a theme for our site. I have a site already and just wanted to transfer it all across but this didn't work. So I now use Artisteer but this still happens.

OakmeadDrupalTheme.zip does not contain any .info files.

This is what I have in the .info file.

Dynamic display of nodes per Term (no page-reload) for Drupal 7

I have:

- Vocabulary 'Tags' with terms 'A', 'B', 'C'.
- Content nodes, each tagged with at least one of the above terms.

I wish to achieve:

1. A menu with the terms that function as tabs or 'filter' (no multiple selection, only one value) as so:
A | B | C

2. On clicking any of the terms in the menu, the corresponding nodes are displayed (Teasers)

3. I want this to happen without a page refresh, so vith AJAX, and preferably with a fade transition.

4. I need this as a block/view as it is part of a page.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x