User login |
install drupal and integrate gallery2![]() ![]() Submitted by jillelaine on October 5, 2006 - 5:54am.
i choose drupal for the hOodville website: it's an absolutely stunningly wonderful CMS software package. AND IT'S FREE! http://www.drupal.org my big project right now is to get gallery2 http://gallery.menalto.com/ installed and integrated into drupal. what does integration mean? it means that users on the site will log into gallery2 (so they can upload photos etc) when they log into drupal. otherwise, a user would have to log in TWICE: once to the main drupal website, and again to gallery2. ugh, no one wants that. integration also means that the gallery2 page will display nicely within the template of drupal, so that the same (or similar looking) headers, footers, and navigation bar (hopefully) appear along with the gallery photos. here is the link to drupal's gallery2 module which does most of the integration: http://drupal.org/project/gallery i've done the first few steps to get gallery2 installed: downloaded the files from their website and uploaded them to the webserver in a prepared directory. i've set the correct permissions on the directories, but i've immediately run into problems with php settings: gallery throws a fatal error on the initial install. here is the problem:drupal wants session.save_handler=user set in my main php.ini file and gallery2 wants session.save_handler=files. (note: this issue has been solved with the newer versions of drupal) okay, i've read horror stories of drupal users who screwed up their drupal install by changing the session.save_handler in php.ini to files, so i'll avoid that. the suggested alternative is to create a .htaccess file in the gallery2 directory http://gallery.menalto.com/node/15964? with this line: --------more information--------- http://gallery.menalto.com/node/24126 http://gallery.menalto.com/forum/62 some info from the first link: >> done b) Set the G2 session lifetime to at least twice the lifetime of sessions in the emApp. >> okay, but how to figure out what drupal's session lifetime is? 5) Test the integration so, what is the session lifetime of drupal? this drupal forum page http://drupal.org/node/41754 has this relevant (?) info: PHP docs say: here is what is in my settings.php file hmmm, if session.cookie_lifetime is in seconds, i think 2000000 evaluates to approx 3 weeks? i wonder if there are settings elsewhere that might conflict with the settings in drupal's settings.php file.
( categories: about this website )
installed ffmpeg so we have a streaming media server! |
Other recent posts |
installed mplayer which seems to play 'more nice' with videos on gallery2.