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

I've evaluated lots of other Joomla Component Dev tools such as Shell Manager (J)enesis Danny's Joomla! 1.5 MVC Component Code Generator Marco's Component Maker and I must admit that I love what I see on your site! Lots of potential... Otherwise Great Job and keep up the good work!!!
Clifton (forum)

Get Started