Fórum

hook to add new structure’s field into web content.

thumbnail
aqib razak, modificado 9 Anos atrás.

hook to add new structure’s field into web content.

New Member Postagens: 20 Data de Entrada: 11/02/14 Postagens Recentes
hi,

I have a requirment to add a new web content strutre field.

I have to create a hook to add new structure’s field into web content.

Liferay 6.2 ee. I got a link to do it.

http://liferaycms.wordpress.com/2011/01/15/add-new-structure-field/

But the problem is i require the below files

html/portlet/journal/js/main.js
html/portlet/journal/edit_article_content_xsd_el.jsp
html/portlet/journal/edit_structure_xsd_el.jsp

i found main.js inside liferay-portal 6.2 EE-src-sp8

But unable to find html/portlet/journal/edit_article_content_xsd_el.jsp ,html/portlet/journal/edit_structure_xsd_el.jsp

Can u guys please help me. I have to deliver this at the earlist dont have much time. emoticon


emoticonemoticonemoticon
thumbnail
Pankaj Kathiriya, modificado 9 Anos atrás.

RE: hook to add new structure’s field into web content.

Liferay Master Postagens: 722 Data de Entrada: 05/08/10 Postagens Recentes
Hi Aqib,

Journal Content structure-template is changed to dynamic-data-mapping over its 6.2 version, so you wont find edit_structure_xsd_el.jsp.

Try searching same functionality in jsps under dynamic_data_mapping folder.

Regards,
thumbnail
aqib razak, modificado 9 Anos atrás.

RE: hook to add new structure’s field into web content.

New Member Postagens: 20 Data de Entrada: 11/02/14 Postagens Recentes
Thank you so much for ur help.

I will try this.
thumbnail
Tanweer Ahmed ., modificado 1 Ano atrás.

RE: hook to add new structure’s field into web content.

Expert Postagens: 322 Data de Entrada: 11/03/10 Postagens Recentes
Hi Aqib,

Probably you need to register your new structure type in the below files and other necessary changes in related files.

/html/portlet/dynamic_data_mapping/custom_fields.jspf
/html/portlet/dynamic_data_mapping/js/main.js


Regards,
Tanweer.