![]() |
Filmstrip at bottom Very cool with the 5.11 easy admin option to change location of thumbnail preview filmstrip! Thanks!! Hopefully one day this will be viewer or member optional. Dang it, after all this I want to leave the filmstrip where it was in 5.03. Can I trouble you to provide a replacement for the current filmstrip-bottom template with it as shown in 5.03? -------------SHOWPHOTO-------------- Click on image to view larger image ---------------Filmstrip----------------- My wife/installer is losing too much sleep over this one. But my reasoning won out that this is the best way to have it if `one glove must fit all'. Thanks, Mark Looking forward to the day that it's viewer optional |
Looks like I owe Chuck $5. |
Just take this code on line 330 and move to line 84 of showphoto.tmpl $filmstrip_bottom |
:)xox:) |
I implemented this and I got an error: Parse error: parse error, unexpected T_ECHO on line 86. I simply took line 330 and moved it to line 84 of showphoto.tmpl (meaning I removed line 330) Do I need to do anything else ? I also preffer the filmstrip in 5.03 (old habits never die) Paul |
If all you moved is $filmstrip_bottom and moved it where told you should not get an error. |
Hi Chuck, I don't know what I could be doing wrong - it's a simple change :confused: The error looks like this: Quote:
Quote:
|
Okay something has changed in that template LOL its line 86 now if ( $Globals['disptitle'] == "yes" ) { echo<<<PPPRINT <tr> <td class="{$Style['menubar']}" align="center"><b>$title</b></td> </tr> PPPRINT; } echo<<<PPPRINT $filmstrip_bottom </table> </td> </tr> </table> PPPRINT; |
1 Attachment(s) I am not getting the error anymore ... (now that I realized where I put it - above the echo - it makes sense .. aj, jaj - a real newbee) .. but the display (see attached) has the first thumbnail alligned under the large, and the rest is offset. :) Paul |
<td class="{$Style['tdbackground']}" valign="top" align="center" colspan="$colspan2"> make the colspan 5 instead $colspan2. Your changing things from the default coding so one more easy tweak |
Hi Chuck, Finally I figured it out the fix is to move line 330 $filmstrip_bottom to line 90 (v5.11) Quote:
:) Paul |
For 5.3 - where do I make the change to have the $filmstrip_bottom display the thumbs on the bottom of the page vs. the top when in showphoto.php?? I tried the changes mentioned above, but don't get anything showing on the bottom. I can remove the filmstrip by removing $filmstrip_top but I would prefer to have them, but on the bottom :) Thanks in advance. EDIT: Nevermind - figured it out....it's late :) |
Huh....thought I had this licked, but apparently not!! So as I asked earlier....where do I make the change to have the $filmstrip_bottom display the thumbs on the bottom of the page vs. the top when in showphoto.php?? I tried the changes mentioned above, but don't get anything showing on the bottom. I can remove the filmstrip by removing $filmstrip_top but I would prefer to have them, but on the bottom only. |
If you use the default files no hacking in Admin => Show Photo Options set this to bottom and it will display on the bottom Default location of the photo previews? Determines the location of the film-strip previews on the showphoto page |
Quote:
|
Ok, figured out what was going on. The upgrade.php failed to insert the string for that option, so I manually entered into the database after looking for the right syntax in the upgrade code!! I now have that entry in Show Photo and it's working fine. My only worry now is that I'm missing other things! Can you provide a list of what similar new options should be in the database so I can query it and if necessary, manually add them in there. Any ideas how this happened - I got no errors from the upgrade script when I ran it yesterday? |
It would appear to me then you never ran upgrade 5.1 as that is where that query was added. |
Quite possibly - guess I will pay closer attention to those, the last few haven't required running upgrade - although I'm pretty sure I ran it when moving from 5.1x to 5.2x - was this extra info added in the 5.1 to 5.11 upgrade? If so, that might be it. Anyway, things appear ok now, as far as this goes anyways ;) I looked through all the other updates in the upgrade.php and ran queries and it appears I have everything in place and up to date now. Thanks. |
Actually except for 5.2 to 5.21 every single release has required an upgrade script in the past year I do know that ;) It was in the 5.1 => 5.2 upgrade and there was only that query and one to change the version number |
| All times are GMT -5. The time now is 08:10 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0