Jump to content
thirty bees forum

Question

Posted (edited)

Greetings everyone,

First of all I want to thank you for your time and apologize if this is a somewhat duplicate thread, I looked in this forum and in the PS forums regading the same or similar issue with no luck.

I'm working on a new site with a fresh 1.0.8 TB and Block Banner v2.0.2.

In theory this should be an easy task, but I'am having some issues trying to duplicate the Block Banner module.

I've replaced every single expression, respecting spaces and capitals in the files found in the module folder outside the theme and inside the folder inside the theme.

The files I've edited are form.tpl, blockbanner.php and blockbanner.tpl in both folders. The config.xml is created automatically with the proper changes to the variables.

The module appears in the module menu (Modules and Services>Modules and Services) but in the transplant page (Modules and Services>Positions) it does not. Also, when I install the module it states that it's already installed but when I try to uninstall it declares "The following module(s) could not be uninstalled properly:blockbanner2 :The module is not installed."

Any clues in what could I be missing? any info / example that I missed that could be useful?

Thanks in advance.

Edited by SeaSky

1 answer to this question

Recommended Posts

  • 0
Posted (edited)

Make sure you are updating the module class to support the new name.

class BlockBanner extends Module

and in the construct. $this->name = 'blockbanner';

and this variables:

const IMAGE = 'BLOCKBANNER_IMG';

const LINK = 'BLOCKBANNER_LINK';

const DESCRIPTION = 'BLOCKBANNER_DESC';

Edited by yaniv14

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...