Hi,

as soon as i click on any page on print/export (Drucken/Exportieren) >
(Druckversion) it only displays Hauptseite.
The hyperlink in the sidebar always is 
http://mydomain.de/index.php?title=Hauptseite&printable=yes
whether i am logged in or not.
I think the problem might be here, what do you think?

Collection.hooks.php (line 18 onwards):
class CollectionHooks {
        /**
         * Callback for hook SkinBuildSidebar (MediaWiki >= 1.14)
         */
        static function buildSidebar( $skin, &$bar ) {
                global $wgUser;
                global $wgCollectionPortletForLoggedInUsersOnly;

                if( !$wgCollectionPortletForLoggedInUsersOnly ||
$wgUser->isLoggedIn() ) {
+++++++++++++ $html = self::getPortlet(); // maybe that is the crucial
line here, not sure about that
                        if( $html ) {
                                $bar[ 'coll-print_export' ] = $html;
                        }
                }
                return true;
        }

-- 
You received this message because you are subscribed to the Google Groups 
"mwlib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/mwlib?hl=en.

Reply via email to