Code Monkey home page Code Monkey logo

Comments (10)

samhcorney avatar samhcorney commented on June 12, 2024

Hi Chase,

I tried the following...

  1. Added a link it field to the entry I'm working on.

  2. Clicked through to edit the entry from (1)

  3. Added a 'linkit' link in the entry which links to a separate entry.

  4. Saved the entry.

  5. Clicked back through to the entry to check for any issues.

I wasn't able to recreate your issue using the above. Talk me through what your doing and I'll give it another go!

Have you changed any of the default link it field type settings from the edit field type page... craft->fields->Link It?

Thanks,

Sam

from linkit.

chasegiunta avatar chasegiunta commented on June 12, 2024

That seems to be what I'm doing.
Would the fact that I'm on a multi-locale site be an issue with reading the entry value?
Initially I had the "This field is translatable" checked, but after unchecking, the problem still exists.

I'm only toggling Custom URL & Entry for the link types allowed. Using only one source for Entry Sources. Seems to work as desired except for not being able to read/display the values from the db once I go back into the entry.

from linkit.

superflausch avatar superflausch commented on June 12, 2024

Hi there,

I'm having the same issue with a new project I'm working on.

I have a page/entry where I add a LinkIt field. Assign an entry to the link and save the entry. Works as expected on the front-end/DB, but as soon as I open the page/entry again in the CP the LinkIt field looses the assigned entry (type entry is still selected but no entry is selected). When I try to save the page now I get an error because there is no entry selected for the link.

Only special case on my side is that the LinkIt field is placed within a SuperTable (https://github.com/engram-design/SuperTable). Other link types like assets seem to work just fine.

Let me know if I can provide additional info.

Cheers,

Pascal.

from linkit.

chasegiunta avatar chasegiunta commented on June 12, 2024

@superflausch just to clarify (and rule out my possible cause), you don't have any locales set up on your Craft site?

from linkit.

superflausch avatar superflausch commented on June 12, 2024

@chasegiunta Sorry, I planned to add this info.

I do have multiple locales setup, two to be exact. The section, where the whole entry/page is saved is set to support only one of the locales (de). The surrounding SuperTable is set to be translatable (for additional future locales). But I use the CP in english (that's the other currently setup locale). Hope this helps.

from linkit.

chasegiunta avatar chasegiunta commented on June 12, 2024

I can't say I've experienced that, and it seems this is the only fieldtype, for me, that is having this problem- which leads me to believe that the plugin just hasn't been updated and/or tested for use in multi-locale setups.

from linkit.

superflausch avatar superflausch commented on June 12, 2024

It looks like I'm able to see the correct LinkIt entry connections when I'm using the CP in the same language as the locale of the field. When I use the CP in another language as the locale I'm editing I don't see the associated entry in the LinkIt field.

from linkit.

samhibberd avatar samhibberd commented on June 12, 2024

This is something that we are aware of and hope you address in the next release, as a agency we are super busy at the moment and frustrating getting too little time to commit to our plugins. But rest assured it is on the list!!

from linkit.

superflausch avatar superflausch commented on June 12, 2024

That's great to hear. Thanks a lot, appreciate it.

from linkit.

samhibberd avatar samhibberd commented on June 12, 2024

Fixed in the latest release, please make sure you backup and test out pre launch!

from linkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.