Memorial Day
Support will be closed on Monday, May 28th, 2012 to enjoy Memorial Day with our friends and families.
   
 
Additional Channel on a “Page”
Posted: 12 June 2010 08:15 AM   [ Ignore ]  
Lab Assistant
Avatar
RankRank
Total Posts:  107
Joined  03-18-2010

I noticed when using the pages module (EE 2.0) that if I tried to add another channel of output to the template that it would not display.  The “page” content would display fine, but the additional channel output would not.  After some research I found that I needed to add dynamic=“no” to the additional channel output (the non-page output).  This works fine - my question is why is this needed?  Wouldn’t it be pretty common to have a “page” that would have “page” content and then show additional channels?  Should I be doing things differently?

Thanks,

Guy

Profile
 
 
Posted: 12 June 2010 01:12 PM   [ Ignore ]   [ # 1 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  5126
Joined  06-20-2005

Hi Guy,

No, it sounds as if you are doing things correctly. What you’ve experienced is a fundamental concept in ExpressionEngine; the Channel module’s output will dynamically change based upon what is in the URL unless you disable that with dynamic=“no” as a parameter.

Cheers

Greg

 Signature 

   Purple Dogfish | Member of EE Pro Network | Follow me on Twitter

Profile
MSG
 
 
Posted: 12 June 2010 07:21 PM   [ Ignore ]   [ # 2 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  107
Joined  03-18-2010

Thanks!  The only place I have seen this is in pages from the pages module does that make sense?  When I have made an unattached template (not a page) it seems this isn’t necessary?

Guy

Profile
 
 
Posted: 13 June 2010 12:01 PM   [ Ignore ]   [ # 3 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  5126
Joined  06-20-2005

Hi Guy,

That would be correct unless you wish to output data from a channel:entries tag in places (like a sidebar) that is not dependent on the URL.

Cheers

Greg

 Signature 

   Purple Dogfish | Member of EE Pro Network | Follow me on Twitter

Profile
MSG