AW: [opencms-dev] How would you create a catalog website?

Mark Miller mark.miller at hema.ch
Wed Dec 10 10:18:01 CET 2003


Make use of the news module ... create a new news channel and then
simply use the fields in the news entry form for the books.

You may find it worth changing the workplace.properties file ... or
change the news module to reflect your needs.

All the best,


mark

-----Ursprüngliche Nachricht-----
Von: opencms-dev-admin at opencms.org
[mailto:opencms-dev-admin at opencms.org] Im Auftrag von Arne Schirmacher
Gesendet: 10 December 2003 08:21
An: opencms-dev at opencms.org
Betreff: [opencms-dev] How would you create a catalog website?

I need a book catalog area on my website. Each page
has some text about the book, and a html table with
picture, title, isbn, link to amazon etc.

The data for the picture block is just title, author
and isbn. The isbn number is used to generate the
image url (isbn.jpg), several <a> links to amazon
(image, "order" text link, java script to make the
whole cell clickable) and it is of course displayed as
text too.

Now the problem is how to code this page. I tried
using a standard html page and using the html gallery
for the picture block. But I had to replace all
occurrences of the isbn in the source code editor,
because the isbn number is used in many places in the
html code, including in a "onclick" java script
statement which is not editable in the wysiwyg html
editor.

This is of course error-prone. I would rather use jsp
code or a template here, but I don't see how to fit
this in. Any jsp code entered in the html page is not
executed. And if I start from a jsp page, the html
editor is not available.

The ideal solution would be if the html editor would
be available for jsp pages. I could then use it to
write the book description, and the picture block
would be generated by a java function, taking the book
title, author and isbn as parameters.

Now I have to resort to an external html editor to
write the text part, but other authors don't have it
and therefore could not write book articles.

How would you solve this problem?

__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de
_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please
visit
http://mail.opencms.org/mailman/listinfo/opencms-dev





More information about the opencms-dev mailing list