Hi All! Question on Plone Products, and About the next Meeting.

2 views
Skip to first unread message

Ben

unread,
Mar 30, 2008, 9:49:57 PM3/30/08
to Denver Plone Users Group
Just taking a look to see when the next meeting is available. Tj and I
are ready to bring the chicken wings for anyone wanting to attend!


Things are coming along for our project www.studionote.net
Plone 3.5 Zope 3

TJ has been working on the email service, which is pretty solid now.
Antivirus and Firewall are in the works. After digging into the book
Professional Plone Development we are both finding this to be a fine
challenge. For myself on the art side, I have a question maybe to
point me in the right direction. I just want to make sure that I am
not missing a step here and that I understand this.

We have installed the package DIYPlone as suggested by many of the
members. After the package is installed and ready for construction,
would you copy and paste the stylesheets into the folder Mynewproduct
_styles, then add those stylesheets to the plone CSS registry? the
reason I ask is;
I noticed when you install a product that you are not allowed to ADD
or import anything. The "select a type to add" feature is just gone!
So would you create a style sheet to the custom folder then cut and
paste it to the Mytheme_styles folder?

I am just trying to work out the steps for this to start a new product
skin.

Then after the product is ready, You would move the Mynewproduct
folder into the /Plone-x/Instance/Products folder , restart Zope, and
Go into the Plone Control Panel (the "site setup" link), click on Add/
Remove Products, tick the box next to the product name and click
"Install". Where we can then install the product on multiple user
accounts.

TJ is more of the expert on the buildout theme package, eggs, and test
policy product, Does DIYPlone do most of this buildout and set
policy's for you?

Help was found at:
https://weblion.psu.edu/trac/weblion/wiki/CreateYourOwnProduct
http://plone.org/products/diyplonestyle
http://plone.org/documentation/tutorial/creating-custom-style
http://plone.org/documentation/tutorial/creating-plone-themes
Professional Plone Dev. Chapter 8

Dayne Medlyn

unread,
Apr 1, 2008, 9:17:47 AM4/1/08
to denver...@googlegroups.com
Hi Ben,

> Just taking a look to see when the next meeting is available. Tj and I
> are ready to bring the chicken wings for anyone wanting to attend!

I trust you saw the e-mail I sent out yesterday. I will probably give
it a few days to see who is interested in hosting the next one.
Otherwise we will probably just do the same arrangement (though
Fridays are probably not the best option).

> Things are coming along for our project www.studionote.net
> Plone 3.5 Zope 3

I suspect you mean Plone 3.0.5 (3.5 does not exist yet and may not ever) :-).


> TJ has been working on the email service, which is pretty solid now.
> Antivirus and Firewall are in the works.

If this is tied into Plone I suspect we would all like to hear what
and how you did this.


> We have installed the package DIYPlone as suggested by many of the
> members. After the package is installed and ready for construction,
> would you copy and paste the stylesheets into the folder Mynewproduct
> _styles, then add those stylesheets to the plone CSS registry? the
> reason I ask is;
> I noticed when you install a product that you are not allowed to ADD
> or import anything. The "select a type to add" feature is just gone!
> So would you create a style sheet to the custom folder then cut and
> paste it to the Mytheme_styles folder?

I am not quite as adept in these procedures as I would like to be. If
I understand your question right you are trying to create a directory
on the filesystem then register it in the ZMI. I suspect this can be
done, but it is much better to do all that programatically by creating
a product. The DIY Plone product includes a mechanism (not that
familiar with it off the top of my head) for creating a template
skinning product. The template project should provide all the
directories, and many of the files, you need in a "my product"
directory. Just modify the appropriate files then install your new
product.


> Then after the product is ready, You would move the Mynewproduct
> folder into the /Plone-x/Instance/Products folder , restart Zope, and
> Go into the Plone Control Panel (the "site setup" link), click on Add/
> Remove Products, tick the box next to the product name and click
> "Install". Where we can then install the product on multiple user
> accounts.

You got it.


> TJ is more of the expert on the buildout theme package, eggs, and test
> policy product, Does DIYPlone do most of this buildout and set
> policy's for you?

DIY Plone should help with creating a theme package to install, but I
believe buildouts and eggs are a different issue. Basically, you can
take and entire product and wrap it in an egg by implementing the
"eggs" interface with wrapper scripts. Creating/maintaining buildouts
is yet another interface that helps enable the automatic download and
building of all the pieces needed to get a running instance of Plone.
It is another, somewhat preferable, method of installing Plone (the
Unified Installer being the simplest method). If you get a good
handle on buildouts and eggs this would be a great topic for one of
our meetings.

These are your best sources.


Dayne

Trey Beck

unread,
Apr 1, 2008, 1:46:30 PM4/1/08
to denver...@googlegroups.com
Greetings, Ben!


>We have installed the package DIYPlone as suggested by many of the
>members. After the package is installed and ready for construction,
>would you copy and paste the stylesheets into the folder Mynewproduct
>_styles, then add those stylesheets to the plone CSS registry?

Apologies if you already know this, but DIYPloneStyle isn't a product which you install like other products, generally speaking. Instead, you use it to create new plone themes by calling the generate script like so:

DIYPloneStyle/bin/generator.py --productname MyPloneTheme

You then customize the resulting MyPloneTheme product.

This tutorial is a bit long in the tooth, but might help you get started:
http://plone.org/documentation/tutorial/creating-custom-style


>TJ is more of the expert on the buildout theme package, eggs, and test
>policy product, Does DIYPlone do most of this buildout and set
>policy's for you?

If you are already using buildout, I wouldn't use DIYPloneStyle. It's not exactly deprecated, but using ZopeSkel to create plone themes from the included templates is probably a better way to go, especially if you're working with plone 3+. (You can do either, but DIYPloneStyle won't see any new releases; ZopeSkel is taking its place.)

So, where you use the following to create a buildout:

paster create -t plone3_buildout myproject

You can subsequently say:

paster create -t plone3_theme mytheme

I see you have access to a copy of Martin's Professional Plone Development. If so, go back and look through the beginning of the book where he walks through creating a buildout, then a plone3 theme using ZopeSkel. He explains it pretty well.

Ping us with additional questions!

Ben

unread,
Apr 23, 2008, 12:49:12 PM4/23/08
to Denver Plone Users Group
Thanks Trey.


will keep ploning it. LoL.
Reply all
Reply to author
Forward
0 new messages