Only one entry displayed
Posted: 26 June 2008 07:25 AM   [ Ignore ]  
Summer Student
Avatar
Total Posts:  23
Joined  12-20-2007

Hi,

in a little unconventional experiment I have my weblogs and my template groups named the same so I can pull content from everywhere with on generic embedded template (see below:)

weblog={segment_1}


But when reading one entry only, i.e. not just showing the index of the template group (example.com/segment_1/), the menu in the sidebar also shows just one entry.
Is it impossible to have two “exp:weblog:entries” tags on the same page pulling different amounts of entries (with this method)? Or is the concept just stupid?

<ul>
{exp:weblog:entries weblog="{segment_1}" orderby="date" sort="desc" limit="10"}
<li><a href="{title_permalink={segment_1}/}">{title}</a></li>
{/exp:weblog:entries}
</ul>
</
div>

Profile
 
 
Posted: 26 June 2008 07:28 AM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15368
Joined  05-15-2004

Use dynamic=“off” in the sidebar.

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
Posted: 26 June 2008 08:12 AM   [ Ignore ]   [ # 2 ]  
Summer Student
Avatar
Total Posts:  23
Joined  12-20-2007

THANK you.

Profile
 
 
Posted: 26 June 2008 08:16 AM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15368
Joined  05-15-2004

No worries. That happens a lot smile

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64909 Total Logged-in Users: 38
Total Topics: 81854 Total Anonymous Users: 29
Total Replies: 440068 Total Guests: 226
Total Posts: 521922    
Members ( View Memberlist )