Forums / Developer / table ezcontentbrowserecent need information

table ezcontentbrowserecent need information

Author Message

stephane couzinier

Thursday 22 March 2007 3:19:31 pm

I need some explication about the table ezcontentbrowserecent.
1) what the purpose of this table?

2) Every time a user create (edit ?) a object, the system insert a new row.
In the browse.ini file, can I set the MaximumRecentItems to 0?

thank's for your help

Stephane

don't flush the cache

Bruce Morrison

Thursday 22 March 2007 6:33:04 pm

Hi Stephane

http://pubsvn.ez.no/doxygen/classeZContentBrowseRecent.html may help

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Heath

Thursday 22 March 2007 6:59:15 pm

These files include that class and use it,

kernel/classes/ezcontentobjecttreenode.php
kernel/content/ezcontentfunctioncollection.php
kernel/content/ezcontentoperationcollection.php

There is also a settings/browse.ini setting

# The default value for maximum recent items to show
MaximumRecentItems=10

hth

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

stephane couzinier

Friday 23 March 2007 2:27:52 pm

Thanks for your answer.

I don't use the browse recent sytem .
So I try to set the MaximumRecentItems to 0 but EZ continu to insert data in the table
(1 row per user) when somebody create content
For my use this functionality make unnecessary query.

Do you have another way to disable this function.
I don't want to change ez code...

tks

Stephane

don't flush the cache