Announcement

Collapse
No announcement yet.

conditional current user display

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    conditional current user display

    When an account holder logs in in business. The account holder details are displayed by "Actinic:NOWSERVING". I want to put these in a styled table.

    The problem is if a user doesn't login then a blank styled table with no contents is displayed.

    Is there anyway of doing either of the following:

    a) Determine if the current user is logged in before creating the table. ie something along the lines:

    if (!NOWSERVING)
    {
    //do nothing
    }
    else
    {
    <table><tr><td>Actinic:NOWSERVING</td></tr></table>
    }

    b) Display "Guest User" if current user is not logged in!

    #2
    You could try entering the code for the styled table into the code for the actual prompts themselves. You will find these if you go to 'Design | Text', click 'Go to' and go to prompts '212', '213' and '217'.

    Comment

    Working...
    X