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

TOPIC:

[FIXED] Filter searchbox on field Title, label Search %s 12 Mar 2012 11:35 #1556

I have a field Title in two tables, i want to set this as a search field in a collection in the back-end.

I changed the filter label of the search box into 'Title'

In the collection in the Sandbox the label 'Search %s' is used instead of 'Title'.

Search boxes with other labels are working fine.
Molenwal1 Webdesign
www.molenwal1.nl

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

Re: Filter searchbox on field Title, label Search %s 12 Mar 2012 12:32 #1557

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Wich PTL ? (project / table / layout)

You say that is not working only with the 'Title' string ?
If a specific search is affected, what about recreating it ?
Can you see a particular bug in the source code if you download it ?
Coding is now a piece of cake

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

Re: Filter searchbox on field Title, label Search %s 12 Mar 2012 13:06 #1558

Project: MW1 booking
Table: Main Property Language
Layout: Main Property Language

I found some more information in the default_filters.php of this layout:
<div class='filter_var_title'>
					<?php echo JDom::_('html.form.input.search', array(
											'domID' => 'filter_var_title',
											'dataKey' => 'filter_var_title',
											'dataValue' => $this->filters['var_title']->value,
											'label' => 'JSEARCH_TITLE'
												));


						?>
				</div>

The label is JSEARCH_TITLE, ik think it should be MW1BOOKING_JSEARCH_TITLE. The MW1BOOKING_JSEARCH_TITLE is not added into the language ini file.
Molenwal1 Webdesign
www.molenwal1.nl
The following user(s) said Thank You: admin

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

Re: Filter searchbox on field Title, label Search %s 12 Mar 2012 13:08 #1559

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Good catch
Coding is now a piece of cake

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

Re: Filter searchbox on field Title, label Search %s 12 Mar 2012 13:33 #1560

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Fixed.

Please regenerate.
Coding is now a piece of cake
The following user(s) said Thank You: molenwal1

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

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

Although I found this tool some time ago I just started learning experimenting and building this first component on Monday and now on Thursday afternoon it's already online. Although I already had a working version done with another tool this is much easier to build and at the end you have the freedom to own your own component. Once you know how to use Cook you will boost your productivity as the learning curve is really moderate compared to many other tools.
Giori (Forum)

Get Started