Jump to content

Module: FieldtypeAssistedURL


wumbo

Recommended Posts

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

  • 2 weeks later...

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

26 minutes ago, adrian said:

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

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

  • 2 months later...
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...