OOoAuthors Germanphone Section wrote:
Hello Daniel,

would You be so kind to tell me, how do You fix the odt-problem last time?

Here:
http://oooauthors.org/portal_skins/custom/file_view/pt_editForm

Look for the string:
   EDIT BY Daniel Carrera : Jul 2005

The File content type used to have the following condition:

    tal:condition="python:test(content_type.find('text')>-1, 1,0)"

When that condition was "true" it'd try to show the contents of the file. The problem is that SXW and ODT files also contain the string "text". So Plone was trying to display those.

I replaced this condition by:

tal:condition="python:test((content_type == 'text/plain') or (content_type == 'text/html'), 1,0)"

So I know it's only used for plain text and HTML files.


Sigrid told me, that You have asked why the Germanphone Layout is different then the old Layout.

The aswer is very easy: The site shows that a subsite 'could' be different not that it have to be!

:-)
I figured you were just "playing" and experimenting.  :-)

The revision list is on the left site to show that it is a different review list...

Very cool.

The different colors results of the using of the default plone-Style.
If You think that we should have the same colors in alls sections for more 'Corporate Identyty' we can do this ....

Well, remove the "corporate" but yes, an identity is important for usability reasons. The user has to feel that they are still inside the same website.

Cheers,
Daniel.
--
     /\/`) Leave your mark at OpenOffice.org
    /\/_/
   /\/_/   OOoAuthors:     http://oooauthors.org
   \/_/    Knowledge Base: http://mindmeld.cybersite.com.au/
   /

Reply via email to