Making objects not always available after creating them

Author Message

Ville Mattila

Sunday 04 March 2007 5:30:12 am

Hi there,

Well, this is generally poor planning but plans change. ;) I should mark all Folder objects not to be always available (in all translations). How can I do this afterwards as I read from docu that the object availability is defined at time of creation of the object?

Thanks,
Ville

Ville Mattila

Sunday 04 March 2007 5:56:59 am

Helping myself... =)

UPDATE ezcontentobject SET language_mask = language_mask-1 WHERE MOD(language_mask,2)=1

Only some classes can be changed with proper WHERE clause.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 05:32:08
Script start
Timing: Jan 31 2025 05:32:08
Module start 'layout'
Timing: Jan 31 2025 05:32:08
Module start 'content'
Timing: Jan 31 2025 05:32:08
Module end 'content'
Timing: Jan 31 2025 05:32:08
Script end

Main resources:

Total runtime0.0170 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 588.3750151.2422
Module start 'layout' 0.00610.0025 739.617236.7109
Module start 'content' 0.00860.0069 776.328190.2031
Module end 'content' 0.01550.0015 866.531329.9922
Script end 0.0170  896.5234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002313.4510140.0002
Check MTime0.00116.1977140.0001
Mysql Total
Database connection0.00105.897710.0010
Mysqli_queries0.002816.699130.0009
Looping result0.00000.071510.0000
Template Total0.00116.410.0011
Template load0.00084.833710.0008
Template processing0.00031.516810.0003
Override
Cache load0.00063.364510.0006
General
dbfile0.002715.687080.0003
String conversion0.00000.051940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs