Theme/Template Package for Marketplace
Permalink
Hello All,
I have been trying to submit a theme/template to the Marketplace. I am stuck at the "packaging"?
I have created a template according to the Rules page:
http://www.concrete5.org/help/building_with_concrete5/developers/th...
and zipped my template folder but it wasn't packaged? So I went to Packages page:
http://www.concrete5.org/help/building_with_concrete5/developers/pa...
and it was NOT very clear.
Am I supposed to have a folder called package/my_theme_name/theme/my_theme_name?
with a controller php script in it?
My Theme/Template is called D5_Royal5 and can be seen working here:
http://dameryworld.com/index.php/templates/d5-royal5/...
How can I submit it to the Marketplace? (apparently I am too dull to figure out the clues)
Also FYI, at the bottom of the Submit theme to Marketplace page the here link goes to the login?!?!
I have been trying to submit a theme/template to the Marketplace. I am stuck at the "packaging"?
I have created a template according to the Rules page:
http://www.concrete5.org/help/building_with_concrete5/developers/th...
and zipped my template folder but it wasn't packaged? So I went to Packages page:
http://www.concrete5.org/help/building_with_concrete5/developers/pa...
and it was NOT very clear.
Am I supposed to have a folder called package/my_theme_name/theme/my_theme_name?
with a controller php script in it?
My Theme/Template is called D5_Royal5 and can be seen working here:
http://dameryworld.com/index.php/templates/d5-royal5/...
How can I submit it to the Marketplace? (apparently I am too dull to figure out the clues)
Also FYI, at the bottom of the Submit theme to Marketplace page the here link goes to the login?!?!
Thanks for the more correct link. I went ahead and downloaded the most recent FREE Theme/Template from the Marketplace so I will zip mine in like fashion and write up a little tutorial ... as soon as I am sure of what works!
I'm guessing your problem is either with capitalization, or with a missing controller.php file (or both).
Here's my checklist (I'm assuming your theme is already working on your site, you just need to transfer it to a package -- so you already have the description.txt, thumbnail.png, default.php, view.php, images, css, etc. in a folder called "d5_royal5" -- note that this folder name should be all lowercase):
* Make a new folder called "theme_d5_royal5" (again, note all lowercase).
* Inside that folder, make another folder called "themes"
* Inside the "themes" folder, put your theme's full folder (so all of your theme files should be in a folder called "d5_royal5", which is inside a folder called "themes", which is inside a folder called "theme_d5_royal5" -- once again, note all lowercases).
* Make a 97x97 thumbnail (shrunken screenshot of your theme) with rounded corners called "icon.png" and put that in the top-level "theme_d5_royal5" folder. If you don't know how to make rounded corners, and are on a Windows machine, use the free Paint.Net program and see this tutorial:http://www.technipages.com/create-rounded-corners-with-paintnet.htm... . If you're on a mac, well I'm not sure what program to use.
* Make a text file called "CHANGELOG" (NO .txt extension at the end!). Put this file in the top-level "theme_d5_royal5" folder. Edit the file and add 1 line of text: "1.0 - Initial release." (no quotes).
* Make another new file in the top-level "theme_d5_royal5" folder called "controller.php", and in that file put this code:
Here's some crappy ASCII art showing the package directory structure:
Now test it out by uninstalling the theme from your site, then dropping this package folder into your site's top-level "packages" directory (NOT concrete/packages), then go to the dashboard and install the package.
If you do wind up writing a how-to, I'd be happy to help. I have about half of a really lengthy tutorial on the start-to-finish process of converting free themes to C5 themes in the works, but haven't gotten around to completing it yet -- but there may be some stuff in there that's helpful to you (or better yet, maybe you'd be willing to collaborate on it with me so it actually gets done some time this year).
Good luck!
-Jordan
Here's my checklist (I'm assuming your theme is already working on your site, you just need to transfer it to a package -- so you already have the description.txt, thumbnail.png, default.php, view.php, images, css, etc. in a folder called "d5_royal5" -- note that this folder name should be all lowercase):
* Make a new folder called "theme_d5_royal5" (again, note all lowercase).
* Inside that folder, make another folder called "themes"
* Inside the "themes" folder, put your theme's full folder (so all of your theme files should be in a folder called "d5_royal5", which is inside a folder called "themes", which is inside a folder called "theme_d5_royal5" -- once again, note all lowercases).
* Make a 97x97 thumbnail (shrunken screenshot of your theme) with rounded corners called "icon.png" and put that in the top-level "theme_d5_royal5" folder. If you don't know how to make rounded corners, and are on a Windows machine, use the free Paint.Net program and see this tutorial:http://www.technipages.com/create-rounded-corners-with-paintnet.htm... . If you're on a mac, well I'm not sure what program to use.
* Make a text file called "CHANGELOG" (NO .txt extension at the end!). Put this file in the top-level "theme_d5_royal5" folder. Edit the file and add 1 line of text: "1.0 - Initial release." (no quotes).
* Make another new file in the top-level "theme_d5_royal5" folder called "controller.php", and in that file put this code:
<?php defined('C5_EXECUTE') or die(_("Access Denied.")); class ThemeD5Royal5Package extends Package { protected $pkgHandle = 'theme_d5_royal5'; protected $appVersionRequired = '5.3'; protected $pkgVersion = '1.0'; public function getPackageDescription() { return t("Installs the D5 Royal5 theme."); } public function getPackageName() { return t("D5 Royal5"); } public function install() { $pkg = parent::install(); PageTheme::add('d5_royal5', $pkg);
Viewing 15 lines of 17 lines. View entire code block.
Here's some crappy ASCII art showing the package directory structure:
theme_d5_royal5/ | +-CHANGELOG | +-controller.php | +-icon.png | +-themes/ | +-d5_royal5/ (all yoru theme stuff inside here, just like it was before you built the pacakge)
Now test it out by uninstalling the theme from your site, then dropping this package folder into your site's top-level "packages" directory (NOT concrete/packages), then go to the dashboard and install the package.
If you do wind up writing a how-to, I'd be happy to help. I have about half of a really lengthy tutorial on the start-to-finish process of converting free themes to C5 themes in the works, but haven't gotten around to completing it yet -- but there may be some stuff in there that's helpful to you (or better yet, maybe you'd be willing to collaborate on it with me so it actually gets done some time this year).
Good luck!
-Jordan
http://www.concrete5.org/marketplace/manage_item/... to submit your theme when done