Module

Developer
Supported

Sitemap Module

ExpressionEngine 3, ExpressionEngine 4, ExpressionEngine 5

Back to this add-on's main page
View Other Add-ons From PutYourLightsOn

     

You must be logged in to post.

URL Match Breaks Weblog Loop

General

mpsteel
mpsteel

The template below only returns one entry (as opposed to 10) whenever the URL contains a match to a blog entry.

It happens even when calling the template directly. In other words….

WORKS (returns 10)
http://foo.bar.com/tech/latest-headlines/

DOES NOT WORK (returns 1)
http://foo.bar.com/tech/latest-headlines/some-blog-post/

WORKS (returns 10)
http://foo.bar.com/tech/latest-headlines/BLAHsome-blog-post/


Why does the loop functionality break in such cases? (we are on 1.6.7)

Thanks!

-Marc

{exp:weblog:entries  weblog="foobar"  orderby="date" limit="10" }
<a href="{title_permalink={my_template_group}/comment}"></a><br /><a style="font-weight:bold;" href="{title_permalink={my_template_group}/comment}">{title}</a>
{/exp:weblog:entries} 
PutYourLightsOn
# 1
Developer
PutYourLightsOn

how exactly does this relate to the sitemap module?

mpsteel
# 2
mpsteel

I’m sorry, I posted in the wrong area, I’ll move this.

mpsteel
# 3
mpsteel

I was also researching the Sitemap module. We’re trying to get it to work in an environment with more than one site. Is there a way to flex the module to do this?

PutYourLightsOn
# 4
Developer
PutYourLightsOn

it is compatible with the Multi Site Manager, otherwise i’m not sure what you mean.

for your previous enquiry you might try this:

{exp:weblog:entries weblog=“foobar”  orderby=“date” limit=“10” dynamic=“off”}