Hot answers tagged

2

Your code should work. Make sure that your Settings → Fields → Navigation has Use this field’s values as search keywords checked. Once you're sure it is checked, run ./craft resave/entries --update-search-index and it should start working. Note that instead of searching, you could use: {% set nav = craft.entries() .section('pages') .navigation('...


1

I was thinking about this myself, and I found the following 2 articles which I have been going over. It looks like it is quite possible: http://craftsnippets.com/articles/using-template-hooks-in-craft-cms https://docs.solspace.com/craft/freeform/v3/overview/relations.html#overview The 2nd link has a heading for “Relating more than one element” which looks ...


1

Actually, not all sections are created equal. Craft actually has three different types of sections: Singles Channels Structures Well, you need to work with dynamic URLs and Twig to show your sections at Web Page. Here is the link of official documentation of Craft CMS: https://craftcms.com/docs/2.x/sections-and-entries.html#sections


Only top voted, non community-wiki answers of a minimum length are eligible