Forums / Setup & design / Limiting the number of keywords in the Keyword Datatype.
Richard Lundberg
Friday 05 December 2008 4:10:25 pm
Hi,Is there any way of setting a limit on the number of keywords entered in the keyword field of a particular object. I have bloggers and article writers entering excessively large amounts of keywords to try and increase exposure in the tag cloud for a particular item. I would like to impose a keyword limit to prevent this.
Thanks in advance for any ideas
www.peakm3.com
Peter Putzer
Saturday 06 December 2008 12:00:54 am
http://ez.no/developer/contribs/datatypes/ez_public_keywords should be exactly what you are looking for. If you have existing content classes and objects, you can change the ezkeywords datatype to ezpublickeywords on the database level without information loss (have a look at the source for the exact string, it's defined right at the beginning).
Greeting,Peter
Accessible website starting from eZ publish 3.0 (currently: 4.1.0): http://pluspunkt.at
Piotrek KaraĆ
Tuesday 09 December 2008 2:16:25 pm
Lack of such built-in limitations/controls in the default datatypes is one of the major anti-community features of eZ Publish. Luckily, easy to overcome.
-- Company: mediaSELF Sp. z o.o., http://www.mediaself.pl eZ references: http://ez.no/partners/worldwide_partners/mediaself eZ certified developer: http://ez.no/certification/verify/272585 eZ blog: http://ez.ryba.eu