I’m running into an interesting issue when I try to display related entries on static pages.
I’ve got a template group entitled “pages” that contains a single “index” template. This template is used to render all of the static pages on my EE site, set up using the “Pages” module. On this “index” template is a snippet of code that displays related entries based upon the tags assigned to the currently viewed page. (I’m using the {exp:tag:related_entries} to do this.)
Now, here’s the part that confuses me. When I access the page via its static page URI (e.g. http://foo.com/page-uri), no related entries are displayed. However, if I access the static page via the “normal” templating system (e.g. http://foo.com/pages/page-uri), related entries are displayed.
Has anyone else encountered this? If so, how did you work around this?
