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.
Is there a module where I can specify site variables that are editable by a limited user account? For example 'user2' is a non admin account. I want that 'user2' can be able to change the site title or slogan but not the other settings.
I'm new to Drupal, and trying to create a subtheme of ninesixty. I have a separate template for the front page (page--front.tpl.php), which works fine. However, when I put the site into maintenance mode, the front page still shows up (rather than the maintenance page). I've cleared my cache and tried on different browsers, but I always see the front page. Do I have to specify that I'm using multiple templates in order for maintenance mode to work properly?
I'm currently trying to build my own drupal7 theme and I'm stuck at the very beginning.
After a lot of searching I found the easyAccordion (http://www.madeincima.eu/blog/jquery-plugin-easy-accordion/) which does exactly what I want. I managed to customize its looks and in its own index.html (demonstration page), it works just fine.
My problem now is: I don't know how to get this working accordion into my drupal theme/page.
In the latest video podcast from Mustardseed Media (very excellent podcast, btw), Bob inserts a preprocess function in template.php that uses a field value to switch template tpl.php files. He demonstrated it in D6, I've been trying for multiple hours to get it working for D7, but I'm not much of a developer, and have had little success. Can anyone point me in the right direction? Bob's code: