On 28 May 2014 at 18:21:31, Pascal BASTIEN
(pbasnews-xw...@yahoo.fr(mailto:pbasnews-xw...@yahoo.fr)) wrote:
> Yes hyperlink with anchor work with (%id="mycustomid"%) but not the include
> section function.
Yep it’ll not work with the include macro since the code just check for the ids
of HeadingBlocks.
Thanks
-Vincent
> Then the problem is the include instruction: it didn't work if the id is not
> Hxxxxx?
>
> My test:
>
> I have 2 pages:
>
> My master page
>
> ---------
> Test d'include
> fille
>
> {{include document="fille" section="Htitre1"/}}
>
> this include working well
>
>
> {{include document="fille" section="mycustomid"/}}
> this include doesn't work
>
>
> My child page
>
> ---------= titre 1 =
> bla bla titre
> source is id=Htitre1
>
> (%id="mycustomid"%)
> = Level1 - Séct-io'n 4 =
> Bla bla Séct-io'n 4
> source is id=mycustomid
>
> = titre 2 =
> blabla 2
>
>
>
>
>
> ________________________________
> De : Thomas Mortagne
> À : Pascal BASTIEN ; XWiki Users
> Cc : Jean SIMARD
> Envoyé le : Mercredi 28 mai 2014 17h48
> Objet : Re: [xwiki-users] include problem with french characters
>
>
> Actually this is already working, just not using the right syntax :)
>
> (%id="mycustomid"%)
> = Level1 - Séct-io'n 4 =
>
>
> On Wed, May 28, 2014 at 5:47 PM, Thomas Mortagne
> wrote:
> > Something we could do is allowing to customize the id (and not
> > generate one in this case) like in:
> >
> > (%id="mycustomid"%)= Level1 - Séct-io'n 4 =
> >
> >
> > On Wed, May 28, 2014 at 5:33 PM, Pascal BASTIEN wrote:
> >> I already read (and apply) the encoding instruction (for the search
> >> forms). Thxs anyway
> >>
> >>
> >> The problem is the automatic section creation with title 1, 2 etc.
> >>
> >> If I look the source of a section with firebug, it display this anchor:
> >>
> >> Level1 - Séct-io'n 4
> >>
> >>
> >>
> >>
> >>
> >> ________________________________
> >> De : Jean SIMARD
> >> À : Pascal BASTIEN ; XWiki Users
> >> Envoyé le : Mercredi 28 mai 2014 16h51
> >> Objet : Re: [xwiki-users] include problem with french characters
> >>
> >>
> >> Hi Bastien,
> >>
> >> You shouldn't have problems with French characters. Maybe it's only a
> >> matter of configuration of your wiki? Did you look the following page?
> >> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Encoding
> >>
> >> Sincerely,
> >> --
> >> Jean
> >>
> >>
> >>
> >> On mer., 2014-05-28 at 13:43 +0100, Pascal BASTIEN wrote:
> >>> Hello,
> >>>
> >>> The include function is to hard to use with some non-us character like
> >>> french: éèà'ç ...
> >>>
> >>>
> >>> By example, I have a document with this section:
> >>>
> >>> = Level1 - Séct-io'n 4 =
> >>>
> >>> Bla bla
> >>>
> >>> if I want to include this section: "Level1 - Séct-io'n 4" I must use this
> >>> include
> >>> {{include reference="Pagefille2" section="HLevel1-SE9ct-io27n4"/}}
> >>>
> >>> I must replace special character with unicode code:
> >>> http://www.utf8-chartable.de/
> >>>
> >>> I can use another way?
> >>> I must open a bug on http://jira.xwiki.org/ ?
> >>>
> >>> NB: anchor doesn't work with include.
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users