No subject
Wed Dec 17 06:27:09 EST 2008
library of all possible color combinations or generate the images with a
some sort of svg render.
On Tue, Dec 16, 2008 at 7:34 AM, Martin Langhoff
<martin.langhoff at gmail.com>wrote:
> Hi - I've been a bit snowed under :-) some notes...
>
> On Sat, Dec 13, 2008 at 2:16 PM, Lucas Wojciehcowski
> <msa.swimmer at gmail.com> wrote:
> > 1) This does NOT happen before the page loads. Unfortunately I can't use
> PHP
> > to redirect the user gracefully... The place were it makes sense to put
> the
> > redirection is after the page begins to load. The redirect() function is
> > built into moodle, and uses javascript. I would feel more comfortable
> using
> > the php header to do an immediate server-side redirect, but I would
> rather
> > leave the program flow intact.
>
> Hmmm, ok.
>
> > 2) This does not redirect admins, only users.
>
> I know, but we won't have admins - there's an admin acct that exists,
> but nobody uses it. No access to it. Instead, the teachers in the
> school get a role that is a slightly customised "course creator".
>
> > 3) Do you want me to work upstream? I'm sure I can figure out how to add
> a
> > configuration variable and submit a more polished patch by tonight. I
> just
> > ran in sub 20 degree wind, and my hands don't have enough dexterity to
> code!
>
> No - just checking for the option is ok, but we do have to get the
> code in shape for eventual inclusion upstream. In your revised patch,
> youcheck for the variable in a way that will make PHP throw a warning
> if the value is not initialised. In Moodle we generally do
>
> if (!empty($CFG->foo)) { // does not throw warning
>
> instead of
>
> if ($CFG->foo) { // Warning: undefined value
>
> > 4) I saw those pages, and can't wait to tackle some more of those
> problems.
> > One little superficial feature I think would be nice to add is having the
> > user's avatars reflect their XO colors. That would not be too hard to do
> > with a little bit of javascript. I'm really excited by the idea working
> with
> > the XO web apps.
>
> Cool - in terms of the XO colours, how would you do that? (I have an
> overly complex plan, will take a while to get it done...)
>
> cheers,
>
>
>
> m
> --
> martin.langhoff at gmail.com
> martin at laptop.org -- School Server Architect
> - ask interesting questions
> - don't get distracted with shiny stuff - working code first
> - http://wiki.laptop.org/go/User:Martinlanghoff
>
------=_Part_772_4313345.1229528295015
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
What do you think about the moodle Elgg integration? Is that too much "extra baggage" for the OLPC project, or could it be a nice solution for blog integration? I'm not sure how we are going to be able to tackle some of your more ambitious moodle modifications (such as blog integration) working upstream without absolute support of the moodle developers.<br>
<br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Lucas Wojciehcowski</b> <span dir="ltr"><<a href="mailto:msa.swimmer at gmail.com">msa.swimmer at gmail.com</a>></span><br>
Date: Tue, Dec 16, 2008 at 1:52 PM<br>Subject: Re: [PATCH] Workflow Simplification<br>To: Martin Langhoff <<a href="mailto:martin.langhoff at gmail.com">martin.langhoff at gmail.com</a>><br><br><br>2) I understand what you're saying. I think this code change will only effect students.<div>
<br></div><div>3) Ok, I can make that little change, although I don't think it would throw an error... PHP is soft typed... I don't think I tested it without a value set.</div>
<div><br></div><div>I was thinking that I would be able to get the configuration file from the users computer with the XO colors, and parse that file through javascript. From there, I'm not sure if it would be more efficient to simply call from a library of all possible color combinations or generate the images with a some sort of svg render.<div>
<div></div><div class="Wj3C7c"><br>
<br><div class="gmail_quote">On Tue, Dec 16, 2008 at 7:34 AM, Martin Langhoff <span dir="ltr"><<a href="mailto:martin.langhoff at gmail.com" target="_blank">martin.langhoff at gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi - I've been a bit snowed under :-) some notes...<br>
<br>
On Sat, Dec 13, 2008 at 2:16 PM, Lucas Wojciehcowski<br>
<div><<a href="mailto:msa.swimmer at gmail.com" target="_blank">msa.swimmer at gmail.com</a>> wrote:<br>
</div><div>> 1) This does NOT happen before the page loads. Unfortunately I can't use PHP<br>
> to redirect the user gracefully... The place were it makes sense to put the<br>
> redirection is after the page begins to load. The redirect() function is<br>
> built into moodle, and uses javascript. I would feel more comfortable using<br>
> the php header to do an immediate server-side redirect, but I would rather<br>
> leave the program flow intact.<br>
<br>
</div>Hmmm, ok.<br>
<div><br>
> 2) This does not redirect admins, only users.<br>
<br>
</div>I know, but we won't have admins - there's an admin acct that exists,<br>
but nobody uses it. No access to it. Instead, the teachers in the<br>
school get a role that is a slightly customised "course creator".<br>
<div><br>
> 3) Do you want me to work upstream? I'm sure I can figure out how to add a<br>
> configuration variable and submit a more polished patch by tonight. I just<br>
> ran in sub 20 degree wind, and my hands don't have enough dexterity to code!<br>
<br>
</div>No - just checking for the option is ok, but we do have to get the<br>
code in shape for eventual inclusion upstream. In your revised patch,<br>
youcheck for the variable in a way that will make PHP throw a warning<br>
if the value is not initialised. In Moodle we generally do<br>
<br>
if (!empty($CFG->foo)) { // does not throw warning<br>
<br>
instead of<br>
<br>
if ($CFG->foo) { // Warning: undefined value<br>
<div><br>
> 4) I saw those pages, and can't wait to tackle some more of those problems.<br>
> One little superficial feature I think would be nice to add is having the<br>
> user's avatars reflect their XO colors. That would not be too hard to do<br>
> with a little bit of javascript. I'm really excited by the idea working with<br>
> the XO web apps.<br>
<br>
</div>Cool - in terms of the XO colours, how would you do that? (I have an<br>
overly complex plan, will take a while to get it done...)<br>
<br>
cheers,<br>
<br>
<br>
<br>
m<br>
<font color="#888888">--<br>
</font><div><div></div><div> <a href="mailto:martin.langhoff at gmail.com" target="_blank">martin.langhoff at gmail.com</a><br>
<a href="mailto:martin at laptop.org" target="_blank">martin at laptop.org</a> -- School Server Architect<br>
- ask interesting questions<br>
- don't get distracted with shiny stuff - working code first<br>
- <a href="http://wiki.laptop.org/go/User:Martinlanghoff" target="_blank">http://wiki.laptop.org/go/User:Martinlanghoff</a><br>
</div></div></blockquote></div><br></div></div></div>
</div><br>
------=_Part_772_4313345.1229528295015--
More information about the Server-devel
mailing list