channge top node class

Author Message

Jacek S

Saturday 20 August 2005 2:52:14 am

How could I replace object in top node with another object? Or maybe there is a way to change class of any object?

Marko Žmak

Sunday 21 August 2005 5:39:05 am

You could change the index page instead. This is the page that will be displayed when user look at:

http://yoursite.com/

You change it by putting in your site.ini.append.php something like this:

IndexPage=/content/view/full/2

where you replace 2 with the node_id of the node you want to display. You should change this in your site's override, not in global site.ini.

Does this help?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

zurgutt -

Sunday 21 August 2005 9:37:51 am

I think you can create new node with class you want anywhere in tree and then use Advanced -> Swap with another node function in admin to replace top node with it.

Certified eZ developer looking for projects.
zurgutt at gg.ee

Jacek S

Monday 22 August 2005 11:31:51 am

Zurgutt - That "Advanced->Swap" is exacly what I'm looking for.
But i still dont know where exacly is this located in admin interface. How can I run this function?

Ted Striker

Monday 08 October 2007 2:32:15 am

Just left click on the main node icon (folder icon) and it will display a contextual menu, there youl find the swap with another node option...

Can you feel it Mr. Anderson? Closing in on you? Oh I can, I really should thank you after all. It was, after all, it was your life that taught me the purpose of all life. Purpose of life is to end.

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 18 2025 16:06:57
Script start
Timing: Jan 18 2025 16:06:57
Module start 'layout'
Timing: Jan 18 2025 16:06:57
Module start 'content'
Timing: Jan 18 2025 16:06:58
Module end 'content'
Timing: Jan 18 2025 16:06:58
Script end

Main resources:

Total runtime0.6870 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 589.0391152.6250
Module start 'layout' 0.00530.0033 741.664139.4453
Module start 'content' 0.00860.6768 781.1094639.5859
Module end 'content' 0.68540.0016 1,420.695312.1719
Script end 0.6870  1,432.8672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4652160.0002
Check MTime0.00130.1941160.0001
Mysql Total
Database connection0.00080.119710.0008
Mysqli_queries0.630791.8020670.0094
Looping result0.00120.1808650.0000
Template Total0.656995.620.3285
Template load0.00190.270920.0009
Template processing0.655095.346420.3275
Template load and register function0.00010.021810.0001
states
state_id_array0.00070.103310.0007
state_identifier_array0.00240.348220.0012
Override
Cache load0.00150.2237210.0001
Sytem overhead
Fetch class attribute can translate value0.00060.087840.0002
Fetch class attribute name0.00080.118780.0001
XML
Image XML parsing0.00460.675740.0012
class_abstraction
Instantiating content class attribute0.00000.002280.0000
General
dbfile0.00390.5696310.0001
String conversion0.00000.001340.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/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: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs