Post by supak111 » Mon Aug 05, 2019 3:27 pm

Hi is there any way in oc3 in admin make: extensions->extensions->modules default, not extensions->extensions->advertising?

I feel like this simple mod would save a lot of time

New member

Posts

Joined
Fri Feb 13, 2015 12:09 pm

Post by letxobnav » Mon Aug 05, 2019 5:37 pm

admin/controller/marketplace/extension.php

change:

Code: Select all

		if (isset($this->request->get['type'])) {
			$data['type'] = $this->request->get['type'];
		} else {
			$data['type'] = '';
		}
to:

Code: Select all

		if (isset($this->request->get['type'])) {
			$data['type'] = $this->request->get['type'];
		} else {
			$data['type'] = 'module';
		}

Crystal Light Centrum Taiwan
“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.


Active Member
Online

Posts

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

Post by supak111 » Tue Aug 06, 2019 4:05 am

Super simpel and works :). Thanks very much @letxobnav

New member

Posts

Joined
Fri Feb 13, 2015 12:09 pm
Who is online

Users browsing this forum: No registered users and 15 guests