[opencms-dev] NavPos arrows?

Thomas Decher thomas.decher at tomdigital.de
Fri Jul 2 06:35:08 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Steve,

there are several collectors provided by opencms. By varying them you get a
small amount of different sorting options. One of those collectors is named
"allInSubTreePriorityDateDesc". It is evaluating the properties
"collector.priority" and "collector.date" to arrange the results. That might be
already your solution because news are often presented chronological.

There is also the possibility of developing your own collectors but I don't know
how laborious it is. Maybe Alkacon provides some new configurable ones with
version 8.

For providing sorting functionality to visitors in the front-end I'd recommend
javascript (if there's no list-paging in use). It's faster because no data
transmitting is required and it minimizes the problem of "duplicate content" for
SEO reasons. You can find a lot of relating stuff on the internet.

HTH

Regards Thomas Decher

Am 01.07.2010 16:55, schrieb Steve Bryan:
> Hi again
> 
> Lists of news articles etc in OpenCms are shown and managed via the
> CmsJspXmlContentBean.contentload tag/function.
> 
> This will list the articles and in offline mode direct edit buttons are
> shown by each for delete, edit (and one for new).
> 
> My question is - is there a nice way to allow users to change the order of
> the articles (if title or date ordering is not relevant)? If use NavPos,
> then the user has to edit a float number which is quite horrible.
> 
> It would be great if there were arrows for up/down (a bit like the ones for
> ordering subelements inside a single XML entity). Any ideas?
> 
> Thanks
> Steve
> 
> 
> 
> 
> _______________________________________________
> 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

- -- 

TOM Digital GmbH
Thomas Decher
Hammerbrookstrasse 93
20097 Hamburg, Germany

Fax: +49.40.254048-10
Fax: +49.40.254048-40

E-Mail: td at tomdigital.de
________________________________________________________________________________

TOM Digital GmbH

Geschäftsführer / Managing Director: Thomas Heisterhagen
Eingetragen beim / registered at: Amtsgericht Hamburg HRB 110797

Diese E-Mail einschliesslich ihrer Anlagen ist vertraulich und nur fuer
den Adressaten bestimmt. Wenn Sie nicht der vorgesehene Empfaenger sind,
bitten wir Sie, dieses E-Mail mit Anlagen unverzueglich vollstaendig zu
loeschen und uns umgehend zu benachrichtigen.

Dieses Problem ließe sich mit Verschlüsselung sehr leicht umgehen. Für diese
E-Mail-Adresse ist ein PGP-Schlüssel, die ID lautet 0xBDCC86D6, auf den gängigen
Schlüsselservern verfügbar.

This e-mail and its attachments are strictly confidential and are
intended solely for the attention of the person to which it is
addressed. If you are not the intended recipient of this e-mail, please
delete it including its attachments immediately and inform us
accordingly.

This problem can be dealt with simply by encryption. A PGP-key, the id is
0xBDCC86D6, for this email-account is available on the established key servers.
________________________________________________________________________________
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwtbHwACgkQJ51ior3MhtbIGgCZAZlao9vi/D6N8ixBZQYTuK9m
EN0An27/zjXl+sPWUAEsu5TDty02g+mJ
=ScGb
-----END PGP SIGNATURE-----



More information about the opencms-dev mailing list