 | |  | | | Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here. |
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 <A href="
Why?
|
| |
July 13th, 2005, 11:49 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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...
|
| |
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&M".
|
| |
August 18th, 2005, 12:13 PM
|
#5 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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:
é
&
|
| |
August 18th, 2005, 01:07 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
August 18th, 2005, 01:15 PM
|
#8 (permalink)
| | Registered User
Join Date: Jul 2002
Posts: 1,221
|
What file is that in?
|
| |
August 18th, 2005, 01:18 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,809
|
adm-cats.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 05:26 PM. | |