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.

Entry_id not showing up, when user logged in

February 04, 2013 7:01pm

Subscribe [0]
  • #1 / Feb 04, 2013 7:01pm

    bdcads

    30 posts

    Hi,
    this is what I am trying to do, when the user add a channel entry,
    have them logged in, and have them be able to edit their own entry that they created, but no one else

    here is the code I have

    {exp:channel:entries channel="channel" entry_id="{entry_id}"  author_only="yes" author_id="CURRENT_USER" username="CURRENT_USER"}
    <h3>{title} </h3>
    <p><a href="http://{path=template/edit-listing/{entry_id}">edit</a><br />
    {/exp:channel:entries}

    The entry_id is returning nothing

    any help to this would be great

  • #2 / Feb 06, 2013 6:52pm

    bdcads

    30 posts

    Nevermind I figure it out

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

ExpressionEngine News!

#eecms, #events, #releases