Difference between revisions of "Gallery"

From Alessandro's Wiki
Line 2: Line 2:


* gallery 3 themes:
* gallery 3 themes:
** Official list http://codex.gallery2.org/Category:Gallery_3:Themes
* my first selection
http://codex.gallery2.org/Gallery3:Themes:monochrome
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:default_carbonized

Revision as of 17:50, 11 December 2010

general

  • my first selection

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

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)