For adding a new static page I did following steps
1. I added a new site category say "About Us"
2. I added a new record (manually) in project_wiki table with subject "Welcome to About Us"
3. Then I added following in file /WEB-INF/classes/portal/dashboards_en_US.xml
<page name="about_us.shtml" title="About Us" description="" category="about_us">
<row>
<column width="240">
<portlet name="ActionsPortlet" class="button-list-vertical-">
<xml-include fragment="portal-fragments-get-started"/>
</portlet>
</column>
<column width="auto" class="main">
<portlet name="ProjectWikiContentPortlet" class="about_us " isAdmin="true">
<project>main-profile</project>
<wiki>Welcome to About Us</wiki>
<showTitle>false</showTitle>
<contentIsBasedOnUser>true</contentIsBasedOnUser>
</portlet>
<portlet name="ProjectWikiContentPortlet" class="about_us " isAdmin="false">
<project>main-profile</project>
<wiki>Welcome to About Us</wiki>
<showTitle>false</showTitle>
</portlet>
</column>
</row>
</page>
All this is showing me a new category on top and on clicking on this category I can see the default contents which I added in the database. Now I want to edit these contents using editor, but I am not able to see the edit link on this page while I am logged in with "Admin" user.
Please let me know how can I add a new static page with formatted contents?
Thanks
Krishan