Llewellyn
  • Member for 7 years, 2 months
  • Last seen more than a week ago
I would like to add more custom batch widget, so how to set custom html helpers to the JHtml class
Accepted answer
6 votes

Okay I found the way that this can be done. In the helpers folder of you component you create a new folder called html and in it you place your file. Now using <?php echo JHtml::_('widget....

View answer
Let JForm-Fields be dependent on eachother
3 votes

Yes this is possible but is a major work around. Joomla has two required verification events. One in he browser and the other on the server just before saving of the form. The browser is the easy part ...

View answer
How do you encrypt configuration data?
2 votes

You can do this with a plugin I suppose, there are two events you would need to target. On save the event name is "onExtensionBeforeSave" and on loading the saved details "onContentPrepareForm" to ...

View answer
How to create a table with the repeatable field values directly under the button that opens the modal?
Accepted answer
2 votes

Well to do this you will need to add the following code to the footer of your edit.php file in the view folder. jQuery('input.form-field-repeatable').on('weready', function(e, value){ jQuery('....

View answer
Insert custom text to JCE using Javascript
1 votes

I think the better way is to use the Joomla.editors.instances You will be able to validate that it has the textAreaId loaded and then update with the setValue method. if (Joomla.editors.instances....

View answer
JToolBar custom button error
Accepted answer
1 votes

Okay a custom button only needs this string in the form. <input type="hidden" name="task" value="" /> The button posts to the controller and there you need to setup the method that this ...

View answer
Making repetable fields inline
1 votes

Well to do this you will need to add the following code to the footer of your edit.php file in the view folder. jQuery('input.form-field-repeatable').on('weready', function(e, value){ jQuery('....

View answer
Add error reason when overriding save function
Accepted answer
0 votes

The way JFactory::getApplication()->enqueueMessage() display the messages in the same sequence it gets it. So "your image..." message was added first and so it shows first. So the short answer is ...

View answer