[Using Sakai] How to change the (gateway) home website in the portal

alaanizar at iihem.ac.ma alaanizar at iihem.ac.ma
Mon Jun 17 06:08:29 PDT 2013



Hi,

Thank you. Can you please point me to the direct documentation to read.

thanks


> Yes, though you need to use the SOAP or REST web services, and be
logged in and have permission to
> add an account.
> 
> Cheers
>
Steve
> 
> Sent from my iPhone
> 
> On 17/06/2013, at 22:33,
alaanizar at iihem.ac.ma wrote:
> 
>> hi,
>>
>> Thanks for
the clarification
>>
>> What about adding new users. can we do it the same
way!
>>
>> It's the same as the "create New account" of the
default
>> gateway site, but it should be done in another php script/form much like the
idea above.
>> --
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
>> hi,
>>
>> Thanks for the clarification
>>
>> What about adding new users. can we do it the same way!
>>
>>
It's the same as the "create New account" of the default gateway site, but it should be
done in
>> another php script/form much like the idea above.
>>
>> Can we do it?
>>
>> > Hi,
>> >
>>
> It's just two parameters, one for
>> username (eid) and one for password (pw).
>> > Take the HTML from the /welcome link I posted,
>> or:
>>
>
>> > <form id="loginform"
>>
action="https://some.server/portal/xlogin"
>> > method="post"
>> enctype="application/x-www-form-urlencoded">
>> >
<input
>> type="text" name="eid" id="eid"
tabindex="1">
>> </td>
>> > <input
type="password" name="pw" id="pw"
>>
tabindex="2"></td>
>> > <input type="submit"
>> value="Login"></td>
>> > </form>
>>
>
>> > cheers,
>> > Steve
>> >
>> >
>> > On Mon, Jun 17, 2013 at 9:17 PM,
>> <alaanizar at iihem.ac.ma>
wrote:
>> >
>> >> Hi,
>> >> is
>> there
any documentation on how to add those forms?
>> >> I meant what is the
>> structure of the form that will send the login
>> >> credentials to
sakai xlogin
>> >> > And another way is to use
>> a completely
external URL as the gateway. Users
>> >> > will then never see the Sakai
>> gateway. This works really well when
>> >> > customising a Sakai
site isn't good
>> enough. Obviously that page will
>> >> need a
>> >> > form on it to post to
>> xlogin.
>> >>
>
>> >> > An example of this is here:
>> >> >
>> https://alliance.anu.edu.au/welcome/
>> >> >
>> >>
> Note that /welcome/ are
>> a set of PHP pages, but it could be anything.
>> >> >
>> >> >
>>
gatewaySiteUrl=http://some.server.com.au
>> >> >
>> >>
>
>> https://jira.sakaiproject.org/browse/SAK-19089
>> >> >
>> >> > cheers,
>> >> > Steve
>> >> >
>> >> >
>> >> >
>> >> >
>> On
Mon, Jun 17, 2013 at 4:07 PM, David Barroso <david.barroso at udl.cat
>> >wrote:
>> >> >
>> >> >> Hello,
>> >> >>
>> >> The default gateway site is "!gateway". You can modify it using
the
>> >> >> Sites tool
>> >> >> in Administration
Workspace, searching this
>> Site ID and then modifying
>> >> >>
pages
>> >> >> and tools.
>> >> >>
>>
>> >> Another option is to build a new gateway site and
>> configure it
as
>> >> default
>> >> >> using the property
>>
>> >> gatewaySiteId= newGatewaySiteID
>> >> >>
>>
>> >> in sakai.properties
>> >> >>
>> >>
>> Regards,
>> >> >>
>> >> >>
>>
>> >> On 06/17/2013 12:58 AM, Nicolas
>> Lehmann wrote:
>>
>> >> > Dear all,
>> >> >> >
>> >> >
I want to replace the "home" site on the portal (gateway) with my own
>>
>> >> > "home"-website.
>> >> >> >
>> >> > I downloaded the sakai-2.9.2-rc4 source-code via "svn co
>> >> >>
>> >
https://source.sakaiproject.org/svn/sakai/tags/sakai-2.9.2-rc04/" and
>> >>
> added it into my eclipse-workspace.
>> >> >> >
>>
>> > Where can I find this site?
>> >> >> >
>>
>> >>
>> >> >> > Greetings from Berlin
>>
>> >> > Nicolas
>> Lehmann
>> >> >> >
_______________________________________________
>> >> > sakai-user mailing
list
>> >> >> >
>> sakai-user at collab.sakaiproject.org
>> >> >> >
>>
http://collab.sakaiproject.org/mailman/listinfo/sakai-user
>> >> >> >
>> >> >> > TO UNSUBSCRIBE: send email to
>> >> >>
>> sakai-user-unsubscribe at collab.sakaiproject.org with a subject of
>> >>
>>
>> "unsubscribe"
>> >> >>
>>
>> >>
>> >> >> --
>> >> >> David Barroso
Iglesias david.barroso at udl.cat
>> >> >>
>>
=====================
>> >> >> Universitat de Lleida
>> >>
>>
>> Ã&euro;rea de sistemes d'Informació i Comunicacions
>> >> >> Cap de
>> projectes interns
>> >>
>>
>> >> >> University of Lleida
>> >> Information
and Communication Systems Service
>> >> >> Internal project
>>
manager
>> >> >>
>> >> >> Tlf: +34 973 702040
>> >> >>
>> Fax: +34 973 702130
>> >> >>
=====================
>> >> >>
>> >> >>
_______________________________________________
>> >> >>
>>
sakai-user mailing list
>> >> >> sakai-user at collab.sakaiproject.org
>> >> http://collab.sakaiproject.org/mailman/listinfo/sakai-user
>>
>> >>
>> >> >> TO UNSUBSCRIBE: send email to
>>
>> >>
>> sakai-user-unsubscribe at collab.sakaiproject.org with a subject
of
>> >> >>
>> "unsubscribe"
>> >>
>>
>> >> >
>> >> > --
>> >> >
This message has been scanned for viruses and
>> >> > dangerous content
>> by MailScanner, and is
>> >> > believed to be clean.
>>
>> > _______________________________________________
>> >> >
>> sakai-user mailing list
>> >> >
sakai-user at collab.sakaiproject.org
>> >> >
>>
http://collab.sakaiproject.org/mailman/listinfo/sakai-user
>> >> >
>> >> >
>> TO UNSUBSCRIBE: send email to
>> >>
sakai-user-unsubscribe at collab.sakaiproject.org with a
>> subject of
>>
>> > "unsubscribe"
>> --
>> >> Alaa NIZAR, BA in
MIS, LPIC
>> >> IIHEM Network Services Manager
>> >> +212 665
222 160
>> >> www.iihem.ac.ma
>> >> --
>> >>
This
>> message has been scanned for viruses and
>> >> dangerous
content by *MailScanner*
>> <http://www.mailscanner.info/>, and is
>>
>> believed to be clean.
>> >
>> > --
>> > This
message has been scanned for viruses and
>> > dangerous content by
>>
MailScanner, and is
>> > believed to be clean.
>> >
>>
>
>>
>>
>> --
>> Alaa NIZAR, BA in MIS, LPIC
>> IIHEM Network Services Manager
>> +212 665 222 160
>>
www.iihem.ac.ma
>> hi,<br /><br />Thanks for the clarification<br
/><br />What about adding new users. can we do it
>> the same way!<br
/><br />It's the same as the &quot;create New account&quot; of the default
>> gateway site, but it should be done in another php script/form much like the idea
above.<br
>> /><br />Can we do it?<br /><br />&gt;
Hi,<br />&gt; <br />&gt; It's just two parameters, one for
>>
username (eid) and one for password (pw).<br />&gt; Take the HTML from the /welcome link
I
>> posted, or:<br />&gt; <br />&gt; &lt;form
id=&quot;loginform&quot;
>>
action=&quot;https://some.server/portal/xlogin&quot;<br />&gt;
method=&quot;post&quot;
>>
enctype=&quot;application/x-www-form-urlencoded&quot;&gt;<br />&gt;
&lt;input
>> type=&quot;text&quot; name=&quot;eid&quot;
id=&quot;eid&quot; tabindex=&quot;1&quot;&gt;
>>
&lt;/td&gt;<br />&gt; &lt;input type=&quot;password&quot;
name=&quot;pw&quot; id=&quot;pw&quot;
>>
tabindex=&quot;2&quot;&gt;&lt;/td&gt;<br />&gt; &lt;input
type=&quot;submit&quot;
>>
value=&quot;Login&quot;&gt;&lt;/td&gt;<br />&gt;
&lt;/form&gt;<br />&gt; <br />&gt; cheers,<br
>>
/>&gt; Steve<br />&gt; <br />&gt; <br />&gt; On Mon, Jun 17,
2013 at 9:17 PM,
>> &lt;alaanizar at iihem.ac.ma&gt; wrote:<br />&gt;
<br />&gt;&gt; Hi,<br />&gt;&gt;<br />&gt;&gt; is
>> there any documentation on how to add those forms?<br />&gt;&gt;<br
/>&gt;&gt; I meant what is
>> the structure of the form that will send the
login<br />&gt;&gt; credentials to sakai xlogin<br
>>
/>&gt;&gt;<br />&gt;&gt;<br />&gt;&gt;<br
/>&gt;&gt;<br />&gt;&gt; &gt; And another way is to
>> use
a completely external URL as the gateway. Users<br />&gt;&gt; &gt; will then
never see the
>> Sakai gateway. This works really well when<br />&gt;&gt;
&gt; customising a Sakai site isn't
>> good enough. Obviously that page will<br
/>&gt;&gt; need a<br />&gt;&gt; &gt; form on it to post
>>
to xlogin.<br />&gt;&gt; &gt;<br />&gt;&gt; &gt; An example of
this is here:<br />&gt;&gt; &gt;
>>
https://alliance.anu.edu.au/welcome/<br />&gt;&gt; &gt;<br
/>&gt;&gt; &gt; Note that /welcome/
>> are a set of PHP pages, but it
could be anything.<br />&gt;&gt; &gt;<br />&gt;&gt; &gt;
>> gatewaySiteUrl=http://some.server.com.au<br />&gt;&gt; &gt;<br
/>&gt;&gt; &gt;
>> https://jira.sakaiproject.org/browse/SAK-19089<br
/>&gt;&gt; &gt;<br />&gt;&gt; &gt; cheers,<br
>>
/>&gt;&gt; &gt; Steve<br />&gt;&gt; &gt;<br
/>&gt;&gt; &gt;<br />&gt;&gt; &gt;<br />&gt;&gt;
>> &gt; On Mon, Jun 17, 2013 at 4:07 PM, David Barroso
&lt;david.barroso at udl.cat<br />&gt;&gt;
>> &gt;wrote:<br
/>&gt;&gt; &gt;<br />&gt;&gt; &gt;&gt; Hello,<br
/>&gt;&gt; &gt;&gt;<br />&gt;&gt;
>> &gt;&gt;
The default gateway site is &quot;!gateway&quot;. You can modify it using the<br
>> />&gt;&gt; &gt;&gt; Sites tool<br />&gt;&gt;
&gt;&gt; in Administration Workspace, searching
>> this Site ID and then
modifying<br />&gt;&gt; &gt;&gt; pages<br />&gt;&gt;
&gt;&gt; and
>> tools.<br />&gt;&gt; &gt;&gt;<br
/>&gt;&gt; &gt;&gt; Another option is to build a new gateway
>> site
and configure it as<br />&gt;&gt; default<br />&gt;&gt;
&gt;&gt; using the property<br
>> />&gt;&gt;
&gt;&gt;<br />&gt;&gt; &gt;&gt; gatewaySiteId=
newGatewaySiteID<br />&gt;&gt;
>> &gt;&gt;<br
/>&gt;&gt; &gt;&gt; in sakai.properties<br />&gt;&gt;
&gt;&gt;<br />&gt;&gt;
>> &gt;&gt; Regards,<br
/>&gt;&gt; &gt;&gt;<br />&gt;&gt; &gt;&gt;<br
/>&gt;&gt; &gt;&gt; On
>> 06/17/2013 12:58 AM, Nicolas Lehmann
wrote:<br />&gt;&gt; &gt;&gt; &gt; Dear all,<br
/>&gt;&gt;
>> &gt;&gt; &gt;<br />&gt;&gt;
&gt;&gt; &gt; I want to replace the &quot;home&quot; site on the
>>
portal (gateway) with my own<br />&gt;&gt; &gt;&gt; &gt;
&quot;home&quot;-website.<br />&gt;&gt;
>> &gt;&gt;
&gt;<br />&gt;&gt; &gt;&gt; &gt; I downloaded the sakai-2.9.2-rc4
source-code via
>> &quot;svn co<br />&gt;&gt; &gt;&gt;
&gt;
>> https://source.sakaiproject.org/svn/sakai/tags/sakai-2.9.2-rc04/&quot;
and<br />&gt;&gt;
>> &gt;&gt; &gt; added it into my
eclipse-workspace.<br />&gt;&gt; &gt;&gt; &gt;<br
/>&gt;&gt;
>> &gt;&gt; &gt; Where can I find this site?<br
/>&gt;&gt; &gt;&gt; &gt;<br />&gt;&gt; &gt;&gt;
>> &gt;<br />&gt;&gt; &gt;&gt; &gt; Greetings from
Berlin<br />&gt;&gt; &gt;&gt; &gt; Nicolas
>> Lehmann<br
/>&gt;&gt; &gt;&gt; &gt;
_______________________________________________<br
>> />&gt;&gt;
&gt;&gt; &gt; sakai-user mailing list<br />&gt;&gt; &gt;&gt;
&gt;
>> sakai-user at collab.sakaiproject.org<br />&gt;&gt;
&gt;&gt; &gt;
>>
http://collab.sakaiproject.org/mailman/listinfo/sakai-user<br />&gt;&gt;
&gt;&gt; &gt;<br
>> />&gt;&gt; &gt;&gt; &gt; TO
UNSUBSCRIBE: send email to<br />&gt;&gt; &gt;&gt;
>>
sakai-user-unsubscribe at collab.sakaiproject.org with a subject of<br />&gt;&gt;
&gt;&gt;
>> &quot;unsubscribe&quot;<br />&gt;&gt;
&gt;&gt;<br />&gt;&gt; &gt;&gt;<br />&gt;&gt;
&gt;&gt;
>> --<br />&gt;&gt; &gt;&gt; David Barroso
Iglesias david.barroso at udl.cat<br />&gt;&gt; &gt;&gt;
>>
=====================<br />&gt;&gt; &gt;&gt; Universitat de Lleida<br
/>&gt;&gt; &gt;&gt;
>> &Agrave;rea de sistemes
d'Informaci&oacute; i Comunicacions<br />&gt;&gt; &gt;&gt; Cap de
>> projectes interns<br />&gt;&gt; &gt;&gt;<br
/>&gt;&gt; &gt;&gt; University of Lleida<br
>>
/>&gt;&gt; &gt;&gt; Information and Communication Systems Service<br
/>&gt;&gt; &gt;&gt;
>> Internal project manager<br
/>&gt;&gt; &gt;&gt;<br />&gt;&gt; &gt;&gt; Tlf: +34 973
702040<br
>> />&gt;&gt; &gt;&gt; Fax: +34 973 702130<br
/>&gt;&gt; &gt;&gt; =====================<br
>>
/>&gt;&gt; &gt;&gt;<br />&gt;&gt; &gt;&gt;
_______________________________________________<br
>> />&gt;&gt;
&gt;&gt; sakai-user mailing list<br />&gt;&gt; &gt;&gt;
>> sakai-user at collab.sakaiproject.org<br />&gt;&gt; &gt;&gt;
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-user<br />&gt;&gt;
&gt;&gt;<br />&gt;&gt;
>> &gt;&gt; TO UNSUBSCRIBE: send
email to<br />&gt;&gt; &gt;&gt;
>>
sakai-user-unsubscribe at collab.sakaiproject.org with a subject of<br />&gt;&gt;
&gt;&gt;
>> &quot;unsubscribe&quot;<br />&gt;&gt;
&gt;&gt;<br />&gt;&gt; &gt;<br />&gt;&gt; &gt;
--<br
>> />&gt;&gt; &gt; This message has been scanned for viruses
and<br />&gt;&gt; &gt; dangerous
>> content by MailScanner, and
is<br />&gt;&gt; &gt; believed to be clean.<br />&gt;&gt;<br
>> />&gt;&gt; &gt;<br />&gt;&gt; &gt;
_______________________________________________<br />&gt;&gt;
>> &gt;
sakai-user mailing list<br />&gt;&gt; &gt;
sakai-user at collab.sakaiproject.org<br />&gt;&gt;
>> &gt;
http://collab.sakaiproject.org/mailman/listinfo/sakai-user<br />&gt;&gt;
&gt;<br />&gt;&gt;
>> &gt; TO UNSUBSCRIBE: send email to<br
/>&gt;&gt; sakai-user-unsubscribe at collab.sakaiproject.org
>> with a subject
of<br />&gt;&gt; &gt; &quot;unsubscribe&quot;<br
/>&gt;&gt;<br />&gt;&gt;<br
>> />&gt;&gt;
--<br />&gt;&gt; Alaa NIZAR, BA in MIS, LPIC<br />&gt;&gt; IIHEM
Network Services
>> Manager<br />&gt;&gt; +212 665 222 160<br
/>&gt;&gt; www.iihem.ac.ma<br />&gt;&gt; --<br
>>
/>&gt;&gt; This message has been scanned for viruses and<br />&gt;&gt;
dangerous content by
>> *MailScanner* &lt;http://www.mailscanner.info/&gt;, and
is<br />&gt;&gt; believed to be
>> clean.<br />&gt; <br
/>&gt; --<br />&gt; This message has been scanned for viruses and<br
/>&gt;
>> dangerous content by MailScanner, and is<br />&gt; believed
to be clean.<br />&gt; <br />&gt;
>> <br /><br /><br
/>-- <br />Alaa NIZAR, BA in MIS, LPIC<br />IIHEM Network Services Manager<br
>> />+212 665 222 160<br />www.iihem.ac.ma
>>
>> hi,
>>
>> Thanks for the clarification
>>
>> What about
adding new users. can we do
>> it
>> the same way!
>>
>> It's the same as the "create New account" of the
>> default
>> gateway site, but it should be done in another php script/form much like the idea
above.
>>
>>
>> hi,
>>
>> Thanks for the
clarification
>>
>> What about adding new users. can we do
>>
it
>> the same way!
>>
>> It's the same as the "create New
account" of the
>> default
>> gateway site, but it should be done in
another php script/form much like the idea
>> above.
>>
> 
>
--
> This message has been scanned for viruses and
> dangerous content by
MailScanner, and is
> believed to be clean.
> 
> 


-- 
Alaa NIZAR, BA in MIS, LPIC
IIHEM Network Services Manager
+212 665 222 160
www.iihem.ac.ma

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-user/attachments/20130617/1633ba59/attachment-0001.html 


More information about the sakai-user mailing list