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

Just wanted to congratulate you on the J-Cook website / web development tool. In a couple of visits I've had a play around with Cook and have to say I think it is fantastic.  I've played with a number of component builders in the past and yours is certainly looking like the best so far. I'd also like to help you spread the word - I'm really surprised more people aren't excited about this tool. Good luck with the project.
Dean

Get Started