[pmwiki-users] Editlink for each paragraph

pmwiki Besenreuther pmwiki at besenreuther.de
Fri Sep 15 16:17:36 CDT 2006


Hi,

sorry for my uncorrectness.
As I wrote in my first mail I use following code:
(:if authid:)%right% [- [[{$Group}.Homepage|{$Group}]] - [[{$FullName}?action=edit | edit]]-](:if:)

When I'm in page: thematik/HomePage use the followin code:
! Big Section
!! Chapter 1
!!! Chaper 1.1
(:include thematik/paragraph1-1-1:)
...

and thematik/paragraph1-1-1 looks like:
(:if authid:)%right% [- [[{$Group}.Homepage|{$Group}]] - [[{$FullName}?action=edit | edit]]-](:if:)
!!!! Pragraph 1.1.1
any text ....

and I open in browser thematik/Homepage and click on the edit link then doesn't open thematik/paragraph1-1-1,
as expeted - the page thematik/HomePage opens instead.

Greetings Udo

*********** DIES WAR DIE ORIGINAL-MAIL ***********

Am 15.09.2006 um 16:06 Patrick R. Michaud schrieb:

>On Fri, Sep 15, 2006 at 10:46:52PM +0200, pmwiki Besenreuther wrote:
>> Hi,
>> that with the dots was only an example. My problem is that the $Fullname
>> doesn't point to the real pagename for edit when the page is included.
>
>It's $FullName, where both the 'F' and 'N' are uppercase.
>
>Pm
>
>
>> *********** DIES WAR DIE ORIGINAL-MAIL ***********
>> 
>> Am 15.09.2006 um 14:22 Patrick R. Michaud schrieb:
>> 
>> >On Fri, Sep 15, 2006 at 09:08:00PM +0200, pmwiki Besenreuther wrote:
>> >> [...]
>> >> 
>> >> For comfortable editing I include the paragraphs like this:
>> >> !!!! 1.1.1 Paragraph 1
>> >> (:include thematik/paragraph1.1.1:)
>> >> [...]
>> >> Unfortunatly the $Fullname gives out the name: thematik/HomePage and
>> >> not what I expected: thematik/paragraph1.1.1
>> >
>> >At the moment, dots aren't valid characters in pagenames, since
>> >they're also used as group separators.  You might try
>> >"thematic/paragraph1-1-1".
>> >
>> >Pm
>> 
>> *********** ENDE DER ORIGINAL-MAIL ***********
>> 
>>

*********** ENDE DER ORIGINAL-MAIL ***********





More information about the pmwiki-users mailing list