ericmckean / google-highly-open-participation-plone

Automatically exported from code.google.com/p/google-highly-open-participation-plone
0 stars 0 forks source link

Create a new theme for Plone: Blue Blog #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Prerequisite: Decent working knowledge of CSS.

Take the following existing design and create a Plone  theme for it:

Blue Blog - http://www.oswd.org/design/preview/id/2251

Here's a tutorial to get you started:
http://plone.org/documentation/tutorial/creating-plone-themes

Original issue reported on code.google.com by l...@gmail.com on 19 Nov 2007 at 11:15

GoogleCodeExporter commented 9 years ago

Original comment by l...@gmail.com on 27 Nov 2007 at 7:07

GoogleCodeExporter commented 9 years ago
I claim this task.

Original comment by decry...@gmail.com on 2 Dec 2007 at 8:04

GoogleCodeExporter commented 9 years ago
Great, decryphe - we look forward to your submission this Friday.

Original comment by optil...@gmail.com on 2 Dec 2007 at 8:30

GoogleCodeExporter commented 9 years ago

Original comment by optil...@gmail.com on 2 Dec 2007 at 8:31

GoogleCodeExporter commented 9 years ago
I have one big problem: I can't use the tutorial, because the generate.py script
doesn't work at all. It creates a few folders like this:
$Basedir\$projectname\$projectname\$projectname\...\$projectname
I'm using Windows XP but may switch to my laptop running ArchLinux.
What shall I do with Windows?

Original comment by decry...@gmail.com on 2 Dec 2007 at 8:51

GoogleCodeExporter commented 9 years ago
Hi decryphe,

I've forward your request to the guy who's responsible for DIYPloneStyle. 
Personally, I use the paster version, 
which you get by installing ZopeSkel 
(http://plone.org/documentation/tutorial/how-to/use-paster) - it's run 
with "paster create -t plone3_theme plonetheme.blueblog".

If you're doing this, you probably want to set up a buildout. See 
http://plone.org/documentation/tutorial/buildout. There are instructions there 
for Windows as well as Unix 
operating systems. Follow the instructions for adding a new "development egg" 
once you've created the 
plonetheme.blueblog package. You should create the new package in the "src/" 
directory of the buildout.

Hope that helps!

Martin

Original comment by optil...@gmail.com on 2 Dec 2007 at 9:06

GoogleCodeExporter commented 9 years ago
you have to deompress DIYPloneStyle with some other application than WinZip. 
WinZip
is very bad at decompressing tar.gz packages

Original comment by davconv...@gmail.com on 3 Dec 2007 at 7:13

GoogleCodeExporter commented 9 years ago
Of course I've decompressed it. How else could I have run the script? Anyway... 
under
Windows it doesn't work, under Ubuntu it works. But instead I can't start plone 
under
Ubuntu (it's just empty zope that will start) according to the setup guide. I've
tried it with the Unified installer.
Instead Plone runs under Windows without any problems but Python makes a mess.

It doesn't seem possible to me that I can finish this task until friday. I've 
got a
mess with plone and at school the amount of work for this week doubled today... 
What
a wierd world ;)

Anyway, I'll try my best on thursday, because then the week is almost over and 
the
work done.

decryphe

Original comment by decry...@gmail.com on 3 Dec 2007 at 4:47

GoogleCodeExporter commented 9 years ago
You could have decompress the archive with WinZip… which could have lead to 
some
other problems.

Anyway, it seems that putting a DIYPloneStyle generated product under windows 
in the
Zope instance makes impossible to display a proper Plone site. Strange bug, 
which
occurs in windows only. I hope to have some time this week for fixing it.

Two alternatives since then: generate the product with ubuntu like you did, or 
use
the ZopeSkel plone3_template to generate an egg. Personally, I do the later 
when I
start a new product, because ZopeSkel generates python eggs which can be 
installed
with easy_install, or added to a buildout, and because they magane their own
dependencies when needed.

Original comment by davconv...@gmail.com on 3 Dec 2007 at 6:47

GoogleCodeExporter commented 9 years ago

Original comment by mw4...@googlemail.com on 6 Dec 2007 at 5:56

GoogleCodeExporter commented 9 years ago
I unclaim this Task.

This because I wasn't able to get a plone template working where I could begin 
the
creation of the template. Added to that was an unexpected amount of work to do 
at
school that shortened my free time drastically.
I hope the next participant may be more lucky with the setting up of plone, so 
he may
be able to make the skin and not fight the underlying software.

Original comment by decry...@gmail.com on 6 Dec 2007 at 7:13

GoogleCodeExporter commented 9 years ago
Sorry to hear it!  Reopened

Original comment by mw4...@googlemail.com on 6 Dec 2007 at 7:16

GoogleCodeExporter commented 9 years ago
I claim this Task. 

however, I have unclaimed a task a couple minutes ago and the project manager 
needs
to assign the issue as Open. Is it possible to save this spot for an hour or 
two?

Thanks!

Original comment by are.you....@gmail.com on 9 Dec 2007 at 1:25

GoogleCodeExporter commented 9 years ago
okay, now I claim this task, seeing that my other task in drupal is free now.

hope to correspond with the people at plone!

Original comment by are.you....@gmail.com on 9 Dec 2007 at 2:59

GoogleCodeExporter commented 9 years ago
Hello,

When installing the Plone on my Windows XP, everything goes well, except when I 
press
New Plone on the Plone controller, I get a blank page on http://localhost/

Any help would be appreciated to further continue this task.

Original comment by are.you....@gmail.com on 9 Dec 2007 at 3:42

GoogleCodeExporter commented 9 years ago
Nevermind, when I opened up the Debug window, everything seems to be fine.

Expect to see a release within 3-5 days!

Original comment by are.you....@gmail.com on 9 Dec 2007 at 3:59

GoogleCodeExporter commented 9 years ago
Task goes to are.you.cursed!  Good luck!

Original comment by mw4...@googlemail.com on 9 Dec 2007 at 4:18

GoogleCodeExporter commented 9 years ago
Hello,

I get this error when attempting to create a new theme using the DIYPloneStyle:

Traceback (most recent call last):
  File "bin/generator.py", line 275, in ?
    generateDirectoryCopy( path, target )
  File "bin/generator.py", line 268, in generateDirectoryCopy
    generateDirectoryCopy(src_path, dst_path)
  File "bin/generator.py", line 268, in generateDirectoryCopy
    generateDirectoryCopy(src_path, dst_path)
  File "bin/generator.py", line 268, in generateDirectoryCopy
    generateDirectoryCopy(src_path, dst_path)
  File "bin/generator.py", line 268, in generateDirectoryCopy
    generateDirectoryCopy(src_path, dst_path)
  File "bin/generator.py", line 268, in generateDirectoryCopy
    generateDirectoryCopy(src_path, dst_path)
  File "bin/generator.py", line 268, in generateDirectoryCopy
    generateDirectoryCopy(src_path, dst_path)
  File "bin/generator.py", line 268, in generateDirectoryCopy
    generateDirectoryCopy(src_path, dst_path)
  File "bin/generator.py", line 268, in generateDirectoryCopy
    generateDirectoryCopy(src_path, dst_path)
  File "bin/generator.py", line 268, in generateDirectoryCopy
    generateDirectoryCopy(src_path, dst_path)
  File "bin/generator.py", line 268, in generateDirectoryCopy
    generateDirectoryCopy(src_path, dst_path)
  File "bin/generator.py", line 268, in generateDirectoryCopy
    generateDirectoryCopy(src_path, dst_path)
  File "bin/generator.py", line 268, in generateDirectoryCopy
    generateDirectoryCopy(src_path, dst_path)
  File "bin/generator.py", line 268, in generateDirectoryCopy
    generateDirectoryCopy(src_path, dst_path)
  File "bin/generator.py", line 268, in generateDirectoryCopy
    generateDirectoryCopy(src_path, dst_path)
  File "bin/generator.py", line 268, in generateDirectoryCopy
    generateDirectoryCopy(src_path, dst_path)
  File "bin/generator.py", line 268, in generateDirectoryCopy
    generateDirectoryCopy(src_path, dst_path)
  File "bin/generator.py", line 268, in generateDirectoryCopy
    generateDirectoryCopy(src_path, dst_path)
  File "bin/generator.py", line 268, in generateDirectoryCopy
    generateDirectoryCopy(src_path, dst_path)
  File "bin/generator.py", line 268, in generateDirectoryCopy
    generateDirectoryCopy(src_path, dst_path)
  File "bin/generator.py", line 268, in generateDirectoryCopy
    generateDirectoryCopy(src_path, dst_path)
  File "bin/generator.py", line 268, in generateDirectoryCopy
    generateDirectoryCopy(src_path, dst_path)
  File "bin/generator.py", line 268, in generateDirectoryCopy
    generateDirectoryCopy(src_path, dst_path)
  File "bin/generator.py", line 268, in generateDirectoryCopy
    generateDirectoryCopy(src_path, dst_path)
  File "bin/generator.py", line 268, in generateDirectoryCopy
    generateDirectoryCopy(src_path, dst_path)
  File "bin/generator.py", line 268, in generateDirectoryCopy
    generateDirectoryCopy(src_path, dst_path)
  File "bin/generator.py", line 266, in generateDirectoryCopy
    os.mkdir(dst_path)
OSError: [Errno 2] No such file or directory: 'C:\\Program Files\\Plone 3\\Data\
\Products\\DIYPloneStyle\\MyTheme\\Myabcs\\Myabcs\\Myabcs\\Myabcs\\Myabcs\\Myabc
s\\Myabcs\\Myabcs\\Myabcs\\Myabcs\\Myabcs\\Myabcs\\Myabcs\\Myabcs\\Myabcs\\Myabc
s\\Myabcs\\Myabcs\\Myabcs\\Myabcs\\Myabcs\\Myabcs\\Myabcs\\Myabcs\\browser\\styl
esheets'

When running the command:
    cd Products/DIYPloneStyle

    python bin/generator.py --productname Myabcs

From the manual.

Original comment by are.you....@gmail.com on 9 Dec 2007 at 7:11

GoogleCodeExporter commented 9 years ago
This is typically the message you get when you uncompressed DIYPloneSyle with 
WinZip.

As said earlier in this thread, don't uncompress tar.gz archives with WinZip!!!

Note: Themes created with DIYPloneStyle on windows break plone sites when put 
in the
Products dir of a Zope instance. This is a nasty bug, I still don't know where 
it
comes from.

cheers

Original comment by davconv...@gmail.com on 10 Dec 2007 at 8:49

GoogleCodeExporter commented 9 years ago
I extracted it using winRAR.

Also, am I suppose to develop this theme for 2.5.x or 3.x?

Because I already started work on 2.5.x.

Regards,

Edward

Original comment by are.you....@gmail.com on 10 Dec 2007 at 10:56

GoogleCodeExporter commented 9 years ago
Edward, we'd much prefer Plone 3 if you can.

Original comment by optil...@gmail.com on 10 Dec 2007 at 10:57

GoogleCodeExporter commented 9 years ago
The problem is, I get the error stated above when using 3.x, which doesn't 
happen on
Plone 2.5.x. Otherwise, I would be all for 3.x.

Original comment by are.you....@gmail.com on 10 Dec 2007 at 10:59

GoogleCodeExporter commented 9 years ago
In situations like these, the best idea is to contact the Plone user mailing 
list/Nabble forum. Hundreds of people 
read that and are more likely to be able to help than the two or three that 
read this issue. See 
http://plone.org/support.

Original comment by optil...@gmail.com on 10 Dec 2007 at 11:05

GoogleCodeExporter commented 9 years ago
I asked the question, but someone kicked me off the IRC server.

And about Nabble:

Dear Nabble user:

Your recent message "DIYPloneStyle" has not yet been accepted by the mailing 
list and
is still in the pending status.
This was 1-2 days ago. I need to complete this project in five days, and I 
doubt the
administrators will verify it in time.

Original comment by are.you....@gmail.com on 10 Dec 2007 at 11:10

GoogleCodeExporter commented 9 years ago
I doubt you were kicked unless you behaved inappropriately. If you remember the 
name of the person who did 
it, I can speak to them.

As for Nabble, please follow the instructions to join the mailing list (and 
then turn off mail delivery). Without 
that, your mail will not be received by anyone. All of this is clearly 
explained at http://plone.org/support/posting-to-plone-forums

Original comment by optil...@gmail.com on 10 Dec 2007 at 11:15

GoogleCodeExporter commented 9 years ago
Hello,

unfortunately, I do not have time for this project (Schoolwork takes over ><). 
please
unclaim my task.

Thank you,

Edward

Original comment by are.you....@gmail.com on 11 Dec 2007 at 4:34

GoogleCodeExporter commented 9 years ago

Original comment by optil...@gmail.com on 11 Dec 2007 at 8:57

GoogleCodeExporter commented 9 years ago

Original comment by mw4...@googlemail.com on 11 Dec 2007 at 7:08

GoogleCodeExporter commented 9 years ago
You will find in the linked article the complete procedure for generating the
base code of a new theme for Plone 3:
http://davconvent.objectis.net/knowledge/getting-started-with-plone3-theme

This article will be part of the tutorial about themeing Plone (updated
version for Plone 3).
It is there for being accessible before the complete tutorial publication.

Original comment by davconv...@gmail.com on 12 Dec 2007 at 2:14

GoogleCodeExporter commented 9 years ago
I claim this Task

Original comment by filip.ha...@googlemail.com on 14 Dec 2007 at 4:49

GoogleCodeExporter commented 9 years ago
Go go go :)

Original comment by optil...@gmail.com on 14 Dec 2007 at 5:12

GoogleCodeExporter commented 9 years ago

Original comment by mw4...@googlemail.com on 19 Dec 2007 at 5:15

GoogleCodeExporter commented 9 years ago
Hi, could you give us an update on how it's going please blender?

Original comment by mw4...@googlemail.com on 20 Dec 2007 at 12:52

GoogleCodeExporter commented 9 years ago
I'm almost ready, but there is one thing I don't understand. The Design is 
ready, but
in the Head there is the name of the Site and not a logo like in Plone. Now I 
edited
global_logo.pt and saved it in my template_directory.There I say:

<h1><span tal:replace="python:view.portal-title"></span></h1>

but he says "view is not defined".
Do I have to register anywhere that the global_logo.pt is edited?

Original comment by filip.ha...@googlemail.com on 20 Dec 2007 at 8:32

GoogleCodeExporter commented 9 years ago
Or could I have an Image in the Head and not a variable?

Original comment by filip.ha...@googlemail.com on 20 Dec 2007 at 8:33

GoogleCodeExporter commented 9 years ago
There is an other thing I don't understand:
All images are shown, but only if the Debug-Mode is off, else they are not 
shown. 
I don't understand this.:-(

Original comment by filip.ha...@googlemail.com on 20 Dec 2007 at 8:48

GoogleCodeExporter commented 9 years ago
Hi, I'm ready now with a small delay.

Original comment by filip.ha...@googlemail.com on 22 Dec 2007 at 12:31

Attachments:

GoogleCodeExporter commented 9 years ago
Very nice, there's a couple of little polishing problems though.

All these are only tested in firefox:

1) The tabs are the wrong colour and shifted upwards
2) The diagonal ticks at the side of the text go all the way down, on the 
original
theme they're only to the side of paragraphs and are a different colour for 
headers
3) The right column doesn't display correctly: test juts out on the left and the
rounded corners are misaligned

Also, in the original the right column is always visible with the search box 
being at
the top, not just when there are portlets.  If you want to attempt this you'd 
need to
re-assign some viewlets, perhaps even create your own viewlet manager.  It's 
really
not much extra work and we'd certainly take it into account when scoring your
submission. 

Original comment by mw4...@googlemail.com on 22 Dec 2007 at 12:46

GoogleCodeExporter commented 9 years ago
ok, I'll try to do this, but it will need some time. ^^

Original comment by filip.ha...@googlemail.com on 22 Dec 2007 at 1:22

GoogleCodeExporter commented 9 years ago
Hi,

the 3 points are ok now.
With the searchportlet, I tryed to use setuphandlers.py from Nuplone, now should
appear a searchportlet, but it deosn't. Do I have to change something else.

Original comment by filip.ha...@googlemail.com on 22 Dec 2007 at 4:30

GoogleCodeExporter commented 9 years ago
Ah, there's a search portlet!  That's new, brilliant idea who did it.  So, don't
worry about the search box, if the other two are fixed, that's great.  I'll 
mark this
closed when you submit an updated version.

Original comment by mw4...@googlemail.com on 22 Dec 2007 at 6:53

GoogleCodeExporter commented 9 years ago
Okay, now the right Version

## 3) The right column doesn't display correctly: test juts out on the left and 
the
## rounded corners are misaligned

only here I don't know what was ment. I checked it with Firefox and Konqueror. 
Both
showed the corners aligned right.

The search portlet isn't opened automatically. It must be assigned in 
manage-portlets

Original comment by filip.ha...@googlemail.com on 22 Dec 2007 at 8:25

Attachments:

GoogleCodeExporter commented 9 years ago
Ok, I don't see it anymore, maybe my firefox was misbehaving.  Thanks for your 
hard work!

Original comment by mw4...@googlemail.com on 23 Dec 2007 at 9:20