Joomla, create custom php page that list some results

127 views Asked by At

I try to create a custom results page for my custom entities (database). So, i have in home page a search box, the form have to redirect to this "custom" page.

What is the preferable way to accomplish this?

I tried to add new php page to my template, but how can i achieve SEF url in this way?

1

There are 1 answers

2
Michel On

Not specially the best way, but a simple one :
For displaying results, you could create a Menu-item containing an Article.
The search box form would be submitted to this Menu-item. In order to process these data here, you could use an plugin like Sourcerer allowing to write PHP in Articles, Modules, etc.
This solution using Menu-items, it would be SEF compliant,