PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old March 31st, 2010, 07:56 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Mar 2010
Posts: 111
Search Result - photo title filename too long

I found below in some old threads to limit the title for feature photo:
-----------
$features['title'] = ( strlen($features['title']) > 20 ? substr($features['title'],0,20)."..." : $features['title'] );
-----------
Q1. but how do we limit the photo title in the search result page? (too long title causes out of sync page width on the search result page) Which file and line to modify or add to limit the title length on the search result page for the photo being displayed on the search result page? Help.

*I've added the above feature line to pp-inc from other threads I read, but it doesn't work for search result page (the photo displayed on the result page title length still very long)

Last edited by gmptp; March 31st, 2010 at 08:10 AM.
gmptp is offline   Reply With Quote
Old March 31st, 2010, 08:20 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
I show in photopost 7.01 the search title is already limited

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old March 31st, 2010, 08:30 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Mar 2010
Posts: 111
Quote:
Originally Posted by Chuck S View Post
I show in photopost 7.01 the search title is already limited

Code:
Content visible to verified customers only.
Hmm Chuck, which file? I open search .php and search .tmp both file doesn't have the above line, I cannot find the above line. Appreciate your advice which file, my search result, the title still very long. Which file should I add above line? or If it has been added in 7.0.1 I will like to find the file and modify to reduce the number of characters because I'm having 4 column and 1000px width... still cannot find the file with above command, I open all the search templates and search .php but cannot locate the line, appreciate your advice which file shall I open and add to which line?

Last edited by gmptp; March 31st, 2010 at 08:45 AM.
gmptp is offline   Reply With Quote
Old March 31st, 2010, 09:08 AM   #4 (permalink)
Member
Verified Customer
 
Join Date: Mar 2010
Posts: 111
I've tried adding this line to search.php
---
$getphoto[title] = ( strlen($getphoto[title]) > 22 ? substr($getphoto[title],0,22)."..." : $getphoto[title] );
---
but the title length in the search result photo display still very long, any idea the above line I should place on which file and which line, or which file can I locate above command?

Thanks in Advanced

Last edited by gmptp; March 31st, 2010 at 09:14 AM.
gmptp is offline   Reply With Quote
Old March 31st, 2010, 09:16 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
well are you using photopost 7?

Kinda hard to say without you actually posting a site link.

what I am saying is very valid for photopost 7 and if you dont have a line like that maybe your not using our present code but maybe an old version.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old March 31st, 2010, 09:22 AM   #6 (permalink)
Member
Verified Customer
 
Join Date: Mar 2010
Posts: 111
Quote:
Originally Posted by Chuck S View Post
well are you using photopost 7?

Kinda hard to say without you actually posting a site link.

what I am saying is very valid for photopost 7 and if you dont have a line like that maybe your not using our present code but maybe an old version.
Thanks Chuck, your response is superb, I bought and using photopost701.zip

Or which file should I add the command can you tell me, I manually add the command into the file myself possible?

Or am I using not the latest version I just bought few weeks ago.

Last edited by gmptp; March 31st, 2010 at 09:28 AM.
gmptp is offline   Reply With Quote
Old March 31st, 2010, 09:23 AM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Forgot to post but at line 196 of search.php if you put what I posted it shows fine I forgot to post a link

Search - ReefTalk Gallery
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old March 31st, 2010, 09:29 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: Mar 2010
Posts: 111
Quote:
Originally Posted by Chuck S View Post
Forgot to post but at line 196 of search.php if you put what I posted it shows fine I forgot to post a link

Search - ReefTalk Gallery

It works now after adding the line to 196! Thanks a million Chuck, you're number 1 in term of your support! Best Product and Support I've ever purchased and recieved, Bravo!
gmptp is offline   Reply With Quote
Old March 31st, 2010, 09:44 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
enjoy your day my friend
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Search result without photo details zigorob Photopost Pro Installation & Upgrades 48 February 18th, 2010 12:24 PM
7 day search result(s) to your search. - Wed December 31, 1969 Fortissimo Photopost Pro Bug Reports 7 December 24th, 2009 12:43 PM
bbcode problem in search result Larry Stowell Photopost Pro Bug Reports 4 April 29th, 2007 12:22 PM
New search result display Jens Photopost Pro How Do I...? 13 March 4th, 2007 10:55 AM


All times are GMT -5. The time now is 03:14 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0