 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
December 11th, 2010, 09:24 PM
|
#21 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,662
|
This thread is about a code mod.
Not really sure how your post there ties in.
|
| |
December 17th, 2010, 06:16 AM
|
#22 (permalink)
| | Member Verified Customer
Join Date: Feb 2007
Posts: 316
| Quote:
Originally Posted by cgdev1 I'd like to know how to do this, too. Seven is way too many. It would be nice if this were a configurable option.
Thanks | I complained about 7 as soon as the change was made. It's really annoying.
|
| |
January 26th, 2011, 08:49 AM
|
#23 (permalink)
| | Member Verified Customer
Join Date: May 2007
Posts: 33
| Quote:
Originally Posted by boatdesign Bob, a bit late to reply so I'm sure you've long since already done this, but If you search a bit further down in the code of showframe.php you'll see the right more link is called with a hard coded 20. So if you change 7 per row to 5 per row and have 3 rows, you can change that 20 to a 14 the the right more >> link will now appear again. | My more link disappears. Please let me know how you did this exactly. Did you apply the code in showphoto.php given above, and then what did you do to have the more link work again and not disappear.
Thanks.
|
| |
January 26th, 2011, 09:33 AM
|
#24 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,662
|
Any mathematical changes made just be done both in showphoto.php and showframe.php
|
| |
January 28th, 2011, 03:54 AM
|
#25 (permalink)
| | Member Verified Customer
Join Date: May 2007
Posts: 33
|
I made the changes as instructed in showphoto.php in your post.
However, i am unable to find the areas to update the showframe.php in order to avoid the more link error. Code: Content visible to verified customers only.
Do the changes have to be made in this code of showframe.php and if yes to what?
Last edited by Eagle Eyes; January 28th, 2011 at 04:08 AM.
|
| |
January 28th, 2011, 06:07 AM
|
#26 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,662
|
Thw $highf $lowf $middlef variables need to match the same mathematical changes you made to showphoto.php. I really can not assist in code modifications. My posts are just suggestions or nudges. Any real modifications users would need to do on there own there i no official company support of such changes.
|
| |
January 31st, 2011, 10:03 AM
|
#27 (permalink)
| | Member Verified Customer
Join Date: May 2007
Posts: 33
|
I have changed these high/low/middile accordingly, but i have been unable to work this out. If there is someone who can help me with this, i will appreciate it. Even if i can remove more link it would be good.
Thanks.
|
| |
January 31st, 2011, 10:57 AM
|
#28 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,662
|
You need to do it in both showphoto.php and showframe.php
|
| |
January 31st, 2011, 11:06 PM
|
#29 (permalink)
| | Member Verified Customer
Join Date: May 2007
Posts: 33
| Quote:
Originally Posted by Chuck S You need to do it in both showphoto.php and showframe.php | Changed it to same numbers as instructed by you for showphoto.php code above, and similarly changes were done to showframe.php but more link continues to disappear, so since i cannot do this..even if i can remove more link that would be great.
|
| |
February 1st, 2011, 08:21 AM
|
#30 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,662
|
This discussion has nothing to do with the more link.
The more link can be there or not be there depending on which query is triggered to pull next prev images.
This code allows 5 images to show instead of 7 however our company does not assist with code modifications so there is nothing more I can discuss about this. I posted that as a try if you want.
|
| |
February 2nd, 2011, 11:58 AM
|
#31 (permalink)
| | Member Verified Customer
Join Date: May 2007
Posts: 33
|
If you have time please post a try for showframe.php.
I would gladly take that try.
JK. Thanks.
|
| |
February 2nd, 2011, 12:12 PM
|
#32 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,662
|
This is the same code in both files
|
| |
February 5th, 2011, 09:37 PM
|
#33 (permalink)
| | Member Verified Customer
Join Date: Mar 2006
Posts: 78
|
I haven't followed this thread in a while; just assumed that everyone already knew how to change this.
What I do is set the number of thumbnail preview rows to one (1).
Then in both showphoto.php and showframe.php look for this code: Code: Content visible to verified customers only.
Below it are the parameters you are looking for. I use a highf number of 5, instead of 7, and then work from there to get what you want.
They should make these things configurable items in either the config file or in the admin menu.
|
| |
February 6th, 2011, 01:18 AM
|
#34 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,662
|
I posted a full code block with number changes earlier in this thread fyi.
|
| |
February 6th, 2011, 10:24 PM
|
#35 (permalink)
| | Member Verified Customer
Join Date: May 2007
Posts: 33
| Quote:
Originally Posted by motowebmaster I haven't followed this thread in a while; just assumed that everyone already knew how to change this.
What I do is set the number of thumbnail preview rows to one (1).
Then in both showphoto.php and showframe.php look for this code: Code: Content visible to verified customers only.
Below it are the parameters you are looking for. I use a highf number of 5, instead of 7, and then work from there to get what you want.
They should make these things configurable items in either the config file or in the admin menu. | I changed the 7 to 5. My images appear fine, but when i click the more link..the more link disappears after one click.
Can you please share your changes to the code in showframe.php?
|
| |
February 15th, 2011, 10:09 AM
|
#36 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,662
|
I never applied this mod so I really can not comment sorry. I posted a suggestion which basically only changes numbers in showphoto.php or showframe.php for various math calculations for you to try. I am merely saying your math has to be the same between those files thats all. I can not provide support for any such changes these are just thoughts.
|
| |
April 1st, 2011, 12:40 PM
|
#37 (permalink)
| | Junior Member Verified Customer
Join Date: Jan 2010
Posts: 2
|
thanks for the code snippets Chuck. That worked great for me.
|
| |
April 1st, 2011, 01:00 PM
|
#38 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,662
|
no problem enjoy.
|
| |
April 17th, 2011, 04:23 PM
|
#39 (permalink)
| | Junior Member Verified Customer
Join Date: Jan 2006
Posts: 12
| Quote:
Originally Posted by motowebmaster I haven't followed this thread in a while; just assumed that everyone already knew how to change this.
What I do is set the number of thumbnail preview rows to one (1).
Then in both showphoto.php and showframe.php look for this code: Code: Content visible to verified customers only.
Below it are the parameters you are looking for. I use a highf number of 5, instead of 7, and then work from there to get what you want.
They should make these things configurable items in either the config file or in the admin menu. | Easiest Directions of all, right above, IMHO. Code: Content visible to verified customers only.
Will give you 4 across in one row. Be sure to set "Number of thumbnail preview columns?" to 1/one in "Show Photo Options" in your PP Admin Control Panel. Note that this hack will only work for 1/one row.
|
| |
April 17th, 2011, 04:49 PM
|
#40 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,662
|
The suggestions I made work fine but remember as I have posted this in this thread any changes you make in showphoto.php also need to be made to the same code in showframe.php
|
| | |
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 02:46 PM. | |