Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Template Route

Status Resolved
Add-on / Version Publisher 1.4
Severity Critical
EE Version 2.8.1

4thPixel

Jun 13, 2014

Right now I have a structure of the following

teams.group
|_ index.html (Listing Page of all teams)
|_ details.html (individual Team Page)

I set up a route on details as the following : /teams/{url_title}/ with Segments required set to “Yes” that way if my clients go to /teams/teamname they’ll load the details template and load the team’s information.

Just to let you know that I’ve ignored my teams channel from Publisher.

My translated template name for teams is “equipes”
I don’t understand how to get the routes to work in my second language. When I navigate to /equipes/teamname I’m getting the listing but filtered, it’s not routing to the details template at all..

Thanks
Kevin

#1

BoldMinded (Brian)

Did you enter the translated route value in the Publisher routes settings?

#2

4thPixel

I entered /equipes/{url_title}/ but it disappears after I save the settings, but expression gives a successful publisher saved message.

#3

BoldMinded (Brian)

Kevin, I emailed a new build. When using routes, you need to reference the variable in your template as {segment:url_title}, so only the following will work:

{exp:channel:entries channel="pages" dynamic="no" url_title="{segment:url_title}"}

Apparently dynamic=”yes” won’t work as it won’t see the 2nd segment as the url_title it should use in the entries tag.

#4

4thPixel

I just tried here is my code

{exp:zoo_visitor:details url_title="{segment:url_title}" dynamic="no"}

I put in the Publisher template route: /equipes/{url_title}

I still only get the listing filtered. but now the Route is saved with the new build. The default english language the route works fine.

Am I doing something wrong or not understanding.

Let me know regards

Kevin

#5

BoldMinded (Brian)

Have you tried it with an entries tag? Did you try creating a new EE site with only Publisher installed, no other add-ons, to recreate the issue?

#6

BoldMinded (Brian)

Was not able to replicate, and have not heard from customer. Closing ticket.

Login to reply