[Pharo-project] Building a developer community
http://www.slideshare.net/kohsuke/building-developer-community Slide 9 looks interesting (Thank you for downloading page). How can I do that with cmsbox / pharo website ? Laurent Laffont
Good idea! I don't think you can (at least not in a clean way). I'll see what I can find out and get back to you. Max On 02.02.2012, at 10:08, laurent laffont wrote:
http://www.slideshare.net/kohsuke/building-developer-community
Slide 9 looks interesting (Thank you for downloading page). How can I do that with cmsbox / pharo website ?
Laurent Laffont
Very nice presentation indeed. Some for me more interesting thoughts: Every developer starts as a visitor! (my addon: first impression counts!) Visitor -> User -> Developer * Visitor to user - Download, install, initial configuration,⦠* User to developerâ - Obtain source code, build, run, contribute,⦠* Obstacles,however little, add up quickly * You donât see the lost opportunities * DOWNLOAD link? How hard is that ... * Make them read code - online browsing! Best regards Janko S, laurent laffont piÅ¡e:
http://www.slideshare.net/kohsuke/building-developer-community
Slide 9 looks interesting (Thank you for downloading page). How can I do that with cmsbox / pharo website ?
Laurent Laffont
-- Janko Mivšek Svetovalec za informatiko Eranova d.o.o. Ljubljana, Slovenija www.eranova.si tel: 01 514 22 55 faks: 01 514 22 56 gsm: 031 674 565
laurent laffont wrote:
http://www.slideshare.net/kohsuke/building-developer-community
Slide 9 looks interesting (Thank you for downloading page). How can I do that with cmsbox / pharo website ?
Laurent Laffont
Slide 20 is an interesting premise. "Division of Labor > Collaboration." Under the assumption that is true, then perhaps a Smalltalk with a lot in its image is more dependent on collaboration and why the drive of Pharo towards modularization is important to better enable division of labor. regards, Ben
Hi Laurent I've found a way to simulate what you suggested. Here's what you do: Instead of inserting a link element into the page, you insert a code element, make it executable and then paste this code into the code editor: <script type="text/javascript"> /*<![CDATA[*/ function thanks() { window.setTimeout(function(){ window.open("++path/to/thankyoupage (from site root)++", "_self")}, 3000 ); } /*]]>*/ </script> <a title="download" class="open" href="++URL to download++" onclick="thanks()">++Download now!++</a> This will trigger the download on click and will then redirect to the thank you page (replace stuff inside ++ ++). Note however, that I had to use an arbitrary delay of three seconds since the download will not start if the response for the thank you page returns earlier than the one to the download. That means, that it is possible for the thank you page to be displayed without the download ever having happened. Be sure to make the thank you page hidden, so that it doesn't appear in the menu. Hit me up again if you have any questions. BTW: I'll see if we can make this kind of redirect an actual feature in cmsbox. I like the idea but it's much too complicated for the user to do at the moment. Cheers, Max On 02.02.2012, at 10:08, laurent laffont wrote:
http://www.slideshare.net/kohsuke/building-developer-community
Slide 9 looks interesting (Thank you for downloading page). How can I do that with cmsbox / pharo website ?
Laurent Laffont
Thank you. May be some people want to join on Pharo sprint at FOSDEM to improve the "getting started with Pharo experience" Laurent On Thu, Feb 2, 2012 at 4:09 PM, Max Leske <maxleske@gmail.com> wrote:
Hi Laurent
I've found a way to simulate what you suggested. Here's what you do:
Instead of inserting a link element into the page, you insert a code element, make it executable and then paste this code into the code editor:
<script type="text/javascript"> /*<![CDATA[*/ function thanks() { window.setTimeout(function(){ window.open("++path/to/thankyoupage (from site root)++", "_self")}, 3000 ); } /*]]>*/ </script>
<a title="download" class="open" href="++URL to download++" onclick="thanks()">++Download now!++</a>
This will trigger the download on click and will then redirect to the thank you page (replace stuff inside ++ ++). Note however, that I had to use an arbitrary delay of three seconds since the download will not start if the response for the thank you page returns earlier than the one to the download. That means, that it is possible for the thank you page to be displayed without the download ever having happened.
Be sure to make the thank you page hidden, so that it doesn't appear in the menu.
Hit me up again if you have any questions.
BTW: I'll see if we can make this kind of redirect an actual feature in cmsbox. I like the idea but it's much too complicated for the user to do at the moment.
Cheers, Max
On 02.02.2012, at 10:08, laurent laffont wrote:
http://www.slideshare.net/kohsuke/building-developer-community
Slide 9 looks interesting (Thank you for downloading page). How can I do that with cmsbox / pharo website ?
Laurent Laffont
laurent I will be there the saturday! Stef On Feb 2, 2012, at 4:26 PM, laurent laffont wrote:
Thank you. May be some people want to join on Pharo sprint at FOSDEM to improve the "getting started with Pharo experience"
Laurent
On Thu, Feb 2, 2012 at 4:09 PM, Max Leske <maxleske@gmail.com> wrote: Hi Laurent
I've found a way to simulate what you suggested. Here's what you do:
Instead of inserting a link element into the page, you insert a code element, make it executable and then paste this code into the code editor:
<script type="text/javascript"> /*<![CDATA[*/ function thanks() { window.setTimeout(function(){ window.open("++path/to/thankyoupage (from site root)++", "_self")}, 3000 ); } /*]]>*/ </script>
<a title="download" class="open" href="++URL to download++" onclick="thanks()">++Download now!++</a>
This will trigger the download on click and will then redirect to the thank you page (replace stuff inside ++ ++). Note however, that I had to use an arbitrary delay of three seconds since the download will not start if the response for the thank you page returns earlier than the one to the download. That means, that it is possible for the thank you page to be displayed without the download ever having happened.
Be sure to make the thank you page hidden, so that it doesn't appear in the menu.
Hit me up again if you have any questions.
BTW: I'll see if we can make this kind of redirect an actual feature in cmsbox. I like the idea but it's much too complicated for the user to do at the moment.
Cheers, Max
On 02.02.2012, at 10:08, laurent laffont wrote:
http://www.slideshare.net/kohsuke/building-developer-community
Slide 9 looks interesting (Thank you for downloading page). How can I do that with cmsbox / pharo website ?
Laurent Laffont
Hi, wouldn't linking directly to thank you page which refreshes to downloaded file (as in sourceforge) be safer? It can show "download should start asap" for first three seconds and then show the "Thank you" content if you want it so, but download should start in any circumstances (you can even put the "if download did not start, click here" there if you want to be sure). Herby Max Leske wrote:
Hi Laurent
I've found a way to simulate what you suggested. Here's what you do:
Instead of inserting a link element into the page, you insert a code element, make it executable and then paste this code into the code editor:
<script type="text/javascript"> /*<![CDATA[*/ function thanks() { window.setTimeout(function(){ window.open("++path/to/thankyoupage (from site root)++", "_self")}, 3000 ); } /*]]>*/ </script>
<a title="download" class="open" href="++URL to download++" onclick="thanks()">++Download now!++</a>
This will trigger the download on click and will then redirect to the thank you page (replace stuff inside ++ ++). Note however, that I had to use an arbitrary delay of three seconds since the download will not start if the response for the thank you page returns earlier than the one to the download. That means, that it is possible for the thank you page to be displayed without the download ever having happened.
Be sure to make the thank you page hidden, so that it doesn't appear in the menu.
Hit me up again if you have any questions.
BTW: I'll see if we can make this kind of redirect an actual feature in cmsbox. I like the idea but it's much too complicated for the user to do at the moment.
Cheers, Max
On 02.02.2012, at 10:08, laurent laffont wrote:
http://www.slideshare.net/kohsuke/building-developer-community
Slide 9 looks interesting (Thank you for downloading page). How can I do that with cmsbox / pharo website ?
Laurent Laffont
Sure. Just use an onLoad() with setTimeout() on that page and you're good. Max On 02.02.2012, at 17:58, Herby VojÄÃk wrote:
Hi,
wouldn't linking directly to thank you page which refreshes to downloaded file (as in sourceforge) be safer? It can show "download should start asap" for first three seconds and then show the "Thank you" content if you want it so, but download should start in any circumstances (you can even put the "if download did not start, click here" there if you want to be sure).
Herby
Max Leske wrote:
Hi Laurent
I've found a way to simulate what you suggested. Here's what you do:
Instead of inserting a link element into the page, you insert a code element, make it executable and then paste this code into the code editor:
<script type="text/javascript"> /*<![CDATA[*/ function thanks() { window.setTimeout(function(){ window.open("++path/to/thankyoupage (from site root)++", "_self")}, 3000 ); } /*]]>*/ </script>
<a title="download" class="open" href="++URL to download++" onclick="thanks()">++Download now!++</a>
This will trigger the download on click and will then redirect to the thank you page (replace stuff inside ++ ++). Note however, that I had to use an arbitrary delay of three seconds since the download will not start if the response for the thank you page returns earlier than the one to the download. That means, that it is possible for the thank you page to be displayed without the download ever having happened.
Be sure to make the thank you page hidden, so that it doesn't appear in the menu.
Hit me up again if you have any questions.
BTW: I'll see if we can make this kind of redirect an actual feature in cmsbox. I like the idea but it's much too complicated for the user to do at the moment.
Cheers, Max
On 02.02.2012, at 10:08, laurent laffont wrote:
http://www.slideshare.net/kohsuke/building-developer-community
Slide 9 looks interesting (Thank you for downloading page). How can I do that with cmsbox / pharo website ?
Laurent Laffont
participants (6)
-
Ben Coman -
Herby VojÄÃk -
Janko Mivšek -
laurent laffont -
Max Leske -
Stéphane Ducasse