Get EasyTable Pro !

Get a Subscription for EasyTable Pro!
(
The current version is emailed to you when your subscription is payed.
Existing Subscribers can download here

Saturday May 19 , 2012
Font Size
   

Adding a search to a table URL

In addition to filtering a table via it's menu you can add an extra parameter to the end of the URL to your table. ( Note this is for links external to EasyTable Pro, it's handy for links in articles or map modules that allow you to set links for regions of the map or just simple image maps. )

Unlike filtering this acts like an initial search parameter and appears in the seach input box on the page. Just like a normal search the user can click "Reset" and reveal the rest of the records in the table.

The best way to understand this is to see it. The first link shows you the standard table with starting with the first 5 records.

Link to US Presidents table on our reference site: http://j15ref.craigphillips.biz/us-presidents.html

The next link is the same except it has etsearch=andrew added to the end of the URL:

http://j15ref.craigphillips.biz/us-presidents.html?etsearch=andrew

Note the ? before the parameter this denotes the end of the URL and the beginning of parameters the web application can use.

Now if you're not using Joomla's SEF functions your initial URL might look like this:

http://j15ref.craigphillips.biz/index.php
option=com_easytablepro&view=easytable&id=123&sort_order=ASC&filter_type=LIKE&sort_field=3282
&filter_field=0&Itemid=83

(Please note for readability we've broken the URL over several lines - a URL doesn't have carriage returns in it.)

As this URL has parameters in it already

http://j15ref.craigphillips.biz/index.php
option=com_easytablepro&view=easytable&id=123&sort_order=ASC&filter_type=LIKE&sort_field=3282
&filter_field=0&Itemid=83&etsearch=andrew

Note the & that proceeds our etsearch parameter, this is because it's not the first parameter after the URL, it's literraly say to the server "and" this parameter.


RSForm! Pro by RSJoomla!


RSForm!Pro is a powerful Joomla! form creator, helping you to create custom forms in minutes. The new product makes form management much easier and gives you the time to handle your clients better.

For only €19.00 how can you go wrong?
 ( We've used it for years... Shouldn't you? )

Member Login