terminal42 / contao-node

Manage content centrally as nodes and reuse them everywhere.
MIT License
29 stars 8 forks source link

Insert tags don't work in the templates #18

Closed jankout closed 4 years ago

jankout commented 4 years ago

Unfortunately, both new insert tags don't work in the templates. I tried it in _newsfull.html5 and it didn't work. Can you check it, please? Thank you

qzminski commented 4 years ago

I am unable to reproduce the issue. Can you tell me what insert tags did you use exactly and are you sure they reference the existing nodes of the "content" (and not "folder") type?

jankout commented 4 years ago

Yes, the nodes, I want to insert, are in a folder. But I'm trying to put the nodes directly, not the folder. If I put it into the news_full.html5 nothing will appear.

If I used e.g. {{insert_node::14}} and put it into

<div class="invisible">
{{insert_node::14}}
</div>

Nothing will appear within the div tag. I attached you a screenshot to show you the back end of all nodes we have there.

nodes
qzminski commented 4 years ago

Honestly I am not sure what can be wrong. Have you got this case on a remote server? Would you be able to give me temporary access details (Contao backend + SFTP) to debug it?

Toflar commented 4 years ago

That's really not something that can be related to that bundle. Insert tags are replaced globally and by the way: they work just fine for me. Closing.