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 Bug Reports

Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old July 13th, 2005, 10:50 PM   #1 (permalink)
Registered User
 
Join Date: Jul 2002
Posts: 1,221
HTML in Category Field and Description Field(NOT A BUG)

We use to be able to add HTML within the Category Name and Description Fields but now it does not work in 5.12. It converts the <A HREF= into &lt;A href=&quot;

Why?
Steve_C is offline   Reply With Quote
Old July 13th, 2005, 11:49 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
I am able to enter html in my 5.13 cat description field and it displays. You sure you have uploaded all the new files and an old file is not lingering.

I have tested on 3 installs and all 3 render the html image fine
__________________
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 July 14th, 2005, 03:47 AM   #3 (permalink)
Registered User
 
Join Date: Jul 2002
Posts: 1,221
Well, you tested on 5.13, we had 5.12. I'll upload the updated files and see what happens...
Steve_C is offline   Reply With Quote
Old August 18th, 2005, 11:18 AM   #4 (permalink)
Registered User
 
Join Date: Jul 2002
Posts: 1,221
This is still happening... I added, "M&M" and it turned it into: "M&amp;M".
Steve_C is offline   Reply With Quote
Old August 18th, 2005, 12:13 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
Interesting it should parse correctly

$catdesc = htmlentities( $catdesc );

If I enter something like this in the cat description

<img src="http://www.masna.org/images/newlogo-web-sm-w.jpg" alt="" />

It is shown as this above in the cat description box in adm-cats script

On the index page it is shown as an image

So have you tried something like this?

what shows on your index page
__________________
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 August 18th, 2005, 01:02 PM   #6 (permalink)
Registered User
 
Join Date: Jul 2002
Posts: 1,221
that displays as it should. Seems to be just a few odd characters such as:

é

&
Steve_C is offline   Reply With Quote
Old August 18th, 2005, 01:07 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
well I dont know about special foreign characters how they are treated

You can try changing the $catdesc line to this

$catdesc = htmlspecialchars( $catdesc );

Testing as I did above everything shows fine.
__________________
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 August 18th, 2005, 01:15 PM   #8 (permalink)
Registered User
 
Join Date: Jul 2002
Posts: 1,221
What file is that in?
Steve_C is offline   Reply With Quote
Old August 18th, 2005, 01:18 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
adm-cats.php
__________________
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
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Field + Field Req'd = null Ocean44 Bugs From 1.0.0 2 April 27th, 2005 04:25 PM
HTML code for value of a specific custom field? Shon How Do I? - vBulletin 3.0.X 3 December 17th, 2004 03:54 PM
HTML within description field? Rich Z Before You Buy 0 July 1st, 2004 06:38 PM


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

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