Post by msklut » Sat Jul 11, 2020 8:32 pm

A few days ago I noticed the "Modifications" tab is missing on the admin page from the sidebar under Extensions. Oddly enough, I can manually access the "Modifications" page by going to ....index.php?route=marketplace/modification.... Additionally the icons that normally appear next to the "Dashboard" and "Reports" tab are missing. Any ideas what would cause this and/or how to resolve it?

https://prnt.sc/tfvko3

OpenCart 3.0.2.0.

New member

Posts

Joined
Tue Nov 19, 2019 11:43 pm
Location - Charlotte, NC

Post by letxobnav » Sat Jul 11, 2020 10:09 pm

Well, you look at your change log and find the last change you made to the admin side of your store.
Then you undo that change and see if that was what caused this.
If not, you look for the change before that...

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by paulfeakins » Mon Jul 13, 2020 6:02 pm

msklut wrote:
Sat Jul 11, 2020 8:32 pm
Any ideas what would cause this and/or how to resolve it?
Must have been a change you made or an extension you installed recently!

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Guru Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by msklut » Tue Jul 14, 2020 4:45 am

The problem stemmed from a change I made about a week ago to the admin/controller/common/column_left.php file, which was a bug fix for the column_left bug in OpenCart 3.0.2.0 that caused the "Orders Completed, Orders Processed, etc" status bar not to work. I used the fixed version of the column_left.php file on Github (https://github.com/opencart/opencart/bl ... n_left.php), which had some newer Font Awesome icon references. After reverting to the previous Font Awesome icon references (fa-dashboard and fa-bar-chart-o) the icons are showing up properly. Additionally, I added in the code necessary for the the Modifications tab to show up as it was missing from the file on Github.

Code added:

Code: Select all

if ($this->user->hasPermission('access', 'marketplace/modification')) {
				$marketplace[] = array(
					'name'	   => $this->language->get('text_modification'),
					'href'     => $this->url->link('marketplace/modification', 'user_token=' . $this->session->data['user_token'], true),
					'children' => array()		
				);
			}

New member

Posts

Joined
Tue Nov 19, 2019 11:43 pm
Location - Charlotte, NC

Post by i.am.retailer » Tue Jul 14, 2020 12:05 pm

check system >> user group>> administrator have read and modify access permission for 'marketplace/modification'

New member

Posts

Joined
Thu Jun 04, 2020 2:10 pm

Post by Wid » Tue Jul 14, 2020 3:15 pm

Check if this lines of code exists in your file: admin/controller/common/column_left.php

Code: Select all

if ($this->user->hasPermission('access', 'marketplace/modification')) {
$marketplace[] = array(
	'name'	   => $this->language->get('text_modification'),
	'href'     => $this->url->link('marketplace/modification', 'user_token=' . $this->session->data['user_token'], true),
	'children' => array()		
);
}

take a visit to My Modules !


Wid
New member

Posts

Joined
Fri Feb 02, 2018 9:19 pm
Location - Athens/Greece

Post by i.am.retailer » Wed Jul 15, 2020 2:40 pm

Check the system >> user group>> administrator and confirm once the Extensions>Modifictions enabled for the role.

New member

Posts

Joined
Thu Jun 04, 2020 2:10 pm
Who is online

Users browsing this forum: No registered users and 31 guests