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

TOPIC:

Anderstand Filter process 18 Jun 2017 13:14 #15219

  • liubov
  • liubov's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 279
  • Thank you received: 36
Hi Admin,

I am looking for the code/process that handle and apply the "default.filters" define in the models/form/ *.xml
I 've added default="1" to filter the default Race id=1 and that works fine :) to display this filtered collection ...
<fieldset name="default.filters" addfieldpath="/administrator/components/com_jbreeding/models/fields">
	<field name="filter_id_race"
		listKey="id"
		labelKey="value"
		type="ckcombo"
                default="1"
		submit="true"
		nullLabel="JBREEDING_FILTER_NULL_RACES"
		class="span-2 element-filter"
		label="JBREEDING_JSEARCH_RACES"
		ui="chosen"/>

I just want to know where is the function responsible of this xml reading ?

Thanks,
Marc

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

Last edit: by liubov.

Anderstand Filter process 18 Jun 2017 13:35 #15220

  • liubov
  • liubov's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 279
  • Thank you received: 36
posted too fast !

I've found the function :
public function getForm($instance = 'default.filters', $loadData = true, $control = null)

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

  • Page:
  • 1
Time to create page: 0.051 seconds

Really great Joomla tool Cook is a great piece of kit for creating Joomla components. It uses a drag-n-drop interface to build tables and fully featured pages. You can test your component in a sandbox before downloading it packaged up ready to install. The developer is responsive on the support forum.
Twev (JED)
          

Get Started