Jahia DX > Migratio of an ol...

0 (0 Good)
0 (0 Bad)

Migration of an old forum to Jahia Forum Component

by  kamran »  2011/07/05 10:41

Hello,

we are developping a new website using Jahia 6.5.

In this website we will have a forum and we want to migrate the content of our old forum to it.

As our old forum is not very big, our migration will be done manualy.

Do you know if it is possible to modify the author and the date of each post of the forum easily ?

Thanks

Kamran

  (kamran)

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

Re: Migration of an old forum to Jahia Forum Component

by  tyurk »  2011/07/05 23:09

Do you know if it is possible to modify the author and the date of each post of the forum easily ?

Kamran,

I'm not certain (haven't tried this), but I believe the posts are all stored as distinct objects in the repository.  You should therefore be able to use the repository explorer to peruse the various posts and make the changes manually.  I imagine there are less inefficient ways, but if you are already migrating the content manually, this should work...  Hope it helps.

Cheers,

Denis

  • Re: Migration of an old forum to Jahia Forum Component
    2011/07/05 23:09

    tyurk <div class="content editablePost" id="edita863f55e-1d2f-43b3-9066-bb80a856cb5c" title="Edit"> <blockquote> <p> Do you know if it is possible to modify the author and the date of each post of the forum easily ?</p> </blockquote> <p> Kamran,</p> <p> I&#39;m not certain (haven&#39;t tried this), but I believe the posts are all stored as distinct objects in the repository. &nbsp;You should therefore be able to use the repository explorer to peruse the various posts and make the changes manually. &nbsp;I imagine there are less inefficient ways, but if you are already migrating the content manually, this should work... &nbsp;Hope it helps.</p> <p> Cheers,</p> <p> Denis</p> </div>

  • Number of messages  38
    Registration date Jul 5, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Re: Migration of an old forum to Jahia Forum Component

    by  kamran »  2011/07/06 06:19

    I'm not certain (haven't tried this), but I believe the posts are all stored as distinct objects in the repository.  You should therefore be able to use the repository explorer to peruse the various posts and make the changes manually. 

    Dear Denis,

    thanks for your answer. I also thought that it was possible to modify the content/metadata of each post in the repository explorer, like you suggested it.

    Unfortunatly the forum element of my site "/root/sites/ACME/Home/Forum" seems empty and has no sub-element (even if I have some topics and posts) :-(

    Does anyone know if this is normal or a bug ?

    Thanks

    Marc

     

      (kamran)

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

    Re: Re: Re: Migration of an old forum to Jahia Forum Component

    by  tyurk »  2011/07/06 22:49

    Unfortunatly the forum element of my site "/root/sites/ACME/Home/Forum" seems empty and has no sub-element (even if I have some topics and posts) :-(

    Does anyone know if this is normal or a bug ?

    Marc,

    I haven't played with the forum module (app?) per se, but its likely the items aren't actually subnodes of the forum itself.  You could try right-clicking on the element and selecting "show in content manager" in order to locate it in the repository.  I would expect the object exists somewhere, but might be retrieved by the forum in a query or something.  Also, you may need to View>Refresh the repository explorer to see recently added content, particularly in the left pane.

    Cheers,

    Denis

  • Re: Re: Re: Migration of an old forum to Jahia Forum Component
    2011/07/06 22:49

    tyurk <blockquote> Unfortunatly the forum element of my site &quot;/root/sites/ACME/Home/Forum&quot; seems empty and has no sub-element (even if I have some topics and posts) :-( <p> Does anyone know if this is normal or a bug ?</p> </blockquote> <p> Marc,</p> <p> I haven&#39;t played with the forum module (app?) per se, but its likely the items aren&#39;t actually subnodes of the forum itself.&nbsp; You could try right-clicking on the element and selecting &quot;show in content manager&quot; in order to locate it in the repository.&nbsp; I would expect the object exists somewhere, but might be retrieved by the forum in a query or something.&nbsp; Also, you may need to View&gt;Refresh the repository explorer to see recently added content, particularly in the left pane.</p> <p> Cheers,</p> <p> Denis</p>

  • Number of messages  38
    Registration date Jul 6, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Re: Re: Re: Migration of an old forum to Jahia Forum Component

    by  kamran »  2011/07/07 07:34

    You could try right-clicking on the element and selecting "show in content manager" in order to locate it in the repository.  I would expect the object exists somewhere, but might be retrieved by the forum in a query or something.  Also, you may need to View>Refresh the repository explorer to see recently added content, particularly in the left pane.

    Dear Denis, once more, thank you for your answer :-)

    When I right click on the element and ask to view it on the content manager, then I arrive at the same node "/sites/ACME/home/forum" and this node has no child and is still empty ;-(

    On the other hand, I tried to do a search in the content manager with a text I put on a post (hello). Unfortunatly there is no result for this query :-(

    I am really curious to see where are stored the forum contents !?

    regards

    kamran

      (kamran)

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

    Re: Re: Re: Re: Re: Migration of an old forum to Jahia Forum Component

    by  poiuytrez »  2011/07/12 15:01

    You could try right-clicking on the element and selecting "show in content manager" in order to locate it in the repository.  I would expect the object exists somewhere, but might be retrieved by the forum in a query or something.  Also, you may need to View>Refresh the repository explorer to see recently added content, particularly in the left pane.

    Dear Denis, once more, thank you for your answer :-)

    When I right click on the element and ask to view it on the content manager, then I arrive at the same node "/sites/ACME/home/forum" and this node has no child and is still empty ;-(

    On the other hand, I tried to do a search in the content manager with a text I put on a post (hello). Unfortunatly there is no result for this query :-(

    I am really curious to see where are stored the forum contents !?

    regards

    kamran

    Hello guys,

    The Jahia storage is composed of two jackrabbit repository workspaces :
    -the "default" workspace
    -the "live" workspace

    When you are using the edit mode and preview more, you are in the default workspace. When you publish your site, the content from your default workspace is copied to the live workspace.

    When you launch the repository explorer from the edit mode, it is only displaying the default workspace and not the live one (which contains our forum messages). When you have to do is to add the "&workspace=live" at the end of your repository explorer url to be able to view our live workspace content (http://localhost:8080/engines/manager.jsp?conf=repositoryexplorer&workspace=live). 

    That's it ! :)

    poiuytrez

  • Re: Re: Re: Re: Re: Migration of an old forum to Jahia Forum Component
    2011/07/19 14:51

    poiuytrez <blockquote> <blockquote> <p> You could try right-clicking on the element and selecting &quot;show in content manager&quot; in order to locate it in the repository.&nbsp; I would expect the object exists somewhere, but might be retrieved by the forum in a query or something.&nbsp; Also, you may need to View&gt;Refresh the repository explorer to see recently added content, particularly in the left pane.</p> </blockquote> <p> Dear Denis, once more, thank you for your answer :-)</p> <p> When I right click on the element and ask to view it on the content manager, then I arrive at the same node &quot;/sites/ACME/home/forum&quot; and this node has no child and is still empty ;-(</p> <p> On the other hand, I tried to do a search in the content manager with a text I put on a post (hello). Unfortunatly there is no result for this query :-(</p> <p> I am really curious to see where are stored the forum contents !?</p> <p> regards</p> <p> kamran</p> </blockquote> <p> Hello guys,</p> <p> The Jahia storage is composed of two jackrabbit repository workspaces :<br /> -the &quot;default&quot; workspace<br /> -the &quot;live&quot; workspace</p> <p> When you are using the edit mode and preview more, you are in the default workspace. When you publish your site, the content from your default workspace is copied to the live workspace.<br /> <br /> When you launch the repository explorer from the edit mode, it is only displaying the default workspace and not the live one (which contains our forum messages). When you have to do is to add the &quot;&amp;workspace=live&quot; at the end of your repository explorer url to be able to view our live workspace content (<a href="http://localhost:8080/engines/manager.jsp?conf=repositoryexplorer&amp;workspace=live">http://localhost:8080/engines/manager.jsp?conf=repositoryexplorer&amp;workspace=live</a>).&nbsp;</p> <p> That&#39;s it ! :)</p> <p> poiuytrez</p>

  • Number of messages  16
    Registration date Jul 12, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Re: Re: Re: Re: Re: Migration of an old forum to Jahia Forum Component

    by  kamran »  2011/07/19 07:44

    Hello guys,

    The Jahia storage is composed of two jackrabbit repository workspaces :
    -the "default" workspace
    -the "live" workspace

    When you are using the edit mode and preview more, you are in the default workspace. When you publish your site, the content from your default workspace is copied to the live workspace.

    When you launch the repository explorer from the edit mode, it is only displaying the default workspace and not the live one (which contains our forum messages). When you have to do is to add the "&workspace=live" at the end of your repository explorer url to be able to view our live workspace content (http://localhost:8080/engines/manager.jsp?conf=repositoryexplorer&workspace=live). 

    That's it ! :)

    poiuytrez


    Thank a lot poiuytrez.

    Now I can see the content of my forum in the repository explorer. Unfortunatly this does not allow me to modify metadatas of my posts (author, date...)

    Do you know if there is a way to do this ?

    I heared that we can also use a REST API to inject datas to jahia. Do you know if this is possible for the forum and if we can also send meta-datas ?

    Thanks

    Kamran

      (kamran)

    Number of messages  31
    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