Wie soll ich diesen Content-Type bauen?

Hartmut Goebel <[email protected]>
Newsgroups gmane.comp.web.zope.german
Organization Goebel Consult
Message-ID <[email protected]>
Hi,

ich soll einen Seitentyp bauen, der ungefähr so aussieht:

+-----------------------------+
|  Bild oder Film (optional)  |
+-----------------------------+
Titel

body body body body     teaser1
body body body body     optional
body body body body
body body body
body body body body     teaser2
body body body body     optional
body body body


Die beiden Teaser sind Teil der Seite, ein Teaser kommt nur auf einer
Seite vor.

Nun bin ich mit unklar, welchen Weg ich bei der Implementierung
einschlagen soll:

* Eigener Klasse basierend auf ATDocument mit
  Schema-Erweiterung für das Bild und die Teaser

  Unklar ist mir hier: Wie implementiere ich hier Filme/Flash statt dem
  Bild?

* Portal-Type basierend auf ATDocument mit einem eigenen CSS, das das
  Layout erzeugt.

  Unklar ist mir hier: a) Kann man mit kupu überhaupt DIVs festlegen
  (als Wrapper um ander Formate)? b) Wie muss das CSS aussehen, damit
  das  Bild/Film, der _im_ Richtext-Body über die Überschrift bekomme?
  (Das Bild ist ja nicht immer da.)

* Einen Contenttype wie mxmDynamicPage verwenden.

  Diese Lösung gefällt mir am wenigsten, weil es relativ umständlich
  ist, eine Seite zusammen zu stellen.

Irgendwelche Tipps?

-- 
Schönen Gruß - Regards
Hartmut Goebel
Dipl.-Informatiker (univ.), CISSP

Goebel Consult
Spezialist für IT-Sicherheit in komplexen Umgebungen
http://www.goebel-consult.de



_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
smime.p7s (application/x-pkcs7-signature, 4.6 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.