Skip to main content
Nintex Community Menu Bar

K2 relative path

  • February 26, 2021
  • 0 replies
  • 17 views

Hello,

I'm having trouble with the path using K2.
I have a modal windows on the home page that runs an include.

The path is : /includes/verif.php (goes to the site root)

So it should look for the following path : "siteroot"/includes/verif.php
And it's working fine from the home page.

But if i go inside a K2 category the path changes as follow : "siteroot"/index.php/component/k2/includes/verif.php.

Is there a way to change how K2 use relative/absolute path ?