The control panel option to add/delete buttons in Ckeditor does not work for me.
You can add the button directly into ckeditor.options.tpl
i have not tried this addon so i do not know if it works

You need to add this in yourself.
The control panel has an option to add/delete buttons in Ckeditor with a link to those that are available.
http://docs.cksource.com/CKEditor_3.x/Deve...s_Guide/Toolbar
You need the one:
'PasteFromWord'
The addon in is here:
http://ckeditor.com/addon/pastefromword

There is a 'paste from word button'. Are you using this?

I don't understand what I have to do? Note that I assigned writable permission (777) to the folder cdata/ and to its files yet:

Some servers will not allow 777 and it will be ignored. Try 755 for folders  and 644 for files instead.
Some FTP programs claim to have set the permissions and indicate that they have but have not. On some servers the only way to set the permissions is to use the built-in control panel.

Try opening search.php
Look for

 $URL = $PHP_SELF . build_uri('subaction,id,archive,ucat', array('showfull'));

Change the $PHP_SELF to where you want the news to appear.
e.g.

$URL = 'http://www.mysite/searchresult.php' . build_uri('subaction,id,archive,ucat', array('showfull'));

It will need tweaking but might work.

Seems to be working perfectly now. I assume you fixed the problem.
https://cutephp.com/forum/style_emoticons/default/smile.gif

What problem are you gettng?You can only enter/edit php code in source view not in the wysiwyg mode.
http://ckeditor.com/comment/53526#comment-53526

108

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

Hi
Can not you put a link to the new version (1.5.3) when published. I'm sure that many of us think Github is very confusing. A simple link should be easy to put on the forum page.

/Lars

Github
Then ZIP.
https://cutephp.com/forum/style_emoticons/default/smile.gif

109

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

When i click on Manage Images the Filemanager(CoreFive) start but not the standard cutenews filemanager.

Here is a quick way to implement this.
1. Implement the installation of FileManager as in my previous post.
2. Rename inc/images.php to inc/oldimages.php just in case you want to restore it.
3. Create a new file called called inc/images.php and fill it with:

 <?PHP
  if (!defined('INIT_INSTANCE')) die('Access restricted');
  else
   header( 'Location: ./core/FileManager/index.html' );
  ?>


Note:
At your own risk. I have not fully tested it.
This will be overwritten when cutenews is updated so keep copies.

110

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

When i click on Manage Images the Filemanager(CoreFive) start but not the standard cutenews filemanager.

Do you mean that when you click on Options>Manage Uploaded Images
you want filemanager to start?
That's possible but  would require a change in the cutenews code. It could be done by adding it into cutenews options but that must be implemented by the cutenews progammers or it will be overwritten every time cutenews is updated. Also the cutenews manager would need to be used if you do not select the option to use ckeditor.

You can connect directly to FileManager by using:
adddess_to_your_website/cutenews/core/FileManager/index.html
But, you must log in to cutenews first to set the cookie and authorise access.

As the heading says, they are include parameters. They go into your include on the page where you show your news.

https://cutephp.com/forum/index.php?showtopic=765

113

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

I am not sure what you want to do.
If Filemanager is set to use the folder cutenews/uploads in "fileroot" then Main / Options / Manage  Images will use the same files but  only in the main directory. Filemanager can handle subdirectories.

114

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

Delete the comments code from the template that you are using.

115

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

Thanks  Damoor for the tutorial filehandling is now really easy   https://cutephp.com/forum/style_emoticons/default/biggrin.gif

little mistakes -->

Thanks Perry.
I have fixed this in the original post.
It took me FIVE attempts to post the code.
This forum kept throwing me out whenever I pasted the code from notepad, telling me I could not post in this forum, so I had to paste it line by line out of my dreamweaver code.

116

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

Integrating FileManager with CKeditor in Cutenews 1.5.2   
The FileManager project is here:
FileManager Project 
The latest FileManager can be downloaded from the link to Github here: 
FileManager Download    To integrate it with CKeditor: 

1. Unpack and Upload the FileManager folder to  cutenews/core/
(Note: I renamed the folder as  'FileManager')   

2. Make a copy of cutenews/core/FileManager/scripts/filemanager.config.js.default as:
cutenews/core/scripts/FileManager/filemanager.config.js   

3.Open cutenews/core/FileManager/config.js   
Set up the variable:  "fileRoot": false,    This should point to your folder for uploading files.  To use the default cutenews/uploads 
Use:

   "serverRoot": true,  "fileRoot": "cutenews/uploads/",  "relPath": false,

 
If you leave it as "fileRoot": false, then FileManager will use its default of FileManager/userfiles 
Make sure that you set the file permissions for this folder if you use it.   
The configurations can be found here: 
https://github.com/simogeo/Filemanager/wiki...figuration-file   

4. Open FileManager/connectors/php/filemanager.php 
Find:

 
       function auth() {
        // You can insert your own code over here to check if the user is authorized.
        // If you use a session variable, you've got to start the session first (session_start())
        return true;
      }

   

replace with: 

 function auth() 
      {
          
          if (isset($_COOKIE['session']) && $_COOKIE['session'])
          {
          return true;
          }
          else 
          {
          return false;
          }
          
      }

 

This checks for the cutenews cookie to prevent other users from directly accessing your FileManager.

5. Open cutenews/skins/addnews/index_cke.tpl
   find:

  filebrowserBrowseUrl: '{$PHP_SELF}?&mod=images&action=quick&wysiwyg=true',
     filebrowserImageBrowseUrl: '{$PHP_SELF}?&mod=images&action=quick&wysiwyg=true',
     filebrowserImageBrowseUrl: '{$PHP_SELF}?&mod=files&action=quick&wysiwyg=true'

   

Replace with: 

  filebrowserBrowseUrl: '/cutenews/core/FileManager/index.html',
    filebrowserImageBrowseUrl: '/cutenews/core/FileManager/index.html?type=Images',
    filebrowserFlashBrowseUrl: '/cutenews/core/FileManager/index.html?type=Flash',
    filebrowserUploadUrl: '/cutenews/core/FileManager/connectors/php/filemanager.php?command=QuickUpload&type=Files',
    filebrowserImageUploadUrl: '/cutenews/core/FileManager/connectors/php/filemanager.php?command=QuickUpload&type=Images',
    filebrowserFlashUploadUrl: '/cutenews/core/FileManager/connectors/php/filemanager.php?command=QuickUpload&type=Flash'

       

Make the same change in: 
cutenews/skins/editnews/editenews/index_cke.tpl   

You now have a working image manager. 

Allowed fileypes and configurable options can be found in:  FileManager/filemanager.config.js 

Note 1: Using the Images button restricts you to uploading images only. If you want to upload other files such as .pdf then you need to use the Link     button in ckEditor.  So far I have not got the quick image upload to work.   

Note 2:  If you update cutenews using the built-in updater then you will need to make the changes in addnews and editnews index_cke.tpl again as they may be     overwritten.   

Note 3:  To use flash, video, youtube, highslide, mp3 etc you will need to install the plugins into    cutenews/core/ckeditor/plugins    and add the options into the toolbar: 
e.g.  extraPlugins: 'youtube,mp3player,highslide,video,flash', 
['Image','highslide','Video','Flash','Youtube','Mp3Player'],
CKEditor plugins
Flash plugin
Video plugin

117

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

The standard Cutenews images manager is pretty basic and will only allow upload of images, unless you modify it.
There is a better file manager which is free and will allow the upload of lots of different files.
It was written specially for CKEditor as the standard CKFinder was not free.
FileManager Project
I have successfully embedded it into Cutenews 1.5.2.

This is not the Wordpress forum!

119

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

They will not upload if they are too big but it does not generate an error message!
Have you changed the allowed filetypes in inc/images.php?
The best way to upload and embed video is to implement CKfinder with the ckeditor video plugin.
(I assume you have downloaded and installed the ckeditor video plugin?)
I have tried this and it works.

120

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

Upload using which?
Cutenews or ckfinder?
Explain exactly what you are trying to do.

121

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

Its javascript so:
extraPlugins: 'video',

May work. I have not tried.

If you are going to upload files then you may need to implement the CKfinder.
https://cutephp.com/forum/index.php?s=&amp;...st&amp;p=156447

Also I have shown how to add highslide here:
https://cutephp.com/forum/index.php?showtopic=43344

122

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

It is initialised in the CKeditor templates.
The toolbar is set up in:
cutenews/skins/base_skin/addnews/index_cke.tpl
Lines 134 onwards
and
cutenews/skins/base_skin/editnews/editnews/index_cke.tpl
lines 154 onwards

The possible options are shown here:
http://docs.cksource.com/CKEditor_3.x/Deve...s_Guide/Toolbar

If you change this remember that the template will be overwritten whenever you use the cutenews update.

It's a template variable so open the template that you are using to display your news and add it where you have {date}.

124

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

Thanks peterdwdc. Just tested it and it seems to be O.K. now.

125

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

You may be disappointed. The fault came back for me again today. I got the error after editing a post .  The programmers have not quite solved the problem.

Posts found: 101 to 125 of 305

Pages Previous 1 2 3 4 5 6 7 13 Next

CutePHP Forums → Posts by Damoor