Xaraya: Gallery2 Sideblock isn't showing

Danny

Joined: 2003-03-24
Posts: 90
Posted: Mon, 2005-07-18 20:23

The Gallery2 Sideblock isn't showing in my Xaraya 1.0 RC3 installation. When I click in the module "Blocks" directly on the Gallery2 Sideblock then an error message is coming:

The following lines were printed in raw mode by module, however this should not happen. The module is probably directly calling functions like echo, print, or printf. Please modify the module to exclude direct output. The module is violating Xaraya architecture principles.

Do you have any clues? I need the "Download as Zip" functionality. Is it already avaiable in the Gallery2 Sideblock for Xaraya?

----

Gallery-Version = 2.0-beta-3+ Kern 0.9.31
PHP-Version = 4.3.10 apache
Webserver = Apache/1.3.31 (Unix) FrontPage/5.0.2.2635 PHP/4.3.10
Datenbank = mysqlt 4.0.24_Debian-4woody1-log
Werkzeuge = Thumbnail, Gd, NetPBM
Betriebssystem = Linux server013 2.6.10-as7.xeon.64gb #1 SMP Fri May 27 17:29:05 CEST 2005 i686
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; iOpus-I-M; .NET CLR 1.1.4322)

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-07-18 20:54

already using version 0.6.10 of the integration?

you need the latest g2 snapshot (at most 3 days old or so) and the latest version of the xaraya integration module.

works for me on xaraya 1.0 rc 2.

you may have noticed the ugly "array" string at the top of the pages. i've filed a feature request in xaraya to get rid of this...

 
Danny

Joined: 2003-03-24
Posts: 90
Posted: Tue, 2005-07-19 17:35

I use 0.6.10 of the integration code. Gallery2 version is from 07-17. I use Xaraya 1.0 RC3.

OK, I found the problem. The problem is, that sideblock isn't shown when I browsing Xaraya articles. The sideblock is only shown, when I browsing through Gallery2 through pictures / albums.

So one question for you, is the Xaraya Sideblock only populated, when I browse through my Gallery2? Is it possible, that Gallery2 Sideblock will also be populated when reading Xaraya articles?

How can I configure the Sideblock, that also the most viewed image is displayed? Until now, only a random image is displayed.

Thanks in advance,

Danny

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-07-19 17:48

the sidebar is only populated when browsing g2 pages.
what stuff from the sidebar do you want to show on article pages?
album select?

i guess this will be possible sooner or later, but not now.

maybe 7/17 is already too old, but you can manage the imageblock settings and the nr of blocks etc. in site admin -> themes -> matrix.

and don't forget that you can instantiate the imageblock in the xaraya blocks page.

 
Danny

Joined: 2003-03-24
Posts: 90
Posted: Tue, 2005-07-19 20:21

Yes, I have thought, I can select an Album, or at least search for images. I have seen, the possibility to change the layout in Themes -> Matrix. Thanks.

I need your help for an further problem. I have set permissions, that only logged in users can view the sideblock. So when Im logged off, there is an ugly message saying "No privilige to access ReadGallery2". How can I get rid of this privilige error message?

Thanks in advance,

Danny

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-07-19 21:54

@xaraya privileges error: no idea what's the right method. you could just modify the privileges check from xaraya/modules/gallery2/xarblocks/* . instead of returning an error, it could just return null / false / whatever is appropriate or so.