Page 1 of 1

oc3 in admin make: extensions->extensions->modules default choice, not extensions->extensions->advertising?

Posted: Mon Aug 05, 2019 3:27 pm
by supak111
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

Re: oc3 in admin make: extensions->extensions->modules default choice, not extensions->extensions->advertising?

Posted: Mon Aug 05, 2019 5:37 pm
by letxobnav
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';
		}

Re: oc3 in admin make: extensions->extensions->modules default choice, not extensions->extensions->advertising?

Posted: Tue Aug 06, 2019 4:05 am
by supak111
Super simpel and works :). Thanks very much @letxobnav