Forums

simply filter

nataw 02 Aug, 2015
Ii Im learning chrono connettivity
I would create a filter in front end that it shows records of data base
I have a simply db with fild : id, nome, ciao
I have post in model title in chronoconnettivity : article
I have post name db in table name
Than i have insert in front list=>filters: article.ciao

Than in searchable : article.nome
article.id

I have insert this code in list display:
<input type="text" name="srch" placeholder="search...." class="form-control A" />
<br>
<input type="text" name="fltr[Article][ciao]" placeholder="1 or 0" class="form-control A" />
<br>
<input type="submit" name="submit" value="Submit" />

Why dont it work?

Thank for answer
GreyHead 03 Aug, 2015
Hi nataw,

What exactly doesn't work??

Bob
nataw 03 Aug, 2015
i fill the form and i click on submit button but it display nothing
GreyHead 03 Aug, 2015
Hi nataw,

It sounds as though there may be no <form> tags - Please post a link to the form so I can take a quick look.

Bob
nataw 03 Aug, 2015
this is the link: http://ventatour.altervista.org/joomla/index.php?option=com_chronoconnectivity5&cont=lists&act=index&ccname=filtro


Thank
GreyHead 04 Aug, 2015
Hi nataw,

There are form tags OK but it looks like there is a problem with the SEF URLs as the form action URL is
/joomla/component/chronoconnectivity5/?cont=lists&ccname=filtro
which probably isn't going to work.

I don't know how to over-ride this in CC. A menu item might do it. I suggest that you ask Max using the Contact Us menu above and linking to this thread to see if he has a solution.

Bob
This topic is locked and no more replies can be posted.