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 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:
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.
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: