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 16th, 2012, 10:05 AM   #1 (permalink)
Senior Member
Verified Customer
 
Fortissimo's Avatar
 
Join Date: Oct 2005
Posts: 524
Force templates to behave the same in browsers

Latest versions of all browsers

View this page in Firefox, IE then Chrome. The right hand column is what is being shoved off the edge.

For Firefox, it wraps the text where in Chrome and IE it does not. Is this in the Photopost templates and can it be fixed?
Fortissimo is offline   Reply With Quote
Old March 16th, 2012, 10:45 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
Personally if you ask me it might be whatever extra information your entering like kit info thats not part a normal photopost that is causing your issue.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 16th, 2012, 11:01 AM   #3 (permalink)
Senior Member
Verified Customer
 
Fortissimo's Avatar
 
Join Date: Oct 2005
Posts: 524
It's a URL. Not something that is unusual. Doesn't matter if it were a url or a really long word. Firefox handles it just fine. IE and Chrome does not. If there isn't a way to force the code to be handled the same, then so be it.
Fortissimo is offline   Reply With Quote
Old March 16th, 2012, 11:19 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
Right but the real issue here is the data and not being wrapped.

Maybe these lines in showphoto.php

Code:
Content visible to verified customers only.
change to this

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 offline   Reply With Quote
Old March 16th, 2012, 11:34 AM   #5 (permalink)
Senior Member
Verified Customer
 
Fortissimo's Avatar
 
Join Date: Oct 2005
Posts: 524
That did not fix it.
Fortissimo is offline   Reply With Quote
Old March 16th, 2012, 11:49 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
Yeah not really sure I could tell you how to fix the browser issue. It is not software related.

You could maybe try using php wordwrap function on whatever variable you are using for that.

PHP: wordwrap - Manual

Usually though browser issues have to be addressed in the browser.

Usually what I tell most people that try and enter one huge long string is do not do it. Because your not really talking about software here. Your talking about a browser issue as different browsers may operate differently on how they handle that. Normally if you print one huge long thing it is going to wrap at the first space it finds which means on most browsers its going to cause a breakout.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 16th, 2012, 11:53 AM   #7 (permalink)
Senior Member
Verified Customer
 
Fortissimo's Avatar
 
Join Date: Oct 2005
Posts: 524
Wouldn't it just be an issue of parsing the links like vBulletin does? That's not a browser thing... but a software thing.
Fortissimo is offline   Reply With Quote
Old March 16th, 2012, 12:25 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
parsing links how vb does it is what convert_markups does and is already called but again not sure how your doing your field as you have not told me so not sure how to respond. You never told me what variable the field is when I asked so I assumed maybe one of the regular category extra fields.

Maybe let me take another guess custom fields line 270 of showphoto.php try making it this

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 offline   Reply With Quote
Old March 16th, 2012, 12:50 PM   #9 (permalink)
Senior Member
Verified Customer
 
Fortissimo's Avatar
 
Join Date: Oct 2005
Posts: 524
Made that change, that did not work.

You'll have to forgive me, I'm not seeing where you originally asked what variable the field is. We are using the extra fields, text boxes.

One thing to notice. It's not an issue of just long URLs.

Firefox
Keywords: mdlmkfaad mdlmkfaadcf mdlmkfaadhpb mdllayeritvol3tp

In FF, it wraps after the 2nd word.

In IE & Chrome it wraps after the 3rd word.

So, it's wrapping, but it's wrapping after to many characters.
Fortissimo is offline   Reply With Quote
Old March 16th, 2012, 02:37 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
wordwrapping is handled by browser I see many threads on the internet about this and IE9

It is a browser bug nothing I have said works those real long urls of yours are simply not going to break in IE9.

I have tried PHP wordwrap and even a CSS word-wrap: break-word; statement in your body of the page and no matter what IE9 is bad so this is as I said a browser bug. The browser is not following the php coding or the css coding.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; March 16th, 2012 at 02:43 PM.
Chuck S is offline   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
How to block offline browsers A.K.A site rippers jdelasko General Discussion 6 December 19th, 2007 12:14 AM
5.5: button for UBB code different in browsers. Zarzal Photopost Pro Bug Reports 2 October 2nd, 2006 04:49 PM
Categories not showing with some Browsers(NOT A BUG) Basil Classifieds Bug Reports 2 December 11th, 2005 08:43 AM
Porblems with other browsers. SaN-DeeP Photopost Pro Bug Reports 11 October 3rd, 2005 11:29 AM
inc_features and Different browsers.(NOT A BUG) iloco Photopost Pro Bug Reports 3 September 30th, 2005 01:18 PM


All times are GMT -5. The time now is 04:30 AM.

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