Override core files?

Author Message

André Bischof

Wednesday 13 April 2005 2:08:27 am

Hello,

is it possible to override core files (kernel/classes/...) so that they are not overwritten by updates as with settings/designs?

I have to do modifications to ezldapuser.php to get LDAP working here (see http://ez.no/community/forum/setup_design/can_t_authenticate_via_ldap_after_updating_3_4_3_to_3_5_1) which I have to remember each time I update ezpublish.

An override mechanism would spare me this.

Any clues?

Kind regards,
André

Personal weblog and more: http://bischof.homelinux.net

Łukasz Serwatka

Wednesday 13 April 2005 2:50:28 am

Hi André,

This is impossible. If you need special functionality you will have to create your own module. More information you can find in documentation.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Xavier Dutoit

Wednesday 13 April 2005 3:00:44 am

With svn (http://pubsv.ez.no) you can modify files, when you update, it keeps your modifications and does a rather good job if it needs to merge your modifications with ez ones.

X+

http://www.sydesy.com

André Bischof

Wednesday 13 April 2005 4:21:05 am

Hello,

about SVN: How do you think exactly this could be done? I know about merging possibilities of source-code-management systems, but wouldn't I have to set my own then?
I can't imagine that it could be possible to put my own modifications in in SVN on ez.no - or am I wrong?

Kind regards,
André

Personal weblog and more: http://bischof.homelinux.net

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 07:29:18
Script start
Timing: Jan 31 2025 07:29:18
Module start 'layout'
Timing: Jan 31 2025 07:29:18
Module start 'content'
Timing: Jan 31 2025 07:29:18
Module end 'content'
Timing: Jan 31 2025 07:29:18
Script end

Main resources:

Total runtime0.0174 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.0052 588.1250151.2109
Module start 'layout' 0.00520.0026 739.335936.6328
Module start 'content' 0.00780.0080 775.968894.1094
Module end 'content' 0.01580.0015 870.078133.9922
Script end 0.0174  904.0703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002413.7991140.0002
Check MTime0.00105.8672140.0001
Mysql Total
Database connection0.00084.442110.0008
Mysqli_queries0.002413.875630.0008
Looping result0.00000.075210.0000
Template Total0.00105.910.0010
Template load0.00084.528210.0008
Template processing0.00021.358210.0002
Override
Cache load0.00053.071610.0005
General
dbfile0.002816.079680.0004
String conversion0.00000.056040.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