cancel
Showing results for 
Search instead for 
Did you mean: 

Create a new page on a site

cloisel
Champ in-the-making
Champ in-the-making
Good afternoon everyone,

Just wished to know if there's any documentation about creating a new custom page on a share site.
Or more simple, is there a way to duplicate the Site-Dashboard page ?

My purpose is to create a duplicated Site-Dashboard page in order to have different site dashboards in which I will have different custom dashlets (they've been created!)

Thanks in advance.
3 REPLIES 3

dwinfield
Champ in-the-making
Champ in-the-making
When I created a new page (that started out a copy of links) this page really helped me.

http://edlovesjava.blogspot.com/2009/01/extending-share-3-adding-new-pages-to.html

You're probably gonna be doing a lot of copy/paste and changing the javascript (since yours will pulling different dashboards).  Don't forget to tell the ftl pages to use your version of the javscript.

Good luck.

cloisel
Champ in-the-making
Champ in-the-making
First of all, thanks for your answer. I saw this website and learned from it.
I'm ok for creating my specific pages.

However, I still got trouble to display the title and the navigation bar on my new pages.
In my .ftl (templates) i got:


<#include "include/alfresco-template.ftl" />
<@templateHeader>
  <@link rel="stylesheet" type="text/css" href="${url.context}/templates/blabla/blabla.css" />
</@>

<@templateBody>
   <div id="alf-hd">
      <@region id="header" scope="global" protected=true />
     <@region id="title" scope="page" protected=true />
     <@region id="navigation" scope="page" protected=true />
   </div>
   <div id="bd">
      <div class="yui-t1">
         <div id="yui-main">
            <!– Here are declared 2 frames to redirect to 2 specific webapps –>
         </div>
      </div>
   </div>
</@>

<@templateFooter>
   <div id="alf-ft">
      <@region id="footer" scope="global" protected=true />
   </div>
</@>

I don't know how to get the title bar and the navigation bar bound.

Thanks in advance.

cloisel
Champ in-the-making
Champ in-the-making
Thanks for those who had a look at this post.
The problem was I did'nt know how to use the good template (there was none…).

So the scope for title and navigation is put to "template" and then I created template.title.mypage.xml and template.navigation.mypage.xml

Thanks anyway.