I am unable to get the blockquote plug in to work correctly. I have managed to get other plugs ins (youTube, drupalimage, drupalbreak) to work, but blockquote is being stubborn.

I copied the blockquote plug in to the tiny_mce/plugins directory, and then edited plugin_reg with the following code:

  $plugins['blockquote'] = array();
  $plugins['blockquote']['theme_advanced_buttons2'] = array('quote');

.

I enabled [""] - blockquote under TinyMCE Admin pages.

When I go to a dialog box that should use TinyMCE, this one plug in doesn't show up. Has anyone else gotten it work and have advice? Thanks!

Comments

PRFB’s picture

No answers, but I'm interested in this one too.

shmooth’s picture

same problem, here, but i never saw these instructions for how to install blockquote.

the bottom of the blockquote.zip plugin readme has this:

tinyMCE.init({
    theme : "advanced",
    mode : "textareas",
    plugins : "blockquote",
    blockquote_clear_tag : "p",
    theme_advanced_buttons1_add : "blockquote",
});

similar stuff shows up in the tinymce_[x].js files, but the few combinations i tried did not work.

m1mic’s picture

Status: Active » Postponed (maintainer needs more info)

I might be a little bit confused on this one, but blockquote comes with TinyMCE already (the tooltip calls it indent). When going to the TinyMCE Wiki Plugins page, I am not seeing a download for blockquote. Which version of Moxie Code's TinyMCE code are you running (current version is 2.1.2)?

metabits’s picture

I have the same problem... After installing and activating blockquote. the button doesn't show at the editor...

Did any of you solved it?

And about the plugins list...

http://sourceforge.net/tracker/?atid=738747&group_id=103281&func=browse

gives you the full list, including blockquote.

psc

ilbeppe’s picture

Version: 5.x-1.x-dev » 5.x-1.9-1

I have the same problem!

ryooki’s picture

I recently got it to work after upgrading my drupal install. I redownloaded all the modules, and somehow I got it to work for me after inserting the following code in plugin_reg.php. I don't see any difference with the code listed at the beginning tho. hm...

$plugins['blockquote'] = array();
$plugins['blockquote']['theme_advanced_buttons2'] = array('blockquote');
zeta ζ’s picture

Status: Postponed (maintainer needs more info) » Fixed

The difference is the last word quote—blockquote. Does this need a patch or documentation? I’m guessing that ryooki fixed this in #6.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

gcassie’s picture

I just wanted to make a note of how I got this plugin working. I'm using 0.2 of blockquote, 3.1.0.1 of TinyMCE library, and 5.x-1.9 of the TinyMCE module.

Add this to plugin_reg.php:

$plugins['blockquote'] = array();
$plugins['blockquote']['theme_advanced_buttons1'] = array('blockquote');
$plugins['blockquote']['blockquote_clear_tag' ] = array('p');

In the editor_plugin.js of the blockquote plugin, I commented out tinyMCE.addPlugin("blockquote", TinyMCE_BlockquotePlugin); and tinyMCE.importPluginLanguagePack('blockquote', 'en');. The plugin will still work without these it seems, and having them enabled causes errors.

dan_aka_jack’s picture

Version: 5.x-1.9-1 » master
Status: Closed (fixed) » Active

A quick update:

I'm using Drupal 6.4;
v0.2 of the blockquote module;
6.x-1.1-dev of the Drupal TinyMCE module (from March 31st 2008) and
v3.1.1 of TinyMCE

Out of the box. there was a "blockquote" option available in the "Edit TinyMCE profile > Buttons and Plugins" admin page. Enabling this option did nothing.

So I downloaded the TinyMCE blockquote module and installed it in the plugins directory.

This still didn't activate the blockquote button.

So I entered the additions to plugin_reg.php given kindly by gcassie in comment#9. This successfully installed the blockquote button and functionality (without any errors)! Thanks! I didn't have to comment anything out in editor_plugin.js of the blockquote module.

Perhaps this is really an issue which should be launched with the TinyMCE developers but I definitely think that the option to enable a "blockquote" button should be available out-of-the-box given how frequently quoting is used in blogs and forum posts.

As a side note: weirdly, I couldn't download blockquote.zip using Firefox3 on Ubuntu (I kept getting "unexpected end of archive" errors) but I downloaded the file fine using Firefox3 on WinXP SP2.

dan_aka_jack’s picture

Status: Active » Needs review

Marking as "patch (code needs review)" because we have a working fix... I guess we just need to figure out if it's possible to bundle the blockquote module with the Drupal TinyMCE module???

Also, in tinymce.module, the $buttons = array( declaration on line 451 needs to have , 'blockquote' removed because that default button no longer works.

nicoloye’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)