Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost Help

Post Reply
 
Thread Tools
  #1  
Old 04-19-2007, 08:52 AM
coma's Avatar
coma Offline
forum loafer
 
Join Date: Jan 2007
Posts: 17
HTML Editor for new photo page

I want to use both "English" and "Persian" description for my photos, but the editor in new photo page, is a text-only and not a rich HTML editor.

how can I put HTML tags (like dir="rtl" , div , p , ...) into the image description ?

I use pp1.6, is there any plugin or some other tools?

Thanks
Reply With Quote
  #2  
Old 04-19-2007, 03:31 PM
Connie
Guest
 
Posts: n/a
did you check markdown?

you can always edit the text in another editor and copy and paste it there, maybe that helps
Reply With Quote
  #3  
Old 04-20-2007, 07:37 PM
austriaka's Avatar
austriaka+ Offline
Team Pixelpost
 
Join Date: Nov 2006
Location: Germany
Posts: 1,175
Send a message via ICQ to austriaka Send a message via AIM to austriaka
You can always insert HTML-Tags into the description field, it doesn't matter if Markdown is enabled or not.
If Markdown is enabled in options page, you can choose to use HTML or Markdown.

Right now there is no HTML-editor for the description field planned, but perhaps somebody would write an addon for that. Since there are a lot of new workspaces all over the admin area, that should not be so tricky...

KArin
__________________
Uh!log Photoblog
My Addons
Reply With Quote
  #4  
Old 04-21-2007, 08:11 PM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
Ramin made some time ago addon with Tiny MCE which gives WYSIWIG editor for Image description field.
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #5  
Old 04-22-2007, 09:44 AM
coma's Avatar
coma Offline
forum loafer
 
Join Date: Jan 2007
Posts: 17
Quote:
Originally Posted by Connie View Post
did you check markdown?

you can always edit the text in another editor and copy and paste it there, maybe that helps

Yes, I've tried Markdown, but no description on how to have tags like this dir="rtl" in <p> or <div> tags! If you want to type in Right-to-left languages (like Arabic or Farsi) you need the dir="rtl" tag!


Quote:
Originally Posted by austriaka View Post
You can always insert HTML-Tags into the description field, it doesn't matter if Markdown is enabled or not.
If Markdown is enabled in options page, you can choose to use HTML or Markdown.

Right now there is no HTML-editor for the description field planned, but perhaps somebody would write an addon for that. Since there are a lot of new workspaces all over the admin area, that should not be so tricky...

KArin
I've tested this too! but when I save the chnages, the output on main page is "Plain-Text" only! it seems that it didn't even see the HTML tags!


Quote:
Originally Posted by GeoS View Post
Ramin made some time ago addon with Tiny MCE which gives WYSIWIG editor for Image description field.


I've installed this addon right now, I've changed the text by this editor, set the align right and set the english part bold, but when I save the changes, and update the photo, no effect at description on main page, see below screenshots :

1 - editing text
2 - output text
Reply With Quote
  #6  
Old 04-22-2007, 12:30 PM
Connie
Guest
 
Posts: n/a
you can always assing the "rtl" or "ltr" by CSS as well, using <p class="rtl"> or <p class="ltr"> then...

Code:
.ltr {direction:ltr;}
.rtl {direction:rtl;}
I am sure this will help you
Reply With Quote
  #7  
Old 04-23-2007, 12:19 PM
austriaka's Avatar
austriaka+ Offline
Team Pixelpost
 
Join Date: Nov 2006
Location: Germany
Posts: 1,175
Send a message via ICQ to austriaka Send a message via AIM to austriaka
Quote:
Originally Posted by coma View Post
I've tested this too! but when I save the chnages, the output on main page is "Plain-Text" only! it seems that it didn't even see the HTML tags!
Funny, in my blog it is working.
Have a look at this one: http://blog.uhlig.at/index.php?showimage=553
The thumbs are inserted with markdown, the bold text "tigers" is html <b> tag.

Database entry:
Code:
One of my favorite visiting points in Schönbrunn are the tigers and their new enclosure.  
The enclosure for the tigers and leopards was one of the first new invented sponsoring projects of the former director Dr. Pechlarner.  
The old buildings and cages were left for monument conservation reasons and the new outside enclosures were built aside to them. The visitors can enter the old buildings and find there a lot of information about tigers, protection of species and the famous tiger ad videos of the main sponsor Esso.  
Watching the <b>tigers</b> in the outside enclosure is a great experience for they live in a family group, youngsters and parents together.  
These images show the adult male tiger playing with one of the youngsters.

[![Playing Tiger 1](thumbnails/thumb_20070422171802_11123.jpg)](index.php?showimage=549&category=8 "Playing Tiger 1") 
[![Playing Tiger 2](thumbnails/thumb_20070422171925_11124.jpg)](index.php?showimage=550&category=8 "Playing Tiger 2") 
[![Tiger Daddy 1](thumbnails/thumb_20070422172035_11126.jpg)](index.php?showimage=551&category=8 "Tiger Daddy 1") 
[![Tiger Daddy 2](thumbnails/thumb_20070422172126_11128.jpg)](index.php?showimage=552&category=8 "Tiger Daddy 2")
KArin
__________________
Uh!log Photoblog
My Addons
Reply With Quote
  #8  
Old 04-24-2007, 09:46 AM
coma's Avatar
coma Offline
forum loafer
 
Join Date: Jan 2007
Posts: 17
Brhhhhh!!!
I've just found the solution!

The mystery is in the <IMG_NOTES_CLEAN> and <IMG_NOTES>

I should used the second one instead of the first!!! LOL !

Thanks all
Reply With Quote
  #9  
Old 04-24-2007, 12:00 PM
austriaka's Avatar
austriaka+ Offline
Team Pixelpost
 
Join Date: Nov 2006
Location: Germany
Posts: 1,175
Send a message via ICQ to austriaka Send a message via AIM to austriaka
so simple it can be...
glad it is working now
KArin
__________________
Uh!log Photoblog
My Addons
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 01:03 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs