Hello. First, I think you should create one page per UI extension. It's not a good practice to have 2 UIExtension objects on the same wiki page.
Then, we cannot see your attachments, because the mailing list does not allow them. You should use a web service (such as http://snag.gy/), upload your images there, and then paste their URL on your emails. Finally, I've tried to reproduce your issue, and indeed, there are missing HTML elements in the top menu which make any addition bad located. I've created the following issue http://jira.xwiki.org/browse/XWIKI-12841 and I'm going to fix it quickly. Sorry for the inconvenience and thanks for your report, it helps us to improve the quality of the product. Thanks, Guillaume 2015-11-18 16:22 GMT+01:00 Guofeng Zhang <[email protected]>: > Vincent, > > I missed the link "how to add an UIX" on that page. > > By following the steps on Writing a simple UI Extension. I created two UI > Extensions on a new page using "org.xwiki.platform.topmenu.left" as the > extension point ID, the order for the first (Some Text) is 5000, and > another (Some Text 1) is 4000. They all displayed on the right part of the > top menu. > > Some Text1 is displayed at the right of Some Text (it behaved like the > description of Top Menu Right). > > see the attached. > > What did I do incorrectly? > > Thanks for your help very much. > > Guofeng > > > > > > On Mon, Nov 16, 2015 at 4:19 PM, [email protected] <[email protected]> > wrote: > > > Hi Guofeng, > > > > On 14 Nov 2015 at 18:11:35, Guofeng Zhang ([email protected]) wrote: > > > > Hi, > > > > I am trying XWiki 7.3. > > > > I want to add add a menu with icon in the top menu. I have read > > http://platform.xwiki.org/xwiki/bin/view/ExtensionPoint/TopMenuLeft, but > > still can not understand where to add the following: > > > > {{velocity}}{{html clean="false"}} ## we need clean="false" because we > want > > > > to display the raw content > > <li class="dropdown"> > > <a class="icon-navbar dropdown-toggle" data-toggle="dropdown" > > role="button" arias-haspopup="true" aria-expanded="false"><span > > > > > class="sr-only">$services.localization.render('core.menu.toggleNavigation')</span>Some > > > > text</a> > > <ul class="dropdown-menu"> > > <li><a href="">Some link</a></li> > > </ul> > > </li> > > {{/html}}{{/velocity}} > > > > Could you give me advice where to add the above lines? > > > > > > Just want to verify that you’ve read the tutorial linked from > > http://platform.xwiki.org/xwiki/bin/view/ExtensionPoint/ > > > > > > Could you confirm that you’ve read it? > > > > Thanks! > > > > -Vincent > > > > > > > > > > Thanks for your help very much. > > > > Guofeng > > > > > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > -- Guillaume Delhumeau ([email protected]) Research & Development Engineer at XWiki SAS Committer on the XWiki.org project _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
