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.

Displaying content based on who created it.

November 18, 2011 4:50pm

Subscribe [2]
  • #1 / Nov 18, 2011 4:50pm

    stevepurcell

    5 posts

    Greetings ... I am working on a project where I will have several people creating content within the same channel. 

    I would then like to display a template and just display entries from one of the authors.

    What would the url look like for that?  Is there a recommended way of doing this?

    I am familiar with the author_id field of an entry, but will I need to pass that to the
    template somehow so the channel returns the proper entry?

    Thanks
    Steve

  • #2 / Nov 18, 2011 6:28pm

    Boyink!

    5011 posts

    {exp:channel:entries channel="posts" author_id="CURRENT_USER"}
    {your fields}
    {/exp:channel:entries}

    Actually, sorry I misread your question.

    You basically want a display of:

    Author
    - Entry
    - Entry

    Author 1
    - Entry
    - Entry

    Ect?

  • #3 / Nov 18, 2011 7:14pm

    stevepurcell

    5 posts

    You basically want a display of:

    Author
    - Entry
    - Entry

    Author 1
    - Entry
    - Entry

    Ect?

    Actually, I want url1 = Author, url2 = Author2, etc.  The link between author_id and url will have to be hard coded I am thinking.  I think what I am looking for is a parameter passed from the url to the template(s).

    Steve

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

ExpressionEngine News!

#eecms, #events, #releases