XF 2.0 How to get a direct link for a style?

Osman

Well-known member
Hello,

I want to get a direct link to a style, but I'm getting an error like this.

What's wrong here? Or what is the right way to do this?

Code:
https://www.yourdomain.com/misc/style?style_id=2

style.webp
 
As this is a link that changes what the user sees, it needs a CSRF token to confirm that the user is intentionally triggering the action themselves.

So essentially, there isn't a link to do this automatically.
 
Back
Top Bottom