I followed Boyink's tutorial to the letter but still can't get template routes to work.
My multi-entry template is located at company/people
. My single entry template is at company/person.
In the Template Route manager, I have /company/people/{bio:alpha_dash}
for the `company/person template.
Multi-entry template link code:
<a href="{route="company/people" bio="{url_title}"}">
Single-entry template channel entries tag:
{exp:channel:entries
channel="people"
limit="1"
require_entry="yes"
dynamic="no"
url_title="{segment:bio}"
disable="categories|category_fields|member_data|pagination"}
All of the links in the multi-entry template look like: /company/%7Broute=
I don't understand why the URL's are not getting generated correctly.
Any help is appreciated.
/company/%7Broute=
translates as/company/{route=
. Is/company/%7Broute=
the full generated URL?"
or}
is missing somewhere. For now, you can use a root relative link:<a href="/company/people/{url_title}">
.