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 install "views" module, and I'd like to know how it is possible to change the view mode so that the image appears as background in a Grid Format. I open views-view-grid.tpl.php I just need to put in table an background attribute, but I don't know how to access the images location.
My server at http://nemkhavia.net/ recently crashed. Luckily, there was a backup, and everything was saved (the main thing is the forum, so don't worry about the fact that the site has next to no actual content). However, due to the way Drupal's URLs work (/node/xyz and /user/login), basically with aliases rather than actual directory names, it is now not functioning. Basically, the server interprets /user/login as a directory, so I can't even log in. How do I fix this.
I am currently working on a website where the client wants to display weekly tips on the homepage that will update automatically each week. Perhaps having an area where they can preload tips and every week a new one will display. Any ideas or module suggestions on how I would go about doing this?
Nodes on the site have an optional field for a picture. If a picture is uploaded, that image shows at the top of the content with the title overlaid on it. If the picture is not there, the title shows as normal.
I'm trying to use an if statement in my node template (it can be any node type that does this) to set how the content outputs.
The code I am currently using is not working. Even though the node has an image, it is using the "else" statement instead.