Custom top level nodes

Author Message

Piotrek Karaś

Saturday 29 December 2007 8:46:28 am

I've just experimented with the content node tree a bit, and added an additional top level node. The system seems to handle it fine on the basic display/edit level.

Can you see any potential use for custom top level nodes (that the content tree + sections + access control system wouldn't be enough for)? And if so, any potential risks?

--
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

Heath

Saturday 29 December 2007 10:54:20 am

That's interesting ...

Why not publish a brief example of this solution on http://ezpedia.org

Cheers,
Heath

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

Piotrek Karaś

Saturday 29 December 2007 11:07:14 am

Just in case I didn't express myself clearly... I had to brutally force it in there with SQL (administration interface didn't allow that by itself, so there's no bug for the time being ;)

BTW. I cannot register to the eZPedia, unknown account error during sign in validation... ;(

--
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

Heath

Saturday 29 December 2007 11:49:36 am

Yes Piotrek you were very clear.

Fact remains your not the first to ask how can this goal be reached.

The SQL you used to reach this goal is valuable to others looking to do as you have done ... without having to study as hard as you must have to learn which SQL will work.

Which leads me to stepping up and asking for you to share the solution not just the question, 'Is this ok' when we can't tell what you have done really without the sql.

Their is always another reason hidden from view on the other side of the coin. Every time I turn it over while contemplating the question I think of another reason to share ....

Email kc at ez dot no perhaps he can help you outside the forum get yourself an ezpedia.org account ... if ezpedia is not functioning for you try a blog post ...

Cheers,
Heath

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

Piotrek Karaś

Saturday 29 December 2007 3:01:33 pm

Heath,

I had sharing in mind from the beginning:
http://ryba.ez-publish.net/index.php/ez_publish/lab/custom_top_level_nodes_is_that_possible_round_i_exploration

I started with the question because I wasn't sure if it was a good direction and actually worth of spending time on. Now, that I dug a bit more, I suspect that no matter what the benefits, it will require too many core modifications... unless all served by own extension... But that's still a guess at this point.

Cheers,
Piotrek

--
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

Heath

Sunday 30 December 2007 3:47:18 am

Great!

You are not alone in searching for an answer to these questions. You can do <b>anything</b> using eZ ...

Though I strongly suspect my subconscious disagrees with your fears regarding core changes in kernel to reach your goal while retaining existing functionality and stability ...

We'll look forward to reading more :)

Cheers,
Heath

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

Piotrek Karaś

Sunday 30 December 2007 4:22:40 am

<i>You can do anything using eZ ...</i>
That's exactly what was told about 3 months ago, and I'm finally starting to see that ;)

--
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

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 19 2025 01:17:29
Script start
Timing: Jan 19 2025 01:17:29
Module start 'layout'
Timing: Jan 19 2025 01:17:29
Module start 'content'
Timing: Jan 19 2025 01:17:30
Module end 'content'
Timing: Jan 19 2025 01:17:30
Script end

Main resources:

Total runtime0.6767 sec
Peak memory usage4,096.0000 KB
Database Queries69

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 589.1484152.6250
Module start 'layout' 0.00540.0033 741.773439.4297
Module start 'content' 0.00870.6665 781.2031600.2813
Module end 'content' 0.67520.0014 1,381.484420.1875
Script end 0.6766  1,401.6719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4604160.0002
Check MTime0.00130.1941160.0001
Mysql Total
Database connection0.00080.120910.0008
Mysqli_queries0.606789.6530690.0088
Looping result0.00060.0898670.0000
Template Total0.646895.620.3234
Template load0.00220.330620.0011
Template processing0.644595.249520.3223
Template load and register function0.00010.017910.0001
states
state_id_array0.00100.146910.0010
state_identifier_array0.00080.112520.0004
Override
Cache load0.00190.2877460.0000
Sytem overhead
Fetch class attribute can translate value0.00070.100920.0003
Fetch class attribute name0.00160.232290.0002
XML
Image XML parsing0.00180.261120.0009
class_abstraction
Instantiating content class attribute0.00000.0042140.0000
General
dbfile0.00100.1436240.0000
String conversion0.00000.001840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
7content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 34
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs