views php

I'm using views php modules.

I use The following code:

<?php global $user; print_r($user->uid); ?>

successfully acquired the current user uid, I tried to use code

<? PHP global $user; print_r ($user - > field_mdtk); ?>

to get an additional field value of the user, but failed, who can tell me how to write the code? I will be very grateful for all the help.

Script based on guidelines to fix permissions of an entire Drupal installation directory

Not sure why I can't add a comment below the Doc page, but my observation is related to the following page:

Securing file permissions and ownership

configuring fields visibility of node based on published status

Hi,

I have created new a content type Test Content with following field

Field1 Text

Field2 Text

Field3 Long Text.

Field4 Text.

Role1 user can view this content type when it is not published. 

requirement is users in role1 should not be able to view field. is there any way that i can hide the field4 from user with role1

Also there is block which gets displayed when users view this node, content of the block is based on the field4.

I would like to disable this block when a user with role1 sees the node. 

What versions of Drupal 7 and COD 7 are stable together?

What versions of Drupal and COD are currently stable together?

I believe it is Drupal 7.67 and COD 7.x-2.x, because

Date Reminder. E-Mail Going to Spam?

I am using Date Reminder module to send myself an e-mail. I used Google and Outlook and the e-mail keeps going to spam. Is this a Google and Microsoft thing or can I make an edit for it not to go to spam? Other user uses the Date Modules as well and also going to spam.

Using an iFrame for persistent audio.

Hi all,

I am looking for a functionality that does not seem to exist - at least I did not find any working solution. All the modules I tried did not check if a user is authenticated or could not get rid of the iFrame upon logging off (thus adding another iFrame each time I log on and off).

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x