 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
June 8th, 2005, 04:20 AM
|
#1 (permalink)
| | Ultimate Member Verified Customer
Join Date: May 2002
Posts: 1,066
| 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
|
| |
June 8th, 2005, 08:07 AM
|
#2 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,858
|
Looks like I owe Chuck $5.
__________________ Please do not PM me for support or sales questions. Thank you for your understanding. |
| |
June 8th, 2005, 09:10 AM
|
#3 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,720
|
Just take this code on line 330 and move to line 84 of showphoto.tmpl
$filmstrip_bottom
|
| |
June 8th, 2005, 09:37 AM
|
#4 (permalink)
| | Ultimate Member Verified Customer
Join Date: May 2002
Posts: 1,066
| xox |
| |
June 13th, 2005, 08:39 PM
|
#5 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2005
Posts: 15
|
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
|
| |
June 13th, 2005, 09:07 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,720
|
If all you moved is $filmstrip_bottom and moved it where told you should not get an error.
|
| |
June 14th, 2005, 01:47 AM
|
#7 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2005
Posts: 15
|
Hi Chuck,
I don't know what I could be doing wrong - it's a simple change
The error looks like this: Quote: |
Parse error: parse error, unexpected T_ECHO in /...../gallery/templates/vb3enhanced/showphoto.tmpl on line 85
| The code looks like this after I moved the phrase to line 84: Quote:
if ( $Globals['disptitle'] == "yes" ) {
echo<<<PPPRINT
<tr>
<td class="{$Style['menubar']}" align="center"><b>$title</b></td>
</tr>
PPPRINT;
}
$filmstrip_bottom
echo<<<PPPRINT
</table>
</td>
</tr>
</table>
$videodisp
$altlink<br />
PPPRINT;
| |
| |
June 14th, 2005, 08:26 AM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,720
|
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;
|
| |
June 14th, 2005, 10:57 AM
|
#9 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2005
Posts: 15
|
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
|
| |
June 14th, 2005, 11:47 AM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,720
|
<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
|
| |
June 16th, 2005, 02:06 AM
|
#11 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2005
Posts: 15
|
Hi Chuck,
Finally I figured it out the fix is to move line 330 $filmstrip_bottom to line 90 (v5.11) Quote:
echo<<<PPPRINT
</table>
</td>
</tr>
</table>
$filmstrip_bottom
$videodisp
$altlink<br />
PPPRINT;
| ... solving one problem at a time ...
Paul
|
| |
January 25th, 2006, 01:06 AM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Mar 2003 Location: Orlando, FL. USA
Posts: 142
|
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
Last edited by funkmiester; January 25th, 2006 at 01:42 AM.
|
| |
January 25th, 2006, 11:38 AM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Mar 2003 Location: Orlando, FL. USA
Posts: 142
|
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.
|
| |
January 25th, 2006, 11:59 AM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,720
|
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
|
| |
January 25th, 2006, 12:25 PM
|
#15 (permalink)
| | Member Verified Customer
Join Date: Mar 2003 Location: Orlando, FL. USA
Posts: 142
| Quote: |
Originally Posted by Chuck S Default location of the photo previews?
Determines the location of the film-strip previews on the showphoto page | I don't see that option!
|
| |
January 25th, 2006, 01:06 PM
|
#16 (permalink)
| | Member Verified Customer
Join Date: Mar 2003 Location: Orlando, FL. USA
Posts: 142
|
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?
|
| |
January 25th, 2006, 01:29 PM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,720
|
It would appear to me then you never ran upgrade 5.1 as that is where that query was added.
|
| |
January 25th, 2006, 01:55 PM
|
#18 (permalink)
| | Member Verified Customer
Join Date: Mar 2003 Location: Orlando, FL. USA
Posts: 142
|
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.
|
| |
January 25th, 2006, 03:38 PM
|
#19 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,720
|
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
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 04:41 AM. | |