[opencms-dev] how to list items one by one, not line by line
Jonathan Woods
jonathan.woods at scintillance.com
Tue May 30 05:44:12 CEST 2006
Zhibin -
I think it will only be when you are in the Offline project that <divs> are
used - they are inserted by the direct edit mechanism so that it can
position direct edit buttons. Try viewing your content while you're not
logged in (after publishing it to the Online project, of course) and see if
that fixes the problem.
If I'm right, that still leaves you with the problem of displaying content
nicely for your authors/editors. Other than somehow digging into the code
generated by the collector framework, I'm not sure - maybe someone else has
a solution...
Jon
-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Huang Zhibin
Sent: 30 May 2006 01:55
To: opencms-dev at opencms.org
Subject: [opencms-dev] how to list items one by one, not line by line
Dear list,
As I know, when I list items in opencms's jsp file, I often user taglib of
<cms:contentload
<cms:contentload collector="allInFolderDateReleasedDesc"
param="/test_bmcc_honor/|bmcc_honor" editable="true">
<p><cms:contentshow element="Title" /></p>
... ...
</cms:contentload>
then items will be listed line by line, that is
*
*
*
but now I have to list items one by one, that is
* * *
I try to add html code such as <tr><td>, but it does not work. I read page's
html code, and found that when using <cms:contentload every item is listed
as <div> ..., that is why <tr><td> does not work. So if someone has managed
to list items one by one, can he give me some suggestions?
Thanks.
Zhibin
_______________________________________________
This mail is sent to you from the opencms-dev mailing list To change your
list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list