Difference between revisions of "Gallery"

From Alessandro's Wiki
Line 1: Line 1:
  +
== general ==
  +
  +
* gallery 3 themes:
  +
http://codex.gallery2.org/Gallery3:Themes:monochrome
  +
  +
http://codex.gallery2.org/Gallery3:Themes:greydragon_w
  +
  +
http://codex.gallery2.org/Gallery3:Themes:default_carbonized
  +
  +
http://codex.gallery2.org/Gallery3:Themes:dark_canvas_wide
  +
  +
+ git clone https://github.com/gallery/gallery3-contrib.git
   
 
== Tricks ==
 
== Tricks ==

Revision as of 18:39, 11 December 2010

general

  • gallery 3 themes:

http://codex.gallery2.org/Gallery3:Themes:monochrome

http://codex.gallery2.org/Gallery3:Themes:greydragon_w

http://codex.gallery2.org/Gallery3:Themes:default_carbonized

http://codex.gallery2.org/Gallery3:Themes:dark_canvas_wide

+ git clone https://github.com/gallery/gallery3-contrib.git

Tricks

  • How to set/use Gallery in debug mode?

edit config.php and change:

$gallery->setDebug(false);

to

$gallery->setDebug('buffered');


  • sending mail through Gmail (activating ssl):

( from http://blog.bonetree.net/2008/10/configuring-gallery2-to-send-email-using-gmail/ )

change line 68 in <gallery directory>/lib/smtp/smtp.php looks like this:

list ($config['smtp.host'], $port) = array_merge(explode(':', $config['smtp.host']), array(25));

to

$url_info = parse_url($config['smtp.host']);
$config['smtp.host'] = '';
if( isset($url_info['scheme']) ) {
   $config['smtp.host'] = $url_info['scheme'].'://';
}
$config['smtp.host'] .= $url_info['host'];
$port = ( isset($url_info['port']) ) ? $url_info['port'] : 25;

Bugs

  • puzzle plugin can generate thi error en brake the "Save Album" action.
Error (ERROR_BAD_PARAMETER) : Controller results are missing status, error, (redirect, delegate, return)