On Wed, Nov 13, 2013 at 7:45 AM, Hamster <[email protected]> wrote:
vmassol wrote
You didn't mention what was wrong...
The Font Awesome icon is not being displayed in the panel header. See first post for two things I have tried to display a Font Awesome icon.
vmassol wrote
You didn't mention what HTML you got...
See first post, that's the HTML I got, but it doesn't work.
vmassol wrote
Did you check the #panelheader() velocity macro to see what it does?
If only I could *find* that velocity macro... but finding something in XWiki (like this "embedded macro") is like looking for a needle in the haystack...it's *impossible* to find if you don't know where you need to look.
You could use a search tool like find & grep or any other search tool you have on your computer: find . -name "*" -exec grep -H "panelheader" {} \; But let me help you: it's located in macros.vm, specifically: ./webapps/xwiki/templates/macros.vm Or using GitHub: https://github.com/xwiki/xwiki-platform/blob/1ccefb0217d9af3f27b3eaafaa75ed4... As you can see it uses the HTML macro, specifically: {{html}}<h1 class="xwikipaneltitle">$title</h1>{{/html}} So putting something other than HTML in the $title variable is not going to work... {{icon name=list size=2x/}} is going to generate wiki syntax, not HTML, so that cannot work. Thanks -Vincent
What page is that macro located? I have opened every page in the Panels space...found nothing. Searched the pages in the Main space...nothing. :-(
-- View this message in context: http://xwiki.475771.n2.nabble.com/Use-FontAwesome-in-Panel-header-tp7587514p... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users