Notice : Undefined index: und in mytheme_hook_preprocess_author_pane()

Hi,

in my "author-pane.tpl.php" template i view my field previously created in the form of the user.
It works well but I have the following notice:

Notice : Undefined index: und in mytheme_hook_preprocess_author_pane() (ligne 21 dans /home/vhosts/mywebsite/www/sites/mywebsite/modules/custom/mytheme_hook/mytheme_hook.module).

How to fix this?

My Code

My Drupal 7 Travel site

I have just build this travel website. the website is build intereily in Drupal 7. I used display suite heavily.
I have build 3 different content types

First is the health type where I added 5 star module.
http://makemoneyrelax.com/hua-chiew-acupuncture-%E2%80%93-acupuncture-tr...

I had to use some additional theming with css to correctly align all the elements.
I used few custom fields in display suite.

How to migrate Relations with the Migrate Module

Greetings,

second question for today :-) Does anybody know how to use the Migrate Module for importing Relations (by the Relation Module)? Is there any other possibility how to import a mass of relations into a drupal database?

Thank you for any advice.

How to work with the Migrate Extras Module -> MigrateDestinationOGMembership()?

Greetings,

Does anybody have some sample code for implementing the MigrateDestinationOGMembership Class? I can't make it work. The Class is part of the Migrate Extras Module which brings some extensions to the Migrate Module. The Extras Module is a amazing piece of software but not well documented.

View: OG members shows "group members" as result

Hi,

I'm using the default OG members view in order to show members of a group.

However, results are as mentioned: "group members" instead of a user name?.

Naturally there's no results when GID isn't available but with GID I get forementioned "results".

Changed Drupal.behaviors to objects having the methods "attach" and "detach". (Drupal Docs) $.ajax({

Hi All,

Getting this error while converting module from D6 to D7 using coder review.

Link to reference : http://drupal.org/node/224333#drupal_behaviors

$.ajax({
type : 'GET',
url : botr.api_proxy,
data : params,
dataType : 'json',
success : function (data) {
if (data && data.status == 'ok') {
botr.widgets.list.empty();

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x