stephane
Full Member
 
Karma: 3
Posts: 142
|
 |
« Reply #30 on: January 10, 2009, 03:31:32 PM » |
|
YES it's working fine  Thanks exidaco that is the good solution. Karma for you  Arggggggg.... It's working fine for aticles but not for extra content  Can't find in // EXTRA CONTENT a place to put the same kind of code that above.
|
|
|
|
« Last Edit: January 10, 2009, 05:12:12 PM by stephane »
|
Logged
|
|
|
|
jean01
Newbie
Karma: 0
Posts: 46
|
 |
« Reply #31 on: February 14, 2009, 09:22:13 AM » |
|
Just a few notes that may help someone else . . .
1. You need to read the FCKeditor configuration information to understand what it is doing. The security configuration items in the php section are important.
2. You need to save using sNews, not using FCKeditor so in your editor configuration you need to remove the save button. FCKeditor is designed to save html files to your server and we are saving our html to a database.
If you know some php, javascript etc. and you are persistent, you will end up with a very nice editor. Implementing it the second time will be a piece of cake!!
good luck
|
|
|
|
« Last Edit: February 21, 2009, 12:25:01 AM by jean01 »
|
Logged
|
|
|
|
Patric Ahlqvist
Nobodys perfect, but Im pretty effing close
Administrator
ULTIMATE member
    
Karma: 65
Posts: 4916
“I'm a self-made man and worships my creator.”
|
 |
« Reply #32 on: February 23, 2009, 06:08:17 PM » |
|
confirms working mod. Fecking great. This will be of great aid for my newbie clients... Karma to all of ya, but mostly Moshy-man 
|
|
|
|
|
Logged
|
|
|
|
edsil
Jr. Member

Karma: 4
Posts: 92
|
 |
« Reply #33 on: March 01, 2009, 12:29:55 AM » |
|
Big problem using 1.7 updated version (january 2009), the editor is not working as in the previous version... I have problems with french and spanish accents. Also there are problems with reordering categories/subcategories and articles... it is not working... Can anybody help me with this please?!...  THANKS a lot PS: I read that next sNews version will have its own editor... do you know when it will comes out?
|
|
|
|
« Last Edit: March 01, 2009, 02:02:23 PM by edsil »
|
Logged
|
|
|
|
edsil
Jr. Member

Karma: 4
Posts: 92
|
 |
« Reply #34 on: March 01, 2009, 02:24:50 PM » |
|
Well indeed I think I found the problem (bug): When I go to settings (into the admin panel control) and I disable "Display number of articles next to a category" the reordering fonction is not working Accents are not still working
thanks for help you can bring
|
|
|
|
|
Logged
|
|
|
|
|
iosephos
Guest
|
 |
« Reply #35 on: March 07, 2009, 07:27:51 AM » |
|
hello i am using fckeditor in the website and i have the apostroph error it doesn't show up in the out i am using this code for it :
<? $allquery = "SELECT * FROM txtfixe WHERE id_txtfixe = 1 limit 1"; $allresult = mysql_query($allquery) or die("Error: " . mysql_error()); $num = mysql_num_rows( $allresult); while ($author = mysql_fetch_array($allresult)) { $txtfixe = htmlentities($author ["txtfixe"]);} ?>
the out put is :
<?=$txtfixe?>
can anyone help please ? most of the text in the web is in french lang and the apostroph doesnt show up , ex : l'école in the output its like this l'école .
any help please.
|
|
|
|
|
Logged
|
|
|
|
Patric Ahlqvist
Nobodys perfect, but Im pretty effing close
Administrator
ULTIMATE member
    
Karma: 65
Posts: 4916
“I'm a self-made man and worships my creator.”
|
 |
« Reply #36 on: March 07, 2009, 02:53:10 PM » |
|
Mhm.. "Big problem using 1.7 updated version (january 2009)", is working for me.
|
|
|
|
|
Logged
|
|
|
|
stephane
Full Member
 
Karma: 3
Posts: 142
|
 |
« Reply #37 on: April 07, 2009, 06:15:43 PM » |
|
A little up for this topic. I still have a problem with accents. In snews.php I put the exidaco solution and it's ok for all the content display in Center function. But not in Extra ! As you can see on this test image. (snews last update : 1.4 and last stable version of FCK : 2.6.4)  Any idea ?
|
|
|
|
|
Logged
|
|
|
|
|
Joost
Guest
|
 |
« Reply #38 on: April 07, 2009, 07:09:30 PM » |
|
Search for function file_include and remove: <?php if(substr_count ($fulltext, '&')>0){$fulltext = str_replace('&', '&', str_replace('&', '&', $fulltext));} ?>
|
|
|
|
|
Logged
|
|
|
|
stephane
Full Member
 
Karma: 3
Posts: 142
|
 |
« Reply #39 on: April 07, 2009, 07:33:21 PM » |
|
|
|
|
|
|
Logged
|
|
|
|
stephane
Full Member
 
Karma: 3
Posts: 142
|
 |
« Reply #40 on: May 11, 2009, 05:34:54 PM » |
|
Argggggggggg..... It's working fine for extra content but now, I can't have the & code in htmlentities (&)  in function center ! Very strange FCKEditor with snews 17. Any idea ?
|
|
|
|
|
Logged
|
|
|
|
stephane
Full Member
 
Karma: 3
Posts: 142
|
 |
« Reply #41 on: May 28, 2009, 12:52:43 PM » |
|
A little up  Problem resume : When I remove in function file_include <?php if(substr_count ($fulltext, '&')>0){$fulltext = str_replace('&', '&', str_replace('&', '&', $fulltext));} ?>
I got correct htmlentities in extra content (accents, &, etc...) BUT I got an incorrect & in function center. If I don't remove the above sentence in file_include I got incorrect htmlentities in extra BUT correct & in center Strange isn't it ?
|
|
|
|
|
Logged
|
|
|
|
stephane
Full Member
 
Karma: 3
Posts: 142
|
 |
« Reply #42 on: June 06, 2009, 10:26:22 AM » |
|
Hello, Problem solve, for the moment  I found in my function articles a missing statement. file_include(str_replace('[break]', '',$text), $shorten); should be : file_include(str_replace('[break]', '',str_replace('&', '&', $text)), $shorten);
I also add the Mod jump link for the read more function and everything seems working good  file_include(str_replace('[break]', '<a id="jump"></a>',str_replace('&', '&', $text)), $shorten);
|
|
|
|
|
Logged
|
|
|
|
ufoss
Newbie
Karma: 0
Posts: 8
|
 |
« Reply #43 on: October 20, 2009, 11:18:00 AM » |
|
i have a error image upload Please check the "editor/filemanager/connectors/php/config.php
have can i solve that
Thanks
|
|
|
|
|
Logged
|
|
|
|
ufoss
Newbie
Karma: 0
Posts: 8
|
 |
« Reply #44 on: October 20, 2009, 12:00:31 PM » |
|
i have a error image upload Please check the "editor/filemanager/connectors/php/config.php
have can i solve that
Thanks
I solved issue Solutions is Enabling the connector To enable the connector simply open the file "editor/filemanager/connectors/php/config.php" under your FCKEditor root and locate the following line: $Config['Enabled'] = false ; Change it to this: $Config['Enabled'] = true ;
|
|
|
|
|
Logged
|
|
|
|
|