Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Text editor, extra buttons like Article and Image 16 Jan 2012 12:33 #1008

When you edit an article in Joomla, underneath the ArticleText you will find buttons like Image, Article and Read more. The Cook component will not display these buttons by default for Rich text fields.

How to display these buttons: edit file admin\dom\html\form\input\editor.php
Change line
$html = $editor->display($this->dataKey, $this->dataValue, $this->width, $this->height, $this->cols, $this->rows, false);

Into (false -> true):
$html = $editor->display($this->dataKey, $this->dataValue, $this->width, $this->height, $this->cols, $this->rows, true);

If you want to display only certain buttons you have to change some more code, just check the Joomla category and article components in the administrator part on how to hide/display buttons.
Molenwal1 Webdesign
www.molenwal1.nl

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.069 seconds
  I still don't believe he can really be human to do all this ! From all of the forums that I've ever participated in this is certainly the one that most encapsulates the feeling of being truly open source where everyone's opinions and contributions can and will shape the development of the service! It's truly awesome! Hope you enjoy cooking and look forward to reading and contributing to any of the editorial work that you proposed too!! Thanks
Gez (audibleid - JED)

Get Started