K2 relative path

  • 26 February 2021
  • 0 replies
  • 9 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 ?


0 replies

Be the first to reply!

Reply