I have a form to upload and submit to a database (which then displays in repeaters) I would like to add a #hashtag system to the uploads / repeaters so people can click them and find similar uploads (pretty much exactly the same as the system in this forum, but to bring up search results from my own database).
You can create a text field in your database and call it âhashtagsâ, for example. You can use JS split method to separate each individual hashtag to load them into a few text elements in your repeater.
Then, in these textâs onClick() function you can set a filter in your dataset that shows only database items in which the hashtag field contains the same hashtag value.
**There is an easier way to set this up (though less elegant, and a bit more cumbersome) where you can skip using .split() and instead just create multiple hashtag fields in your database, which will allow you to connect them using the GUI in the editor.
Hello David, I appreciate so much your replay, thank you very much for helping. Iâm going to try that tomorrow!
In the moment I have the wixblog connected to my repeater and would like to show one feed with all posts and their categories as hashtags. But i canât see the field âcategoryâ on the wixblog database (only on the painel). sĂł I canât set an element up on my repeater That brings the postâ name category. do you know if I would need to create another database in this case?
Iâm not sure if youâll be able to make this work with the blog appâŚyou might have to experiment with console.log() and getPost() to see how the hashtags are printed so you can use them in your code.
I typically avoid the blog app because it has too many limitations for my taste.