Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Dan Cotton
remove sample data
February 17, 2009 6:57 AM
Answer

Dan Cotton

Rank: New Member

Posts: 8

Join Date: November 21, 2007

Recent Posts

I am using the 5.2.1 bundle and trying to remove the sample data. I am trying to following the instructions that says "Plugin Installation, Go to the Control Panel > Plugin Installation, search for 7cogs-hook and remove it". I don;t see this in that section or area. Any thing I am missing here?
Boden Larson
RE: remove sample data
February 17, 2009 8:05 AM
Answer

Boden Larson

Rank: Regular Member

Posts: 200

Join Date: July 10, 2008

Recent Posts

Yeah I think somebody made a big "whoops" with the whole 7cogs thing. It's been discussed many times in the forums here.

To get a real default install: 1) delete the 7cogs folders from the webapps folder. 2) point liferay at a blank database via portal-ext.properties. 3) start Liferay.
Dan Cotton
RE: remove sample data
February 17, 2009 8:37 AM
Answer

Dan Cotton

Rank: New Member

Posts: 8

Join Date: November 21, 2007

Recent Posts

thanks, where does the portal-ext.properties file get dropped?
steve rieger
Re: [Liferay Forums][1. Installation / Deployment / Setup] RE: removesample
February 17, 2009 8:40 AM
Answer

steve rieger

Rank: Expert

Posts: 436

Join Date: September 11, 2006

Recent Posts

Search the archives and you will get the answer

--
Sent via Blackberry
I can be reached at 310-947-8565
Boden Larson
RE: remove sample data
February 17, 2009 8:40 AM
Answer

Boden Larson

Rank: Regular Member

Posts: 200

Join Date: July 10, 2008

Recent Posts

portal-ext.properties goes in webapps/ROOT/WEB-INF/classes
Tommy Tommson
RE: remove sample data
July 6, 2009 9:48 AM
Answer

Tommy Tommson

Rank: Junior Member

Posts: 30

Join Date: May 25, 2009

Recent Posts

Hey!

I followed the instructions above and noted, that the sample data was removed correctly, but when I add the "Activities" portlet and click on any activity, the following error occurs:

Status
Not Found
The requested resource was not found.

http://10.248.57.221:9090/c/wiki/find_page?pageResourcePrimKey=10499

Why is it still linking to /c/...?

My portal-ext.properties says:

default.logout.page.path=/web/tommy/welcome
default.landing.page.path=/group/tommy/welcome
company.default.home.url=/web/tommy/welcome

There must be another link anywhere in the tomcat directory which tells Liferay to link to /c/...but i cant find it...
Lisa Simpson
RE: remove sample data
July 6, 2009 11:04 AM
Answer

Lisa Simpson

Rank: Liferay Legend

Posts: 2034

Join Date: March 5, 2009

Recent Posts

I wish they'd put portal-ext.properties.DEFAULT in webapps/ROOT/WEB-INF/classes so that when I start doing an slocate I can find the *&^%#$@ thing!
Tommy Tommson
RE: remove sample data
July 7, 2009 5:35 AM
Answer

Tommy Tommson

Rank: Junior Member

Posts: 30

Join Date: May 25, 2009

Recent Posts

Should this be a hint to search in portal-ext.properties.default? Cause I cannot find this file within the whole "Tomcat" directory...
Lisa Simpson
RE: remove sample data
July 7, 2009 1:45 PM
Answer

Lisa Simpson

Rank: Liferay Legend

Posts: 2034

Join Date: March 5, 2009

Recent Posts

You won't find it because it's NOT there! They don't include one - hence my bitter whinging emoticon about that sad fact.

At least on my Ubuntu server it's

/opt/liferay/tomcat-whatever version/webapps/ROOT/WEB-INF/classes/portal-ext.properties

If it's not there, you'll have to create it. You can adjust your path based on how you have it installed and then use any text editor to create the file.
na na
RE: remove sample data
July 7, 2009 7:02 PM
Answer

na na

Rank: Junior Member

Posts: 94

Join Date: April 29, 2008

Recent Posts

You've to created the portal-ext.properties since legacy version of liferay. Basically it is use to overwrite the configuration in portal.properties

You can find the legacy properties files for your reference in ../WEB-INF/classes
Lisa Simpson
RE: remove sample data
July 8, 2009 7:39 AM
Answer

Lisa Simpson

Rank: Liferay Legend

Posts: 2034

Join Date: March 5, 2009

Recent Posts

Yah, but how hard would be to put in an empty one named portal-ext.properties.DEFAULT so that you can search for it.

They could even put in a lot of common stuff and have it commented out.

Then you'd just have to copy the file to portal-ext.properties and edit it emoticon