[pmwiki-users] (:include:) issues with different groups

Patrick R. Michaud pmichaud at pobox.com
Sun Mar 6 00:05:45 CST 2005


On Sat, Mar 05, 2005 at 09:44:55PM -0800, Menachem Shapiro wrote:
> I am including the page for one group in the page of another group.
> for example in Main.Homepage I have the text (:include
> OtherGroup.HomePage:). The problem is that on OtherGroup.HomePage I
> have links that are created by just using PageName to represent a link
> to OtherGroup.PageName.
> 
> When I include the page in Main.HomePage, the link (that just says
> PageName) is pointing to a link that doesn't exist (i.e.
> Main.PageName).
> 
> What syntax do I have to use to get the link PageName point to the
> proper place when included in Home.MainPage?
> 
> (I hope this is clear)

It's clear, and currently there isn't a way to do what you want.  
(:include:) has always done a straight "text-include" of a page, so 
if that page contains links w/o group names, they become relative to
the current page (and not the page that was included).

There have been discussions about changing this, but it's not
all that easy to do without changing a lot of PmWiki internals.

Pm



More information about the pmwiki-users mailing list