so i realize that EE only allows one author per entry, but i really need something that can allow multiple authors
i realize there are options like solspace’s user authors or lg’s member list
those are viable, but i need to be able to sort the weblog entries by this custom field so i can show the entries made by the artists… to clarify: there are multiple authors because some art pieces are collaborations… is there any way to do this?
i.e: custom field: user_authors
weblog code: {exp:weblog:entries weblog="exp1" orderby="date" sort="desc" user_authors="segment_3"}
and the link would be http://www.intrinsicnature.org/in/home/artist/5
if this makes any sense lol
Moved to Extensions by Moderator
ok first off, this is an art community… members submit art to be displayed… the submissions are weblog entries… example: http://www.intrinsicnature.org/area51/index.php/artist/23/
the problem: some of the art are collaborations, requiring more than one author
i’ve tried the user authors like this:
Published an entry placing multiple authors with the user authors extension
This is the code i used to try and show the entry according to the artist in the url:
the link would be “http://intrinsicnature.org/in/home/experiments/artist/2” where ‘2’ is the member_id
{exp:user:stats}
{exp:weblog:entries weblog="exp1" orderby="date" sort="desc" dynamic="off"}
{if author_id == '{embed='experiments/user'}'}
<li>
{submTHUMB}
</li>
{/if}
{/exp:weblog:entries}
{/exp:user:stats}
experiments/user is like this:
{exp:user:authors entry_id="{embed:entry_id}" dynamic="off"}
{member_id}
{/exp:user:authors}
obviously i got an error <pre><code>Warning: Invalid EE Conditional Variable: {if "2" == '{embed='experiments/user' entry_id="{entry_id} in /home/intrins2/public_html/in/system/core/core.functions.php on line 2771
Warning: Invalid EE Conditional Variable: {if "15" == '{embed='experiments/user' entry_id="{entry_id} in /home/intrins2/public_html/in/system/core/core.functions.php on line 2771</code></pre>
this all works if i replace “{embed='experiments/user'}” with just “{member_id}” (but again, this wont solve the problem)
i think i know what im doing wrong, but dont know how to fix it/explain it lol… im trying…
if i can get the user authors “{embed='experiments/user'}” to make it choose one member according to the last segment in the link, then i believe it will work… but as of now, “{embed='experiments/user'}” , shows multiple id’s
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.