SOLVED: Internal Link - URL parameters - dynamic data doesn't populate

running Bricks v1.10.3

When trying to link to an internal page/post with URL parameters that contain dynamic data, the fields don’t populate the values.

Here is the url parameter:
?prop={mb_property_community} lot {mb_property_lot_id}&link={post_url}

If I use an internal link, it produces the following link on the front-end:
https://roatan-new.fizzpop.dev/property-inquiry/?prop=mb_property_community%20lot%20mb_property_lot_id&link=post_url

It seems to populate the label and not the actual value

image

However, if I change the link to be custom URL and append the URL parameters, it works correctly by filling in the values correctly.

image

I can confirm this bug, i experienced it while using it in a popup template, had to switch to custom URL

Same bug for me ! Dynamic data doesn’t work inside URL parameter of internal page.

Hi all,

thank you for your reports.
We are aware of it and we already have a fix for this. Should be available in the next version. We will update this thread once this will be implemented.

Thank you and best regards,
M

2 Likes

Hi guys,

We’ve fixed this issue in Bricks 1.11 BETA, now available as a manual download (Bricks – Account)

Please let us know if you are still experiencing issues.

You can see the full changelog here: Bricks 1.11 Changelog – Bricks

As with any beta release, please do not use it on a production/live website. It is only meant for testing in a local or staging environment.

Best regards,
Matej

1 Like

Hi !

I’m on 1.11 and still doesn’t work for me ! To be more precise, I tried some dynamic data inside URL parameter and they work but “{echo:my-function}” doesn’t work.

Cheers !
ClemJam

Hey @ClemJam,

works for me. Did you whitelist your echo function?

Best,

André

Yes, of course ! For now, I managed to make it works with custom URL.

Hello @ClemJam,

I just tested with ?formule=9.99&redirect_to={echo:url_param} and it works for me. Note, that my url_param function returns “DEMO”.

If you output that function to the page, let’s say in basic element, does it work?

Thanks,
Matej

If I output that function in a rich text element, for example, it works fine. But if I add it inside the URL parameter, it doesn’t !

Hi,
since I can not replicate the issue locally, can you send temporary login credentials to your test/staging website and a link to this thread to help@bricksbuilder.io using the email address you used during the purchase, so we can take a look?

Thank you,
Matej

Done, I sent the mail :pray:

Hi,

I’ll also reply here, in case anyone has a similar problem. Seems that we remove the URL if there is a protocol inside. That’s why ?formule=9.99&redirect_to=DEMO works, but ?formule=9.99&redirect_to=https://google.com does not :slight_smile:

I’ve opened an internal bug report about this.

Best regards,
Matej

Hi guys,
We fixed this issue in Bricks 1.12, now available as a one-click update in your WordPress Dashboard.

Changelog: Bricks 1.12 Changelog – Bricks

Please let us know if you are still experiencing issues.

Best regards,
timmse