PasteText not appearing in toolbar

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
marisafal
Forum Members
Forum Members
Posts: 29
Joined: Thu Mar 20, 2008 9:04 pm

PasteText not appearing in toolbar

Post by marisafal »

Hi - has anyone had an issue with the PasteText button not appearing in TinyMCE toolbar?  It's listed in my toolbar settings, but not appearing.  Can't seem to find how to resolve it.  Any advice welcomed.

Thank you!
marisafal
Forum Members
Forum Members
Posts: 29
Joined: Thu Mar 20, 2008 9:04 pm

Re: PasteText not appearing in toolbar

Post by marisafal »

Hi Mark - Thanks for replying.  Would you mind posting the path to this info.  I found the folders and there is a pastetext.htm file in the paste folder, but I have no idea if I'm in the correct place.  Path is below.  Am I supposed to move any of these files out somewhere else? 

modules>TinyMCE>tinymce>jscripts>tiny_mce>plugins>paste>

files include:
blank.htm
css folder
editor_plugin.js
images folder
js folder
langs folder
pastetext.htm
pasteword.htm


Thanks for your help
Pierre M.

Re: PasteText not appearing in toolbar

Post by Pierre M. »

Oups ?! CMSms 1.3 here, fresh test install.
Same issue : pastetext in the toolbar in the "toolbar" tab, but not in the Tiny toolbar. Same with added pasteword : nothing between cut and paste. The "plugins" tab has nothing named "paste*".
The ./modules/TinyMCE/tinymce/jscripts/tiny_mce/plugins/paste directory is almost empty : it has only a "langs" subdirectory. TinyMCE 2.4.0. I'm feeling stuck :/)

Pierre
Slagar
Forum Members
Forum Members
Posts: 19
Joined: Sat May 10, 2008 11:42 am
Location: Auckland

Re: PasteText not appearing in toolbar

Post by Slagar »

Pierre, TinyMCE 2.4.0? Don't you mean 3.0.8? At least, that's what mine is with CMS 1.3  :P
EDIT: Whaaat. Pierre, it should not only have "langs" folder - mine has the same as Marisafal  :o

Hmm, I have this problem too. I want PasteWord and PasteText, but neither of them are appearing.
It seems the whole "paste" plugin is broken and not being recognised, as there is no checkbox for it in the plugins tab. Anyone know more about this module or a way to fix it? :)
I'll play around myself, and let you guys know if I get it working.

I found this:
Make sure you have the 'paste' plugin included in your tinyconfig.php file.
I know in the past it wasn't included by default.

At around line 71 of /modules/TinyMCE/tinyconfig.php you should see something like:

Code:

$plugins="cmsmslink,fullscreen,advimage,simplebrowser,paste";


if paste isn't there then just add it in and that should do you.
... from an old post, but tinyconfig.php seems very different lol...
Last edited by Slagar on Fri Jun 13, 2008 4:53 pm, edited 1 time in total.
alby

Re: PasteText not appearing in toolbar

Post by alby »

Slagar wrote: I found this:
Look for this workaround, but in next version there is paste only

Alby
Slagar
Forum Members
Forum Members
Posts: 19
Joined: Sat May 10, 2008 11:42 am
Location: Auckland

Re: PasteText not appearing in toolbar

Post by Slagar »

Awesome, that works :)
Thanks Alby! :)

[solved]? ;)
Pierre M.

Re: PasteText not appearing in toolbar

Post by Pierre M. »

My ./modules/TinyMCE/tinymce/jscripts/tiny_mce/plugins/simplepaste/ folder is almost empty too : changelog.txt and
editor_plugin.js no *paste*.htm files like marisafal has.
SSH install, should be a reliable transfer... may be the end of the install had some timeout constraint ? I should reinstall to see this.

Pierre M.
Pierre M.

Re: PasteText not appearing in toolbar

Post by Pierre M. »

Some more info :

Code: Select all

tar ztf cmsmadesimple-1.3.tar.gz | fgrep TinyMCE | fgrep aste
outputs :

Code: Select all

cmsmadesimple-1.3/modules/TinyMCE/tinymce/jscripts/tiny_mce/plugins/simplepaste/
cmsmadesimple-1.3/modules/TinyMCE/tinymce/jscripts/tiny_mce/plugins/simplepaste/editor_plugin.js
cmsmadesimple-1.3/modules/TinyMCE/tinymce/jscripts/tiny_mce/plugins/simplepaste/changelog.txt
cmsmadesimple-1.3/modules/TinyMCE/tinymce/jscripts/tiny_mce/plugins/paste/
cmsmadesimple-1.3/modules/TinyMCE/tinymce/jscripts/tiny_mce/plugins/paste/langs/
cmsmadesimple-1.3/modules/TinyMCE/tinymce/jscripts/tiny_mce/plugins/paste/langs/LOTSOFCOUNTRIES_dlg.js
Could the install of Tiny have failed at the end of the wizard ?

Pierre
Slagar
Forum Members
Forum Members
Posts: 19
Joined: Sat May 10, 2008 11:42 am
Location: Auckland

Re: PasteText not appearing in toolbar

Post by Slagar »

Pierre, examining the 1.3 install files, the "paste" plugin does only have "langs" folder, and "simplepaste" has the same as what your log displays - so your install is correct.

When you upgraded to 1.3, did you remove your old install files first?
For me, when upgrading to 1.3, I did not delete the install - I just chose to overwrite the old files with the new ones. It sounds like marisafal did the same, that is why we had more files than you - our extra files were there from 1.2.5 (oops!).
If you download the files from that other thread that Alby posted, it should work for you too :)
Last edited by Slagar on Fri Jun 13, 2008 5:37 pm, edited 1 time in total.
marisafal
Forum Members
Forum Members
Posts: 29
Joined: Thu Mar 20, 2008 9:04 pm

Re: PasteText not appearing in toolbar

Post by marisafal »

Thanks to all who replied - Alby's workaround was just the fix needed.  Please see his post for more info.
GDS
Forum Members
Forum Members
Posts: 81
Joined: Sun Feb 18, 2007 1:26 pm
Location: Norway

Re: PasteText not appearing in toolbar

Post by GDS »

I have done the following adaption for
CMS made Simple 1.31 and TinyMCE 2.4.2:

First, I copied the paste folder in the tiny_mce/plugins directory (as described by Alby)
Then I made this change in the file TinyMCE/action.defaultadmin.php

# in line 172, removed "paste",
$exclude = array( '.', '..', 'readme.txt', 'cleanup', 'autosave','safari','table',"index.html","cmsmslink","simplepaste");

Now, the plugin will show up in the plugins tab.
select it, and then add the needed commands in the toolbar tab.
(pastetext,pasteword,selectall,)

GDS
Pierre M.

Re: PasteText not appearing in toolbar

Post by Pierre M. »

GDS wrote: in the file TinyMCE/action.defaultadmin.php

# in line 172, removed "paste",
$exclude = array( '.', '..', 'readme.txt', 'cleanup', 'autosave','safari','table',"index.html","cmsmslink","simplepaste");

Now, the plugin will show up in the plugins tab.
select it, and then add the needed commands in the toolbar tab.
(pastetext,pasteword,selectall,)
Hello,

on the 1.3 install I was testing on, I confirm removing "paste" from the "$exclude = array();" line makes the plugin show up in the plugins tab.
But to make the change to the toolbar tab take effect... I should use 1.3.1+

Pierre M.
Post Reply

Return to “CMSMS Core”