Hi,
I would like to be able to set a whitelabel when logging in using a website link.
It’s about the logo, the colors and this image.
Hi,
I would like to be able to set a whitelabel when logging in using a website link.
It’s about the logo, the colors and this image.
You can create custom page inside builder for example /login
Then create 2 inputs email and password field with ID’s #dh-email and #dh-password
Add button with attribute onclick with value login()
Lastly, place following code in embed element somewhere on page
function login()
{
let email = document.getElementById('dh-email').value;
let password = document.getElementById('dh-password').value;
fetch('/api/account/login', {
method: 'POST',
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json'
},
body: JSON.stringify({email, password})
})
.then(response => response.json())
.then(function(response)
{
if(response.success)
{
window.location.href = '/builder';
}
else
{
alert(response.message);
}
});
}
Are there any plans to allow routing to the Projects URL as well?
https://retoolkit.io/projects/ instead of https://www.divhunt.com/projects/
In other words - are there any plans to allow Whitelabeling the entire platform so that Agencies can leverage Divhunt as the backend but charge based on Value independent of the monthly plans Divhunt will eventually settle on?
Probably yes in the future