Forums / Setup & design / channge top node class

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.

eZ debug

Timing: Jan 18 2025 11:09:48
Script start
Timing: Jan 18 2025 11:09:48
Module start 'content'
Timing: Jan 18 2025 11:09:48
Module end 'content'
Timing: Jan 18 2025 11:09:48
Script end

Main resources:

Total runtime0.1592 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0075 587.7031180.8438
Module start 'content' 0.00760.0052 768.546997.8516
Module end 'content' 0.01280.1463 866.3984525.6875
Script end 0.1591  1,392.0859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00342.1489200.0002
Check MTime0.00140.8901200.0001
Mysql Total
Database connection0.00100.640810.0010
Mysqli_queries0.112670.73521410.0008
Looping result0.00130.82571390.0000
Template Total0.145991.710.1459
Template load0.00070.451610.0007
Template processing0.145291.227510.1452
Override
Cache load0.00050.296610.0005
Sytem overhead
Fetch class attribute can translate value0.00090.576310.0009
XML
Image XML parsing0.00020.152010.0002
General
dbfile0.00442.7558200.0002
String conversion0.00000.002530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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