For one of my content types (event) I've created a node--event.tpl.php file.
I've added a bunch of fields, most are text, so to display the fields values I do: print $content['field_event_web_site']['#items']['0']['value'];
(Hopefully that's the best way to do that?)
But some of those fields are the field type IMAGE, so I can't just do print $content['field_event_image']['#items']['0']['value'];
this is my first post here, and I'm a newbie to Drupal.
I usually develop all my sites with WordPress, but I'm liking the new Drupal 7 UI, and the content types seem very powerful.
have a little problem here.
Created new content type - everything default, some text fields and one image for this content type. When editing content i can upload an image and can even see thumbnail next to my image field, but for some reason in preview and on actual page image field is not displayed.
I've made image label visible in display settings, but it's not displayed too. Tried with and without clean URL's, cache disabled(but cleared, just in case). It almost looks like image field is being ignored somehow. Any ideas? Thanks
How to change links (css, script, etc...) in the page header from absolute to the relative links, without the http:// or https: //
This is needed in order to work properly load balancing combined with SSL termination.
Servers in the back-end work as http but the end user accessing site via https.
Absolute links makes the browser report the problem partially unprotected SSL connection.
p.s.
I apologize if there is any simple solution for Drupal but I'm looking and nothing there.