From lenglish5 at cox.net Thu Feb 3 10:07:23 2011 From: lenglish5 at cox.net (Lawson English) Date: Thu, 03 Feb 2011 02:07:23 -0700 Subject: conflicting requirements for Pier installed via Installer script included with Squeak4.2-10950.image Message-ID: <4D4A704B.4070503@cox.net> In the Squeak4.2-10950.image, at the end of the "How to extend the Image" window, there is a line of code: (Smalltalk at: #PRDistribution) new register. This returns errors due to the fact that PRAjaxSearchWidget is not in the package Pier-Seaside-Widgets specified by the ConfigurationOfPier2 and in fact, it isn't included in any version after Pier-Seaside-NickAger.490. If I drop back to that version, I can register a new Pier kernel via PRDistribution, but otherwise, not. Lawson From sergiolist at village-buzz.com Sun Feb 6 22:54:48 2011 From: sergiolist at village-buzz.com (sergio_101) Date: Sun, 6 Feb 2011 16:54:48 -0500 Subject: Another new Pier Site Message-ID: I set this up for a friend of mine who needed a quick site.. we used pier and openwebdesign for the design.. http://mikemcpherran.com/ thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From renggli at gmail.com Mon Feb 7 22:35:05 2011 From: renggli at gmail.com (Lukas Renggli) Date: Mon, 7 Feb 2011 22:35:05 +0100 Subject: [squeak-dev] conflicting requirements for Pier installed via Installer script included with Squeak4.2-10950.image In-Reply-To: <4D4A704B.4070503@cox.net> References: <4D4A704B.4070503@cox.net> Message-ID: Looks like the ConfigurationOfPier2 needs to be updated. All widgets that depend on Ajax functionality were moved to Pier-JQuery. Cheers, Lukas On 3 February 2011 10:07, Lawson English wrote: > In the Squeak4.2-10950.image, at the end of the "How ?to extend the Image" > window, there is a line of code: (Smalltalk at: #PRDistribution) ?new > register. > > This returns errors due to the fact that PRAjaxSearchWidget is not in the > package Pier-Seaside-Widgets specified by the ConfigurationOfPier2 and in > fact, it isn't included in any version after Pier-Seaside-NickAger.490. > > If I drop back to that version, I can register a new Pier kernel via > PRDistribution, but otherwise, not. > > > Lawson > > > > -- Lukas Renggli www.lukas-renggli.ch From renggli at gmail.com Mon Feb 7 22:37:47 2011 From: renggli at gmail.com (Lukas Renggli) Date: Mon, 7 Feb 2011 22:37:47 +0100 Subject: Another new Pier Site In-Reply-To: References: Message-ID: Cool, I added it to the list of known sites. Lukas On 6 February 2011 22:54, sergio_101 wrote: > I set this up for a friend of mine who needed a quick site.. > > we used pier and openwebdesign for the design.. > > http://mikemcpherran.com/ > > thanks! > > -- > ---- > peace, > sergio > photographer, journalist, visionary > > http://www.CodingForHire.com > http://www.coffee-black.com > http://www.painlessfrugality.com > http://www.twitter.com/sergio_101 > http://www.facebook.com/sergio101 > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli www.lukas-renggli.ch From dhenrich at vmware.com Mon Feb 7 23:07:03 2011 From: dhenrich at vmware.com (Dale Henrichs) Date: Mon, 07 Feb 2011 14:07:03 -0800 Subject: [squeak-dev] conflicting requirements for Pier installed via Installer script included with Squeak4.2-10950.image In-Reply-To: References: <4D4A704B.4070503@cox.net> Message-ID: <4D506D07.7090309@vmware.com> I'll take a look at see what's up... Dale On 02/07/2011 01:35 PM, Lukas Renggli wrote: > Looks like the ConfigurationOfPier2 needs to be updated. All widgets > that depend on Ajax functionality were moved to Pier-JQuery. > > Cheers, > Lukas > > On 3 February 2011 10:07, Lawson English wrote: >> In the Squeak4.2-10950.image, at the end of the "How to extend the Image" >> window, there is a line of code: (Smalltalk at: #PRDistribution) new >> register. >> >> This returns errors due to the fact that PRAjaxSearchWidget is not in the >> package Pier-Seaside-Widgets specified by the ConfigurationOfPier2 and in >> fact, it isn't included in any version after Pier-Seaside-NickAger.490. >> >> If I drop back to that version, I can register a new Pier kernel via >> PRDistribution, but otherwise, not. >> >> >> Lawson >> >> >> >> > > > From renggli at gmail.com Mon Feb 7 23:16:04 2011 From: renggli at gmail.com (Lukas Renggli) Date: Mon, 7 Feb 2011 23:16:04 +0100 Subject: [squeak-dev] conflicting requirements for Pier installed via Installer script included with Squeak4.2-10950.image In-Reply-To: <4D506D07.7090309@vmware.com> References: <4D4A704B.4070503@cox.net> <4D506D07.7090309@vmware.com> Message-ID: Great, thanks a lot for maintaining the configurations :-) Lukas On 7 February 2011 23:07, Dale Henrichs wrote: > I'll take a look at see what's up... > > Dale > > On 02/07/2011 01:35 PM, Lukas Renggli wrote: >> >> Looks like the ConfigurationOfPier2 needs to be updated. All widgets >> that depend on Ajax functionality were moved to Pier-JQuery. >> >> Cheers, >> Lukas >> >> On 3 February 2011 10:07, Lawson English ?wrote: >>> >>> In the Squeak4.2-10950.image, at the end of the "How ?to extend the >>> Image" >>> window, there is a line of code: (Smalltalk at: #PRDistribution) ?new >>> register. >>> >>> This returns errors due to the fact that PRAjaxSearchWidget is not in the >>> package Pier-Seaside-Widgets specified by the ConfigurationOfPier2 and in >>> fact, it isn't included in any version after Pier-Seaside-NickAger.490. >>> >>> If I drop back to that version, I can register a new Pier kernel via >>> PRDistribution, but otherwise, not. >>> >>> >>> Lawson >>> >>> >>> >>> >> >> >> > > -- Lukas Renggli www.lukas-renggli.ch From sergiolist at village-buzz.com Tue Feb 8 07:46:09 2011 From: sergiolist at village-buzz.com (sergio_101) Date: Tue, 8 Feb 2011 01:46:09 -0500 Subject: piercms site doesn't show _s and _k vars? Message-ID: i just noticed that the piercms site doesn't include the _s and _k vars when you navigate around the site. am i totally missing something on my sites? i noticed that all the other sites out there behave like mine.. but it would be great if mine would have cleaner url's. this would allow me to use url shorteners at will, without having to remember to cut them down.. i also wonder if i am somehow missing out on some juice because as people trade links to my site, they _s and _k force the url shortening services to treat them as two different links. so while on bit.ly, for instance, ten people could be sharing the same link to your site, it would look like ten different people are sharing ten different links and skewing the stats. any ideas? thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From sergiolist at village-buzz.com Tue Feb 8 07:47:27 2011 From: sergiolist at village-buzz.com (sergio_101) Date: Tue, 8 Feb 2011 01:47:27 -0500 Subject: Posting HTML text In-Reply-To: References: Message-ID: > Just enclose html content in {{{}}} as: > {{{
html here
}}} > there is an html component type you can choose from.. does this do the same thing? thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From norbert at hartl.name Tue Feb 8 09:05:03 2011 From: norbert at hartl.name (Norbert Hartl) Date: Tue, 8 Feb 2011 09:05:03 +0100 Subject: piercms site doesn't show _s and _k vars? In-Reply-To: References: Message-ID: <95DA7F1B-E646-4A3A-B9BB-586C9920E54D@hartl.name> On 08.02.2011, at 07:46, sergio_101 wrote: > i just noticed that the piercms site doesn't include the _s and _k > vars when you navigate around the site. > > am i totally missing something on my sites? i noticed that all the > other sites out there behave like mine.. but it would be great if mine > would have cleaner url's. this would allow me to use url shorteners at > will, without having to remember to cut them down.. > If you enable cookies then pier tries to eliminate the need for both parameters. Norbert > i also wonder if i am somehow missing out on some juice because as > people trade links to my site, they _s and _k force the url shortening > services to treat them as two different links. so while on bit.ly, for > instance, ten people could be sharing the same link to your site, it > would look like ten different people are sharing ten different links > and skewing the stats. > > any ideas? > > thanks! > > -- > ---- > peace, > sergio > photographer, journalist, visionary > > http://www.CodingForHire.com > http://www.coffee-black.com > http://www.painlessfrugality.com > http://www.twitter.com/sergio_101 > http://www.facebook.com/sergio101 > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki From nick.ager at gmail.com Tue Feb 8 11:57:06 2011 From: nick.ager at gmail.com (Nick Ager) Date: Tue, 8 Feb 2011 10:57:06 +0000 Subject: [squeak-dev] conflicting requirements for Pier installed via Installer script included with Squeak4.2-10950.image In-Reply-To: References: <4D4A704B.4070503@cox.net> <4D506D07.7090309@vmware.com> Message-ID: Hi, Hi, Apologies for the belated reply. PRAjaxSearchWidget is in package Pier-JQuery in repository: http://source.lukas-renggli.ch/pier2addons The latest version has a dependency on the "example text" JQueryWidget - JQWidgetBox-FormExample - in the repository: http://www.squeaksource.com/JQueryWidgetBox ConfigurationOfPierAddOns2 should take care of this dependency and load the JQWidgetBox-FormExample package. However I don't think this is the problem you're having. It seems the the problem you mention is that within ConfigurationOfPierAddOns2 the "Pier-Setup" package should depend on the "Pier-JQuery" package, but it appears not to and so "Pier-JQuery" isn't being loaded as part of the default group. To load the "Pier-JQuery" package try: ConfigurationOfPierAddOns2 project latestVersion load: #('Pier-JQuery' 'Pier-Setup') Or you can pull in all the addons with: (ConfigurationOfPierAddOns2 project lastestVersion) load: 'ALL' There's a discussion between myself and Dale on which packages are included in the default group in ConfigurationOfPierAddOns2 here: http://forum.world.st/ConfigurationOfPierAddOns2-td2321571.html Hope this helps Nick On 7 February 2011 22:16, Lukas Renggli wrote: > Great, thanks a lot for maintaining the configurations :-) > > Lukas > > On 7 February 2011 23:07, Dale Henrichs wrote: > > I'll take a look at see what's up... > > > > Dale > > > > On 02/07/2011 01:35 PM, Lukas Renggli wrote: > >> > >> Looks like the ConfigurationOfPier2 needs to be updated. All widgets > >> that depend on Ajax functionality were moved to Pier-JQuery. > >> > >> Cheers, > >> Lukas > >> > >> On 3 February 2011 10:07, Lawson English wrote: > >>> > >>> In the Squeak4.2-10950.image, at the end of the "How to extend the > >>> Image" > >>> window, there is a line of code: (Smalltalk at: #PRDistribution) new > >>> register. > >>> > >>> This returns errors due to the fact that PRAjaxSearchWidget is not in > the > >>> package Pier-Seaside-Widgets specified by the ConfigurationOfPier2 and > in > >>> fact, it isn't included in any version after Pier-Seaside-NickAger.490. > >>> > >>> If I drop back to that version, I can register a new Pier kernel via > >>> PRDistribution, but otherwise, not. > >>> > >>> > >>> Lawson > >>> > >>> > >>> > >>> > >> > >> > >> > > > > > > > > -- > Lukas Renggli > www.lukas-renggli.ch > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sergiolist at village-buzz.com Tue Feb 8 18:17:06 2011 From: sergiolist at village-buzz.com (sergio_101) Date: Tue, 8 Feb 2011 12:17:06 -0500 Subject: piercms site doesn't show _s and _k vars? In-Reply-To: <95DA7F1B-E646-4A3A-B9BB-586C9920E54D@hartl.name> References: <95DA7F1B-E646-4A3A-B9BB-586C9920E54D@hartl.name> Message-ID: . >> > If you enable cookies then pier tries to eliminate the need for both parameters. > you mean in the browser? or is there a place to do it in the pier image.. -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From norbert at hartl.name Tue Feb 8 18:37:53 2011 From: norbert at hartl.name (Norbert Hartl) Date: Tue, 8 Feb 2011 18:37:53 +0100 Subject: piercms site doesn't show _s and _k vars? In-Reply-To: References: <95DA7F1B-E646-4A3A-B9BB-586C9920E54D@hartl.name> Message-ID: On 08.02.2011, at 18:17, sergio_101 wrote: > . >>> >> If you enable cookies then pier tries to eliminate the need for both parameters. >> > > you mean in the browser? or is there a place to do it in the pier image.. > You have to enable it in the pier image. If your url is http://localhost:8080/ you are using then try to invoke http://localhost:8080/config . There should an entry called 'pier'. Click on that and search on the following page for "Use Cookies". Enable this, press "apply" and your should be ready. If you have the toolbar enabled (bar at the bottom saying "New Session..." then press "New Session". If not, erase all of the parameters in the url. Hope this helps, Norbert From sergiolist at village-buzz.com Tue Feb 8 20:04:10 2011 From: sergiolist at village-buzz.com (sergio_101) Date: Tue, 8 Feb 2011 14:04:10 -0500 Subject: piercms site doesn't show _s and _k vars? In-Reply-To: References: <95DA7F1B-E646-4A3A-B9BB-586C9920E54D@hartl.name> Message-ID: > You have to enable it in the pier image. If your url is http://localhost:8080/ you are using then try to > invoke http://localhost:8080/config . There should an entry called 'pier'. Click on that and search > on the following page for "Use Cookies". Enable this, press "apply" and your should be ready. > If you have the toolbar enabled (bar at the bottom saying "New Session..." then press "New > Session". If not, erase all of the parameters in the url. > thanks norbert! that TOTALLY did it! are there any side effects of this? -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From ramon.leon at allresnet.com Tue Feb 8 21:07:30 2011 From: ramon.leon at allresnet.com (Ramon Leon) Date: Tue, 08 Feb 2011 13:07:30 -0700 Subject: piercms site doesn't show _s and _k vars? In-Reply-To: References: <95DA7F1B-E646-4A3A-B9BB-586C9920E54D@hartl.name> Message-ID: <4D51A282.3050301@allresnet.com> On 02/08/2011 12:04 PM, sergio_101 wrote: > are there any side effects of this? Anytime you put the session key in a cookie, for any web framework in any language, you've now forced all tabs in the browser to share the same session; depending on how much and for what the program uses session information, this may or may not be problematic. -- Ramon Leon http://onsmalltalk.com From sergiolist at village-buzz.com Wed Feb 9 02:05:18 2011 From: sergiolist at village-buzz.com (sergio_101) Date: Tue, 8 Feb 2011 20:05:18 -0500 Subject: piercms site doesn't show _s and _k vars? In-Reply-To: <4D51A282.3050301@allresnet.com> References: <95DA7F1B-E646-4A3A-B9BB-586C9920E54D@hartl.name> <4D51A282.3050301@allresnet.com> Message-ID: > Anytime you put the session key in a cookie, for any web framework in any > language, you've now forced all tabs in the browser to share the same > session; depending on how much and for what the program uses session > information, this may or may not be problematic. ah.. that makes sense.. in the case of a cms, i don't think it's a big deal.. especially with our site.. it's a content only affair.. thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From nick.ager at gmail.com Wed Feb 9 14:22:14 2011 From: nick.ager at gmail.com (Nick Ager) Date: Wed, 9 Feb 2011 13:22:14 +0000 Subject: Discussion forums Message-ID: Hi, Does anyone know of any discussion forum type functionality that has been developed for Pier or Seaside? If not, do you think Pier be a suitable framework, or would it make more sense to try to integrate forum software from another platform? Thanks Nick -------------- next part -------------- An HTML attachment was scrubbed... URL: From tudor.girba at gmail.com Wed Feb 9 15:56:29 2011 From: tudor.girba at gmail.com (Tudor Girba) Date: Wed, 9 Feb 2011 15:56:29 +0100 Subject: Discussion forums In-Reply-To: References: Message-ID: <7604D70D-45EE-4779-8064-D71163BBD100@gmail.com> I think it should be relatively easy to implement it in Pier. For example, a book and a blog already provide the ability to add comments. This should be a good start. Cheers, Doru On 9 Feb 2011, at 14:22, Nick Ager wrote: > Hi, > > Does anyone know of any discussion forum type functionality that has been developed for Pier or Seaside? If not, do you think Pier be a suitable framework, or would it make more sense to try to integrate forum software from another platform? > > Thanks > > Nick > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki -- www.tudorgirba.com "Beauty is where we see it." From lenglish5 at cox.net Thu Feb 10 01:47:29 2011 From: lenglish5 at cox.net (Lawson English) Date: Wed, 09 Feb 2011 17:47:29 -0700 Subject: Discussion forums In-Reply-To: References: Message-ID: <4D5335A1.1050704@cox.net> There's some old code in squeaksource that I managed to update to work with the latest version of pier. I'll load the update later today. Its very minimal, but lets you start a topic and add comments and so on. Lawson On 2/9/11 6:22 AM, Nick Ager wrote: > Hi, > > Does anyone know of any discussion forum type functionality that has > been developed for Pier or Seaside? If not, do you think Pier be a > suitable framework, or would it make more sense to try to integrate > forum software from another platform? > > Thanks > > Nick > > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki -------------- next part -------------- An HTML attachment was scrubbed... URL: From nick.ager at gmail.com Thu Feb 10 10:39:35 2011 From: nick.ager at gmail.com (Nick Ager) Date: Thu, 10 Feb 2011 09:39:35 +0000 Subject: Discussion forums In-Reply-To: <4D5335A1.1050704@cox.net> References: <4D5335A1.1050704@cox.net> Message-ID: Thanks I'd be very interested to see that. On 10 February 2011 00:47, Lawson English wrote: > There's some old code in squeaksource that I managed to update to work > with the latest version of pier. I'll load the update later today. > > Its very minimal, but lets you start a topic and add comments and so on. > > > Lawson > > > > On 2/9/11 6:22 AM, Nick Ager wrote: > > Hi, > > Does anyone know of any discussion forum type functionality that has been > developed for Pier or Seaside? If not, do you think Pier be a suitable > framework, or would it make more sense to try to integrate forum software > from another platform? > > Thanks > > Nick > > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > > > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sergiolist at village-buzz.com Thu Feb 10 16:58:26 2011 From: sergiolist at village-buzz.com (sergio_101) Date: Thu, 10 Feb 2011 10:58:26 -0500 Subject: keyboard shortcuts and cookies.. Message-ID: found a weird correlation. just checking to see if i am crazy.. i turned cookies on so that the session info isn't sent in the url, and while it works perfectly, it seems to disable the keyboard shortcuts.. when i turned cookies back off, keyboard shortcuts worked as expected. does this sound correct? thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From renggli at gmail.com Thu Feb 10 17:18:56 2011 From: renggli at gmail.com (Lukas Renggli) Date: Thu, 10 Feb 2011 17:18:56 +0100 Subject: keyboard shortcuts and cookies.. In-Reply-To: References: Message-ID: That seems strange, I haven't seen anything like that before. Can you reproduce it in different browsers? Did you clear the cookies and restart all sessions after changing the setting? Lukas On Thursday, 10 February 2011, sergio_101 wrote: > found a weird correlation. just checking to see if i am crazy.. > > i turned cookies on so that the session info isn't sent in the url, > and while it works perfectly, it seems to disable the keyboard > shortcuts.. > > when i turned cookies back off, keyboard shortcuts worked as expected. > > does this sound correct? > > thanks! > > -- > ---- > peace, > sergio > photographer, journalist, visionary > > http://www.CodingForHire.com > http://www.coffee-black.com > http://www.painlessfrugality.com > http://www.twitter.com/sergio_101 > http://www.facebook.com/sergio101 > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli www.lukas-renggli.ch From sergiolist at village-buzz.com Thu Feb 10 17:45:46 2011 From: sergiolist at village-buzz.com (sergio_101) Date: Thu, 10 Feb 2011 11:45:46 -0500 Subject: keyboard shortcuts and cookies.. In-Reply-To: References: Message-ID: okay.. it seems to work in safari 5.. chrome 9 seems to have the problem.. On Thu, Feb 10, 2011 at 11:18 AM, Lukas Renggli wrote: > That seems strange, I haven't seen anything like that before. Can you > reproduce it in different browsers? Did you clear the cookies and > restart all sessions after changing the setting? > > Lukas > > On Thursday, 10 February 2011, sergio_101 wrote: >> found a weird correlation. just checking to see if i am crazy.. >> >> i turned cookies on so that the session info isn't sent in the url, >> and while it works perfectly, it seems to disable the keyboard >> shortcuts.. >> >> when i turned cookies back off, keyboard shortcuts worked as expected. >> >> does this sound correct? >> >> thanks! >> >> -- >> ---- >> peace, >> sergio >> photographer, journalist, visionary >> >> http://www.CodingForHire.com >> http://www.coffee-black.com >> http://www.painlessfrugality.com >> http://www.twitter.com/sergio_101 >> http://www.facebook.com/sergio101 >> _______________________________________________ >> Magritte, Pier and Related Tools ... >> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >> > > -- > Lukas Renggli > www.lukas-renggli.ch > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From sergiolist at village-buzz.com Thu Feb 10 23:15:50 2011 From: sergiolist at village-buzz.com (sergio_101) Date: Thu, 10 Feb 2011 17:15:50 -0500 Subject: thinking more about urls in pier Message-ID: i know, i know .. this subject has been talked to death... i just took one final look at it, an i was wondering if i am just crazy here.. http://www.codingforhire.com/2011/02/getting-rid-of-session-data-in-piercms-urls/ i REALLY don't want to beat a dead horse.. but i can't quit thinking that this is important. thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From nick.ager at gmail.com Thu Feb 10 23:36:05 2011 From: nick.ager at gmail.com (Nick Ager) Date: Thu, 10 Feb 2011 22:36:05 +0000 Subject: thinking more about urls in pier In-Reply-To: References: Message-ID: You can make google analytics ignore the seaside parameters: http://www.piercms.com/doc/google-analytics On 10 February 2011 22:15, sergio_101 wrote: > i know, i know .. this subject has been talked to death... > > i just took one final look at it, an i was wondering if i am just crazy > here.. > > > http://www.codingforhire.com/2011/02/getting-rid-of-session-data-in-piercms-urls/ > > i REALLY don't want to beat a dead horse.. but i can't quit thinking > that this is important. > > thanks! > > -- > ---- > peace, > sergio > photographer, journalist, visionary > > http://www.CodingForHire.com > http://www.coffee-black.com > http://www.painlessfrugality.com > http://www.twitter.com/sergio_101 > http://www.facebook.com/sergio101 > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sergiolist at village-buzz.com Fri Feb 11 01:49:34 2011 From: sergiolist at village-buzz.com (sergio_101) Date: Thu, 10 Feb 2011 19:49:34 -0500 Subject: thinking more about urls in pier In-Reply-To: References: Message-ID: > You can make google analytics ignore the seaside parameters: > http://www.piercms.com/doc/google-analytics > yes, i did this.. i am just wanting to make sure that other url intensive services are in sync.. thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 From norbert at hartl.name Tue Feb 15 16:36:18 2011 From: norbert at hartl.name (Norbert Hartl) Date: Tue, 15 Feb 2011 16:36:18 +0100 Subject: How to prevent the creation of paragraphs while parsing? Message-ID: <81C77D8B-A050-4EF9-B201-7CE60D816F63@hartl.name> If I use something like PRDocumentParser parse: '{{{
}}}' then it creates PRDocument PRParagraph PRVerbatim I like to avoid creating a paragraph which has a big influence on styles. If I'm not misled by firebug etc. than the verbatim is created after the paragraph leaving an empty paragraph right before the verbatim. Is this possible easily? thanks, Norbert From nick.ager at gmail.com Wed Feb 16 01:15:05 2011 From: nick.ager at gmail.com (Nick Ager) Date: Wed, 16 Feb 2011 00:15:05 +0000 Subject: How to prevent the creation of paragraphs while parsing? In-Reply-To: <81C77D8B-A050-4EF9-B201-7CE60D816F63@hartl.name> References: <81C77D8B-A050-4EF9-B201-7CE60D816F63@hartl.name> Message-ID: Hi Norbert, I like to avoid creating a paragraph which has a big influence on styles. If > I'm not misled by firebug etc. than the verbatim is created after the > paragraph leaving an empty paragraph right before the verbatim. Is this > possible easily? I was holding off replying in case someone else came up with a better suggestion as I'm not terribly proud of the solution I came up with. For what it's worth, I've derived from PRPage (#IZPageWithoutEnclosingParagraph) and implemented #document: as: --- document: aDocument (aDocument hasChildren and: [ aDocument children size = 1 ]) ifTrue: [ | outerParagraph | outerParagraph := aDocument children first. outerParagraph class name = #PRParagraph ifTrue: [ "remove the enclosing paragraph" document := PRDocument withAll: outerParagraph children ] ]. document isNil ifTrue: [ document := aDocument ] ifFalse: [ document owner: self ] --- I'm sure there's a more elegant way.... Nick -------------- next part -------------- An HTML attachment was scrubbed... URL: From lenglish5 at cox.net Thu Feb 17 00:21:41 2011 From: lenglish5 at cox.net (Lawson English) Date: Wed, 16 Feb 2011 16:21:41 -0700 Subject: Discussion forums In-Reply-To: References: <4D5335A1.1050704@cox.net> Message-ID: <4D5C5C05.5010709@cox.net> Just uploaded Pier-Discussion-LDE57 to MCHttpRepository location "http://www.squeaksource.com/DiscussionInPier" user: '' password: '' Minimalist changes to make a very minimalist Pier-based discussion forum work with later versions of Squeak. Lawson. On 2/10/11 2:39 AM, Nick Ager wrote: > Thanks I'd be very interested to see that. > > On 10 February 2011 00:47, Lawson English > wrote: > > There's some old code in squeaksource that I managed to update to > work with the latest version of pier. I'll load the update later > today. > > Its very minimal, but lets you start a topic and add comments and > so on. > > > Lawson > > > > On 2/9/11 6:22 AM, Nick Ager wrote: >> Hi, >> >> Does anyone know of any discussion forum type functionality that >> has been developed for Pier or Seaside? If not, do you think Pier >> be a suitable framework, or would it make more sense to try to >> integrate forum software from another platform? >> >> Thanks >> >> Nick >> >> >> _______________________________________________ >> Magritte, Pier and Related Tools ... >> https://www.iam.unibe.ch/mailman/listinfo/smallwiki > > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > > > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki -------------- next part -------------- An HTML attachment was scrubbed... URL: From norbert at hartl.name Fri Feb 18 08:30:31 2011 From: norbert at hartl.name (Norbert Hartl) Date: Fri, 18 Feb 2011 08:30:31 +0100 Subject: How to prevent the creation of paragraphs while parsing? In-Reply-To: References: <81C77D8B-A050-4EF9-B201-7CE60D816F63@hartl.name> Message-ID: <6E15FC8D-6AE0-4C40-B9D3-73EE185B1A72@hartl.name> On 16.02.2011, at 01:15, Nick Ager wrote: > Hi Norbert, > > I like to avoid creating a paragraph which has a big influence on styles. If I'm not misled by firebug etc. than the verbatim is created after the paragraph leaving an empty paragraph right before the verbatim. Is this possible easily? > > I was holding off replying in case someone else came up with a better suggestion as I'm not terribly proud of the solution I came up with. For what it's worth, I've derived from PRPage (#IZPageWithoutEnclosingParagraph) and implemented #document: as: > > --- > > document: aDocument > (aDocument hasChildren and: [ aDocument children size = 1 ]) > ifTrue: [ > | outerParagraph | > outerParagraph := aDocument children first. > outerParagraph class name = #PRParagraph > ifTrue: [ > "remove the enclosing paragraph" > document := PRDocument withAll: outerParagraph children ] ]. > document isNil > ifTrue: [ document := aDocument ] > ifFalse: [ document owner: self ] > > --- > > I'm sure there's a more elegant way.... > Thanks. I hope there is a more elegant way. My way at the moment is to do css display: none ;) Norbert -------------- next part -------------- An HTML attachment was scrubbed... URL: From philippe.marschall at gmail.com Sat Feb 19 10:24:29 2011 From: philippe.marschall at gmail.com (Philippe Marschall) Date: Sat, 19 Feb 2011 10:24:29 +0100 Subject: [Seaside] Re: Loading seaside into Pharo core (stable) In-Reply-To: <1297703488610-3305378.post@n4.nabble.com> References: <1297703488610-3305378.post@n4.nabble.com> Message-ID: 2011/2/14 pablo : > > Thanks Philippe Marschall, > it seems that all the applications are disabled by default and it is ok for > a production environment. > > But I want to enable a Pier Blog, How could I do that? Best ask on smallwiki at iam.unibe.ch [1] http://www.piercms.com/contact Cheers Philippe From rafael.luque.leiva at gmail.com Sat Feb 19 20:54:56 2011 From: rafael.luque.leiva at gmail.com (Rafael Luque) Date: Sat, 19 Feb 2011 20:54:56 +0100 Subject: How to run Pier2 with PharoCore 1.2 Message-ID: Hi all, I've been testing Pier2 using the One-Click image, but i would like to be able to run it using the PharoCore 1.2 download. I've evaluated the following code (as it appears in the ConfigurationOfSeaside>>workspace comments): Gofer new squeaksource: 'MetacelloRepository'; package: 'ConfigurationOfSeaside'; load. (ConfigurationOfSeaside project version: '1.0.7') load: #('Seaside 3.0' 'Magritte2 Tests' 'Pier2 Tests' 'Pier2 AddOns'). Then I start the Seaside server with: (Smalltalk at: #WAKom) startOn: 8080. The Seaside responds successfully in the 8080 port but the pier application is not configured, how should I configure it? Thank you, Rafael Luque -------------- next part -------------- An HTML attachment was scrubbed... URL: From nick.ager at gmail.com Mon Feb 21 15:38:15 2011 From: nick.ager at gmail.com (Nick Ager) Date: Mon, 21 Feb 2011 14:38:15 +0000 Subject: How to run Pier2 with PharoCore 1.2 In-Reply-To: References: Message-ID: Hi, Try the following: Gofer new squeaksource: 'MetacelloRepository'; package: 'ConfigurationOfPierAddOns2'; load. (Smalltalk at: #ConfigurationOfPierAddOns2) project latestVersion load: 'ALL'. you can then register a dispatcher with: PRDistribution register. On 19 February 2011 19:54, Rafael Luque wrote: > > Hi all, > > I've been testing Pier2 using the One-Click image, but i would like to be > able to run it using the PharoCore 1.2 download. > > I've evaluated the following code (as it appears in the > ConfigurationOfSeaside>>workspace comments): > > Gofer new > squeaksource: 'MetacelloRepository'; > package: 'ConfigurationOfSeaside'; > load. > > (ConfigurationOfSeaside project version: '1.0.7') > load: #('Seaside 3.0' 'Magritte2 Tests' 'Pier2 Tests' 'Pier2 AddOns'). > > Then I start the Seaside server with: > > (Smalltalk at: #WAKom) startOn: 8080. > > The Seaside responds successfully in the 8080 port but the pier application > is not configured, how should I configure it? > > Thank you, > > Rafael Luque > > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nick.ager at gmail.com Mon Feb 21 20:42:23 2011 From: nick.ager at gmail.com (Nick Ager) Date: Mon, 21 Feb 2011 19:42:23 +0000 Subject: logging from a location other than root doesn't keep you logged in Message-ID: I've created an issue: http://code.google.com/p/pier/issues/detail?id=131with an associated fix: Name: Pier-Security-NickAger.174 Author: NickAger Time: 21 February 2011, 7:39:09 pm UUID: 7a2e62e8-276f-452c-8f4e-407f23e52121 Ancestors: Pier-Security-lr.173 Hope that makes sense Nick -------------- next part -------------- An HTML attachment was scrubbed... URL: From jetkoten at gmail.com Wed Feb 23 03:02:03 2011 From: jetkoten at gmail.com (JETkoten) Date: Tue, 22 Feb 2011 21:02:03 -0500 Subject: Moving and adding chapters in "book" Message-ID: <4D646A9B.9060408@gmail.com> Hi, I'm working with the built-in book in Pier to put together an outline of an online book. Great software, one of the best online book formats I've seen. My problem is, the only way I can find to make a new chapter after trying for about an hour is to copy "1 Introduction". When I do this, the copied chapters go down below the Keywords Index in the Table of Contents, thus spoiling the layout in my opinion. So now it's: 1 Introduction 1.1 Section Keyword index 2 Intro-2 2.1 Section 2 [...] How can I move the Keywords Index down the list to be the final item in Table of Contents please? I want: 1 Introduction 1.1 Section 2 Intro-2 2.1 Section 2 3 3.1 4 4.1 5 5.1 6 6.1 7 [...] Keyword index Also, is there a better way to make new chapters than to just keep copying? I couldn't find any kind of page (while doing Add from various pages) that had Chapter as a type or that would give it a number and line it up with 1 Introuction. Thanks in advance. From renggli at gmail.com Wed Feb 23 07:34:26 2011 From: renggli at gmail.com (Lukas Renggli) Date: Wed, 23 Feb 2011 07:34:26 +0100 Subject: Moving and adding chapters in "book" In-Reply-To: <4D646A9B.9060408@gmail.com> References: <4D646A9B.9060408@gmail.com> Message-ID: All pages of a book are called "Book Portion". Go to the parent where you want to add a new page and select "add". Depending on the type of the parent the child becomes a "part", "chapter", "section" or "subsection". In case the new page is a child of the root you can choose if you want it to be a "part" or a "chapter" (along the lines of LaTeX). To reorder the children use the "order" command (again in the parent, if I understand your example correctly that would be the book). To change the parent use the "move" command and the type of the page will automatically adapt to the new parent. Lukas On 23 February 2011 03:02, JETkoten wrote: > Hi, > > I'm working with the built-in book in Pier to put together an outline of an > online book. Great software, one of the best online book formats I've seen. > > My problem is, the only way I can find to make a new chapter after trying > for about an hour is to copy "1 Introduction". When I do this, the copied > chapters go down below the Keywords Index in the Table of Contents, thus > spoiling the layout in my opinion. > > So now it's: > > 1 ? ? ? ? Introduction > 1.1 ? ? ? ? ?Section > ? ? ? ? ?Keyword index > 2 ? ? ? ? Intro-2 > 2.1 ? ? ? ? Section 2 > [...] > > How can I move the Keywords Index down the list to be the final item in > Table of Contents please? > > I want: > > 1 ? ? ? ? Introduction > 1.1 ? ? ? ? ?Section > 2 ? ? ? ? Intro-2 > 2.1 ? ? ? ? Section 2 > 3 > 3.1 > 4 > 4.1 > 5 > 5.1 > 6 > 6.1 > 7 > [...] > ? ? ? ? ?Keyword index > > Also, is there a better way to make new chapters than to just keep copying? > I couldn't find any kind of page (while doing Add from various pages) that > had Chapter as a type or that would give it a number and line it up with 1 > Introuction. > > Thanks in advance. > _______________________________________________ > Magritte, Pier and Related Tools ... > https://www.iam.unibe.ch/mailman/listinfo/smallwiki > -- Lukas Renggli www.lukas-renggli.ch From jetkoten at gmail.com Wed Feb 23 21:59:08 2011 From: jetkoten at gmail.com (JETkoten) Date: Wed, 23 Feb 2011 15:59:08 -0500 Subject: Moving and adding chapters in "book" In-Reply-To: References: <4D646A9B.9060408@gmail.com> Message-ID: <4D65751C.90109@gmail.com> Thanks for your time and explanation, Lukas. I've got it the way I want it now. On 2/23/11 1:34 AM, Lukas Renggli wrote: > All pages of a book are called "Book Portion". Go to the parent where > you want to add a new page and select "add". Depending on the type of > the parent the child becomes a "part", "chapter", "section" or > "subsection". In case the new page is a child of the root you can > choose if you want it to be a "part" or a "chapter" (along the lines > of LaTeX). To reorder the children use the "order" command (again in > the parent, if I understand your example correctly that would be the > book). To change the parent use the "move" command and the type of the > page will automatically adapt to the new parent. > > Lukas > > On 23 February 2011 03:02, JETkoten wrote: >> Hi, >> >> I'm working with the built-in book in Pier to put together an outline of an >> online book. Great software, one of the best online book formats I've seen. >> >> My problem is, the only way I can find to make a new chapter after trying >> for about an hour is to copy "1 Introduction". When I do this, the copied >> chapters go down below the Keywords Index in the Table of Contents, thus >> spoiling the layout in my opinion. >> >> So now it's: >> >> 1 Introduction >> 1.1 Section >> Keyword index >> 2 Intro-2 >> 2.1 Section 2 >> [...] >> >> How can I move the Keywords Index down the list to be the final item in >> Table of Contents please? >> >> I want: >> >> 1 Introduction >> 1.1 Section >> 2 Intro-2 >> 2.1 Section 2 >> 3 >> 3.1 >> 4 >> 4.1 >> 5 >> 5.1 >> 6 >> 6.1 >> 7 >> [...] >> Keyword index >> >> Also, is there a better way to make new chapters than to just keep copying? >> I couldn't find any kind of page (while doing Add from various pages) that >> had Chapter as a type or that would give it a number and line it up with 1 >> Introuction. >> >> Thanks in advance. >> _______________________________________________ >> Magritte, Pier and Related Tools ... >> https://www.iam.unibe.ch/mailman/listinfo/smallwiki >> > > From nick.ager at gmail.com Sat Feb 26 16:50:17 2011 From: nick.ager at gmail.com (Nick Ager) Date: Sat, 26 Feb 2011 15:50:17 +0000 Subject: Enabling cookies causes callback links to incorrectly redirect in Firefox Message-ID: I've logged a bug: http://code.google.com/p/pier/issues/detail?id=132 The text of the bug is: Steps to recreate the bug: 1) Download the recent build of Pier 2 - http://hudson.lukas-renggli.ch/job/Pier%202/ - this bug is not present in Pier with Seaside 2.8 2) In a workspace execute the following: PREventDistribution register. WAAdmin defaultDispatcher defaultHandler preferenceAt: #useCookies put: true. (PRPathLookup start: (PRKernel instances anyOne) root path: '/call') contents: 'In Firefox, try clicking on the counter +counter+'. (PRPathLookup start: (PRKernel instances anyOne) root path: '/call') addChild: ( (PRComponent named: 'counter') componentClass: WACounter; yourself) 3) Within Firefox (I'm using 3.16.13) browse to http://localhost:8080/pier/call - you should be on the "Call for Contributions" page into which the above script embeds the standard Seaside counter component in the page. 4) Try clicking on the "++" or "--" links a couple of times and you'll find yourself taken to http://localhost:8080/pier/dates and rather than modifying the counter value. Here's my understanding of the bug: 1) Amongst other metadata Pier adds the following to the header: 2) In Firefox when cookies are enabled, the causes firefox to issue at least two requests for each page; the first request for the url specified, the second for the url specified in the href of the . Note this second request is not visible in firebug (I added request logging to WAComancheRequestConverter). In Safari or Chrome, I haven't seen any additional requests and so the problem does not appear. 3) The second request confuses the callback hander Unfortunately my understanding of how the callback handler should work is limiting my ability to fix the bug. Any thoughts? From nick.ager at gmail.com Sun Feb 27 14:16:01 2011 From: nick.ager at gmail.com (Nick Ager) Date: Sun, 27 Feb 2011 13:16:01 +0000 Subject: Enabling cookies causes callback links to incorrectly redirect in Firefox In-Reply-To: References: Message-ID: I've uploaded an image which demonstration the issue: http://getitmade.com/static/Pier-2.zip Download and browse to http://localhost:8080/pier/call Click on the "++" or "--" links of the WACounter instance twice in Firefox. Notice that only in Firefox the second click of the callback take you to http://localhost:8080/pier/dates rather than incrementing the counter. On 26 February 2011 15:50, Nick Ager wrote: > I've logged a bug: http://code.google.com/p/pier/issues/detail?id=132 > > The text of the bug is: > > > Steps to recreate the bug: > 1) Download the recent build of Pier 2 - > http://hudson.lukas-renggli.ch/job/Pier%202/ - this bug is not present > in Pier with Seaside 2.8 > 2) In a workspace execute the following: > > PREventDistribution register. > WAAdmin defaultDispatcher defaultHandler preferenceAt: #useCookies put: true. > (PRPathLookup start: (PRKernel instances anyOne) root path: '/call') > contents: 'In Firefox, try clicking on the counter > > +counter+'. > (PRPathLookup start: (PRKernel instances anyOne) root path: '/call') addChild: ( > (PRComponent named: 'counter') componentClass: WACounter; yourself) > > 3) Within Firefox (I'm using 3.16.13) browse to > http://localhost:8080/pier/call - you should be on the "Call for > Contributions" page into which the above script embeds the standard > Seaside counter component in the page. > 4) Try clicking on the "++" or "--" links a couple of times and you'll > find yourself taken to http://localhost:8080/pier/dates and rather > than modifying the counter value. > > Here's my understanding of the bug: > > 1) Amongst other metadata Pier adds the following to the header: href="/pier/dates" rel="next"> > 2) In Firefox when cookies are enabled, the causes > firefox to issue at least two requests for each page; the first > request for the url specified, the second for the url specified in the > href of the . Note this second request is not visible > in firebug (I added request logging to WAComancheRequestConverter). In > Safari or Chrome, I haven't seen any additional requests and so the > problem does not appear. > 3) The second request confuses the callback hander > > Unfortunately my understanding of how the callback handler should work > is limiting my ability to fix the bug. Any thoughts? >