Post by gcextreme » Mon Jan 16, 2023 5:27 am

Running default theme version 3.0.3.8.
Website is www.gcextreme.com
Issue 1:
Double carousels on home page, when you hit the scroller on the bottom one, only the bottom one moves, but when you hit the scroller on the top one, they both move. How can i stop both from moving?

Issue 2:
Would like to remove List/Grid view buttons and have Grid View be default and only view.
Found a few threads on this, i removed the code and they still show up, even after clearing cache.

Issue 3: I purchased a Photo/Video Gallery mod from ModulePoints, from the opencart marketplace. I installed the mod, but I am not getting all the functions in my admin that their demo has. There is no Gallery link showing up on my left menu panel that the demo has, among other menus/controls that aren't showing up within the modules. I have emailed their support and haven't gotten a reply back. Anyone else using this Gallery Module?

Thanks for any assistance on these issues.

Opencart Default Theme Version 3.0.3.8
www.gcextreme.com
Fergus Falls, Mn. USA
AAS Degree in E-Com Web Design Development
Old School: Dreamweaver, Fireworks, Flash, Photoshop


User avatar
New member

Posts

Joined
Mon Jul 14, 2014 6:31 am


Post by TMD Extension @ » Mon Jan 16, 2023 1:45 pm

Hello

Issue 2nd
the code you wrote is wrong.
<div class="btn-group btn-group-sm style=" display:="" none;"="">
<code>style</code> should go after the class tag, it should be
<div class="btn-group btn-group-sm" style="display:none">

after that, both the grid and listview buttons will hide.

Issue 3rd
did you try giving the permissions of your user group (probably the admin).
If not then go to syetm> user group > select the user group that you logged in
then on the access and modify permission select all for both save

you might see all the menus of the gallery module

Thank You

Image

Thanks & Regards
Sehaj Kaur
TMD Extensions
Contact Us For Customisations


Active Member

Posts

Joined
Thu Mar 17, 2022 12:59 pm

Post by paulfeakins » Mon Jan 16, 2023 6:14 pm

gcextreme wrote:
Mon Jan 16, 2023 5:27 am
Issue 1:
Double carousels on home page, when you hit the scroller on the bottom one, only the bottom one moves, but when you hit the scroller on the top one, they both move. How can i stop both from moving?
They aren't designed to appear on the page at the same time so they've probably both got the same ID. You'll need to change that in the code.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by JNeuhoff » Mon Jan 16, 2023 7:25 pm

Other than the obvious errors, as pointed out by TMD Extension, you should seriously reconsider your homepage design. Carousels tend to be user-unfriendly, and are often wasting valuable screen space. There are better ways for product listings than carousels.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by gcextreme » Tue Jan 17, 2023 11:06 am

TMD Extension @ wrote:
Mon Jan 16, 2023 1:45 pm
Hello

Issue 2nd
the code you wrote is wrong.
<div class="btn-group btn-group-sm style=" display:="" none;"="">
<code>style</code> should go after the class tag, it should be
<div class="btn-group btn-group-sm" style="display:none">

after that, both the grid and listview buttons will hide.

Issue 3rd
did you try giving the permissions of your user group (probably the admin).
If not then go to syetm> user group > select the user group that you logged in
then on the access and modify permission select all for both save

you might see all the menus of the gallery module

Thank You
Thanks i copied that code from a thread, didnt catch that error.
Got the Gallery to show up, in the Module Extensions menu there was another listing further down for the SETTINGS for that module that i needed to install/enable.

Opencart Default Theme Version 3.0.3.8
www.gcextreme.com
Fergus Falls, Mn. USA
AAS Degree in E-Com Web Design Development
Old School: Dreamweaver, Fireworks, Flash, Photoshop


User avatar
New member

Posts

Joined
Mon Jul 14, 2014 6:31 am


Post by gcextreme » Tue Jan 17, 2023 11:09 am

JNeuhoff wrote:
Mon Jan 16, 2023 7:25 pm
Other than the obvious errors, as pointed out by TMD Extension, you should seriously reconsider your homepage design. Carousels tend to be user-unfriendly, and are often wasting valuable screen space. There are better ways for product listings than carousels.
Thanks, I'm not using the Carousels for products tho, but for Banners for advertising, specifically different categories/sections of the site, not used for products themselves.

Opencart Default Theme Version 3.0.3.8
www.gcextreme.com
Fergus Falls, Mn. USA
AAS Degree in E-Com Web Design Development
Old School: Dreamweaver, Fireworks, Flash, Photoshop


User avatar
New member

Posts

Joined
Mon Jul 14, 2014 6:31 am


Post by gcextreme » Tue Jan 17, 2023 11:16 am

paulfeakins wrote:
Mon Jan 16, 2023 6:14 pm
gcextreme wrote:
Mon Jan 16, 2023 5:27 am
Issue 1:
Double carousels on home page, when you hit the scroller on the bottom one, only the bottom one moves, but when you hit the scroller on the top one, they both move. How can i stop both from moving?
They aren't designed to appear on the page at the same time so they've probably both got the same ID. You'll need to change that in the code.
They were created using the Banner module, shouldnt that automatically assign new unique ID to them? otherwise how/where would that code be at to change? Wouldnt that be in the sql database?

Opencart Default Theme Version 3.0.3.8
www.gcextreme.com
Fergus Falls, Mn. USA
AAS Degree in E-Com Web Design Development
Old School: Dreamweaver, Fireworks, Flash, Photoshop


User avatar
New member

Posts

Joined
Mon Jul 14, 2014 6:31 am


Post by by mona » Tue Jan 17, 2023 5:42 pm

gcextreme wrote:
Mon Jan 16, 2023 5:27 am
Running default theme version 3.0.3.8.
Website is www.gcextreme.com
Issue 1:
Double carousels on home page, when you hit the scroller on the bottom one, only the bottom one moves, but when you hit the scroller on the top one, they both move. How can i stop both from moving?
This does not happen for me on various browsers - however the dot paginations work but the arrows are very sticky - I will not repeat what the others have written about it.
gcextreme wrote:
Mon Jan 16, 2023 5:27 am
Issue 2:
Would like to remove List/Grid view buttons and have Grid View be default and only view.
Found a few threads on this, i removed the code and they still show up, even after clearing cache.
I do not know which posts you are referring to but it can be done via the common.js file

Code: Select all

// Product List
	$('#list-view').click(function() {
		$('#content .product-grid > .clearfix').remove();

		$('#content .row > .product-grid').attr('class', 'product-layout product-list col-xs-12');
		$('#grid-view').removeClass('active');
		$('#list-view').addClass('active');

		localStorage.setItem('display', 'list');
	});

	// Product Grid
	$('#grid-view').click(function() {
		// What a shame bootstrap does not take into account dynamically loaded columns
		var cols = $('#column-right, #column-left').length;

		if (cols == 2) {
			$('#content .product-list').attr('class', 'product-layout product-grid col-lg-6 col-md-6 col-sm-12 col-xs-12');
		} else if (cols == 1) {
			$('#content .product-list').attr('class', 'product-layout product-grid col-lg-4 col-md-4 col-sm-6 col-xs-12');
		} else {
			$('#content .product-list').attr('class', 'product-layout product-grid col-lg-3 col-md-3 col-sm-6 col-xs-12');
		}

		$('#list-view').removeClass('active');
		$('#grid-view').addClass('active');

		localStorage.setItem('display', 'grid');
	});

	if (localStorage.getItem('display') == 'list') {
		$('#list-view').trigger('click');
		$('#list-view').addClass('active');
	} else {
		$('#grid-view').trigger('click');
		$('#grid-view').addClass('active');
	}
to something like

Code: Select all

// Product List
	$('#list-view').click(function() {
		var cols = $('#column-right, #column-left').length;

		if (cols == 2) {
			$('#content .product-list').attr('class', 'product-layout product-grid col-lg-6 col-md-6 col-sm-12 col-xs-12');
		} else if (cols == 1) {
			$('#content .product-list').attr('class', 'product-layout product-grid col-lg-4 col-md-4 col-sm-6 col-xs-12');
		} else {
			$('#content .product-list').attr('class', 'product-layout product-grid col-lg-3 col-md-3 col-sm-6 col-xs-12');
		}

		$('#list-view').removeClass('active');
		$('#grid-view').addClass('active');

		localStorage.setItem('display', 'grid');

	});

	// Product Grid
	$('#grid-view').click(function() {
		// What a shame bootstrap does not take into account dynamically loaded columns
		var cols = $('#column-right, #column-left').length;

		if (cols == 2) {
			$('#content .product-list').attr('class', 'product-layout product-grid col-lg-6 col-md-6 col-sm-12 col-xs-12');
		} else if (cols == 1) {
			$('#content .product-list').attr('class', 'product-layout product-grid col-lg-4 col-md-4 col-sm-6 col-xs-12');
		} else {
			$('#content .product-list').attr('class', 'product-layout product-grid col-lg-3 col-md-3 col-sm-6 col-xs-12');
		}

		$('#list-view').removeClass('active');
		$('#grid-view').addClass('active');

		localStorage.setItem('display', 'grid');
	});

	if (localStorage.getItem('display') == 'list') {
		$('#grid-view').trigger('click');
		$('#grid-view').addClass('active');
	} else {
		$('#grid-view').trigger('click');
		$('#grid-view').addClass('active');
	}
and then remove them completely

Code: Select all

button#list-view, button#grid-view {
display:none;
}

gcextreme wrote:
Mon Jan 16, 2023 5:27 am
Issue 3: I purchased a Photo/Video Gallery mod from ModulePoints, from the opencart marketplace. I installed the mod, but I am not getting all the functions in my admin that their demo has. There is no Gallery link showing up on my left menu panel that the demo has, among other menus/controls that aren't showing up within the modules. I have emailed their support and haven't gotten a reply back. Anyone else using this Gallery Module?
If you purchased it and they are not responding hit the support button on the page.

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by gcextreme » Wed Jan 18, 2023 10:18 am

by mona wrote:
Tue Jan 17, 2023 5:42 pm
gcextreme wrote:
Mon Jan 16, 2023 5:27 am
Running default theme version 3.0.3.8.
Website is www.gcextreme.com
Issue 1:
Double carousels on home page, when you hit the scroller on the bottom one, only the bottom one moves, but when you hit the scroller on the top one, they both move. How can i stop both from moving?
This does not happen for me on various browsers - however the dot paginations work but the arrows are very sticky - I will not repeat what the others have written about it.
gcextreme wrote:
Mon Jan 16, 2023 5:27 am
Issue 2:
Would like to remove List/Grid view buttons and have Grid View be default and only view.
Found a few threads on this, i removed the code and they still show up, even after clearing cache.
I do not know which posts you are referring to but it can be done via the common.js file

Code: Select all

// Product List
	$('#list-view').click(function() {
		$('#content .product-grid > .clearfix').remove();

		$('#content .row > .product-grid').attr('class', 'product-layout product-list col-xs-12');
		$('#grid-view').removeClass('active');
		$('#list-view').addClass('active');

		localStorage.setItem('display', 'list');
	});

	// Product Grid
	$('#grid-view').click(function() {
		// What a shame bootstrap does not take into account dynamically loaded columns
		var cols = $('#column-right, #column-left').length;

		if (cols == 2) {
			$('#content .product-list').attr('class', 'product-layout product-grid col-lg-6 col-md-6 col-sm-12 col-xs-12');
		} else if (cols == 1) {
			$('#content .product-list').attr('class', 'product-layout product-grid col-lg-4 col-md-4 col-sm-6 col-xs-12');
		} else {
			$('#content .product-list').attr('class', 'product-layout product-grid col-lg-3 col-md-3 col-sm-6 col-xs-12');
		}

		$('#list-view').removeClass('active');
		$('#grid-view').addClass('active');

		localStorage.setItem('display', 'grid');
	});

	if (localStorage.getItem('display') == 'list') {
		$('#list-view').trigger('click');
		$('#list-view').addClass('active');
	} else {
		$('#grid-view').trigger('click');
		$('#grid-view').addClass('active');
	}
to something like

Code: Select all

// Product List
	$('#list-view').click(function() {
		var cols = $('#column-right, #column-left').length;

		if (cols == 2) {
			$('#content .product-list').attr('class', 'product-layout product-grid col-lg-6 col-md-6 col-sm-12 col-xs-12');
		} else if (cols == 1) {
			$('#content .product-list').attr('class', 'product-layout product-grid col-lg-4 col-md-4 col-sm-6 col-xs-12');
		} else {
			$('#content .product-list').attr('class', 'product-layout product-grid col-lg-3 col-md-3 col-sm-6 col-xs-12');
		}

		$('#list-view').removeClass('active');
		$('#grid-view').addClass('active');

		localStorage.setItem('display', 'grid');

	});

	// Product Grid
	$('#grid-view').click(function() {
		// What a shame bootstrap does not take into account dynamically loaded columns
		var cols = $('#column-right, #column-left').length;

		if (cols == 2) {
			$('#content .product-list').attr('class', 'product-layout product-grid col-lg-6 col-md-6 col-sm-12 col-xs-12');
		} else if (cols == 1) {
			$('#content .product-list').attr('class', 'product-layout product-grid col-lg-4 col-md-4 col-sm-6 col-xs-12');
		} else {
			$('#content .product-list').attr('class', 'product-layout product-grid col-lg-3 col-md-3 col-sm-6 col-xs-12');
		}

		$('#list-view').removeClass('active');
		$('#grid-view').addClass('active');

		localStorage.setItem('display', 'grid');
	});

	if (localStorage.getItem('display') == 'list') {
		$('#grid-view').trigger('click');
		$('#grid-view').addClass('active');
	} else {
		$('#grid-view').trigger('click');
		$('#grid-view').addClass('active');
	}
and then remove them completely

Code: Select all

button#list-view, button#grid-view {
display:none;
}

gcextreme wrote:
Mon Jan 16, 2023 5:27 am
Issue 3: I purchased a Photo/Video Gallery mod from ModulePoints, from the opencart marketplace. I installed the mod, but I am not getting all the functions in my admin that their demo has. There is no Gallery link showing up on my left menu panel that the demo has, among other menus/controls that aren't showing up within the modules. I have emailed their support and haven't gotten a reply back. Anyone else using this Gallery Module?
If you purchased it and they are not responding hit the support button on the page.
Thanks for the help. Do i add this code to the common.js or the stylesheet?
button#list-view, button#grid-view {
display:none;
}

Opencart Default Theme Version 3.0.3.8
www.gcextreme.com
Fergus Falls, Mn. USA
AAS Degree in E-Com Web Design Development
Old School: Dreamweaver, Fireworks, Flash, Photoshop


User avatar
New member

Posts

Joined
Mon Jul 14, 2014 6:31 am


Post by by mona » Wed Jan 18, 2023 5:10 pm

Code: Select all

button#list-view, button#grid-view {
display:none;
}
stylesheet

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am
Who is online

Users browsing this forum: No registered users and 78 guests