Display membership list inside a weblog entry?
Posted: 27 January 2010 06:12 AM   [ Ignore ]
Newbie
Rank
Total Posts:  8
Joined  2009-06-16

I’m looking to create a weblog entry that displays our membership list.  Is it not possible to use tags inside weblog entries?  I know this must be simple, but I just can’t figure out what to do (or what to search for to find my answer).  Thank you!

{if logged_in}

{exp
:user:users orderby="last_name" sort="desc" dynamic_parameters="yes" limit="500"}

{first_name} {last_name}
{spouse_first_name} {spouse_last_name}
{address}
home
{home_phone}
cell
{cell_phone}
{email}
{spouse_email}

{
/exp:user:users}


{
/if} 
Profile
 
 
Posted: 27 January 2010 04:01 PM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRankRank
Total Posts:  8264
Joined  2006-10-18

liao,

I don’t understand what benefit it would give you to display a Users list within Weblog:Entries loop…
However, you’ll likely need to use an embed to get this to work wink

 Signature 
Profile
 
 
Posted: 28 January 2010 05:49 AM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  8
Joined  2009-06-16

The reason is that I want to have a membership list that’s always current available to all members, and I was hoping to do it as a weblog entry rather than creating a whole new template for this page.  Hmm, now I’m getting nervous that I’ve been using Expression Engine all wrong!  Is it never a good idea to use EE tags within weblog entries, should they only be used in templates?  I could swear I’ve done it before.

Profile
 
 
Posted: 28 January 2010 04:53 PM   [ Ignore ]   [ # 3 ]
Administrator
Avatar
RankRankRankRankRank
Total Posts:  8264
Joined  2006-10-18
liao - 28 January 2010 05:49 AM

Hmm, now I’m getting nervous that I’ve been using Expression Engine all wrong!  Is it never a good idea to use EE tags within weblog entries, should they only be used in templates?  I could swear I’ve done it before.

It can be done, and needs to be done in several cases, but it also takes a hit on performance. While it’s probably fine in a lot of cases, it could be troublesome in several other cases. Where it probably hurts the most is when you’re displaying several lists of something within other lists of entries, etc. wink

In this case, I just don’t understand why you would want to have a member list display within a Weblog:Entries loop. What are you after? smile

 Signature 
Profile