Jump to content

How Do I install Untrusted modules?


Recommended Posts

  • 9 months later...

the same way you install trusted modules.  click the add module link, choose the module zip file you downloaded and install it

sorry but that's not quiet true

under PS 1.6.1.0 u can't install an untrusted mdoule even if you edit trusted_modules_list.xml / untrusted_modules_list.xml files in config folder at the root?

 

Link to comment
Share on other sites

i just tested this.  on PS v1.6.1 you get a warning popup window that says

Do you want to install this module that could not be verified by PrestaShop?

 

There are also "Proceed with the Installation" or "back to modules list" buttons

 

Click "Proceed with the Installation" and the module will be installed.

 

If you are having some other issue, be more specific.

Edited by bellini13 (see edit history)
Link to comment
Share on other sites

bellini13 & vekia thanks for replies, probably a wild char in module main file caused non-upload and non installation of the module, yesterday i've uploaded manually the module to avoid the first issue but installation was impossible because of the malformed file.
Now it works and that's great!

Link to comment
Share on other sites

<?php
if (!defined('_CAN_LOAD_FILES_'))    exit;
class PhoneTop extends Module
{	
	public function __construct()
	{
		$this->name = 'phonetop';
		$this->tab = 'front_office_features';
		$this->version = '1.0';
		$this->author = 'www.itillusion.com';

		parent::__construct();

		$this->displayName = $this->l('No de tel de la boutique');
		$this->description = $this->l('No de tel de la boutique');
	}

	public function install()
	{
		if (!parent::install() OR !$this->registerHook('top') OR !$this->registerHook('header'))
			return false;
		return true;
	}


	public function hookTop($params)
	{
			return $this->display(__FILE__, 'phonetop.tpl');
	}
	
	public function hookHeader($params)
	{
		$this->context->controller->addCSS(($this->_path).'phonetop.css', 'all');
	}
}

it's a simple code, i've just override the content (not the file) by itself and worked fine

Edited by ualShark (see edit history)
Link to comment
Share on other sites

  • 1 month later...

I'm just playing with module creation using this tutorial

 

Could you tell if it's possible to install an untrusted module in cloud PS 1.6.1.0? I have no "Proceed with the Installation" button in warning popup.

 

 

if you addon will not be trusted by official marketplace - you will not be able to install it on cloud.

only trusted addons can be installed there.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...