gallery 1.5 and 2 or 3 column front page
sylvie58
Joined: 2003-11-12
Posts: 3 |
![]() |
Had previous version of gallery with the mod for the 2 or 3 columns on the front page. When I upgraded to 1.5 latest version this does not work anymore am I missing something? |
|
fryfrog
Joined: 2002-10-30
Posts: 3236 |
![]() |
The fact that upgrading over writes all the changes you made? |
|
sylvie58
Joined: 2003-11-12
Posts: 3 |
![]() |
fryfrog wrote:
The fact that upgrading over writes all the changes you made? I am sorry I wasn't very clear. I did overwrite the albums.php but than after that applied the colums mod but that didn't work for me this time. Could I use the old albums.php file from 1.4.2 or isn't that going to work with the rest of the gallery |
|
justchil
![]()
Joined: 2003-02-07
Posts: 225 |
![]() |
I'm curious about this as well.. I'm getting ready to upgrade to 1.5 myself. |
|
fryfrog
Joined: 2002-10-30
Posts: 3236 |
![]() |
I'm sorry, but your description of "that didn't work for me" is very lacking. It doesn't convey any information about what aspect didn't work. Did you get a code error that causes the page to not load? Does the page load but with none of the changes you made? What about a link to your site? I would not use an albums.php from 1.4.2 with any other version of gallery, just like I wouldn't want to try and use system files from windows 98 with windows 2000 or something like that. Maybe you could post to the columns thread where you found the mod? |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
sylvie58 wrote:
...... but than after that applied the colums mod but that didn't work for me this time. ..... Whwn you applied the mod did you just overwrite the files? OR id you compare the modded version with the new albums.php? Dave |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Attached are 2 files (version 1.5) depending on how you want the layout. If you want to change the number of columns then look for With the title and text under the image the image height has to be consistant accross all heighlights. This might not be the case so you will have to crop accordingly or it will not look right. Rename to albums.php Dave |
|
iliam
Joined: 2005-06-26
Posts: 2 |
![]() |
Thanks, that did the trick for me. |
|
rioguia
Joined: 2003-12-20
Posts: 22 |
![]() |
Floridave: Your work is amazing and I am sorry to trouble you with a question. I used the albums files (descriptions on the left version) from above. On www.lubuto.org/gallery it worked great using the black skin. On www.dexter1976.com/gallery , using the bred skin, I get the error: "Error: Problem including file ml_pulldown.inc". Both are Gallery.1.5-RC1 versions. The only modification to the dexter1976 gallery is to the screen.css file which I have attached. My error logs seem to be giving error messages like: Quote:
[client 68.142.251.100] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/vh07/templates/dexter/template.htm:19) in /var/www/html/vh07/gallery/lib/lang.php on line 364 |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
I doubt that the error you get is from the css. Another note: http://www.lubuto.org/gallery/ the search text box is not visable. Perhaps a html_wrap issue. Dave |
|
rioguia
Joined: 2003-12-20
Posts: 22 |
![]() |
Thank you. Right on both counts Floridave! The fix for the error message simply required copying the missing file (not sure how I clobbered that file). The search field was fixed in the modified albums.php like this: echo '<span class="search">'. _("Search") .': </span>';^M /* We made the input style="font=10pt" because fineprint is set to display: none; */ echo '<input style="font=10pt" type="text" name="searchstring" value="" size="25">'; |
|
crux19
Joined: 2003-11-04
Posts: 94 |
![]() |
Hi, |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
The transfer of the old forums to the new forums has caused some "issues". I THINK the first post has the right files. Dave |
|
hnorfleet
Joined: 2006-03-21
Posts: 2 |
![]() |
Thanks for the mod floridave! I've used it sucessfully here: http://www.placetocallmyown.com/gallery/albums.php . I would like to request the same type of mod for sub albums (for example http://www.placetocallmyown.com/gallery/sale ) Any assistance appreciated! |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Not sure what version of Gallery you are running but if you have the madmod1 skin that will get you in the right direction. If you don't have that skin the upgrade and you will find that the view_album.php page will have the layout with <div>s and not as many tables. This allows the "flow" of the title etc to go tot he right. Dave |
|
hnorfleet
Joined: 2006-03-21
Posts: 2 |
![]() |
Thanks for the quick response. I'm running 1.5 with no template, using modified headers, footers and css. I tried using the madmod skin but I frankly don't have time to modify the skin or figure out how to edit the view_album page to display as preferred. If there hasn't been a mod created for this I would be willing to pay for such a mod. |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
You should be alble to do this with the album properties and css. Change the album properties of "sale" to display one column (not 3 like you have now) and as many rows as you like. The text _should_ go to the right. If not send me a PM with the mod requirments. Dave |
|
rioguia
Joined: 2003-12-20
Posts: 22 |
![]() |
When I used your recent modified albums.php I get the following error message: I am using gallery 1.5.3 on fedora core 4 using php5. Any thoughts you might have would be appreciated. |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
The above files where for 1.5 not 1.5.3. Jens has changed a lot of things in the last 2 or 3 versions. One could remove or comment out that line and see if it works ( no guarantee) Dave |
|
grobyak
Joined: 2006-07-07
Posts: 6 |
![]() |
I updated my gallery to version 1.5.6 and tried to apply the above album.php instead, but it seems not to work - all you see is the gallery header, but no albums. I am a total novice in php - can someone help (or maybe someone has already customized) with a album.php file that has 3 columns on the main page? It would be very helpful! |
|
chakotay
Joined: 2007-12-15
Posts: 5 |
![]() |
I have a 4 x 4 front page. Customised Gallery v1 ? |
|
chakotay
Joined: 2007-12-15
Posts: 5 |
![]() |
Here is my albums.php file. if ($gallery->user->isLoggedIn()) { So if a user is loggedin you see the original. Hope this helps the people that pm'ed me. Customised Gallery v1 ? |
|