olafgleba Posted May 4, 2023 Share Posted May 4, 2023 16 hours ago, olafgleba said: while multilingual internal links works quite well, if i add an anchor to the url, the url remains on the default language. [...] After again having a closer look at the Fieldtype Module, this solved it. If you want to add an anchor, the URL has to look like: /path/to/page/?#anchor Mind the Questionmark before the hash sign... Link to comment Share on other sites More sharing options...
adrian Posted May 9, 2023 Share Posted May 9, 2023 Hi @olafgleba - are you happy enough with that solution for now? Can you see a way to edit the module so it's not needed? Link to comment Share on other sites More sharing options...
olafgleba Posted May 11, 2023 Share Posted May 11, 2023 Hi @adrian, right now i am fine with this, although it would be nice to follow the standard way of course. Not sure how easy this is. I will have a deeper look with tracy on. Get back to this as soon as possible. Link to comment Share on other sites More sharing options...
Roych Posted May 23, 2023 Share Posted May 23, 2023 I there any update on this module? Links only works when you are loged in as superuser, when you are logged out all links goes to homepage. I there some fix for this maybe? It is a shame, because the module is awesome I'm using PW v. 3.0.210 Thx R Link to comment Share on other sites More sharing options...
adrian Posted May 23, 2023 Share Posted May 23, 2023 @Roych - are you using the original (https://github.com/marcostoll/processwire-fieldtype-assisted-url), or my fork: https://github.com/adrianbj/processwire-fieldtype-assisted-url ? 1 Link to comment Share on other sites More sharing options...
Roych Posted May 23, 2023 Share Posted May 23, 2023 26 minutes ago, adrian said: @Roych - are you using the original (https://github.com/marcostoll/processwire-fieldtype-assisted-url), or my fork: https://github.com/adrianbj/processwire-fieldtype-assisted-url ? I tried both of them ... I have my site atm in a subfolder, but I moved it to the root but still, I can only see the right URL when logged in as superuser. Even editors cant see the URL's? Any idea? Thx R Link to comment Share on other sites More sharing options...
Roych Posted May 23, 2023 Share Posted May 23, 2023 Hmm, I was just playing with the module and I added <?php namespace ProcessWire; in front of the module files, and it seem that it started to work ... Not sure if this was the case at all. R Link to comment Share on other sites More sharing options...
adrian Posted May 23, 2023 Share Posted May 23, 2023 1 minute ago, Roych said: Hmm, I was just playing with the module and I added <?php namespace ProcessWire; in front of the module files, and it seem that it started to work ... Not sure if this was the case at all. R Interesting - I wonder if you have the file compiler turned off in your config file - perhaps the "moduleCompile" setting? Link to comment Share on other sites More sharing options...
Roych Posted May 25, 2023 Share Posted May 25, 2023 On 5/24/2023 at 12:10 AM, adrian said: I wonder if you have the file compiler turned off in your config file - perhaps the "moduleCompile" setting? No, nothing like that. ? Link to comment Share on other sites More sharing options...
olafgleba Posted August 12, 2023 Share Posted August 12, 2023 On 5/10/2023 at 12:18 AM, adrian said: Hi @olafgleba - are you happy enough with that solution for now? Can you see a way to edit the module so it's not needed? Hi @adrian, At last i took a closer look at the module and fiddle around a bit. As far as i can see, there is no easy way to adding anchor links without some separator at least + preserving multilanguage paths and urls in the processwire context. I am sure, there is a way to do this (as the PW core do handle this quite well), but this demands some more time. And a bit short of time in the coming weeks i am afraid. The current solution is perfectly fine for me... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now