2008-10-17T00:22:16 *** KungFuBob has quit IRC 2008-10-17T00:39:18 *** KungFuBob has joined #weblion 2008-10-17T00:50:39 *** natea has quit IRC 2008-10-17T01:11:26 *** KungFuBob has quit IRC 2008-10-17T01:13:44 *** dixon1e has joined #weblion 2008-10-17T02:28:06 *** skandaleras has joined #weblion 2008-10-17T02:28:52 *** skandaleras has left #weblion 2008-10-17T04:14:47 *** dixon1e has quit IRC 2008-10-17T06:14:51 webliontickets: Ticket #822 (checking cc) created 2008-10-17T06:32:54 webliontickets: Ticket #823 (reciving ackn or not) created 2008-10-17T06:34:54 webliontickets: Ticket #823 (reciving ackn or not) updated 2008-10-17T07:08:43 *** KungFuBob has joined #weblion 2008-10-17T07:42:47 *** cjohansen has joined #weblion 2008-10-17T07:42:47 *** ChanServ sets mode: +o cjohansen 2008-10-17T07:46:18 *** esteele has joined #weblion 2008-10-17T07:46:18 *** ChanServ sets mode: +o esteele 2008-10-17T07:48:28 *** TitusA has joined #weblion 2008-10-17T07:51:35 *** KungFuBob has quit IRC 2008-10-17T08:10:04 *** mrevoir has joined #weblion 2008-10-17T08:10:21 *** paul_r has joined #weblion 2008-10-17T08:16:26 *** h0twired has quit IRC 2008-10-17T08:58:02 *** cjohansen has quit IRC 2008-10-17T09:07:23 *** cjohansen has joined #weblion 2008-10-17T09:07:23 *** ChanServ sets mode: +o cjohansen 2008-10-17T09:07:36 *** cjohansen has quit IRC 2008-10-17T09:09:15 *** natea has joined #weblion 2008-10-17T09:10:18 *** catherine-w has joined #weblion 2008-10-17T09:10:23 *** ChanServ sets mode: +o catherine-w 2008-10-17T09:14:28 * catherine-w wonders if there is a way to delete Trac tickets; 822 and 823 are patently spam 2008-10-17T09:16:49 *** BGaddie|Away is now known as BGaddie 2008-10-17T09:17:22 *** pumazi has joined #weblion 2008-10-17T09:21:15 *** mib_vu7byg has joined #weblion 2008-10-17T09:23:02 I have a question regarding extending FSD, I used the example code and I was attempting to add 2 fields, mobile phone and fax. For some reason only one field was added. It added the second field, whether fax or phone but not both. Is there something else I need to do to add 2 fields? 2008-10-17T09:23:50 mib_vu7byg: Can you post the code from your extender.py file (or whatever you called it) at paste.plone.org and paste the URL in here? 2008-10-17T09:24:04 yes, 2008-10-17T09:24:46 Actually I rolled back to a snapshot previous to the changes. I will re-do my changes and post before i execute. Is this ok? 2008-10-17T09:25:42 ummm -- not sure what you mean. I'd like to see the code that is not doing what you think it ought to be doing 2008-10-17T09:26:23 If you're committing to svn, you could point me to the revision that is not working... 2008-10-17T09:26:42 catherine-w: I need to re-create it, and since it did not work last night, I should probably have it looked at before attempting to install again 2008-10-17T09:27:37 *** natea has quit IRC 2008-10-17T09:28:04 OK. Well one possibility is that you made a tiny typo in the .py file, which is why I was interested in seeing it 2008-10-17T09:28:20 that is what I will post...thanks 2008-10-17T09:28:21 So have another go and see if it still fails to work ? : 2008-10-17T09:31:48 *** dcnoye has joined #weblion 2008-10-17T09:31:48 *** ChanServ sets mode: +o dcnoye 2008-10-17T09:43:11 *** ateoh211 has joined #weblion 2008-10-17T09:43:19 hi ateoh211 2008-10-17T09:43:44 *** ateoh211 is now known as kevin7kal 2008-10-17T09:44:30 well, now you know my top secret nick :-) 2008-10-17T09:44:38 lol 2008-10-17T09:44:41 catherine-w: failed extender code is here: http://paste.plone.org/24452 2008-10-17T09:44:46 OK 2008-10-17T09:45:30 mib_vu7byg: you have two private _fields methods, so it's just using the last one 2008-10-17T09:45:58 try deleting what are lines 43-46 in the pasted version 2008-10-17T09:46:12 and replacing them with commas (hang on, need to count how many) 2008-10-17T09:46:48 OK - try a comma after the parenthesis at line 41 2008-10-17T09:47:08 And a comma after the parenthesis at line 42 2008-10-17T09:47:42 catherine-w: does this indicate that additional changes are coming? 2008-10-17T09:47:49 Huh? 2008-10-17T09:48:01 i am not familiar with the comma usage 2008-10-17T09:48:18 Hang on, I will paste what I think may work 2008-10-17T09:51:53 mib_vu7byg: http://paste.plone.org/24454 Indents need some attention, but notice extra commas and deletion of the second _fields[ 2008-10-17T09:52:18 catherine-w:thanks, 2008-10-17T09:52:46 np - hope that works 2008-10-17T09:55:42 catherine-w: I will try, my question was what do the commas that you added indicate? I ask because If I get this to work, the next thing will be to add an additional field and hide the web site field so I figured it would be best to know why the commas were added. I am new to this... 2008-10-17T09:57:43 well, the first comma (at line 9 in the version I pasted) is after the parenthesis that closes the "widget" stuff... so if you want to add anything to the mobilePhone code group under the "widget" stuff, you can now do so without problems 2008-10-17T09:58:38 And the second comma is after the parenthesis that closes the mobilePhone _stringExtensionField, so you can add the fax _stringExtensionField without problems 2008-10-17T09:59:08 ^^ refers to comma at line 10 in the version I pasted 2008-10-17T09:59:23 Commas at lines 19 and 20 in the version I pasted are equivalent 2008-10-17T09:59:33 So you can now add a field under fax if you like 2008-10-17T09:59:49 I get it, thanks, 2008-10-17T09:59:54 Cool :) 2008-10-17T10:00:08 By the way, you can add other kinds of fields than _StringExtensionField 2008-10-17T10:00:36 For example: 2008-10-17T10:00:38 class _RichtextExtensionField(ExtensionField, TextField): 2008-10-17T10:00:38 pass 2008-10-17T10:01:09 And you can then use the RichWidget widget to give yourself a Rich text field 2008-10-17T10:01:15 is this what the "web site" field is? 2008-10-17T10:01:28 I think that's probably a Lines field 2008-10-17T10:02:14 The Biography field would be a rich text field 2008-10-17T10:02:24 i get it 2008-10-17T10:05:23 *** h0twired has joined #weblion 2008-10-17T10:06:08 mib_vu7byg: if you want to hide the website field, you can do so using the "fiddle" [sic] method 2008-10-17T10:06:28 catherine-w: i'm ready when you are 2008-10-17T10:06:34 *** mrevoir_ has joined #weblion 2008-10-17T10:06:55 h0twired: two ticks -- just doing a commit 2008-10-17T10:07:35 webliontickets: Changeset [5476]: Added validation to the study systems Rich Text field 2008-10-17T10:14:12 *** mrevoir has quit IRC 2008-10-17T10:16:51 *** dcnoye has quit IRC 2008-10-17T10:19:20 mib_vu7byg: fyi, here's an extender I put together that adds some fields and moves some fields around and hides some fields https://weblion.psu.edu/trac/weblion/browser/huckInstitutes/Plone3products/ciddPeopleExtender/person.py -- feel free to use that as an example 2008-10-17T10:19:38 (and let me know of any bugs you spot, teehee) 2008-10-17T10:22:19 *** dcnoye has joined #weblion 2008-10-17T10:22:19 *** ChanServ sets mode: +o dcnoye 2008-10-17T10:23:29 *** dixon1e has joined #weblion 2008-10-17T10:25:14 *** RobZoneNet has joined #weblion 2008-10-17T10:25:14 *** ChanServ sets mode: +o RobZoneNet 2008-10-17T10:25:39 good morning everyone 2008-10-17T10:34:30 *** h0twired has quit IRC 2008-10-17T10:47:15 *** cguardia has joined #weblion 2008-10-17T10:54:00 catherine-w: can you spare a moment for a clarification ? 2008-10-17T10:54:55 dcnoye - sure 2008-10-17T11:02:11 *** cguardia has left #weblion 2008-10-17T11:04:47 *** natea has joined #weblion 2008-10-17T11:14:58 *** KungFuBob has joined #weblion 2008-10-17T11:16:04 *** KungFuBob has quit IRC 2008-10-17T11:32:25 *** Cymor-Work has quit IRC 2008-10-17T11:34:48 *** natea_ has joined #weblion 2008-10-17T11:35:32 *** natea has quit IRC 2008-10-17T11:39:41 *** tsimkins has joined #weblion 2008-10-17T11:41:24 *** Cymor-Work has joined #weblion 2008-10-17T11:47:34 Hey, quick question... Does 508 Rider have working network connectivity? 2008-10-17T11:47:53 it has wireless 2008-10-17T11:47:56 for sure 2008-10-17T11:48:10 Cool, thanks! 2008-10-17T11:48:31 *** tsimkins has quit IRC 2008-10-17T11:52:52 *** natea_ has quit IRC 2008-10-17T11:57:54 webliontickets: z3c.jbot edited 2008-10-17T12:06:01 RobZoneNet: https://weblion.psu.edu/trac/weblion/browser/weblion/ploneSymposium/presentations/schemaextender/products/NewsItemChannel/Extensions/Install.py?rev=#L6 2008-10-17T12:14:27 *** natea has joined #weblion 2008-10-17T12:35:37 *** KurtB has quit IRC 2008-10-17T12:37:41 *** pumazi has quit IRC 2008-10-17T12:37:51 *** RobZoneNet has quit IRC 2008-10-17T12:39:17 *** gil1 has joined #weblion 2008-10-17T12:44:45 *** gil1 has left #weblion 2008-10-17T12:47:47 *** cbcunc has joined #weblion 2008-10-17T12:48:45 who was the topic leader of the facstaffdir potion of the plone conf sprint? rob porter? erik rose? 2008-10-17T12:50:13 *** dixon1e has quit IRC 2008-10-17T12:55:00 *** RobZoneNet has joined #weblion 2008-10-17T12:55:00 *** ChanServ sets mode: +o RobZoneNet 2008-10-17T12:55:49 RobZoneNet: were you the leader of the facstaffdir portion of the plone conf sprints? 2008-10-17T12:56:04 esteele wa 2008-10-17T12:56:07 ewas 2008-10-17T12:56:09 was hehe 2008-10-17T12:56:20 *** pumazi has joined #weblion 2008-10-17T12:56:33 ok thanks 2008-10-17T12:56:37 oh 2008-10-17T12:56:40 sorry wrong info 2008-10-17T12:56:48 erikrose and cewing did 2008-10-17T12:56:50 cbcunc: Cris Ewing and I 2008-10-17T12:57:16 ErikRose: so i would be ok to address the request for the final written report out to you? 2008-10-17T12:57:31 (just trying to get this email out to the topic leaders) 2008-10-17T12:57:35 *** catherine-w has quit IRC 2008-10-17T12:57:35 Sure, though what's on the wiki page is accurate. 2008-10-17T12:57:43 thanks 2008-10-17T12:57:55 With the possible addition that the 2.1 release is actually released now. 2008-10-17T12:58:02 Thanks for organizing the sprints! 2008-10-17T12:58:09 They were insanely productive! 2008-10-17T12:58:15 Enjoyed it. thanks for leading a topic 2008-10-17T12:58:21 My pleasure 2008-10-17T12:58:28 yes, it was crazy productive 2008-10-17T12:58:49 it was kind of like hiring a full time employee to work on Plone for a year 2008-10-17T12:59:00 someone with every talent imaginable 2008-10-17T12:59:08 and the travel budget of 158 people. 2008-10-17T12:59:21 hehe 2008-10-17T13:01:01 RobZoneNet: I just saw that the CSSManager that you are working on is a rework of Michael Geddert's CSSManager. He's an old friend of mine and we worked on CSSManager together. Although it was mostly Michael. 2008-10-17T13:01:15 nice 2008-10-17T13:01:19 yes he was very nice to me 2008-10-17T13:01:42 i asked him a few years ago if he was doing it anymore and he said no.. and he didn't mind me taking it over 2008-10-17T13:01:48 work on it stopped when he was in a very bad auto accident and laid up in bed for about a year. 2008-10-17T13:01:53 :( 2008-10-17T13:01:56 i didn't know that 2008-10-17T13:14:55 *** paul_r has quit IRC 2008-10-17T13:18:52 Can someone please look at this code? I was trying to extend the facultystaffdirectory using the example extender and i want to add 3 fields. only the 3rd field is being added. no error messages are being raised. http:paste.plone.org/24457 thanks, 2008-10-17T13:19:22 http://paste.plone.org/24457 2008-10-17T13:21:41 *** ErikRose has quit IRC 2008-10-17T13:22:51 *** RobZoneNet has quit IRC 2008-10-17T13:30:18 *** catherine-w has joined #weblion 2008-10-17T13:30:23 *** ChanServ sets mode: +o catherine-w 2008-10-17T13:30:25 *** h0twired has joined #weblion 2008-10-17T13:30:42 *** cthomas has joined #weblion 2008-10-17T13:30:59 hey all 2008-10-17T13:31:07 i have a really quick and most likely dumb question 2008-10-17T13:31:09 hi cthomas 2008-10-17T13:31:18 (can tell its friday) 2008-10-17T13:32:08 I have several sites on my zope instance at this point. At this point, I have one URL...http://plonedev.la.psu.edu 2008-10-17T13:32:34 this URL points to the original "Plone" site 2008-10-17T13:33:15 *** RobZoneNet has joined #weblion 2008-10-17T13:33:15 *** ChanServ sets mode: +o RobZoneNet 2008-10-17T13:33:34 I also have another site on this same instance. To access it, I can type...http://plonedev.la.psu.edu/NAME OF OTHER SITE 2008-10-17T13:33:50 problem is, a lot of the links to images and such aren't working 2008-10-17T13:34:10 is there a way to fix this with Apache? Or do I simply need to get another URL? 2008-10-17T13:34:44 *** pumazi_ has joined #weblion 2008-10-17T13:35:18 *** dcnoye has quit IRC 2008-10-17T13:35:21 catherine-w: schema extender issue again. I followed your model, but again only the last entry is being registered. I am sure I am doing somethign wrong like earlier today can you scan this? http://paste.plone.org/24457 2008-10-17T13:35:29 *** h0twired is now known as dcnoye 2008-10-17T13:35:30 *** ChanServ sets mode: +o dcnoye 2008-10-17T13:35:59 mib_vu7byg: sure. Am in a mtg at the moment, so might be slightly slower than earlier today :) 2008-10-17T13:36:00 *** ErikRose has joined #weblion 2008-10-17T13:36:00 *** ChanServ sets mode: +o ErikRose 2008-10-17T13:36:19 ok thanks, 2008-10-17T13:36:28 cthomas: do you still have problems when you don't go thru apache ? ie http://plonedev....edu:8080/NAME ? 2008-10-17T13:36:46 cthomas: and do you have squid running ? 2008-10-17T13:36:51 dcnoye, no, not if I'm accessing my orignal site 2008-10-17T13:36:56 no squid 2008-10-17T13:37:10 I created a new site on this instance and was migrating data to it 2008-10-17T13:37:22 however, the images don't work 2008-10-17T13:37:25 mib_vu7byg: did you restart Zope after changing the files? Also did you uninstall and reinstall the product? 2008-10-17T13:37:28 and css ? 2008-10-17T13:37:35 (guessing) 2008-10-17T13:37:38 yes and yes 2008-10-17T13:37:48 my guess is because the URL is "http://plonedev.la.psu.edu/new site 2008-10-17T13:37:51 darn, there goes that theory :) 2008-10-17T13:37:54 yes, CSS 2008-10-17T13:38:28 i think that you just need to configure apache 2008-10-17T13:38:33 catherine-w: I used your code this am to get the mobile phone and fax working good. then I uninstalled the product, edited the files, and restarted the zope instance 2008-10-17T13:38:41 can you paste your config somewhere ? 2008-10-17T13:38:55 just a new Virtual host for this site? 2008-10-17T13:39:21 *** pumazi has quit IRC 2008-10-17T13:39:43 i think that you could get away with a fancy rewrite 2008-10-17T13:39:50 * dcnoye checking 2008-10-17T13:39:50 catherine-w: but I was now adding a 3rd field, a Lines field. and now the Lines field is added, but not the mobile phone and fax whoose code I did not touch 2008-10-17T13:40:05 mib_vu7byg: did you say you had a working product at one point? 2008-10-17T13:40:47 catherine-w: yes this morning, I had the extender working with 2 fields, mobile phone and fax 2008-10-17T13:40:53 so what changed? 2008-10-17T13:41:07 I added a new add Lines field 2008-10-17T13:41:26 *** natea has quit IRC 2008-10-17T13:41:27 and now only the lines field is added, not the mobile phone and fax 2008-10-17T13:41:33 ah, OK 2008-10-17T13:42:04 mib_vu7byg: You're redefining the class twice. 2008-10-17T13:42:15 you need to stick the lines field stuff inside the same _fields[...] as the other (string) field extenders 2008-10-17T13:42:25 You should have only one YuppieExtender, and stick…yeah, do what she said. :-) 2008-10-17T13:43:20 ok 2008-10-17T13:45:28 *** natea has joined #weblion 2008-10-17T13:46:18 http://failblog.files.wordpress.com/2008/10/fail-owned-virginia-license-plate-fail.jpg 2008-10-17T13:46:20 *** staze has joined #weblion 2008-10-17T13:46:29 esteele, you around? 2008-10-17T13:46:52 cthomas: try something like this: RewriteRule ^/NAMEOFSITE(/.*|$) http://plonedev.la.psu.edu/NAMEOFSITE$1 [L] 2008-10-17T13:46:52 catherine-w: so i would move the Class _LinesExtensionField,(ExtensionField, LinesField): pass above the first YuppieExtender, and then the _fields in line with the others? 2008-10-17T13:46:59 staze: think esteele's officially on vacation today 2008-10-17T13:47:05 ah, okay 2008-10-17T13:47:12 was just going to tell him the good news 2008-10-17T13:47:27 the fix from yesterday did infact fix our issue on the production site 2008-10-17T13:47:29 dcnoye, this would be in a new virtual host for this site? 2008-10-17T13:47:39 sorry, just learning apache 2008-10-17T13:47:57 mib_vu7byg: what's currently at line 55-56 in the paste.plone thing.... move those to line 13-14 2008-10-17T13:48:17 no worries, i don't think that you need a new vh 2008-10-17T13:48:29 Then what's currently at lines 69-77.... move that to under line 45 2008-10-17T13:48:39 ah, I think I get what you're saying now... 2008-10-17T13:48:39 catherine-w: ok 2008-10-17T13:49:16 Then delete the remainder of what's currently line 59-84 2008-10-17T13:49:57 You could also delete that comment at line 86 on... 2008-10-17T13:51:17 *** dixon1e has joined #weblion 2008-10-17T13:52:38 *** staze has quit IRC 2008-10-17T13:56:02 dcnoye, thanks! 2008-10-17T13:56:10 I had to play with the ports a little, but it works 2008-10-17T13:56:18 sweet ! 2008-10-17T13:56:24 glad to help 2008-10-17T13:58:07 catherine-w: worked nicely....many thanks 2008-10-17T13:58:27 hooray! :) 2008-10-17T14:01:33 *** cjohansen has joined #weblion 2008-10-17T14:01:33 *** ChanServ sets mode: +o cjohansen 2008-10-17T14:08:34 * catherine-w makes a note never to buy a veggie wrap at Mclanahans again 2008-10-17T14:14:19 Hey folks! Put in your $0.02 in the Web Conference survey. They need some guidance. http://www.psu.edu/webconference/surveys/general_interest.html 2008-10-17T14:25:18 cjohansen: already done :) 2008-10-17T14:42:38 catherine-w: more shema.extender stuff. I used the code you shared this morning as a guide to schema modifications. Now i added this after the schemaextensions. When I add the product, the added fields show up fine still, but the schema modifications do not, no error messages are raised. http://paste.plone.org/24462 2008-10-17T14:43:26 mib_vu7byg: can you hang on for half an hour? In the middle of something here... 2008-10-17T14:43:42 sure 2008-10-17T14:43:47 thx 2008-10-17T15:14:10 mib_vu7byg: OK, had a quick look 2008-10-17T15:14:29 You also need to change your Install.py 2008-10-17T15:15:24 Take a look at this as an example: https://weblion.psu.edu/trac/weblion/browser/huckInstitutes/Plone3products/ciddPeopleExtender/Extensions/Install.py 2008-10-17T15:15:55 See lines 4, 14 and 22 in ^^ 2008-10-17T15:19:53 I was just noticing that myself, I just edited install.py and _init_.py 2008-10-17T15:20:01 mib_vu7byg: by the way, you probably want to change your class name. ciddPeopleExtender won't make sense in the context of your site :) 2008-10-17T15:20:19 you can call the class what you want: ardvarksAnonymous or whatever 2008-10-17T15:20:32 :) 2008-10-17T15:20:39 Just make sure that the name called in install.py is the same as the class name in your person.py 2008-10-17T15:20:58 ditto in __init.py__ 2008-10-17T15:26:37 webliontickets: Ticket #204 (FacultyStaffDirectory - automatic alphabetical listing of specialties) updated 2008-10-17T15:41:47 *** cthomas has quit IRC 2008-10-17T15:45:03 *** cjohansen has quit IRC 2008-10-17T15:47:55 catherine-w: it worked fine again. Thank you once again 2008-10-17T15:50:05 mib_vu7byg: you're welcome. glad to help 2008-10-17T15:51:37 http://www.sixfeetup.com/hosting/plans-and-fees/dedicated-instance-hosting 2008-10-17T15:53:56 we change about $50 a month, they change $199 for the same sort of setup, not to mention the $80 setup fee 2008-10-17T16:10:14 ErikRose: fyi http://pypi.python.org/pypi/iw.memberreplace 2008-10-17T16:10:49 *** mib_ia9nny has joined #weblion 2008-10-17T16:11:23 Anyone know what's up with #plone IRC 2008-10-17T16:13:09 Is there a way to make a page where the title of the page is not the link also. So if you have a real long page title I don't want that long of a sub nav linkage also??? 2008-10-17T16:13:37 *** mib_ia9nny has quit IRC 2008-10-17T16:13:55 *** mib_eaqlu6 has joined #weblion 2008-10-17T16:14:28 mib_eaqlu6: are you the person that just asked the question about the page title? 2008-10-17T16:14:47 Opps got kicked out, got excited and clicked on the Sympeast link... 2008-10-17T16:14:57 yep that's me 2008-10-17T16:15:28 (by the way, if you are joining this channel ttw from our WL page, you can give yourself your own nick... you don't have to accept the "mib_whatever" nick suggested for you) 2008-10-17T16:15:43 OK 2008-10-17T16:15:53 From this page, I mean: http://weblion.psu.edu/documentation/chat 2008-10-17T16:16:18 did I miss the answers? ABout #plone and page titles? 2008-10-17T16:16:24 Not showing me 2008-10-17T16:16:29 up to you -- if you use your own nick, you can use the same one all the time and we might recognize you.... 2008-10-17T16:16:34 :) 2008-10-17T16:16:55 No idea about #plone, lemme check 2008-10-17T16:17:11 Looks up to me 2008-10-17T16:17:31 Not sure I understand the question about page titles 2008-10-17T16:17:38 0 users for me... went through plone.org 2008-10-17T16:17:58 Ah. You could try a standalone client 2008-10-17T16:18:03 Don't want the title of the page to be the link in the navigation 2008-10-17T16:18:33 What do you want to be the link in navigation? 2008-10-17T16:20:39 So for example I have a company overview page that I want the link to say "Company Overview" in navigation portlet but want it to say "bla,bla,bla...this is a great company in the title." Right now if I type "bla,bla,bla...this is a great company in the title." into the title it is also the link? 2008-10-17T16:21:15 Yes, that's correct 2008-10-17T16:21:51 You should really think hard about page titles 2008-10-17T16:22:16 For a start, they can have a big impact on your search engine ranking 2008-10-17T16:22:41 Is there a way to make what the link in the navigation portlet says different than the title of the page? 2008-10-17T16:23:13 There are ways to do most things :) Some things are fiddlier than others 2008-10-17T16:24:32 when editing the person_view.pt in FSD, where does "context/getOfficePhone" get defined? 2008-10-17T16:24:59 If you have a long page title "blah blah blah this is a great company", google will rank you lower than if you just have "company" on a search for "company" 2008-10-17T16:25:13 mib_vu7byg: person.py 2008-10-17T16:25:20 After I added new fields, I want them to show in in the person_view 2008-10-17T16:25:37 so the same person.py i did the schema modifications on? 2008-10-17T16:25:54 Oh, I see - OK, you need to make your own copy of the view for FSDPerson 2008-10-17T16:26:06 Can't remember offhand what it's called 2008-10-17T16:26:12 Maybe person_view.pt 2008-10-17T16:26:19 person_view.pt 2008-10-17T16:26:34 and I create a custom version 2008-10-17T16:26:36 Make your own copy of that, and put it in your custom folder, or in your theme product 2008-10-17T16:27:01 So that your copy gets called in preference to FSD's 2008-10-17T16:27:14 ok so far 2008-10-17T16:27:41 then getMobilePhone needs to be defined somewhere correct? 2008-10-17T16:28:41 ah, this is where archetypes is kinda cool 2008-10-17T16:29:11 If you have a field called mobilePhone, you automatically (for free!) get given methods called getMobilePhone and setMobilePhone 2008-10-17T16:29:25 So, no, you don't have to explicitly define it 2008-10-17T16:29:32 You can just call it, and it should work 2008-10-17T16:29:38 ok 2008-10-17T16:30:06 so when I set my field name, "mobilephone" this is the label I use? 2008-10-17T16:32:16 um, hang on 2008-10-17T16:34:56 *** TitusA has quit IRC 2008-10-17T16:36:53 *** staze has joined #weblion 2008-10-17T16:37:22 mib_vu7byg: if you are in a template, you could try context/mobilephone 2008-10-17T16:39:01 I looked up my add field, and i called it mobilePhone, so I should use this 2008-10-17T16:40:24 anyone here use FCK with Plone? 2008-10-17T16:40:40 mib_vu7byg: context/mobilePhone 2008-10-17T16:40:44 *** staze has quit IRC 2008-10-17T16:40:51 *** staze has joined #weblion 2008-10-17T16:40:56 test 2008-10-17T16:41:07 or alternatively: tal:define="cell python:context.getMobilePhone()" 2008-10-17T16:41:11 okay, seems to work. weird... 2008-10-17T16:41:17 *** grahamperrin has joined #weblion 2008-10-17T16:41:29 staze: think our education dept may be using it 2008-10-17T16:41:50 *** dixon1e has quit IRC 2008-10-17T16:41:56 catherine-w: last time i check joe was still using it 2008-10-17T16:41:56 just curious if you've seen an error when trying to go to the configlet... 2008-10-17T16:42:24 never used it myself.... 2008-10-17T16:43:03 ingeniweb must have the WORST documentation ever... 2008-10-17T16:44:17 oh, they're french (not that there's an issue with being french, just that they aren't native english speakers, so their documentation isn't the most easy to read) 2008-10-17T16:46:22 mais oui, mon brave. Essayez vous d'ecrire en Francais, et vous voyez que c'est tres difficile d'ecrire un langue etrange 2008-10-17T16:46:32 (d'ecrire dans?) 2008-10-17T16:46:39 brits... =P 2008-10-17T16:47:43 I only understand the basics of what you said because I have a pretty decent grasp of latin based languages... and yes, French is a pain in the butt. though, it's easier reading it than listening to it. 2008-10-17T16:48:47 Je n'ai pas ecrit en Francais depuis presque vignt ans 2008-10-17T16:49:17 comme c'est evident 2008-10-17T16:49:21 hah 2008-10-17T16:50:07 *** grahamperrin has joined #weblion 2008-10-17T16:50:18 *** mib_eaqlu6 has quit IRC 2008-10-17T16:50:29 okay, that one I had to put through a translator... 2008-10-17T16:50:40 vignt it had issues with... 2008-10-17T16:50:56 * catherine-w makes typos in French too... oh no! 2008-10-17T16:51:02 heh 2008-10-17T16:57:44 *** catherine-w has quit IRC 2008-10-17T17:02:58 catherine-w: I am getting an attribute error when I try to view_person.pt in custom and it says it is getmobilephone as the problem http://paste.plone.org/24465 2008-10-17T17:06:34 *** dcnoye has quit IRC 2008-10-17T17:06:50 *** staze has quit IRC 2008-10-17T17:07:58 *** catherine-w has joined #weblion 2008-10-17T17:07:58 *** ChanServ sets mode: +o catherine-w 2008-10-17T17:07:59 *** pumazi_ has quit IRC 2008-10-17T17:09:01 *** cbcunc has quit IRC 2008-10-17T17:09:05 mib_vu7byg: well you may not be calling it right 2008-10-17T17:09:15 can you paste your template at paste.plone? 2008-10-17T17:09:21 And the error? 2008-10-17T17:09:31 the error is above 2008-10-17T17:09:40 *** RobZoneNet has quit IRC 2008-10-17T17:09:47 i will post the template above 2008-10-17T17:09:55 at paste.plone.org 2008-10-17T17:10:28 oh, OK - I missed that when I dropped out of this channel temporarily 2008-10-17T17:12:21 *** ErikRose has quit IRC 2008-10-17T17:13:01 mib_vu7byg: one thing I noticed is the capitalization. If you have a field called mobilePhone, you automatically get given a method called getMobilePhone() -- note capital M 2008-10-17T17:13:06 the person_view.pt from custom is at http://paste.plone.org/24466 the code i added is near the bottom related to getmobilephone and getfax 2008-10-17T17:13:28 oooow 2008-10-17T17:13:45 so my field was "mobilePhone" 2008-10-17T17:13:58 so it should be getMobilePhone 2008-10-17T17:14:01 well try that 2008-10-17T17:14:09 let me try that 2008-10-17T17:14:23 and field name fax would be getFax 2008-10-17T17:14:26 ? 2008-10-17T17:14:27 yep 2008-10-17T17:14:55 I am not sure how archetypes methods work with fields added with a schemaextender, but try that first 2008-10-17T17:15:05 *** BGaddie is now known as BGaddie|away 2008-10-17T17:16:26 by the way, you may want to give a different i18n source for lines 46 and 51 ... I'm not sure that the FSD product has those labels in, as those are ones you have added.... 2008-10-17T17:16:30 *** Cymor-Work has quit IRC 2008-10-17T17:16:44 catherine-w: same error 2008-10-17T17:16:51 OK. 2008-10-17T17:16:54 Try this: 2008-10-17T17:17:47
2008-10-17T17:18:17 [mobile phone number here] 2008-10-17T17:18:21
2008-10-17T17:18:30 ok 2008-10-17T17:20:10 catherine-w: would it matter if these persons records were created before we had mobile phone or fax in teh schema 2008-10-17T17:20:19 shouldn't 2008-10-17T17:20:57 *** ErikRose has joined #weblion 2008-10-17T17:20:57 *** ChanServ sets mode: +o ErikRose 2008-10-17T17:21:00 mib_vu7byg: still having problems? 2008-10-17T17:22:00 *** RobZoneNet has joined #weblion 2008-10-17T17:22:00 *** ChanServ sets mode: +o RobZoneNet 2008-10-17T17:23:41 *** dcnoye has joined #weblion 2008-10-17T17:23:41 *** ChanServ sets mode: +o dcnoye 2008-10-17T17:25:30 same error 2008-10-17T17:25:45 attribure error getMobilePhone 2008-10-17T17:25:59 lemme think 2008-10-17T17:26:43 mib_vu7byg: may i ask what you're trying to do ? 2008-10-17T17:27:21 Ok try this: 2008-10-17T17:27:47
2008-10-17T17:28:10 oops: should be ' before the parenthesis ) 2008-10-17T17:28:25 context.get('mobilePhone') 2008-10-17T17:28:34 got it 2008-10-17T17:29:15 * catherine-w wonders whether schemaextendery fields don't automatically get their own methods afterall 2008-10-17T17:29:32 They can't. 2008-10-17T17:29:36 ahhhhhh 2008-10-17T17:29:55 but context.get('mobilePhone') ought to work 2008-10-17T17:30:21 that did it... 2008-10-17T17:30:28 it worked? 2008-10-17T17:30:32 thanks for the last time today 2008-10-17T17:30:34 yes 2008-10-17T17:30:50 no problemo... can I just ask where you are based? 2008-10-17T17:30:59 atlanta ga 2008-10-17T17:31:14 cool. University? 2008-10-17T17:31:18 *** KungFuBob has joined #weblion 2008-10-17T17:31:29 No Georgia U 2008-10-17T17:31:37 community college 2008-10-17T17:32:10 Interesting.... Always fun to find out where people on this channel are based :) 2008-10-17T17:32:28 We run out of State College in central PA -- Penn State 2008-10-17T17:32:57 Have a good weekend all 2008-10-17T17:33:36 * catherine-w is off to brave the Friday night crowds on the way home (tomorrow is some odd game with an odd name) 2008-10-17T17:33:51 You too! 2008-10-17T17:33:59 odd? 2008-10-17T17:34:07 have a good weekend too catherine-w 2008-10-17T17:34:10 good luck and thanks for all your help today 2008-10-17T17:34:11 Well it sure isn't what I call football :) 2008-10-17T17:34:12 how is it odd 2008-10-17T17:34:27 well soccer is fun too i suppose 2008-10-17T17:34:52 *** catherine-w has quit IRC 2008-10-17T17:35:11 futbal 2008-10-17T17:46:57 *** dixon1e has joined #weblion 2008-10-17T17:48:26 *** dixon1e has left #weblion 2008-10-17T18:07:18 *** ErikRose has quit IRC 2008-10-17T18:11:06 *** mib_vu7byg has quit IRC 2008-10-17T18:12:02 *** RobZoneNet has quit IRC 2008-10-17T18:12:37 *** natea has quit IRC 2008-10-17T18:33:48 *** dcnoye has quit IRC 2008-10-17T19:17:05 *** natea has joined #weblion 2008-10-17T19:27:39 *** natea has quit IRC 2008-10-17T19:42:59 *** natea has joined #weblion 2008-10-17T21:11:05 *** esteele has quit IRC 2008-10-17T22:03:36 *** KungFuBob has quit IRC 2008-10-17T22:23:15 *** KungFuBob has joined #weblion 2008-10-17T22:29:49 *** mikehalm has joined #weblion 2008-10-17T22:35:44 *** natea has quit IRC 2008-10-17T22:36:16 *** natea has joined #weblion 2008-10-17T22:38:51 *** natea has quit IRC 2008-10-17T22:39:25 *** natea has joined #weblion 2008-10-17T22:41:08 *** KungFuBob has quit IRC 2008-10-17T23:02:06 *** mikehalm has quit IRC 2008-10-17T23:02:51 *** mikehalm has joined #weblion 2008-10-17T23:06:25 *** KungFuBob has joined #weblion 2008-10-17T23:21:43 *** KungFuBob has quit IRC