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.