As much as I love you guys (Ziv & Yoav), lol, I have tried & tried to decipher this (simple) code yet I have not been successful. Let me explain why (and what I mean) …
(1) “We’ll set up a search page with text input, button, and table for results” - DONE! I got this part. But that’s about it.
(2) “If your collection has item pages, We’ll set the table to link to the item pages.” - HOW? Do you mean something in the code you provided performs this ‘linking’ (can you please point it out), OR do you mean we should be changing the settings on the table somehow (because maybe it was in an article we should have read already)? I do not understand HOW the table and the item pages are linked together.
(3) “We do not connect any of the elements to a dataset.” Got it!
(4) The code …
There are sooooo many articles with exact code examples, just like the one above, for us to use. Now remember — 99% (or maybe slightly less) of the designers on here have ZERO (absolutely ZERO) knowledge of what even a FIELD KEY is, or means, or “looks” like. Most (like me) also don’t know WHAT part of the code needs to be ‘edited’ to match OUR fields/elements on OUR page.
Now … me … I am ASSUMING that somewhere in those green colored letters I probably should be typing in something from MY page. But WHERE do i get that something. I don’t know.
When I activated the Properties Panel, and started playing with the names and blank spaces under “Events” … (or anything that I changed, basically) … suddenly code started to appear at the bottom of my page … Why? lol ---- I don’t know. But I again, assumed, I was supposed to delete it. So I did.
I appreciate that Wix employees are giving us the "exact code’ for specific requests/functions we (designers) are looking for. But when we have a lot of “i don’t know’s” ----- It kind of discourages us from trying any further. (And that’s how you get the designers that say things like “Well why doesn’t Wix just MAKE the search button so WE don’t have to figure it out”)
I don’t want WIX to build the button FOR me. I want to LEARN how to do it myself. But … I feel there is a lot of missing information simply because as developers … you think like developers … and not teachers.
Conclusion to my story (sorry so long), can someone please guide me and explain where to get the data to fill in that code to customize it? (Pictures help …a LOT ---- that’s why I created videos for others to use because they couldn’t understand Text. Designers … visual learners … who’d of thunk it. LOL.)
Thank you. <3