Jahia in English > add a link and app...

0 (0 Good)
0 (0 Bad)

add a link and app from user DashBoard myProfile

by  germain »  2011/11/10 17:11

In Jahia 6.5, I would like to add an application in administration page, that user can access from his dashboard (mySpace), with a link in left menu (my tasks, edit my profile).

Inspired by this :

http://www.jahia.com/cms/home/community/jahiapps-forge/jahiapps/content-main/jahiapps-zone/jahiapp---my-bookmarks.html

My definition file contains same definitions :

\[jnt:myApp] jnt:content, mix:title, jmix:userProfileComponents, jmix:bindedComponent, jmix:list, jmix:studioOnly

And I used archetype 4

 

But it doesn't work and seems to be too magically.

Anyone knows how to do that ?

Is enterprise edition mandatory ?

 

 

  • add a link and app from user DashBoard myProfile
    2011/11/10 17:13

    germain <p> In Jahia 6.5, I would like to add an application in administration page, that user can access from his dashboard (mySpace), with a link in left menu (my tasks, edit my profile).</p> <p> Inspired by this :</p> <p> <a href="http://www.jahia.com/cms/home/community/jahiapps-forge/jahiapps/content-main/jahiapps-zone/jahiapp---my-bookmarks.html">http://www.jahia.com/cms/home/community/jahiapps-forge/jahiapps/content-main/jahiapps-zone/jahiapp---my-bookmarks.html</a></p> <p> My definition file contains same definitions :</p> <p> \[jnt:myApp] jnt:content, mix:title, jmix:userProfileComponents, jmix:bindedComponent, jmix:list, jmix:studioOnly</p> <p> And I used archetype 4</p> <p> &nbsp;</p> <p> But it doesn&#39;t work and seems to be too magically.</p> <p> Anyone knows how to do that ?</p> <p> Is enterprise edition mandatory ?</p> <p> &nbsp;</p> <p> &nbsp;</p>

  • Number of messages  1
    Registration date Nov 10, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: add a link and app from user DashBoard myProfile

    by  shuber »  2011/11/14 10:12

    Hello,

    To actually add content on a template, you must use an import file to do that. To see how this is done in the bookmarks app, here is the related file:

    https://github.com/Jahia/modules-set/blob/master/bookmarks/src/main/import/repository.xml

    You'll see that this import adds a user-bookmarks content template, which is probably similar to what you want to do.

    Regards,

      Serge Huber.

    Serge Huber (shuber)

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

    Re: Re: add a link and app from user DashBoard myProfile

    by  shuber »  2011/11/14 14:16

    Actually there is a (much) simpler way. 

    If you go into the studio, you can select "New -> New MySpace module" . Enter the name you want, and this will create a module designed to extend the left menu of the system site.

    Deploy it to the system site and you will see it has been added in the left menu. You can then add to the newly create content template inside the module whatever content you need.

    Finally, you can export your module for deployment on other servers.

    I hope this answers your question.

    Best regards,

      Serge Huber.

    Serge Huber (shuber)

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