Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relations are all "Unkown" and some are missing #27

Open
ammannbe opened this issue Feb 1, 2024 · 1 comment
Open

Relations are all "Unkown" and some are missing #27

ammannbe opened this issue Feb 1, 2024 · 1 comment

Comments

@ammannbe
Copy link

ammannbe commented Feb 1, 2024

When viewing the relations, all have the type "Unknown".
Some relations to a landingpage are definitely missing.
grafik

@reganlawton
Copy link
Member

@ammannbe Oh weird

the cos I have is below:

{% if item.refHandle == 'entry' and item.section %}
    <a href="/admin/entries/{{ item.section.handle }}" rel="noopener" target="_blank">{{ item.section }}</a>
{% elseif item.refHandle == 'category' and item.group %}
    <a href="/admin/categories/{{ item.group.handle }}" rel="noopener" target="_blank">{{ item.group }}</a>
{% elseif item.refHandle == 'user' %}
    <a href="/admin/users" rel="noopener" target="_blank">{{ item.displayName }}</a>
{% else %}
    Unknown
{% endif %}

But I have a link there:

<a href="{{ cpEditUrl }}" rel="noopener" target="_blank" data-icon="world" title="Visit webpage"></a>

Can I get you to provide me with the link URL? I can then try figure out what related object type it is.

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

No branches or pull requests

2 participants