Messy way to do it:
Open
loadenv.php

Find:
$config_version_name    = "CuteNews v".VERSION;
Change it to what you want.
$config_version_name    = "My Website";

It uses skins>base_skin>default.skin.php
to display the header-text
<div class="header">{header-text}</div>

The cutenews Authors have already added ckfinder to the plugins.
It runs in demo mode unless you buy a licence.

Cutenews uses a flatfile database. It does not use MySql.

One cause of this is when your script is attempting to access a file outside your allocated webspace. It can be caused if php is running in safemode. Some hosts use open_basedir for adding security to shared webhosting servers. Ask your host to fix this.Try using a relative filepath to the include instead of an absolute one.

include("CuteNews/show_news.php");

Also check your cutenews path in configurations.

81

(5 replies, posted in Problem Solving / Help & Support)

Thanks for this info Damoor, unfortunately in 1.5.3 CKEditor doesn't appear to have a file "ckeditor skins>base_skin>index_cke.tpl"  I've looked in the directories but can't find this file.

The template is in addnews and editnews/editnews

i.e. skins>base_skin>addnews>index_cke.tpl

Updating cutenews will not delete your existing posts provided you do not overwrite anything in your cdata folder.

Ckeditor does not currently support javascript entry.
Ckeditor is an add-on to cutenews. Try the ckeditor forum to see if they have a way round it.

84

(5 replies, posted in Problem Solving / Help & Support)

The size of the window can be found in the template for the ckeditor
skins>base_skin>index_cke.tpl

The parameters are passed to ckeditor in:

 var settings =
         {
             skin: 'v2',
             width: 680,
             height: 350,

There is also a setting above:

<td align="right" valign="top">
 Short Story</td>
         <td> <textarea style="width: 680px;" rows="12" cols="74" id="short_story" name="short_story" tabindex=4>{$short_story}</textarea> </td>


Which ckeditor seems to ignore.

There is not a lot that the authors of cutenews can do about this. It is a problem with CK editor and Explorer 10.
The CKeditor forum suggests that you use:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
or <!DOCTYPE html>
or force IE10 to use Standard mode via F12

Another reason why I don't use IE.

Which version are you using? I also have used cutenews since the very first version. The latest version is the best yet.
I have three websites running 1.5.3 on three different servers. All work perfectly. As does version 1.4.7 on yet another server and 1.5.2 on another.
You say you have not changed anything but if cutenews has suddenly stopped working then something has changed. Has your server been updated? The version of PHP upgraded?

87

(2 replies, posted in Problem Solving / Help & Support)

Update your server PHP.
https://cutephp.com/forum/index.php?showtopic=25853

Is $config_use_wysiwyg = "ckeditor";
being set in your cdata/config.php file?
Download a copy and look.
Check the write permissions on this file.

The simplest solution is to ask your host to update your version of php.
Then use cutenews 1.5.3.

Bump on this,  nobody?  Nothing?  Has anyone else used hte SHA256 hash function?

Thx

You should not need to install this into cutenews.
What error message were you getting when you were told to install it?

The hash function should be implemented in your php install on your server.
Ask your host to enable hash support.

It is more usual to extract the zip first then upload the cutenews folder.
Where did you upload it? To a folder in your your public_html folder?
Give more details as to exactly which steps in the instructions you followed.

The version 3.6.6.1 of ckeditor here:
http://ckeditor.com/download

handles the paste from word by correctly opening a text paste box.
Replace the version in core/ckeditor with this version.

You do not need to copy across pastefromword. It is already there.
Copy across any other plugins that you have installed and are not already there.
The "It was not possible to clean up the pasted data due to an internal error" still remains.

Thanks for the help! It's solved when I deleted the .htaccess file in ckeditor


That's good to hear.

On final thing to try:
Download a legacy version of cutenews 1.5.2 and upload its copy of skins/base_skin/addnews/index_cke.tpl
just to check that the problem is not with the new configuration panel.

Have tried deleting and uploading a completely new core/ckeditor ?

The same problem occurred when I tried to add in a toolbar option.
The option to change the ckeditor toolbar is broken. It you attempt to change any of the options it will fail and the toolbar will not display.
Try this:
Upload a new copy of skins/base_skin/default/ckeditor.options.tpl
If you have changed the addnews/index_cke.tpl then upload a new copy of that also.
Go to the options>System Configurations and deselect ckeditor in 'Use WYSIWYG Editor'.
Save Changes
Now reselect ckeditor.
Save Changes
Now retry add news and see if the toolbar appears.

The toolbar will also fail to appear if you add in a toobar option and it cannot find the plugin that goes with it.

Hi

I have read Damoors text and I got this messege:
"It was not possible to clean up the pasted data due to an internal error"

How do I get ride of this?

If all you want to do is paste word text without removing the formatting then this can be ignored.
I have not found out why this error is occurring. It is something to do with configuring ckeditor to filter out word formatting.
(A quick google has revealed that it is a bug in ckeditor that was patched in later versions.)

I cannot get the built in CKeditor configurations to work so I have just tested by changing the index_cke.tpl:

Open skins/baseskin/addnews/index_cke.tpl

Find:

entities_greek: false,


add underneath:

extraPlugins: 'pastefromword',

Find:

 toolbar: [ {$config_ckeditor_customize} ],

and put back all of your toolbar options.

toolbar: [
                  ['Source','Maximize','Scayt','PasteText','Undo','Redo','Find','Replace','-','SelectAll','RemoveFormat','NumberedList','BulletedList','Outdent','Indent'],
                  ['Image','Table','HorizontalRule','Smiley'],
                  ['Link','Unlink','Anchor'],
                  ['Format','FontSize','TextColor','BGColor'],
                  ['Bold','Italic','Underline','Strike','Blockquote','PasteFromWord'],
                  ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
  
              ],

Do the same for the editnews index_cke.tpl

You should now be able to mark and copy text from a word file then press ctr+V in ckeditor.

This is not the best way to do this. Cutenews_support seem to have added an option to change this but they need to explain how the cutenews configurations for ckeditor works.

It's so hard for me...
Support_Team, could you add 'Paste Text From Word' in Cute News, please???

I have now tested the plugin and it works.
I have done this by adding the plugin into ckeditor/plugins
Then:
extraPlugins: 'pastefromword'
and
toolbar: ['PasteFromWord'],
directly into index_cke.tpl.
You can then paste text from word using ctrl+V and the formatting is retained.
System Configurations > Customize Ckeditor does not seem to work.
The variable $config_ckeditor_customize seems to be used to allow changes to be inserted into index_cke.tpl from the System Configurations.
Support_Team need to explain how to use this function.

In the CKeditor plugins directory.
You then need to add into the addnews and editnews index_cke.tpl the code
extraPlugins: 'pastefromword',

I have not tested this so good luck.