Webform: How do I reference a user field?

Hi,

I'm using Webform for the first time and making good headway. I've added fields to my users via the site's "account settings" that I want to reference as a token in a webform, but can't make it work. For example, I created a first name field called field_f_name and tried to use the token syntax %profile[field_f_name]. What is the proper way to reference that for use in my form (or anywhere)?

Thanks guys!

You are not authorized to access this page - change text

hello

I have my site only for registered users. When user is non authenticated user he can't see any node from my site. But when he try to force some node or try to connect by a link from other site system displays a page with text: You are not authorized to access this page.
So I would like to add to this page a button with link to registration form of my site. Where can I find page/file with this text or which module give me a possibility to manage this page as I would like to.

THX
Adam

Can two permissions have access to module?

I am programming a module that I want 2 different types of users to have access to.

However, I'm learning that I can't do this: 'access arguments' => array('permission1', 'permission2'),

Any suggestions on how to accomplish this?

right-to-left text

Hi,
I think I finally have no choice but to convert one of my web sites to Drupal - it's getting too large to manage. For now I'm just messing around to make sure that I can actually do everything I need...and it didn't take long to run up against a wall: I use Hebrew text (which runs right-to-left) quite frequently, both as standalone paragraphs and interspersed within left-to-right text.
However, inserting any amount of Hebrew text into a basic page or article fails, producing this output:

PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\xD7\xA8' \xD7\x97...' for column 'body_value' at row 1: INSERT INTO {field_data_body} (entity_type, entity_id, revision_id, bundle, delta, language, body_value, body_summary, body_format) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8); Array ( [:db_insert_placeholder_0] => node [:db_insert_placeholder_1] => 8 [:db_insert_placeholder_2] => 8 [:db_insert_placeholder_3] => page [:db_insert_placeholder_4] => 0 [:db_insert_placeholder_5] => und [:db_insert_placeholder_6] =>

My actual text goes here

User reference display - use field other than username

I have a node that incorporates a user reference to determine an "assignment" of that not to a particular user. This assignment is displayed on the node page saying "Node assigned to _______". I don't want it to display this using the username though. I created a "Name" field for users to put their full name into and in the reference view I have tried every combination I can think of in field retrieval and display settings.

Fields have been reduced to ONLY this created name field, name + username field (with exclude from display enabled), re-ordering, etc.

Printing comments in custom node template

Hi,

Ive been trying to figure this out for hours now and have search the forums but can't find an answer.

I have created a custom node.tpl file which has a jquery tabbed format. Inside one of the tabs I want to add in the comments. I have managed to get the actual comments form to show up but can't get the comments that have been posted to display. Can anybody tell me how this is done?

Thanks

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x