Dynamic form

Hi,
I create a site with a specific dynamic form
In my content type A I use node reference from a second content type B.
When the user select the node reference B, I need to fill A fields with B fields with same label.
I have check all the module available for doing this, but nothing seems to do that ?
Can you tell me if you know a simple method, or what is the best way to do that,
Regards,

Trigger ajax callback on page load?

I've been looking through the ajax examples, but they all seem to be triggered by user interaction (form submit, form value change, clicking a link, etc)

I've got some actions that tend to slow down the page, so my thought was to load the rest of the page and ajax the longer actions in. Also need to periodically refresh that area on the page with the same callback without the user having to click or submit anything.

Is there a callback to use in Drupal to get this to happen or would it be straight up jQuery?

Creating a View from file_managed table??

Hi Everyone,

Does anyone know how or have seen an example of how to create a View from items in the Database?? I tried using media-gallery but got a ton of undefined errors. All I want to do is create a paginated node with you tube videos.

Im dissecting Media Browser+ right now since it looks like it may have some answers. Any pointers or links to how-tos would be good

Eric

Assigning Roles using LDAP authentication

We have been able to successfully create Drupal accounts using LDAP authentication. However, we are unable to assign Drupal Roles. We have tried several different configurations and options in Part II. How are drupal role drupal roles derived from LDAP data?

Nothing has worked. Here is what we currently have:

LDAP to drupal role Configuration
Part I. Core Configuration.
Hide Core Configuration
LDAP Server used in drupal role configuration. *
LDAP Server 1
Short description for this role configuration.
Enable this configuration
Only apply the following LDAP to drupal role configuration to users authenticated via LDAP.
Part II. How are drupal role drupal roles derived from LDAP data? First, we need to configure how LDAP data is used to derive drupal role drupal roles. One or more of the following 3 approaches may be used.
Hide II.A. Derive drupal role from DN
drupal role is derived from user's DN

Check this option if your users' DNs look like cn=jdoe,ou=Group1,cn=example,cn=com and Group1 turns out to be the drupal role_short you want.
Attribute of the DN which contains the role name
The name of the attribute which contains the role name. In the example above, it would be ou, as the DN contains the string ou=Group1 and Group1 happens to be the desired !consumer_short_name name.
Hide II.B. Derive drupal roles by attribute

File upload error. Could not move uploaded file.

I have been wrecking my brain trying to figure this out. Basically, I updated our server software Plesk a couple of weeks ago. Since then, I've encountered some weird upload errors on Drupal.

On the Feed Importer, I receive File upload error. Could not move uploaded file. in the File Fields Path Settings, it will not recognize the path I've specified in the settings and saves itself to the default folder.

So, I've tried the following:

Profile2 automatic update of users data

Hi all!

I've been developing some php code that I insert in a Base page to make automatic database changes in field_data and field_revision of some entities that are associated to a profile2 entities.

When a profile2 data is inserted in the database for a new user, everything works, but when I acces the database to change some parameters of the user not works.

I see that the changes are done in the database but not are reflected when I see the profile2 data in the webpage.

If I make the changes from the edit tab the changes are reflected with no problem.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x