Is there a way to capture what variant is being used from the browser?

Ray-Palla wrote on 11/15/2021, 2:41 PM

Can I capture the Xara user variant from a user browser with a php or java script? I need to know which variant the user sees.

Comments

johnebaker wrote on 11/16/2021, 7:32 AM

@Ray-Palla

Hi

Web Designer does not support PHP, it uses jQuery for all the functionality of the website.

Assuming you want to capture the viewer browser to deliver, for example, a mobile phone compliant version - Web Designer already does this.

With most templates you will see a tab for a Mobile and Main variant, some templates eg a supersite may only have one version. On publishing the appropriate code to detect the users web browser is created.

If this is not what you require - what is the reason for capturing the browser type?

John EB
Forum Moderator

 

VPX 16, Movie Studio 2025, and earlier versions 2015 and 2016, Music Maker Premium 2024.

PC - running Windows 11 23H2 Professional on Intel i7-8700K 3.2 GHz, 16GB RAM, RTX 2060 6GB 192-bit GDDR6, 1 x 1Tb Sabrent NVME SSD (OS and programs), 2 x 4TB (Data) internal HDD + 1TB internal SSD (Work disc), + 6 ext backup HDDs.

Laptop - Lenovo Legion 5i Phantom - running Windows 11 23H2 on Intel Core i7-10750H, 16GB DDR4-SDRAM, 512GB SSD, 43.9 cm screen Full HD 1920 x 1080, Intel UHD 630 iGPU and NVIDIA GeForce RTX 2060 (6GB GDDR6)

Sony FDR-AX53e Video camera, DJI Osmo Action 3 and Sony HDR-AS30V Sports cams.