Keyword

K2 relative path

  • JM Bonnerot
  • JM Bonnerot's Avatar Topic Author
  • Offline
  • New Member
More
1 month 3 weeks ago #178214 by JM Bonnerot
K2 relative path was created by JM Bonnerot
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 ?

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 month 3 weeks ago #178229 by Fotis
Replied by Fotis on topic K2 relative path
Where exactly are you placing this iframe/include? Walk me through please...

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

More
1 month 4 days ago #178350 by Mike
Replied by Mike on topic K2 relative path
same issue here. Need help :(

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
2 weeks 4 days ago #178423 by Fotis
Replied by Fotis on topic K2 relative path
Where exactly are you placing this iframe/include? Walk me through please...

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum