Rendering a field value in a custom template

I have a content type called "panel-image". Within that I have a field with the machine name "field_url", it's a plain Text field that a user can type a URL into. I have created a panel-image piece of content where I entered the url for Google.

I'm now attempting to make a custom template for that content type called node--panel-image.tpl.php.

What I want to do is render the field_url value into my template.

Here is what I have in my node--panel-image.tpl.php file:

How to have fixed region in mobile phone

Hello, 

I used the following css code to have a fixed region on mobile phone. I have used this code for many sites it worked. For some reason, this code does not place the region as fixed. When I visit the page in laptop and make the browsers screen smaller than 768px, it works just fine. I can see the region is fixed. I am totally confused as for why the fixed positioning would not work on mobile phone. 

@media only screen and (max-width: 768px) {

Website Consultant Needed (RFP due Nov 6, 2017)

The Regional Water Providers Consortium is seeking proposals to provide ongoing programming and technical support to the Consortium’s three websites (two Drupal: www.conserveh2o.org and www.regionalh2o.org, and one Word Press: http://www.cleanwaterfestival.org).

VideoJS player not displayed correctly when using Ajax to load

I am using a Drupal 7 / Commerce Kickstart site that has videos in the categories. I am using the VideoJS Player as my player. In the viewmode, I have set the Format of the video field to video.js. When the page with the videos is loaded, everything is shown properly and the player is displayed as he should be:

https://i.stack.imgur.com/DEkwC.png

The html class of the video element is set to class="vjs-tech".
This is the HTML that Drupal renders for a video: 

7 - How to add a body class if the current url is …

I have a url textarea like this:

dynamically take away permission granted by role

Say I grant permission "do something" to authenticated users.

Is there a hook I can use to deny "do something" to an authenticated user in certain circumstances?

This is not quite the same as node access.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x