Interoperable interactive geometry for Europe
I forgot my login data

Report a bug

Fan club

Quick Intro Videos
click to start movie
Create A Simple
GeoGebra Resource (25Mb)
click to start movie
Filing a review
click to start movie
Find a Resource

This platform is brought to you by the intergeo project, funded under the eContent Plus programme of the European commission and by partners

This is the Documentation for the Affiliate Partner Registration Page

How to create and manage a new Affiliate Partner

Affiliate.patch is svn patch test.htm is sample partner page test.htm

Step 1 (Internally by Curriki)

Create an affiliagte registration page, for example, Main.RegisterNameofAffiliate, then copy the contents below into the page you just created:


Step 2 (Internally by Curriki)

Then on your new affiliate page, customize what you would like to appear at the top of the page such as:

SmartLogo100x91.jpg Smart Box Design is proud to be a partner of Curriki, where you can find thousands of resources.

{image:SmartLogo100x91.jpg} <strong>Smart Box Design</strong> is proud to be a partner of Curriki, where you can find thousands of resources.

Work with the Partner to get an icon and appropriate text.

Step 3 (Internally by Curriki)

Go to /xwiki/bin/view/Affiliate/AffiliateManagement Affiliate Management to create affiliate partner information and ID. It would be best to use the same name you used to create the affiliate partner page above.

Joshua created one named test1, its auto-joined group is Group_test, you can modify it to your group's name.

  • to support multi-groups, use a comma-separated string, e.g., Group_name1,Group_name2
  • on the management page, button "Add" is to create new affiliate partners, button "Modify" is to modify or delete affiliate partners
You will need to provide the information created on the Affiliate Management page to the Partner for Step 4 below.

Step 4

Go to /xwiki/bin/edit/Affiliate/WebPreferences?editor=object to modify space Affiliate rights. Affiliate's author need programming rights to run Groovy and invite user into group(s) (I have given all rights to AdminGroup, and all Affiliate pages author is Admin which is AdminGroup's menmeber) XWikiGuest need view rights to visit registration page.

There is a problem, I remember the spec said the space Affiliate should only be visited by admin, but all registration page is based on Affiliate.RegistrationTemplate, that mean guest should be able to visit Affiliate.RegistrationTemplate.

Correct, we will need to decide if we want to move the pages to the admin space.

Step 5 (Partner Steps)

This part gets created on the partner pages. See sample page test.htm (Attached) test.htm

Here is params description: 'validkey' is a required hidden field, before submit, javavscipt will fill it with md5 sign string

'affiliate_id' is required and will be a hidden field on partner registration page. The ID is created in step 3 above.

The other parameters are optional, if partner provide these parameters, the value will be auto-filled into partner registration page and partner should call sendToRegister('registerform') function to submit form, 'registerform' is form id. In other words copy the code below and modify it.

Partner only need add:

<script type="text/javascript" src=""></script>
and form like this:
<form id="registerform" method="post" action="">
<input type="hidden" id="validkey" name="validkey" value="">
<input type="hidden" id="affiliate_id" name="affiliate_id" value="test1">
<input type="text" id="email" name="email" value="">
<input type="text" id="login_id" name="login_id" value="test1">
<input type="text" id="first_name" name="first_name" value="TestFirstname">
<input type="text" id="last_name" name="last_name" value="TestLastname">
<input type="text" id="password" name="password" value="testpwd">
<input type="text" id="affiliation" name="affiliation" value="TestAffiliation">
<input type="button" value="Clike me to register" onclick="sendToRegister('registerform')">
The '' is curriki test server, if you want to use production environment, you should change it to

Page rights

  • AffiliateIDClass, AffiliatePartnerClass, RegistrationTemplate and Translations should be visible by guests
  • AffiliateManagement and PartnerEncryptGroovy should have programming rights