Not all tokens seem to be available...

I already posted a problem that my articles were not saved because of a problem with tokens in metatags.

But now I see that when editing the core user email templates (the ones found at ... /admin/user/settings), the same problem occurs.

When I click the list of available tokens, I do not get tokens considering site, user, ...

When looking at the reports, I see (considering tokens):

Info

RFP Yukon government is looking for vendors to support our platform and service delivery vision

The Government of Yukon's eServices for Citizens unit leads the government's digital transformation in public service delivery. We build, maintain and support digital platforms, standards, design systems and more. We partner with departments to deliver faster, simpler and better digital services for citizens.

After upgrading too D7.67, Content tab is empty

Upgraded our Drupal 7.6 site to D7.67 for security reasons. Afterwords, the site appears okay, but when I go to the Contents tab, all my old content is gone (does not show -- the pages can still be accessed via links)

The message at the top of the page:

How do I hide/show admin links based on user role using a custom module?

Here is the code I have so far in my custom module:

/* Only show certain admin links based on user role */

function cms_tweaks_tt_content() {

global $user;

if (in_array('tt_content', array_values($user->roles))) { echo '<script type="text/javascript">' . 'document.getElementbyID("tt_content").style["display"] = "block";' . '</script>';

} else {

Rules - Disable form field if not empty

I have a form in which a Entity Reference field is prefilled by Entity Reference Prepopulate, and i wish to disable it to avoid user to make accidentally change.

I'm trying using Rules and Rules Form support but what seems right to me it doesn't work.

This is my rule

How/Where do I hide/show admin links based on user role without using a module.

Hello, I have researched this topic and have found several solutions but none are specific enough for the Drupal coding noob. I just created a new user role and have set permissions accordingly. I needed to add a specific link to the admin bar for this user role which I did through Structure > Menus. This issue is that this link is showing in the admin bar for all user roles. I only want it to show up for this newly created user role. 

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x