Re: pagename

Florian Festi <[email protected]>
Newsgroups gmane.comp.web.wiki.moin.devel
Message-ID <Pine.GHP.4.33.0310300859330.12676-100000@rupert.informatik.uni-stuttgart.de>
> How could I get the name of the corrosponding AttachFile directory of
> the page where I am? This must be easy but I do not see it.

Use the source, Luke!

wikiutil.getPagePath(pagename, *subdirs, **kw)
is your friend.

Simply see MoinMoin/action/AttachFile.py for a example.

> This is the last thing which I need to know (at the moment). With a
> static pagename it works already.

Nice.

	cu

		FlorianFesti



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.