I've been playing around with FCKEditor with the News block and for some unknown reason it keeps wanting to add a series of line returns after each line of text - deleted from the source but they still come up. Got fed up with it and have disabled it for the time being.
However in my travels I came across this script which I thought was neat as it allows you to edit text inline as it were which means that you could do away with having to open up an edit window.
Don't know how difficult it would be implement in PGV but I thought that I might as well bring to your attention in case you were interested:
The reason **I** did that was so that my line breaks would be determined by the user's browser and not by my reacting to the width of the input form.
Of course, that means I have to control paragraph breaks by HTML, but it's a price I'm willing to pay. :-)
A compromise would be ignoring single line breaks and auto-converting multiples into paragraph breaks. One of the plugins for the open source Nucleus CMS does that.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you very much for the fix - have commented out the offending line in both files and FCK is working well. Cheers.
Wes - had a play around with Nucleus CMS on opensourseCMS and it looks like it could be what I am looking for in terms offering users a way to publish their stories. I'll download a copy to experiment on my local muter. Don't like the editor that they are using looks a lot like the one SF uses.
Heaps of plug-ins and skins.
Have you been able to "synchronise" it with PGV? Would you open the user's page in a frame?
Jean
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I've been playing around with FCKEditor with the News block and for some unknown reason it keeps wanting to add a series of line returns after each line of text - deleted from the source but they still come up. Got fed up with it and have disabled it for the time being.
However in my travels I came across this script which I thought was neat as it allows you to edit text inline as it were which means that you could do away with having to open up an edit window.
Don't know how difficult it would be implement in PGV but I thought that I might as well bring to your attention in case you were interested:
http://www.yvoschaap.com/index.php/weblog/ajax_inline_instant_update_text_20
Example:
http://www.yvoschaap.com/instantedit/
Jean
This is something I am already looking at…..
Hi,
From editnews.php comment out line 94:
// $news = nl2br($news);
From blocks/gedcom_news.php comment out line 152:
// $newsText = nl2br($newsText);
Br
Hannu
@Hannu
For any particular reason?
The reason **I** did that was so that my line breaks would be determined by the user's browser and not by my reacting to the width of the input form.
Of course, that means I have to control paragraph breaks by HTML, but it's a price I'm willing to pay. :-)
A compromise would be ignoring single line breaks and auto-converting multiples into paragraph breaks. One of the plugins for the open source Nucleus CMS does that.
Hi Greg,
This was a solution to Jean's problem. I also use FCKEditor and had exactly the same problem.
In editnews.php the fix is already in "if ($useFCK) " block. You should not mess up the nice html that FCKEditor produces.
BR
Hannu
Hello Hannu
Thank you very much for the fix - have commented out the offending line in both files and FCK is working well. Cheers.
Wes - had a play around with Nucleus CMS on opensourseCMS and it looks like it could be what I am looking for in terms offering users a way to publish their stories. I'll download a copy to experiment on my local muter. Don't like the editor that they are using looks a lot like the one SF uses.
Heaps of plug-ins and skins.
Have you been able to "synchronise" it with PGV? Would you open the user's page in a frame?
Jean