Which is the equivalent function for content_fileds in drupal 7 field API??

Hello

I'm working on a D7 module based on Field API. In D6 I wrote a similar project where I used the content_field function to load field properties form other contexts.

However, I don't know how I can implement it in D7.

I have been digging, but I had no response.

Any idea?

Best Regards

adding fields in nivo slider

Hi, im new to drupal 7. My work is to create a slideshow and i used views-nivo-slider and displayed it. But now the navigation button is displayed in circles and now changed to changed to numbers. But now i should create a drop down box at the admin side to select a choice whether to display in circles or in numbers. Can anyone help me how to do it...........

Ajax/Ubercart - Crippling Error.

I've been getting the following error on the Ubercart checkout form that uses Ajax to update the fields but a number of things I've encountered make me think this isn't so much an Ubercart error but a conflict between two scripts. Here is the error message spat out when the ajax call fails:

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /system/ajax
StatusText: OK
ResponseText:

How to switch to bartik theme if your custom theme breaks

Hi,
My custom theme is having a conflict with my custom module due to naming convention. No form is being rendered as a result

I want to change my default theme to bartik but I can't do this

1) I can't login as path /user or /user/login does not show the form to login
2) I deleted my entire custom theme but drupal still won't roll back.

I am suing d7.10

Any suggestions ?

Cheers,
vishal

Very large list

Hello,

I have very large list = 40,000 items
The list is kind of taxonomy
how it is the bust way to handle such list?

should I use taxonomy?
convert it to nodes? (its will be heavy on the nodes table)
Are there any module to handle such lists or help me write code?
or to write code my self?

Thank you,

Binyamin

if author role print 'featured content' next to title

Hi,

Hope you are having a wonderful vacation :)

I'm trying to print the word 'featured content' next to the title on the node.tpl

if the author role is a, b or c

and kind of in the right direction with the following ..

<?php
  $node_author = user_load($node->uid);
  print ($node_author->roles[3]);
?>

but receive many errors:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x