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 > ReviewPost Pro Support Forums > ReviewPost How do I...?

ReviewPost How do I...? Wondering how to do something in ReviewPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old January 1st, 2011, 08:40 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Dec 2010
Posts: 44
Question Random & Recent product - product name character limit ?

My product database for reviewpost has alot of long character based product names of which first lot of characters are the same. What ends up happening is recent and random product listing sidebar/bottom tables end up cutting off the full product name due to character limit in place.

Wondering where do I change the limit for characters displayed for product name for random/recent and search results page, seems to be limited to 20 characters ?

thanks
p4guru is offline   Reply With Quote
Old January 1st, 2011, 09:30 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,653
There are limited so as not to cause viewing problems on your site. You do know what happens if you have alot of long titles with no spaces right? You end up with a horrific looking site because you can not span anything without a space therefore you end up with all this funky malformed tables. You would have to alter the code depending on where your talking to a higher number if you want

For instance this is the line in pp-inc.php that controls the photo blocks

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 January 2nd, 2011, 10:50 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Dec 2010
Posts: 44
i see.. hmmm cause right now nearly all products listed on random/recent product listings show same product name for first 20 characters heh

part of the length is due to manufacturer name + product name. So maybe if i could introduce a line break between the manufacturer name and product name in the recent/random product listings to allow for longer product name ?

i.e. change from

manufacturer name + product name

to

manufacturer name +
product name (on new line break)

where would I do that ? same place ?

thanks

Update: for now i've increased it from 20 to 35 and fits all my product names perfectly

Last edited by p4guru; January 2nd, 2011 at 11:00 AM.
p4guru is offline   Reply With Quote
Old January 2nd, 2011, 02:57 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,653
yes you just increase the characters. we limit the size for spacing issues in certain places thats it.
__________________
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 January 2nd, 2011, 08:07 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Dec 2010
Posts: 44
k while it increased character limit on recent/random pages, where do i change character limit for search by date outputed results when clicking calendar dates ? i.e. results from

/reviewpost/search.php?date=1293890418
p4guru is offline   Reply With Quote
Old January 2nd, 2011, 08:50 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,653
You would see a similar line in search.php using strlen php function.
__________________
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 January 3rd, 2011, 06:05 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Dec 2010
Posts: 44
thanks
p4guru is offline   Reply With Quote
Old January 3rd, 2011, 07:32 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,653
Your welcome
__________________
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
RP 3.32 'Previous product' and 'Next product' text links on showproduct.php erratic criscokid ReviewPost Bug Reports 14 February 1st, 2007 03:00 PM
Limit Ads in Upload and Edit product templates GateKeeper Classifieds How do I...? 6 June 14th, 2006 10:32 AM
Product Sort Order - default to Product Title (alphabetical) Rik Brown ReviewPost How do I...? 5 January 31st, 2006 12:32 PM
No thumbnails in Recent, Popular, or Random Product boxes clockwood8494 ReviewPost Installation & Upgrades 1 August 29th, 2005 08:59 AM
Edit Product bugs? (blank fields in product edit & strange product order) Khashyar ReviewPost Bug Reports 0 April 23rd, 2005 12:51 AM


All times are GMT -5. The time now is 06:26 PM.

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