Wow - thank you. Sounds good for me, that will do it!
Thanks very much for the fast and precise help!
Jochen Reutelshoefer
Janne Jalkanen schrieb:
I'm writing a Plugin/Filter using for example the preTranslate hook. It
looks to me like this method is called for each of the content panels:
LeftMenu, top, main and bottom seperately. I only want to do
filter-operations on the main-content. Can anyone tell me, how to find
out (from the WikiContext-object??) which panel currently is processed
by a preTranslate-call.
A suitable combination of getPage() & getRealPage() calls should do
the trick...
getRealPage() should always return you the main content page. Of
course, you'll still get called many times, so it's probably a good
idea to check whether getPage() and getRealPage() are equal so you
know you are rendering the main content pane.
/Janne