Tags:
create new tag
view all tags

SID-01553: PopUp a message for first time when accessing the Twiki Site

Status: Answered Answered TWiki version: 5.1.2 Perl version: 5.8.1
Category: JSPopupPlugin Server OS: RedHat Last update: 13 years ago

Hi,

I have new requirement to popup a message (basically an agreement) when a user first time accessing the twiki site. Based on his click the page should redirect to relevant page. If a user clicks yes, the actual page should open else user has to be logged out from the session. This has to be repeatedly come for a user who clicks on No button whenver accessing the site.

Let me know if it is easy to achievable. Kindly provide best solutions.

Regards, Srinivas

-- SrinivascharyM - 2012-10-10

Discussion and Answer

I haven't tried it but I believe you could play with this plugin http://twiki.org/cgi-bin/view/Plugins/JSPopupPlugin. Make the content to be the message, and include a "No" link to be the logout link (you can just copy it from the actual logout link on your site).

The "Yes" button may be trickier. You could build a form that saves a field in the user topic profile using the save script and redirects to the topic. Using this field on the user profile topic you can check if the user have already clicked on yes before.

Its achievable but maybe not easy if you are not familiar using fields, forms and the scrips of TWiki (scripts are in http://twiki.org/cgi-bin/view/TWiki/TWikiScripts).

-- EnriqueCadalso - 2012-10-17

Couldn't you simply modify the login topic to include your terms with the comment that providing your username and password implies agreement?

-- JoshuaTharp - 2012-12-04

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- Peter Thoeny - 2013-03-05

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title PopUp a message for first time when accessing the Twiki Site
SupportCategory JSPopupPlugin
TWiki version 5.1.2
Server OS RedHat
Web server Apache
Perl version 5.8.1
Browser & version IE, Firefox
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2013-03-05 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.