Testing the guestbook

These documentation pages are no longer maintained. Please visit the new documentation site.

Try pressing the "Sign the guestbook" button again. The system should then generate a page that looks something like the following screenshot:

Try to submit an empty entry, eZ publish should not allow this and it will present you with a message that resembles the one in the following screenshot:

Now, put some text into the fields and simulate a user error by hitting the "Cancel" button (instead of "Submit"). The system should respond with the following page:

As you can see, eZ publish will kindly ask if you're sure about the cancel operation. Since we pressed "Cancel" by accident, let's inform the system about this (hit "Cancel" again). You should be back at the "Add a guestbook entry" page with the content that you just typed in preserved in the input fields. Press "Submit". eZ publish will then add the entry to the guestbook. The system should bring you back to the guestbook page and you should be able to see the new entry at the top of the list. This concludes the basic guestbook functionality.

Comments

same here

same here, looses my input data

Content preserved

"Since we pressed "Cancel" by accident, let's inform the system about this (hit "Cancel" again). You should be back at the "Add a guestbook entry" page with the content that you just typed in preserved in the input fields."

My content isn't being preserved. Any ideas why not?

Thanks

David

Contents

Building an eZ publish site

Prerequisits
Situation
Creating the TSCM site
Testing the interfaces
Setting up the main layout
Creating sections
The welcome page
The news page
The members page
The guestbook
    Creating the content class
    Adding content
    Creating the template
    Adding an action button
    Making the button work
    The input template
    Testing the guestbook
    Implementing an approval mechanism
    Modifying the entry page
    Creating a workflow
    Connecting the workflow to a trigger...
    Approving entries
    The "runcronjob" script
The links page


Created

19/11/2003
2:10:28 pm
by Balazs Halasy

Last updated

19/11/2003
2:18:30 pm
by Balazs Halasy

Authors

Balazs Halasy



This page is part of the eZ Publish documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.