cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a simple page in share?

sunquanbin
Champ on-the-rise
Champ on-the-rise
Hi,

I'm trying to follow this blog: http://blogs.alfresco.com/wp/developer/2013/02/21/simple-page-creation-in-share/

The author says this tutorial is not working at 4.2.c and suggests to ask the question here.

Can anybody tell me where to put those created files (.desc.xml, .ftl, and .js) in order to get the page showed?

PS. I have installed Alfresco Community 4.2.c.

Thanks
4 REPLIES 4

zladuric
Champ on-the-rise
Champ on-the-rise
Hi,

What the author created seems like a new <strong>component</strong>, not a new <strong>page</strong>. <a href="https://forums.alfresco.com/users/zladuric">This</a> author shows a different way, <a href="http://zlayer.net/blog/?p=247">step-by-step</a>, showing where to put files, how to create a page. Smiley Happy </blatant-self-promotion>.

Ask if you have questions.

Thanks.

So may I ask where I can find a tutorial on how to create a webpage that one can access via url?

ddraper
World-Class Innovator
World-Class Innovator
Just wanted to clarify a few things… The original Blog post that Sun Quanbin posted the question on relates to the approach that Alfresco will be taking for creating new pages in Share from now on (e.g. post 4.2 Enterprise). However, the capabilities described are available for use in the recently 4.2d Community release and will be available for use in the forthcoming 4.2 Enterprise release. What Sun Quanbin is actually asking is how to create "legacy" style pages using a combination of Surf Page, Template and Component objects where Components are bound to WebScripts. This is the approach that is used on all pages in Share currently.

Zlatko's post looks like an excellent tutorial for getting a simple page together and in reality that is all you need to know about creating pages (there are plenty of examples in the source that you can use as references as well) and does provide all the necessary information on where to place files.

Regards,
Dave

Hi,

I am very new to Alfresco so I may not fully understand your words. My goal is to add a custom page that one can access via a URL. I am not sure whether the blog is the correct tutorial for my goal as you stated it as "legacy" style…

Regarding to Zlatko's post, would you please be more specific?

Thanks very much,

Sun