Tired of logging in again and again to a Drupal site that keeps kicking you out? You can modify session length, i.e. the length of time that a logged-in session stays logged in, via the ini_set('session.cookie_lifetime'... line in the site's settings.php file. See details in Forum Finds: Modify length of user login sessions.
Reply to comment

Hiding titles
I wanted a way to hide the title, selectively, on any page.
Renaming every page to 'Welcome' would work with the above code, but it doesn't help you when you are trying to manage your content - every node that is hidden has the same name. So I modified the code like this:
replace this line in page.tpl.php:
<h1 class="title"><?php print $title; ?></h1>
with this:
<?php if (substr(rtrim($title),-4,4) !="hide"): ?>
<h1 class="title"><?php print $title ?></h1>
<?php endif; ?>
PRESTO!! Now any page name that ends with 'hide' does not display the title. I can name pages, and hide/unhide the title at will, and still navigate through my content with meaningful names.
I hope this helps.
-beane
Reply
Learn Drupal, hands-on
Get the beginner-friendly ebook that teaches community site building via a live case study.







Cool! Thanks for figuring out about this!
You're really great~ I tried it out! And yay,...
Hello! I just would like to give a huge thumbs up for the great info you have here on this post...
I may not have a chance to test that for a while, but meanwhile I welcome commentary from anyone...
Hey,
Since I still see some links here, and the guide is quite good, I thought that I may...