cancel
Showing results for 
Search instead for 
Did you mean: 

Help with Dynamically adding content to a web page

asid
Champ in-the-making
Champ in-the-making
Hi,

I'd like to be able to create content and submit it and have it dynamically added to a web page.

Any help, link to tutorials (hopefully pretty detailed), or examples will be gratefully received.

I'm using Community Edition 3.4.

Thanks in advance
Asid

*Added* - I have found this "seriously out of date" wiki entry http://wiki.alfresco.com/wiki/WCM_tutorial:_creating_index_pages unfortunately some files are missing that are mentioned in it. How have these changed?
3 REPLIES 3

asid
Champ in-the-making
Champ in-the-making
I still haven't got any further. I've created web forms. Used these to create content in xml and html pairs. These are saved in a specific location and I'd like to be able to add them to an index page automatically.

Do I use a web script? I have followed a tutorial for something like this but I can't get the lucenesearch to work properly and I'm not even sure this is the correct way to do this.

Is there an easier way? What have I missed?

Thanks in advance
asid

eruditionist
Champ in-the-making
Champ in-the-making
Can you elaborate on what do you mean by dynamically add content in another page?
1) you create content-body.jsp deploy using FSR
2) you create article-page.jsp that has either <c:import or something that includes content-body.jsp within that page.

asid
Champ in-the-making
Champ in-the-making
I wish users to be able to create content (using a web form) and for this to be added to an index page for them. The users of the system have no knowledge of html so cannot add these content pages to an index themselves.

I don't know how to do this at all. It seems there are a few ways but all I've tried havn't worked for me. Whether I've barked up the wrong tree or just failed to set it up correctly I don't know.

I have tried creating a static index.html page that is rendered with the content.html but had issues getting alfSmiley TonguearseXMLDocuments() working. I have also tried Web scripts. With no success.