Jahia Dev Forum > Creating Live Content

0 (0 Good)
0 (0 Bad)

Creating Live Content

by  mumbojumbo »  2012/06/13 19:21

Hi All,

I can't seem to crack this one, but how does one create an object in the live repository without having to publish it.  I've created several entry forms to create objects in my containers but I want to be able to have the object already be published (or i guess exist in the live mode instantly) .  I have a module that the content doesn't need to go through the publication process. 

Any help is appreciated.

Thanks,

  (mumbojumbo)

Number of messages  1
Registration date
0 (0 Good)
0 (0 Bad)

Re: Creating Live Content

by  faissah »  2012/06/29 18:10

Hi,

Since it is not a standard Jahia module behaviour, you will have to create a custom action. It is done in many modules already (forum, blog, comments, rating ...) So i encourage you to take a look at them:

https://github.com/jahia

You take more especially analyse the way the "comment" module implements it since it seems to be the most basic implementation of it:

http://subversion.jahia.org/svn/jahia/trunk/modules/default/src/main/java/org/jahia/modules/defaultmodule/actions/AddComment.java

Regards,

Fabrice

Fabrice  (faissah)

Number of messages  262
Registration date
Contact
Share
Feedback

Get in touch

Whether you are a current user or if you are just evaluating Jahia, we are here to help.

Contact us

Share this page