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.047 seconds

For starters it's just so easy to design an app in a way that I'm used to i.e. database first then views followed by customization. The fork system is pure brilliance from a developer standpoint as I can override things and still add and update my projects with minimal effort! Truly amazing to be able to build components in Joomla using incremental refinement without having to do everything by hand. Thanks for the great tool! I am so much more productive now than ever and I can't imagine building components any other way!!!!
Dave (Forum)

Get Started