Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I'm having a problem with a live version of a site. For some reason I cannot edit the custom display settings because its not a link.You can see this in the screen grab.
This works fine on my dev version and the live site was created using the backup and restore module.
I'm not sure if this is related but you'll notice the screen grab is also missing the admin menu which should be there.
I want to show a custom block, only when log in has failed.
So from visibility settings I have to put a PHP code that returns TRUE only when the login has failed.
But how could I "catch" that event? Do I have to use variable_get(..)? And if yes, how could I use that.
I am trying to figure out how to create a select list with user roles in it. My trouble is coming in pulling the role rid and role name from the database. Maybe someone out there can help me with this.
I have two different roles on my Drupal site, each with any number of users. Upon creation of the account, I would like users to be able to upload documents to their own page. The listing of this page must be public such that people can find it, but the content must be restricted to users that the page owner approves who can see the content. I only want one page with multiple document uploads - in this way, it is similar to a Facebook wall in the way that permissions are handled, but without the fluff of comments and status updates and all that...