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.

Wrong entry on "thanks" page

March 11, 2010 9:46am

Subscribe [3]
  • #1 / Mar 11, 2010 9:46am

    Gary Chapman

    107 posts

    We’ve launched biggigaustin.org, which is designed to collect ideas and addresses from people without them logging in or creating a members account. The site uses the logmein plugin, which appears to be working fine.

    But there’s a problem on the “thanks” page that comes up after someone has entered an entry using either the ideas or address SAEF. The “thanks” page is supposed to show what the user just entered, but instead it’s showing what the PREVIOUS user entered, and what was recorded in the entries database before the most recent entry.

    Here’s the code example on the “thanks” page for an idea entry:

    <h1>Thanks for your idea!</h1>
         {exp:weblog:entries weblog="ideas" limit="1"}
    <h3>{title}</h3>
    <p>{idea}<br />
    Posted: {entry_date format="%F %j, %Y: %g:%i %A"}<br />
    {/exp:weblog:entries}

    I tried inserting the parameter entry_id={entry_id}. That makes the entire text block disappear from the “thanks” page.

    I can’t tell if this has something to do with logmein, which is an auto login plugin that allows people to post through an SAEF without logging in, or whether I’m doing something wrong with the code above.

    I asked the developer of logmein, but I thought I’d ask here too.

    —Gary

  • #2 / Mar 11, 2010 9:52am

    Sue Crocker

    26054 posts

    Gary, are the entries coming in with the status set to open?

    If you run the template standalone, does it work then?

  • #3 / Mar 11, 2010 10:25am

    Gary Chapman

    107 posts

    Yes, all the entries are set to open.

    The data collection is working fine. The entries are being entered into the database. It’s just the followup display on the “thanks” page that is not working correctly.

    Thanks for the help.

  • #4 / Mar 11, 2010 11:35am

    Sue Crocker

    26054 posts

    Let’s take the logmein plugin out of the equation. What happens if you use the standard SAEF http://expressionengine.com/docs/modules/weblog/entry_form.html from the EEDocs?

  • #5 / Mar 11, 2010 11:37am

    Gary Chapman

    107 posts

    I’d have to do this with a test template, of course, which I can do. I’ll try it and see.

    —Gary

  • #6 / Mar 11, 2010 4:36pm

    Ingmar

    29245 posts

    Sounds good. Please keep us in the loop 😊

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

ExpressionEngine News!

#eecms, #events, #releases