Simple plug and play installation, with nothing overwritten.
Full installation instructions included.
Compatible with all current 1.5.1.x releases of OpenCart.
Get it here
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
Cheers Mate
Regards
Chris
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
Is there any way to add comments on each photo?
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
Hello fido-x I worked on a solution for this and modified the component to add comments on images...cpuricelli wrote:I am trying this component and found it really useful...
Is there any way to add comments on each photo?
First of all create a table for image descriptions:
Code: Select all
CREATE TABLE IF NOT EXISTS `gallery_image_description` (
`id` int(11) NOT NULL auto_increment,
`gallery_image_id` int(11) NOT NULL,
`language_id` int(11) NOT NULL,
`description` varchar(255) collate utf8_bin NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=1;
Then I modified the model on catalog side, adding this method:
Code: Select all
public function getGalleryImagesAndDescription($gallery_id, $start = 0, $limit = 20) {
$sql = "SELECT * FROM " . DB_PREFIX . "gallery_image gi JOIN " . DB_PREFIX . "gallery_image_description gid ON (gi.gallery_image_id = gid.gallery_image_id AND gid.language_id = '" . (int)$this->config->get('config_language_id') . "' AND gi.gallery_id = '" . (int)$gallery_id . "') ORDER BY gi.gallery_image_id";
$sql .= " LIMIT " . (int)$start . "," . (int)$limit;
$query = $this->db->query($sql);
return $query->rows;
}
and in both foreach I changed:
$image_title = ucwords(str_replace('_', ' ', $image_name[0]));
to:
$image_title = $result['description'];
and that's it! Any suggestion? Now I'll try to add this feature on Admin side as well...
http://babydollaccessories.net/store/in ... ry&album=1
Thanks for this wonderful module. I have tested it works great on default template but not on custom template.
After I click on the gallery (custom template), instead of showing the gallery page but it merge my banner, latest module with the gallery under them.
any advice? http://juzkars.com/store/index.php?rout ... ry/gallery
any idea to fix this issue? thank you ;-) in advance
using v1.5.1.3.1
OC 3.0.3.7 EN (default theme) running on PHP 7.3 MariaDB 10.3 Linux / Apache 2.4
Image uploading in the admin was changed between versions 1.5.1.2 and 1.5.1.3. The version of the module you are using is not compatible with 1.5.1.3. You'll need to get the updated version: Gallery 1513.
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
Yes, I have the same problem. Is there a solution?magnify3 wrote:I installed the gallery and I keep getting this notice at the top of the gallery page. "Notice: Undefined offset: 1 in /home/babyd123/public_html/store/catalog/controller/gallery/gallery.php on line 227"
http://babydollaccessories.net/store/in ... ry&album=1
You're both getting this error because you haven't given your gallery a main image.polgrig wrote:Yes, I have the same problem. Is there a solution?magnify3 wrote:I installed the gallery and I keep getting this notice at the top of the gallery page. "Notice: Undefined offset: 1 in /home/babyd123/public_html/store/catalog/controller/gallery/gallery.php on line 227"
http://babydollaccessories.net/store/in ... ry&album=1
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
Code: Select all
Notice: Error: Unknown column 'copyright' in 'field list'
Error No: 1054
INSERT INTO oc_gallery SET album_id = '0', copyright = 'you', status = '0', sort_order = '0', date_added = NOW() in
Code: Select all
Notice: Error: Unknown column 'sort_order' in 'order clause'
Error No: 1054
SELECT * FROM oc_gallery_image WHERE gallery_id = '1' ORDER BY sort_order LIMIT 0,6 in
Users browsing this forum: No registered users and 31 guests