I've installed Gallery but have one question that I'v been unable to answer. How can I put an icon onto the gallery screen that I can click to return to my website (rather than backsopacing through the picturesd I've viewed?)
Thank you for your help.
JR
The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version:
Apache version:
PHP version (don't just say PHP 4, please):
Graphics Toolkit:
Operating system:
Web browser/version (if applicable):
Posts: 6818
Hello John,
Where exactly do you want this icon?
And somehow the version number of your Gallery got lost.
Jens
--
Last Gallery v1 Developer and v1 translation manager.
Posts: 3
Hello Jens,
Thank you for your reply.
I'm using Gallery V1.5 RC2
I would like to place the icon on the Galley page as opposed to an album page. The first three lines on my gallery display show:
Line 1: GALLERY
Line 2: A white line with a search box at the right side
Line 3: A gray line that says "2 albums, 9 images" on the left side and [login] on the right side.
If possible I would prefer to place the "return to website" icon in the middle of line 3.
Thank you for your help.
JR
Posts: 6818
Hi,
"line 3" you are referring to is what we call "adminbox".
Its actually a table with 2 cells. (As you described it very good with left and right)
To have something in the middle, you need to change the code a little.
open layout/adminbox.inc
add
<td align="center"><?php echo $adminbox["center"] ?></td>
between the two <td> lines.
Now you have two possibilities
1.) Use your icon everywhere where this adminbox is used. (_i_ would do that)
-> Before the ?> in the file above add:
$adminbox["center"]='YOUR HTML FOR THE ICON';
2.) Just use your icon on frontpage and thumbsview
-> Add that code in file albums.php and view_albums.php below $adminbox["bordercolor"] = $borderColor;
Jens
--
Last Gallery v1 Developer and v1 translation manager.