Siriux layout mutually exclusive with SEARCH?

robert070612

Joined: 2003-08-05
Posts: 565
Posted: Wed, 2005-06-22 22:15

----The clean straightforward presentation of the Siriux layout appeals. However my visitors (actually my picture customers) are used to a search facility and, soon enough, I will expect them to properly need one such. Is there some way I might get search functionality back? Yes, the search module has been installed and it works admirably in the Matrix layout;~)
----best wishes, Robert

Gallery version = 2.0-beta-3 core 0.9.17
PHP version = 4.3.8 apache
Webserver = Apache
Database = mysql 3.23.56
Toolkits = Gd, ImageMagick, NetPBM, Thumbnail
Operating system = Linux systa 2.4.20-18.7 #1 Thu May 29 08:32:50 EDT 2003 i686
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2005-06-23 03:05

I don't know the exact changes you'd need, but maybe I can help you get on your way.

Take a look at /templates/pathbar.tpl. This is where the search functionality is added if enabled. Copy that code into which ever file it's needed under the Siriux layout, probably albumBody.tpl and singleBody.tpl. BE SURE TO READ the instructions at the top of the files before editing. You'll need to create a local diretory under /layouts/siriux/templates so you don't loose your changes on an upgrade.

FYI, the layout/theme system for G2 will be changing in the coming weeks. It will be released with B4, however, I wouldn't be surprised if it starts popping into CVS on the nightlies before the Beta is released. It should make these types of changes easier. However, it will make your changes invalid.
EDIT: again that's just an FYI so you're not surpised if your changes are broken on an upgrade.

 
robert070612

Joined: 2003-08-05
Posts: 565
Posted: Thu, 2005-06-23 11:39

I hear you. Tried some simple substitutions into new (/local/) tpl files.
IE6 crashed, FF1.0.4 stayed alive but just repeated pseudo-intelligent stuff onscreenleft. Got a bunch of exit signal Segmentation fault (11)s. PHPA (cache) issued a stale process warning. And there were a bunch of PHP Fatal errors similar to: Allowed memory size of 104857600 bytes exhausted (tried to allocate 18928 bytes)... I rather think G2 is trying to tell me I'm not up to tpl-tweaker grade yet;~/