Jump to content

Module installation instructions or sample zip needed


goober999

Recommended Posts

I was wondering if we could get a sample "gateway" or "shipping" module installation zip file to test the module installation process?

Also, what is the proper format and/or layout of a module zip file for installation process?

thanks

/Goober

Link to comment
Share on other sites

I was wondering if we could get a sample "gateway" or "shipping" module installation zip file to test the module installation process?

Also, what is the proper format and/or layout of a module zip file for installation process?

thanks

/Goober

this will be coming soon, the module installer isnt quite perfected, and it will (probably) be the first module you can test it with, as it's capable of self-installing.

at the moment, the current directory structure inside a module folder is

package.conf.php

[front end scripts]

--admin

----index.inc.php

----[other admin side files]

--language

----default.lang.php

----[locale i.e. en_UK].lang.php

--classes

----[module classes]

like i said, it's not finalised, but it will be well documented

Link to comment
Share on other sites

I was wondering if we could get a sample "gateway" or "shipping" module installation zip file to test the module installation process?

Also, what is the proper format and/or layout of a module zip file for installation process?

thanks

/Goober

this will be coming soon, the module installer isnt quite perfected, and it will (probably) be the first module you can test it with, as it's capable of self-installing.

at the moment, the current directory structure inside a module folder is

package.conf.php

[front end scripts]

--admin

----index.inc.php

----[other admin side files]

--language

----default.lang.php

----[locale i.e. en_UK].lang.php

--classes

----[module classes]

like i said, it's not finalised, but it will be well documented

Thanks!

Could I trouble you for a layout or sample of package.conf.php

just being curious. :)

thanks

/Goober

Link to comment
Share on other sites

I was wondering if we could get a sample "gateway" or "shipping" module installation zip file to test the module installation process?

Also, what is the proper format and/or layout of a module zip file for installation process?

thanks

/Goober

this will be coming soon, the module installer isnt quite perfected, and it will (probably) be the first module you can test it with, as it's capable of self-installing.

at the moment, the current directory structure inside a module folder is

package.conf.php

[front end scripts]

--admin

----index.inc.php

----[other admin side files]

--language

----default.lang.php

----[locale i.e. en_UK].lang.php

--classes

----[module classes]

like i said, it's not finalised, but it will be well documented

Thanks!

Could I trouble you for a layout or sample of package.conf.php

just being curious. :)

thanks

/Goober

sure, its a serialized php array with the following array keys

type: (gateway|shipping|affiliate|language|skin)

name: fairly obvious

version: see above

description: ...

the end result will look something like this

a:4:{s:4:"type";s:7:"gateway";s:4:"name";s:11:"Test Module";s:7:"version";d:1;s:11:"description";s:36:"Test Gateway module for CubeCart 4.0";}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...