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

TOPIC:

[SOLVED] Problem with filters 10 Oct 2011 15:56 #181

  • doob
  • doob's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 22
  • Thank you received: 2
Cook generate bad code for filters...
<?php echo JHTML::_('select.genericlist',  $this->filters['date']->list, 'filter_date', " 'onchange' => 'this.form.submit()'", 'value', 'text', $this->filters['date']->value);?>
there should be :
<?php echo JHTML::_('select.genericlist',  $this->filters['date']->list, 'filter_date', " onchange = 'this.form.submit()'", 'value', 'text', $this->filters['date']->value);?>

in ./components/com_calendar/views/events/tmpl/default_filters.php

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

Last edit: by admin.

Re: Problem with filters 12 Oct 2011 04:32 #204

That is true man... the onchange be encapsulated with ' ' makes the script not work right... good catch...
Paulo Griiettner

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

Re: Problem with filters 13 Oct 2011 17:39 #225

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
How did you do this ?

This call to instance filter is deprecated since v1.2.

Combo boxes are now handled with JDom.

'onchange' => 'this.form.submit()'

This code (with '=>') should be a declaration inside JDom.

There is a confusion here. Please tell me from wich component and wich layout you got it.
Thanks.
Coding is now a piece of cake

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

Re: Problem with filters 13 Oct 2011 17:53 #226

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Ok, it got it.

The problem come from enumerations.
Will be solved in next version.
Coding is now a piece of cake
The following user(s) said Thank You: doob

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

Last edit: by admin.

Re: Problem with filters 14 Oct 2011 18:17 #243

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Solved since version 1.3.3
Coding is now a piece of cake

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

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

I would like to Thank you for the Speed and the Quality of your work.
Pantelis (Forum)

Get Started