Hi,
Op 23 mei 2011, om 13:14 heeft Vincent Massol het volgende geschreven:
On May 23, 2011, at 1:10 PM, Gerritjan Koekkoek wrote:
Hi,
I know this will work, but in this case I try to avoud the list since it will ident the
links to the right.
Visually I do not like that. (i could, ofcourse, use some css to correct the ident; but
that makes it really overcomplicated
Are you suggesting linefeeds will not work in a panel?
I don't know, you can check this easily with firebug for example.
This is what
is generated with xwiki2.0 syntax (inside a panel)
<div class="xwikipanelcontents">
<img width="100%" alt="2.jpg"
src="http://cdls-nl.org/xwiki/bin/download/Photos/CdLSWorldbanners/2.j…
<span class="wikilink">
<a href="/xwiki/bin/view/BlogNL/Cdls+Personen">Persoonlijke
verhalen</a>
</span>
<span class="wikilink">
<a href="/xwiki/bin/view/BlogNL/Kontakt">Kom in kontakt</a>
</span>
<span class="wikilink">
<a href="/xwiki/bin/view/BlogNL/Informatie">Nieuwe Informatie</a>
</span>
</div>
I found the problem; the {{html clean="false" wiki="true"}} filters
the linefeeds
by putting {{\html}} just before the XWiki 2.0 syntax of the links and repeating {{html
clean="false" wiki="true"}} just before
#panelfooter() I was able to have the links in panel with XWiki 2.0 without the list
trick;
The syntax I used works in a 'normal'
document with XWiki 2.0 syntax?
You could try it to verify by yourself ;)
Thx, I had done that, but realized it was
without the {{velocity}} and {{html}} enclosing (pure xwiki syntax)
Thanks
-Vincent
Gerritjan
Op 23 mei 2011, om 11:05 heeft Vincent Massol het volgende geschreven:
> Hi,
>
> On May 23, 2011, at 10:58 AM, Gerritjan Koekkoek wrote:
>
>> Hi,
>>
>> When I set a panel to xwiki syntax 2.0 I am not able to have a number of links
(in a navigation panel) seperated by new lines (or linefeeds)
>>
>> the syntax I use is;
>> {{velocity filter="none"}}
>> {{html clean="false" wiki="true"}}
>> #panelheader('PersonalServices')
>> [["xxxx">>"space.document"]]
>> [["xxxx">>"space.document"]]
>> [["xxxx">>"space.document"]]
>> ....
>> #panelfooter()
>> {{/html}}
>> {{/velocity}}
>
> You should use a list instead.
>
> * [[xxx>>...]]
> * [[xxx>>...]]
> * [[xxx>>...]]
>
>> I've tried adding extra line feed.
>> Add \\ after each line
>>
>> When I change panel to syntax 1.0 it works fine
>>
>> Gerritjan
>
> Thanks
> -Vincent
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users