Announcement

  •  » Extensions
  •  » Multiple textarea problem in FCKEditor

#1 2014-07-27 15:10:36

ficici
Member
2014-07-27
4

Multiple textarea problem in FCKEditor

Hi.

  // Category edit
  if ($page['page'] == 'album')
  {
    $areas[] = 'mail_content';
    $areas[] = 'comment';
    $toolbar = $conf['fckeditor_toolbar_always_full'] ? 'Full' : 'Basic';
    $template->set_prefilter('album_properties', 'add_remove_button');
  }
does not work in notification but works in album properties page.

In gelenral, to make it work in multiple areas, change
  CKEDITOR.replace('{$area}');
to
  if(document.getElementById("{$area}") != null)CKEDITOR.replace('{$area}');
in fckeditor.tpl

Offline

 

#2 2014-07-27 21:02:14

flop25
Piwigo Team
2006-07-06
7037

Re: Multiple textarea problem in FCKEditor

Hello
the author is no more maintaining his plugin. Would you do the changes directly, if we grant access to the deposit?


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#3 2014-10-01 19:03:04

ficici
Member
2014-07-27
4

Re: Multiple textarea problem in FCKEditor

Oh sorry, i did not notice your reply. If I can, sure. Thanks

Offline

 
  •  » Extensions
  •  » Multiple textarea problem in FCKEditor

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact