juxtalearn / clipit

ClipIt Repository
GNU Affero General Public License v3.0
5 stars 4 forks source link

Design the ClipIt login page so that it can redirect users to the Tricky Topic tool... #9

Open nfreear opened 10 years ago

nfreear commented 10 years ago

... And, other JuxtaLearn components. For example,

In the above example, the url parameter could be patterned matched against a regular expression (/^https?:\/\/[^\/]juxtalearn.net\//) and stored in the login form, then used on successful login,

<input
    name="redirect_url" type="hidden"
    value="http://trickytopic.juxtalearn.net/destination"
    />

My last reminder I think. Thanks Pablo and Co!

pebs74 commented 10 years ago

Good suggestion, we'll take a look at this.

Pablo Llinás Arnaiz pebs74[at]gmail[dot]com

On 26 May 2014 23:14, Nick Freear notifications@github.com wrote:

... For example,

- http://clipit.juxtalearn.net/login?url=http://trickytopic.juxtalearn.net/destination

In the above example, the url parameter could be patterned matched against a regular expression (/^https?:\/\/[^\/]juxtalearn.net\//) and stored in the login form,

<input name="redirect_url" type="hidden" value="http://trickytopic.juxtalearn.net/destination" />

Then used on successful login...

— Reply to this email directly or view it on GitHubhttps://github.com/juxtalearn/clipit/issues/9 .

pebs74 commented 10 years ago

The Tricky Topic Tool will be linked from any Teacher page in which elements authored in the TTT are used, in case they want to edit them.