list editors and her articles
  • hi

    The next code show me: Jane Stockwriter Jane\ Stockwriter Amerigo Vespucci Amerigo\ Vespucci Frank N. Stein Frank\ N.\ Stein Test Persona Test\ Persona James Q. Reporter James\ Q.\ Reporter Sarah Staffwriter Sarah\ Staffwriter 

    I print to debug With and without "\" but the next line doesnt work:

    {{ list_articles length=5 ignore_publication="true" ignore_issue="true" ignore_section="true" constraints="author is $escapedName type is news" order="bypublishdate desc" }}

    It doesnt show me Articles of each editor.

    Another issue is how to get the twitter, bio atributes from each editor. Because i put $gimme->list_user->twitter or $gimme->list_user->anotherfields and it dont print it.

    Full code is:

    {{ list_users length=10 filter="editors" }}


    {{ if $gimme->list_user->isAuthor() }}

    {{ $fullname=$gimme->list_user->name }}

    {{ $fullname }}

    {{ $escapedName=str_replace(" ", "\ ", $fullname|trim) }}

    {{ $escapedName }}

    {{ list_articles length=5 ignore_publication="true" ignore_issue="true" ignore_section="true" constraints="author is $escapedName type is news" order="bypublishdate desc" }}
    {{ if $gimme->current_list->at_beginning }}
    <ul class="item-list extended profil-activity article">
    {{ /if }}
    <li><a href="{{ $gimme->article->url }}" >{{ $gimme->article->title }}</a></li>
    {{ if $gimme->current_list->at_end }}
    </ul>
    {{ /if }}
    {{ /list_articles }}


    {{ /if }}

    {{ /list_users }}