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, vincent(a)massol.net <vincent(a)massol.net>
wrote:
Hi Guofeng,
On 14 Nov 2015 at 18:11:35, Guofeng Zhang (guofengzh(a)gmail.com) 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