Cms - repeater (repetidor en espanol)

Hello everyone, for a few weeks now I have not been able to solve the following problem, clearly I am not a programmer.
On my website I have generated a repeater from the CMS that filters the searches. Here comes the question: once I filter a search, is it possible to generate a link (url) from that search?
(I couldn’t find the solution on the web)
thank you!

Depends on your setup.

There are many ways of how to create your wished functionality.

  1. Where is your code?
  2. Or did you use wix-out-of-the-box-stuff only?
  3. Datasets + connections + property-panel-settings?

Without knowing anything about your setup, anybody will help you the right way.

Thank you very much for responding so quickly, the entire construction of the website is with standard WIX elements. I don’t know how to program, I never wrote a code for anything.

image 001: with the upper tabs I filter the search I want to perform

image 002: as an example I choose an architecture office

image 003: is filtered to the work of that architectural office. What I would like to achieve is to generate a new and specific URL (link) for that (filtered) search. That is, the “https://www.bernardorosello.net/mab” does not remain, but rather, as an example, “https://www.bernardorosello.net/mab/abalosyherreros

Hey Bernardo,

I got what you’re trying to achieve.

This functionality can be implemented using Wix Velo. For that, you will need to have some knowledge about Javascript and Velo.

The URL will look something like this:

https://www.bernardorosello.net/mab?designer=Alfred%20Roth

This URL will change based on the dropdown values that you select, for example:

https://www.bernardorosello.net/mab?designer=Alfred%20Roth&city=Oxford&technology=concrete

If you’re willing to give this a try, I will be happy to assist you with the code. And if coding’s not your thing, feel free to get in touch with me on https://preztech.editorx.io/lightning/ur/zed-velo if you wish to collaborate on this. :slight_smile:

1 Like

Like Pratham already mentioned —> your wished functionality is of course doable.

You may want to read the following…

  1. wix-location-frontend - Velo API Reference - Wix.com

  2. wix-router - Velo API Reference - Wix.com

…these are the 2 APIs you should take a look on, to be able to fullfill your wished functionality.

For example your BASE-URL could be like …

import wixLocationFrontend from 'wix-location-frontend';

// Premium site URL: "https://www.domain.com/elephant?species=african-elephant"
// Free site URL: "https://user_name.wixsite.com/zoo/elephant?species=african-elephant"

let baseUrl = wixLocationFrontend.baseUrl;
// Premium site: "https://domain.com/"
// Free site: "https://user_name.wixsite.com/zoo/"

in your case —> https://bernardorosello.net/

So a part of your URL already constructed.

—> mab/ <— will be either the path or the prefix —>

EXAMPLE: (path)

import wixLocationFrontend from 'wix-location-frontend';

// Premium site URL: "https://www.domain.com/elephant?species=african-elephant#desc"
// Free site URL: "https://user_name.wixsite.com/zoo/elephant?species=african-elephant#desc"

let path = wixLocationFrontend.path; // ["elephant"]

EXAMPLE: (prefix)

import wixLocationFrontend from 'wix-location-frontend';

// Premium site URL: "https://www.domain.com/mammals/elephant?species=african-elephant#desc"
// Free site URL: "https://user_name.wixsite.com/zoo/mammals/elephant?species=african-elephant#desc"

let prefix = wixLocationFrontend.prefix; // "mammals"

So step by step you generate a dynamically URL.

At the end you will add the values of your FILTERS (for example takeing them from the dropdowns or which elements you ever use.)

1 Like

Maybe you want to give Pratham the opertunity to work for you.
He is searching for a job and you are searching for a free coder.

Pratham and russian-dima, I greatly appreciate your solutions, I don’t usually write on forums, and I was honestly hesitant to get any response. I see that in this activity there is an altruistic culture.
Unfortunately I am ignorant when it comes to Java and Velocity (my thing is architecture… physical architecture :upside_down_face:…) and I make this blog for students of public and free universities (mainly in South America). I am a teacher in one of them.
I doubt I will be able to implement it, but I will try…I will keep you informed. Thanks again.

2 Likes

It’s all about time → the more time you invest → the more success you will have.

1 Like

Hello Pratham, how are you? I return to the issue consulted in December, since we have not yet been able to resolve it. As I told you, we are a group of architects with no programming knowledge.
Before wasting your time, I want to tell you that unfortunately we cannot pay for your service, since this is a blog that we do ad honorem for all students and young architects who graduate from our public universities in South America. On the other hand, I can propose that your intellectual authorship be registered on our blog as a code programmer, as long as this advertising is of interest to you.
That said, if this proposal is possible for you, I would love to move forward with you on this topic.
Kind regards!

So you want to navigate to a dynamic page URL by using a dropdown element?

Have you tried my tutorial?

1 Like

Hi Bernardo,

I love the fact that you’re doing this ad honorem for university students, and given that a lot of great things in the world would not have been possible without free, open-source knowledge and tools that are available out there, I’m willing to make my little contribution to the same. Please get in touch with me using the same link that I’d provided earlier and let’s make this work! (:

1 Like