Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Path to files (js, css, ...) not (always) correct #8

Closed
googol42 opened this issue Jan 2, 2016 · 4 comments
Closed

Path to files (js, css, ...) not (always) correct #8

googol42 opened this issue Jan 2, 2016 · 4 comments
Labels

Comments

@googol42
Copy link

googol42 commented Jan 2, 2016

Hello,

Setup:

  • mod_rewirte on
  • OSMmodul embedded on page: example.org/my-site/about/where (note: my site's root is example.org/my-site/)

Result:
The paths to the js, css, and other files are wrong. Instead of example.org/my-site/media/mod_osmod/leaflet/leaflet.css the URL example.org/my-site/about/media/mod_osmod/leaflet/leaflet.css is requested by the browser.

Regards

@Schlumpf Schlumpf added the bug label Jan 3, 2016
@Schlumpf
Copy link
Owner

Schlumpf commented Jan 3, 2016

Thanks for reporting.
Please try this fix: https://github.com/Schlumpf/osmodul/archive/root-dir.zip
Does it resolve the problem?

@googol42
Copy link
Author

googol42 commented Feb 8, 2016

Sorry, I have been working quite a lot on my site and cannot test this (I use now non hierarchic paths)

@nounours77
Copy link

nounours77 commented Jun 13, 2016

Dear Martin,
I had the exact same problem. (even after upgrading to 2.11 from may!)
Your test version does solve the problem for me! Perfect!

thanks, nounours

P.S.: Since my site makes extensive use of your plugin, maybe you would like to reference it in the manual as an example? Here some pages:
http://www.sailcom.ch/de/flotte/bootsstandorte
http://www.sailcom.ch/index.php/de/boot?bootid=91
http://www.sailcom.ch/de/flotte/bielersee/39-revierinfos/bielersee/111-bi-meteo
http://www.sailcom.ch/de/flotte/genfersee/41-revierinfos/genfersee/112-ge-webams

@Schlumpf Schlumpf mentioned this issue Jun 13, 2016
@Schlumpf
Copy link
Owner

Hi @nounours77,
thanks for the reply. Now I merged the fixed version to the master branch and it will available for all.

best regards
Martin

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants