This content has been marked as final.
Show 7 replies
-
1. Re: Can we change the name of default page 'default'?
mcaughey Jan 5, 2006 10:25 AM (in response to santhosh1)Yes. I used my search page as my default. the key is that you must define at least one page for the portal.
-
2. Re: Can we change the name of default page 'default'?
sportsbaby1980 Jan 28, 2006 2:52 AM (in response to santhosh1)mcaughey,can you give more detail?
-
3. Re: Can we change the name of default page 'default'?
noicangi Feb 16, 2006 3:23 PM (in response to santhosh1)please detail how to change the path
thanks -
4. Re: Can we change the name of default page 'default'?
dhexus Mar 5, 2006 2:30 PM (in response to santhosh1)i think we have to edit
default-object.xml
in portal-core-sar, but this gives me always errors, e. g. changing<page-name>default</page-name>
to something else. is there anybody who could give detailed help?
..i also tried to login as admin, create a page "Home" and destroy the default page. however, i would like to work from the code-side ;-)
thanks, dhexus. -
5. Re: Can we change the name of default page 'default'?
dhexus Mar 5, 2006 3:10 PM (in response to santhosh1)ok, it works:
change<property> <name>portal.defaultObjectName</name> <value>default</value> </property>
and<page-name>default</page-name>
as well as all the<parent-ref>default</parent-ref>
to whatever you want (`Home`). i am using portal 2.4.
dhexus -
6. Re: Can we change the name of default page 'default'?
chaser Mar 7, 2006 11:22 AM (in response to santhosh1)So after change, it looks like these:
portal.defaultObjectName
Home
<page-name>Home</page-name>
<parent-ref>Home</parent-ref>
But I could NOT find the file "default-object.xml " in the directory you mentioned, I could only see "default-portal.xml" there. Btw, I am using 2.0.
Thanks. -
7. Re: Can we change the name of default page 'default'?
dhexus Mar 7, 2006 1:48 PM (in response to santhosh1)in portal 2.4 the location of the file is
$PORTAL_HOME/core/src/resources/portal-core-sar/conf/data/default-object.xml
...and you don't need to change the<parent-ref>default</parent-ref>
dhexus