Using search bar to return actual page contents not the link
Autore: Mark S.
Visite 993,
Followers 1,
Condiviso 0
Hi, i am thinking about building a local business directory and need to find a solution where the search button returns the query rather than just the link..... sort of like a trip advisor if you like, where for instance a user could type in 'Painters & Decorators' and the results returned would be the list of painter and decorator business that i have added. In theory i would have a page such as www.localtraders.com/painters-and-decorators and within that page would be all the different business under that heading. So looking for results rather than just the link, cant seem to get it to work or find any JS or PHP code to work...
Postato il
Hello.Try Google site search.
Hello Mark
Another way could be to use a simple database solution.
I have an example here : http://eksempelsite.dk/side-4.html
You can make a quick search on text that is also part of the detail description. And then you can make a search where you search for a branche - the definition of branches you can specify yourself. The branches will appear in a drop-down. You can also search for date-intervals and texts in other fields.
You can also shift to advanced search-mode where you can search on all fields in the table and with the criterias the users want.
In the table you can have external links, and when a record is clicked you will have a detail view with description for the firm. In here you can have links, formatting and images.
As you can see it can be integrated in X5 wia iframe.
All is made with the databse tool AppGini. If you want some more information what is possible and what is not possible you can contact me here : http://calendarforum.dk/contact.html or you can search for more information here : https://bigprof.com/appgini/
If you click on "Darum Kultur & Fritidscenter" you will see a short description with links and image.
There is also a link to their own website. You could have links to a a X5 page in your own site.
There is also made some special about the linnks to Google maps.
Another way could be to use a searchable map. https://pindown.eu/demo01/pindown.php
Imagine that the Marker type was business/branches types. You could then select on a business type and/or you could also make a free-text search.
I think this would be the best solution for you. There is a new version of the PinDown that has even more functionality.
Try toggling between "List view" and "Map view" In list view you can click an image and then you will be directed to the place. You can hover or click a marker. And..and and..
Hello again Mark
It seem that there is no interest - but here is a new suggestion anyway :
You could use the blog. Here you can use categories. You can then show a short description, images and other things. In the desdcription you could put a link to either your own page for the subject, and/or to an external page.
Autore
Thanks everyone for your input, in the end it was quite easy. A modified imsearch.php file did the trick :-)