Join the Webstudio community

b
bonsak
Offline, last seen 3 weeks ago
Joined December 13, 2024
Is there a way to manipulate the response from an api resource on the WS serverside before it is made avaiable in body->settings and injected into the page.
I'm using an endpoint that does not support sorting: https://api.utdanning.no/onet/onet_by_yrke and i would be great if i could do the sorting on the response before the data is sent to to the DOM in ws.
I could do the fetch with a script in an embed, but then i would have to insert the data into the dom myself? Or is there a way of doing this that is easier?
3 comments
B
b
O
b
bonsak
·
b
Solved

Custom domain problem

Hi.
I'm helping a friend with a small website. Now i need to add the custom domain: arkitektstine.no

This is hosted through domeneshop.no. They don' allow custom domain on the root domain so we are trying to set "www.arkitektstine.no" in WS and setting CNAME to qumahe-hunur-apaqe.customers.wstd.io (see attachment)
When setting TXT we enter _webstudio_is.www 084931d8-da62-44db-ade7-c95e6037f71f in their "Data (value)" field. (see attachment)

When we check status in WS we get "Status: Failed to verify TXT Record "_webstudio_is.www.arkitektstine.no" not found"

We see the TXT record with dnsbuddy but not the CNAME record.

Here are the values from WS:
Domain: www.arkitektstine.no
CNAME www qumahe-hunur-apaqe.customers.wstd.io
TXT _webstudio_is.www 084931d8-da62-44db-ade7-c95e6037f71f

The domain is not owned by me so i can't move it to another provider.

Any help appreciated
3 comments
J
b
HI. I'm trying to modify the Radix select's ":focused" and ":hoover" states. Tried making tokens on "Select", "Select Trigger", "Select Content", "Select Viewport" and a "Select Item". But none of them expose states. Am i doing something wrong? Any help appreciated.
4 comments
b
J
Hi. I'm trying to figure out how to do pagination with wordpress/graphql. Not very successful so far 🙂 It would be great if the Wordpress template "posts" page could be set up with pagination.
24 comments
b
J