Developer
Supported
Sitemap Module
ExpressionEngine 2, ExpressionEngine 3, ExpressionEngine 4, ExpressionEngine 5, ExpressionEngine 6
Back to this add-on's main page
View Other Add-ons From PutYourLightsOn
URL Match Breaks Weblog Loop
General
mpsteel
|
Posted: 14 February 2011 06:27 PM |
|
|
|
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
|
Posted: 14 February 2011 06:30 PM |
# 1
|
|
Developer
|
how exactly does this relate to the sitemap module?
|
|
|
mpsteel
|
Posted: 14 February 2011 06:34 PM |
# 2
|
|
|
I’m sorry, I posted in the wrong area, I’ll move this.
|
|
|
mpsteel
|
Posted: 14 February 2011 06:44 PM |
# 3
|
|
|
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
|
Posted: 14 February 2011 07:24 PM |
# 4
|
|
Developer
|
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”}
|
|
|