ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Channel tags in embeds

September 26, 2011 8:43pm

Subscribe [6]
  • #16 / Oct 05, 2011 5:12pm

    Dan Decker

    7338 posts

    nicktpw,

    You would use that like so:

    <div id="projectsholder">  
          
    {exp:channel:entries channel="projects" paginate="bottom" limit="8"  dynamic="no" orderby="title" sort="asc" category="{embed:pass_category}"}
    
    your template code
    
    {/exp:channel:entries}     
        
        </div>

    I forgot to use the “embed:” precursor in my original example, all apologies.

    Cheers,

  • #17 / Oct 05, 2011 5:57pm

    nicktpw

    29 posts

    I made that change, but I’m still seeing everything from the channel. Seems to me like that whole category= statement is being ignored…

  • #18 / Oct 05, 2011 6:09pm

    nicktpw

    29 posts

    Looks like I got it working. Had the custom field set to XHTML. Once I set it to None everything started working.

    Thanks for all of the help! Always something simple like that making things difficult…

  • #19 / Oct 06, 2011 12:13pm

    Mark Bowen

    12637 posts

    Hi nicktpw,

    Glad you got this one sorted. Thanks for letting us know.

    If anything else crops up then please don’t hesitate to post again as needed.

    Thanks,

    Mark

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases