Well
For the database, I add author, dimensions, composition as tables
In line 35 in maxigallery.class.inc.php
//function to create table
//returns true or false indicating success
function createTable($pics_tbl) {
global $modx;
$sql="CREATE TABLE $pics_tbl (
`id` int(10) unsigned NOT NULL auto_increment,
`gal_id` int(10) unsigned NOT NULL,
`filename` varchar(50) NOT NULL,
`author` author NOT NULL,
`title` text NOT NULL,
`date` datetime NOT NULL,
`dimensions` dimensions NOT NULL,
`composition` composition NOT NULL,
`descr` text default NULL,
`pos` int(10) default NULL,
`own_id` int(10) default NULL,
`hide` int(1) default 0,
PRIMARY KEY (`id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;";
$query1=$modx->db->query($sql);
return $query1;
}
in line 575 in maxigallery.php :
$managePictureTplFieldNameData['delete'] = 'delete'.$i;
$managePictureTplFieldNameData['hide'] = 'hide'.$i;
$managePictureTplFieldNameData['position'] = 'pos'.$i;
$managePictureTplFieldNameData['author'] = 'author'.$i;
$managePictureTplFieldNameData['title'] = 'title'.$i;
$managePictureTplFieldNameData['dimensions'] = 'dimensions'.$i;
$managePictureTplFieldNameData['composition'] = 'composition'.$i;
$managePictureTplFieldNameData['pictureid'] = 'pic_id'.$i;
$managePictureTplFieldNameData['modified'] = 'modified'.$i;
$managePictureTplFieldNameData['description'] = 'descr'.$i;
Sure I have forgotten some others modification, if you can help me a little till tomorrow
--------------------------------------------------------------
Just a little bug report (?)
line 509 in maxigallery.class.inc.php : back
\ground-color: transparent;
Red caracter seems to be removed?
I could made some bugreports for Maxigallery but it seems it’s not here
http://modxcms.com/bugs/
Good night and thx for Maxigallery (nice the ajax sort)