From cimo75 at gmail.com Sun Mar 1 22:39:37 2009 From: cimo75 at gmail.com (simone-www.io-lab.org) Date: Sun, 1 Mar 2009 22:39:37 +0000 Subject: [support] Registration without password Message-ID: Hi I d like to use the registration form just to store users' username and email, but i can t overcome the password requirement, a search through user related modules hasn t returned anything specific. I don t need email validation (which would eventually create a random password) i just wan the user to enter username and email and store the data, password could be either automatically created or just no present Thanks Simone -- .wmv , .wma , .pps along with all proprietary Windows formats won t be accepted and/or viewed.... From fb at codicelibero.net Sun Mar 1 22:45:49 2009 From: fb at codicelibero.net (Francesco Baldini) Date: Sun, 1 Mar 2009 23:45:49 +0100 (CET) Subject: [support] Localizing a template In-Reply-To: <49A7B271.9020305@torchbox.com> References: <5fef73c6e7758102d62fb372b9b4b1a3.squirrel@webmail.codicelibero.net> <49A7B271.9020305@torchbox.com> Message-ID: On Ven, 27 Febbraio 2009 10:29 am, J-P Stacey wrote: > First turn on the Locale module. Then, if your text is hardcoded, wrap > it in the t() PHP function as follows: > >

My text

> ... becomes ... >

thank you so much ;) From cimo75 at gmail.com Sun Mar 1 23:09:23 2009 From: cimo75 at gmail.com (simone-www.io-lab.org) Date: Sun, 1 Mar 2009 23:09:23 +0000 Subject: [support] Registration without password In-Reply-To: References: Message-ID: Solved: just enable approval by administrator and keep the user blocked, all i need is the contacts infos. On Sun, Mar 1, 2009 at 10:39 PM, simone-www.io-lab.org wrote: > Hi > I d like to use the registration form just to store users' username > and email, but i can t overcome the password requirement, a search > through user related modules hasn t returned anything specific. > I don t need email validation (which would eventually create a random > password) i just wan the user to enter username and email and store > the data, password could be either automatically created or just no > present > Thanks > Simone > > -- > .wmv , .wma , .pps along with all proprietary Windows formats won t be > accepted and/or viewed.... > -- .wmv , .wma , .pps along with all proprietary Windows formats won t be accepted and/or viewed.... From nitingupta.iitg at gmail.com Mon Mar 2 19:20:46 2009 From: nitingupta.iitg at gmail.com (nitin gupta) Date: Tue, 3 Mar 2009 00:50:46 +0530 Subject: [support] allotment of CVS account Message-ID: <4f59ac610903021120p6b43baa5j38866037b63767aa@mail.gmail.com> Hi all, I (re-) submitted my application for CVS account on 17th Feb after getting rejected earlier. Since then, I haven't got any reply from the administrators. I even sent them a mail using the contact form. Can you (experienced) people tell me if it is usual? How much time does they usually take to setup the account. I have used sourceforge for uploading my projects. They were quite fast. regards, NKG -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20090303/3096e242/attachment.htm From pamcaymol at yahoo.com Mon Mar 2 19:33:08 2009 From: pamcaymol at yahoo.com (Pam CaymolBadger) Date: Mon, 2 Mar 2009 11:33:08 -0800 (PST) Subject: [support] allotment of CVS account In-Reply-To: <4f59ac610903021120p6b43baa5j38866037b63767aa@mail.gmail.com> Message-ID: <560863.66623.qm@web59813.mail.ac4.yahoo.com> ? Please unsubcribe me? pam? ? ? ?? ?? ?? ? ?www.ytb.com/pambadger777? MY MARKETING LINK ? ?www.ytbtravel.com/sbeaufort?? BOOKING ENGINE ? blessings, Pam Caymol Badger ? 843-425-7587 cell 843-261-7587 bus --- On Mon, 3/2/09, nitin gupta wrote: From: nitin gupta Subject: [support] allotment of CVS account To: support at drupal.org Date: Monday, March 2, 2009, 7:20 PM Hi all, I (re-) submitted my application for CVS account on 17th Feb after getting rejected earlier. Since then, I haven't got any reply from the administrators. I even sent them a mail using the contact form. Can you (experienced) people tell me if it is usual? How much time does they usually take to setup the account. I have used sourceforge for uploading my projects. They were quite fast. regards, NKG -- [ Drupal support list | http://lists.drupal.org/ ] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20090302/e4f2a054/attachment.htm From simpsonetti at googlemail.com Tue Mar 3 12:10:31 2009 From: simpsonetti at googlemail.com (=?iso-8859-1?Q?Sebastian_G=F6decke?=) Date: Tue, 3 Mar 2009 13:10:31 +0100 Subject: [support] charset, litejazz Message-ID: <188068292.20090303131031@googlemail.com> Guten Tag Support Support, hi, i'm using litejazz from roopletheme. This site is working perfect with Firefox and google chrome. But in Internet Explorer 6 !! Content !! won't be displayed. changing charset in IE6 will work only till next reload. How can i change the default charset from UTF-8 to a charset that IE6 will work with ? regards simpsoneti -- Mit freundlichen Gr??en Sebastian G?decke mailto:simpsonetti at googlemail.com From simpsonetti at googlemail.com Tue Mar 3 12:10:31 2009 From: simpsonetti at googlemail.com (=?iso-8859-1?Q?Sebastian_G=F6decke?=) Date: Tue, 3 Mar 2009 13:10:31 +0100 Subject: [support] charset, litejazz Message-ID: <188068292.20090303131031@googlemail.com> Guten Tag Support Support, hi, i'm using litejazz from roopletheme. This site is working perfect with Firefox and google chrome. But in Internet Explorer 6 !! Content !! won't be displayed. changing charset in IE6 will work only till next reload. How can i change the default charset from UTF-8 to a charset that IE6 will work with ? regards simpsoneti -- Mit freundlichen Gr??en Sebastian G?decke mailto:simpsonetti at googlemail.com From cog.rusty at gmail.com Tue Mar 3 12:36:09 2009 From: cog.rusty at gmail.com (Cog Rusty) Date: Tue, 3 Mar 2009 14:36:09 +0200 Subject: [support] charset, litejazz In-Reply-To: <188068292.20090303131031@googlemail.com> References: <188068292.20090303131031@googlemail.com> Message-ID: On Tue, Mar 3, 2009 at 2:10 PM, Sebastian G?decke wrote: > Guten Tag Support Support, > > hi, i'm using litejazz from roopletheme. This site is working perfect > with Firefox and google chrome. > But in Internet Explorer 6 !! Content !! won't be displayed. > changing charset in IE6 will work only till next reload. > How can i change the default charset from UTF-8 to a charset that IE6 > will work with ? In what language is your text? - Any non-English text with UTF8 encoding will *not* be displayed correctly in another encoding. You will just see different letters and symbols. - Any English content with UTF8 encoding will appear exactly the same in any ANSI encoding. When you say that you are changing charset, do you mean the menu View -> Encoding? If so, what was selected and what do you select to make it work? Or do you mean some other menu? > regards simpsoneti > > -- > Mit freundlichen Gr??en > Sebastian G?decke > mailto:simpsonetti at googlemail.com > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From simpsonetti at googlemail.com Tue Mar 3 12:58:06 2009 From: simpsonetti at googlemail.com (=?utf-8?Q?Sebastian_G=C3=B6decke?=) Date: Tue, 3 Mar 2009 13:58:06 +0100 Subject: [support] charset, litejazz In-Reply-To: References: <188068292.20090303131031@googlemail.com> Message-ID: <358136863.20090303135806@googlemail.com> Guten Tag Cog Rusty, am Dienstag, 3. M?rz 2009 um 13:36 schrieben Sie: > On Tue, Mar 3, 2009 at 2:10 PM, Sebastian G?decke > wrote: >> Guten Tag Support Support, >> >> hi, i'm using litejazz from roopletheme. This site is working perfect >> with Firefox and google chrome. >> But in Internet Explorer 6 !! Content !! won't be displayed. >> changing charset in IE6 will work only till next reload. >> How can i change the default charset from UTF-8 to a charset that IE6 >> will work with ? > In what language is your text? > - Any non-English text with UTF8 encoding will *not* be displayed > correctly in another encoding. You will just see different letters and > symbols. > - Any English content with UTF8 encoding will appear exactly the same > in any ANSI encoding. i have a mulitlinguale site: english and german. this worked very well i'm building with firefox and checking with google chrome. everything was fine till something happend, that i have changed. but i don't even changed something "big" : i activate and deactivate lighbox2-modul. > When you say that you are changing charset, do you mean the menu View ->> Encoding? If so, what was selected and what do you select to make > it work? Or do you mean some other menu? right, thats what i changed. it was utf-8 and if i changed it to westerneurope (windows) and westerneurope (ISO). the content in my site is visible than (but in german "umlaute" are shown wrong) but after reloading the site or changing to an other contentbutton on my site, it is the same as before: no content and in IE6 it is still on utf-8 >> regards simpsoneti -- Mit freundlichen Gr??en Sebastian G?decke mailto:simpsonetti at googlemail.com From cjones at partialflow.com Tue Mar 3 14:37:03 2009 From: cjones at partialflow.com (Christopher M. Jones) Date: Tue, 03 Mar 2009 09:37:03 -0500 Subject: [support] pathauto, block menu generating wrong path Message-ID: <49AD408F.9090509@partialflow.com> I'm having a problem, I think with pathauto. I have a nav bar that I built from book pages. I'm displaying that navbar in a nice menu. Before I was using a nice menu I was using some custom code in a block to generate the menu, and I was having the same problem there, as well. So I don't think this is related to nice menus. The menu itself seems to have the correctly named paths, e.g., http://mydomain.com/article-title This is what I see when I mouse over the items in admin/build/menu, anyway. But the menu itself is displaying strange paths, such as http://mydomain.com/admin/build/path/node/1 Node 1 is the correct node, and obviously node/1 is a good path. But why isn't it using the alias, and why is it appending the path to the currently active path? You can see this behavior at http://www.fertilityauthority.com, in the horizontal nav at the top of the page. Any help would be greatly appreciated here, as this is a live site and it's only a matter of time before the client sees the problem. From chris.mccreery at gmail.com Tue Mar 3 15:33:26 2009 From: chris.mccreery at gmail.com (Chris McCreery) Date: Tue, 3 Mar 2009 10:33:26 -0500 Subject: [support] HELP! with Views and relational data Message-ID: <8ce458940903030733qf9ddbf9gbcd707f0fa34e471@mail.gmail.com> Hi I am creating a site that has the following content types: - Organization (Usernode) - Program (define a program) - Attendance Tracking (track attendance for that program) I would like to create an admin view that shows me all the details for either program or the attendance tracking with data from the usernode. For example: Program Name Organization Name Province Country Postal Code I'm just wondering what is the best way to have the Program and Attendance tracking content types reference this data. Would I need to create computed fields that query the database separately to get them into the content type? Thanks, any help would be much appreciated. -- Chris McCreery -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20090303/7249b72e/attachment.htm From shai at content2zero.com Tue Mar 3 16:14:39 2009 From: shai at content2zero.com (Shai Gluskin) Date: Tue, 3 Mar 2009 11:14:39 -0500 Subject: [support] How to Drop "Current" term from $terms? Message-ID: <9f68efb70903030814n200a2cfbh5dae5fd5188349a1@mail.gmail.com> Example: Let's say you go to example.com/taxonomy/term/5 Drupal gives you a teaser list for all nodes associated with term/5. The teaser includes $terms when $links are displayed. Those terms are hyperlinks which take you to the same kind of listing of nodes tagged with those terms. I think it is a huge usability problem that, for the example above, term/5 will show up for each node with a hyperlink back the current page: taxonomy/term/5. The "current" term, somehow, needs to get stripped from "$terms" in that context. Anybody know how to do this? The taxonomy_hide module won't solve this problem because it just suppresses $terms, all or nothing.) Ideas, Shai -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20090303/301c54a9/attachment.htm From ryan at etrafficsolutions.com Tue Mar 3 17:31:19 2009 From: ryan at etrafficsolutions.com (Ryan Thomson) Date: Tue, 03 Mar 2009 09:31:19 -0800 Subject: [support] actions_assignments table error In-Reply-To: References: <49A6EDAB.9090303@etrafficsolutions.com> <49A81F87.4050403@etrafficsolutions.com> Message-ID: <49AD6967.6080709@etrafficsolutions.com> Thanks! Cog Rusty wrote: > On Fri, Feb 27, 2009 at 7:14 PM, Ryan Thomson > wrote: > >> Yeah I realize this is a database issue, but I was hoping given that a >> drupal module made the table 'actions_assignments' I was hoping someone >> could tell me which module made that table. My sql knowledge isn't >> awesome so I'm hesitant to just delete the table as I have no clue what >> it's used for or what I would build it back up with. >> > > > > I am guessing you are using Drupal 5. That table is created by the > http://drupal.org/project/actions module, 5.x-2.{n} version. You can > find details in the module's actions.install file. > > > > >> Cog Rusty wrote: >> >>> On Thu, Feb 26, 2009 at 9:29 PM, Ryan Thomson >>> wrote: >>> >>> >>>> Hey all >>>> >>>> I have an error in my database which is screwing with my ability to >>>> export it. My actions_assignments table is giving me this error: >>>> #1033 - Incorrect information in files: '.\*****\actions_assignment.frm' >>>> >>>> Does anyone know what I can do to fix this? If it's the actions module >>>> that created this can I disable it, run update.php then delete the table >>>> and re-enable the module or soemthing? >>>> >>>> >>> This is a MySQL error, not Drupal's. It seems that the real file >>> associated with that database table has been damaged. >>> >>> If phpmyadmin can't repair the table you may need to drop it and >>> create it from scratch (losing whatever it contains). The details >>> depend on your Drupal version. >>> >>> In some cases, this MySQL error message is misleading and the real >>> problem is that your operating system's tmp directory is inaccessible. >>> >>> >>> >>> >>>> Thanks! >>>> Leet >>>> -- >>>> [ Drupal support list | http://lists.drupal.org/ ] >>>> >>>> >>>> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> >> From shai at content2zero.com Tue Mar 3 18:39:27 2009 From: shai at content2zero.com (Shai Gluskin) Date: Tue, 3 Mar 2009 13:39:27 -0500 Subject: [support] HELP! with Views and relational data In-Reply-To: <8ce458940903030733qf9ddbf9gbcd707f0fa34e471@mail.gmail.com> References: <8ce458940903030733qf9ddbf9gbcd707f0fa34e471@mail.gmail.com> Message-ID: <9f68efb70903031039i595f4997ma9ce118d71fac329@mail.gmail.com> Chris, This is not a comprehensive response... First, what you are talking about is much easier to do in Drupal 6/Views 2 than it is with Drupal 5. The Sign up module is excellent: http://drupal.org/project/signup It works with either a Date field or with the Event module. I'm not sure if the signup module has Views integration. So in short, I'd start with D6, Views, Signup, and Date as the core components to build what you want. Shai On Tue, Mar 3, 2009 at 10:33 AM, Chris McCreery wrote: > Hi I am creating a site that has the following content types: > > - Organization (Usernode) > - Program (define a program) > - Attendance Tracking (track attendance for that program) > > I would like to create an admin view that shows me all the details for > either program or the attendance tracking with data from the usernode. For > example: > > Program Name > Organization Name > Province > Country > Postal Code > > I'm just wondering what is the best way to have the Program and Attendance > tracking content types reference this data. Would I need to create computed > fields that query the database separately to get them into the content type? > > Thanks, any help would be much appreciated. > > > > -- > Chris McCreery > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20090303/9e13a785/attachment.htm From daniel.carrera at theingots.org Tue Mar 3 18:56:28 2009 From: daniel.carrera at theingots.org (Daniel Carrera) Date: Tue, 03 Mar 2009 19:56:28 +0100 Subject: [support] FCKeditor and ICME Message-ID: <49AD7D5C.4030006@theingots.org> Hello, The project pages for FCKeditor and ICME both seem to indicate that it is possible to integrate FCKeditor with ICME: http://drupal.org/project/fckeditor http://drupal.org/project/imce However, after much searching, I really can't figure out any way to integrate them at all. When I was running TinyMCE, when the user clicked on the Image button they would get a list of images they had uploaded with ICME. It was very convenient. I would like to have something similar with FCK. Does anyone know if it is possible to get FCK to read the images from ICME? Do you know how to do this? Daniel. From net at twoedged.org Tue Mar 3 19:37:34 2009 From: net at twoedged.org (John Fletcher) Date: Tue, 3 Mar 2009 20:37:34 +0100 Subject: [support] How to Drop "Current" term from $terms? In-Reply-To: <9f68efb70903030814n200a2cfbh5dae5fd5188349a1@mail.gmail.com> References: <9f68efb70903030814n200a2cfbh5dae5fd5188349a1@mail.gmail.com> Message-ID: <000901c99c37$840b30b0$8c219210$@org> Shai, 1. I believe you write a module and use the hook_link_alter method to remove the links you don't want. See this comment: http://drupal.org/node/170065#comment-855410 for a similar thing. 2. Other option: create the same taxonomy lists with views, not sure if it will help but may do what you want. This page gives some information about the general topic: http://www.saltwebsites.com/blog/creating-stylish-taxonomy-overview-pages-dr upal 3. You may also be able to theme them out. 4. Depending on what links you want, another option is to remove all the links from node.tpl.php template or at least the template for the content type you're showing... then you can use Read more hack module to get the read more link back (inline with the teaser text). Regards, John. Salt Websites internationalised web development http://www.saltwebsites.com/ From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Shai Gluskin Sent: Tuesday, 3 March 2009 5:15 PM To: support at drupal.org Subject: [support] How to Drop "Current" term from $terms? Example: Let's say you go to example.com/taxonomy/term/5 Drupal gives you a teaser list for all nodes associated with term/5. The teaser includes $terms when $links are displayed. Those terms are hyperlinks which take you to the same kind of listing of nodes tagged with those terms. I think it is a huge usability problem that, for the example above, term/5 will show up for each node with a hyperlink back the current page: taxonomy/term/5. The "current" term, somehow, needs to get stripped from "$terms" in that context. Anybody know how to do this? The taxonomy_hide module won't solve this problem because it just suppresses $terms, all or nothing.) Ideas, Shai -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20090303/dc0b9bd4/attachment.htm From brettev at gmail.com Tue Mar 3 20:22:36 2009 From: brettev at gmail.com (Brett Evanson) Date: Tue, 3 Mar 2009 13:22:36 -0700 Subject: [support] FCKeditor and ICME In-Reply-To: <49AD7D5C.4030006@theingots.org> References: <49AD7D5C.4030006@theingots.org> Message-ID: <972255370903031222w4a359ec0t99fc8b69a7c43e3f@mail.gmail.com> There is a setting on the fckeditor settings page under the "file upload" section where you set imce as the file handler. Then they get the cool imce handler for resizing and all that fun stuff. On Tue, Mar 3, 2009 at 11:56 AM, Daniel Carrera wrote: > Hello, > > The project pages for FCKeditor and ICME both seem to indicate that it > is possible to integrate FCKeditor with ICME: > > http://drupal.org/project/fckeditor > http://drupal.org/project/imce > > However, after much searching, I really can't figure out any way to > integrate them at all. When I was running TinyMCE, when the user clicked > on the Image button they would get a list of images they had uploaded > with ICME. It was very convenient. I would like to have something > similar with FCK. > > Does anyone know if it is possible to get FCK to read the images from > ICME? Do you know how to do this? > > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Brett Evanson brettev at gmail.com 801-599-0584 From daniel.carrera at theingots.org Tue Mar 3 20:31:07 2009 From: daniel.carrera at theingots.org (Daniel Carrera) Date: Tue, 03 Mar 2009 21:31:07 +0100 Subject: [support] FCKeditor and ICME In-Reply-To: <972255370903031222w4a359ec0t99fc8b69a7c43e3f@mail.gmail.com> References: <49AD7D5C.4030006@theingots.org> <972255370903031222w4a359ec0t99fc8b69a7c43e3f@mail.gmail.com> Message-ID: <49AD938B.9010803@theingots.org> Where? I don't see any "file upload" section. I'm running Drupal 5. When I go to admin/settings/fckeditor the only options I see is to configure profiles. So I click on 'edit' for the default profile. That takes me to a new page with many settings for that profile. None of the sections is titled "file upload" and none of the options says "file upload". There is a section called "file browser settings" but I don't see an option to "set IMCE as the file handler". :-( Brett Evanson wrote: > There is a setting on the fckeditor settings page under the "file > upload" section where you set imce as the file handler. Then they get > the cool imce handler for resizing and all that fun stuff. > > On Tue, Mar 3, 2009 at 11:56 AM, Daniel Carrera > wrote: >> Hello, >> >> The project pages for FCKeditor and ICME both seem to indicate that it >> is possible to integrate FCKeditor with ICME: >> >> http://drupal.org/project/fckeditor >> http://drupal.org/project/imce >> >> However, after much searching, I really can't figure out any way to >> integrate them at all. When I was running TinyMCE, when the user clicked >> on the Image button they would get a list of images they had uploaded >> with ICME. It was very convenient. I would like to have something >> similar with FCK. >> >> Does anyone know if it is possible to get FCK to read the images from >> ICME? Do you know how to do this? >> >> Daniel. >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > From hans.rossel at koba.be Tue Mar 3 20:44:42 2009 From: hans.rossel at koba.be (KOBA | Hans Rossel) Date: Tue, 3 Mar 2009 21:44:42 +0100 Subject: [support] HELP! with Views and relational data In-Reply-To: <8ce458940903030733qf9ddbf9gbcd707f0fa34e471@mail.gmail.com> References: <8ce458940903030733qf9ddbf9gbcd707f0fa34e471@mail.gmail.com> Message-ID: <51a9b8330903031244q1fcdd082h5f53bdc60b4df411@mail.gmail.com> Hi, If you are using views 2 you can use nodereference or userreference in cck and then use views relationships to make a join between the content types and have all data available. The book Using Drupal has a case study how to build an attendance tracking system with Drupal (and with the flag module instead of signup module) which is allmost exactly the one you want (I think). If the data you calculate on with a computed field changes, you have to resubmit the node to recalculate. Computed field does not automatically updates its value, which is for me a big disadvantage of the field. Good luck, Hans 2009/3/3 Chris McCreery > Hi I am creating a site that has the following content types: > > - Organization (Usernode) > - Program (define a program) > - Attendance Tracking (track attendance for that program) > > I would like to create an admin view that shows me all the details for > either program or the attendance tracking with data from the usernode. For > example: > > Program Name > Organization Name > Province > Country > Postal Code > > I'm just wondering what is the best way to have the Program and Attendance > tracking content types reference this data. Would I need to create computed > fields that query the database separately to get them into the content type? > > Thanks, any help would be much appreciated. > > > > -- > Chris McCreery > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Hans Rossel KOBA Webdevelopment Kerkstraat 228 9050 Gent 09-334.52.60 0472-79.32.16 www.koba.be info at koba.be -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20090303/7cdd444f/attachment.htm From chris.mccreery at gmail.com Tue Mar 3 21:09:05 2009 From: chris.mccreery at gmail.com (Chris McCreery) Date: Tue, 3 Mar 2009 16:09:05 -0500 Subject: [support] HELP! with Views and relational data In-Reply-To: <9f68efb70903031039i595f4997ma9ce118d71fac329@mail.gmail.com> References: <8ce458940903030733qf9ddbf9gbcd707f0fa34e471@mail.gmail.com> <9f68efb70903031039i595f4997ma9ce118d71fac329@mail.gmail.com> Message-ID: <8ce458940903031309me907277ufef9a1511e522e3@mail.gmail.com> Ok unfortunately I have already started this project and some other areas rely on some 5 modules so I can't convert to 6. This is what I want to accomplish. User logs in creates a profile(usernode) which includes location information The user can then create a Program(eg. indoor basketball) Now the user can create an attendance tracking node for the program they created above. Users only have access to the content they created. For reporting purposes as the administrator I would like to be able to see all the programs created for example by province, organization, or other data stored in the user profile(usernode) as well I would like to see all the attendance reports by organization, province, postal code, etc. The issue I think here is that the user shouldn't have to select their own organization or province, postal code when creating a new program or attendance tracking as this should be created by a relationship to the usernode. Sorry if i'm not too clear here I'm a bit confused as to how I can do this in drupal. Thanks On Tue, Mar 3, 2009 at 1:39 PM, Shai Gluskin wrote: > Chris, > > This is not a comprehensive response... > > First, what you are talking about is much easier to do in Drupal 6/Views 2 > than it is with Drupal 5. > > The Sign up module is excellent: http://drupal.org/project/signup > > It works with either a Date field or with the Event module. I'm not sure if > the signup module has Views integration. > > So in short, I'd start with D6, Views, Signup, and Date as the core > components to build what you want. > > Shai > > On Tue, Mar 3, 2009 at 10:33 AM, Chris McCreery wrote: > >> Hi I am creating a site that has the following content types: >> >> - Organization (Usernode) >> - Program (define a program) >> - Attendance Tracking (track attendance for that program) >> >> I would like to create an admin view that shows me all the details for >> either program or the attendance tracking with data from the usernode. For >> example: >> >> Program Name >> Organization Name >> Province >> Country >> Postal Code >> >> I'm just wondering what is the best way to have the Program and Attendance >> tracking content types reference this data. Would I need to create computed >> fields that query the database separately to get them into the content type? >> >> Thanks, any help would be much appreciated. >> >> >> >> -- >> Chris McCreery >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Chris McCreery -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20090303/13461cd5/attachment-0001.htm From shai at content2zero.com Tue Mar 3 21:35:28 2009 From: shai at content2zero.com (Shai Gluskin) Date: Tue, 3 Mar 2009 16:35:28 -0500 Subject: [support] HELP! with Views and relational data In-Reply-To: <8ce458940903031309me907277ufef9a1511e522e3@mail.gmail.com> References: <8ce458940903030733qf9ddbf9gbcd707f0fa34e471@mail.gmail.com> <9f68efb70903031039i595f4997ma9ce118d71fac329@mail.gmail.com> <8ce458940903031309me907277ufef9a1511e522e3@mail.gmail.com> Message-ID: <9f68efb70903031335h27a3ceeu11bc07bc03788b3@mail.gmail.com> Chris, What you are talking about is really complex in D5 requiring custom coding. It is almost trivial to do in D6 with Views2. Also, it isn't really that hard to upgrade sites to D6, depending of course on complexity. But you wouldn't have to start over. What is the functionality that D5 provides that you think D6 doesn't? Shai On Tue, Mar 3, 2009 at 4:09 PM, Chris McCreery wrote: > Ok unfortunately I have already started this project and some other areas > rely on some 5 modules so I can't convert to 6. > > This is what I want to accomplish. > User logs in creates a profile(usernode) which includes location > information > The user can then create a Program(eg. indoor basketball) > Now the user can create an attendance tracking node for the program they > created above. > Users only have access to the content they created. > > For reporting purposes as the administrator I would like to be able to see > all the programs created for example by province, organization, or other > data stored in the user profile(usernode) as well I would like to see all > the attendance reports by organization, province, postal code, etc. The > issue I think here is that the user shouldn't have to select their own > organization or province, postal code when creating a new program or > attendance tracking as this should be created by a relationship to the > usernode. Sorry if i'm not too clear here I'm a bit confused as to how I can > do this in drupal. > > Thanks > > > On Tue, Mar 3, 2009 at 1:39 PM, Shai Gluskin wrote: > >> Chris, >> >> This is not a comprehensive response... >> >> First, what you are talking about is much easier to do in Drupal 6/Views 2 >> than it is with Drupal 5. >> >> The Sign up module is excellent: http://drupal.org/project/signup >> >> It works with either a Date field or with the Event module. I'm not sure >> if the signup module has Views integration. >> >> So in short, I'd start with D6, Views, Signup, and Date as the core >> components to build what you want. >> >> Shai >> >> On Tue, Mar 3, 2009 at 10:33 AM, Chris McCreery > > wrote: >> >>> Hi I am creating a site that has the following content types: >>> >>> - Organization (Usernode) >>> - Program (define a program) >>> - Attendance Tracking (track attendance for that program) >>> >>> I would like to create an admin view that shows me all the details for >>> either program or the attendance tracking with data from the usernode. For >>> example: >>> >>> Program Name >>> Organization Name >>> Province >>> Country >>> Postal Code >>> >>> I'm just wondering what is the best way to have the Program and >>> Attendance tracking content types reference this data. Would I need to >>> create computed fields that query the database separately to get them into >>> the content type? >>> >>> Thanks, any help would be much appreciated. >>> >>> >>> >>> -- >>> Chris McCreery >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >> >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > > -- > Chris McCreery > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20090303/aab64635/attachment.htm From bchoc at t4tcolorado.org Tue Mar 3 21:34:24 2009 From: bchoc at t4tcolorado.org (Brian Choc) Date: Tue, 3 Mar 2009 14:34:24 -0700 Subject: [support] pathauto, block menu generating wrong path In-Reply-To: <49AD408F.9090509@partialflow.com> References: <49AD408F.9090509@partialflow.com> Message-ID: <507b282e0903031334g3a34221bx5b87dae1ee1981fe@mail.gmail.com> Well, the addition of /admin/build/path is happening because your menu-item paths are relative to the current page, and the path admin page happens to be the page you're looking at as you look at the menu paths. If you navigate to a different page, you'll get a different path. Without looking much at the structure of your pages, a leading slash in the path of the menu item will often take care of that. Brian On Tue, Mar 3, 2009 at 7:37 AM, Christopher M. Jones wrote: > I'm having a problem, I think with pathauto. I have a nav bar that I > built from book pages. I'm displaying that navbar in a nice menu. Before > I was using a nice menu I was using some custom code in a block to > generate the menu, and I was having the same problem there, as well. So > I don't think this is related to nice menus. > > The menu itself seems to have the correctly named paths, e.g., > > http://mydomain.com/article-title > > This is what I see when I mouse over the items in admin/build/menu, > anyway. But the menu itself is displaying strange paths, such as > > http://mydomain.com/admin/build/path/node/1 > > Node 1 is the correct node, and obviously node/1 is a good path. But why > isn't it using the alias, and why is it appending the path to the > currently active path? > > You can see this behavior at http://www.fertilityauthority.com, in the > horizontal nav at the top of the page. > > Any help would be greatly appreciated here, as this is a live site and > it's only a matter of time before the client sees the problem. > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20090303/d3b0c249/attachment.htm From brettev at gmail.com Tue Mar 3 21:49:39 2009 From: brettev at gmail.com (Brett Evanson) Date: Tue, 3 Mar 2009 14:49:39 -0700 Subject: [support] FCKeditor and ICME In-Reply-To: <49AD938B.9010803@theingots.org> References: <49AD7D5C.4030006@theingots.org> <972255370903031222w4a359ec0t99fc8b69a7c43e3f@mail.gmail.com> <49AD938B.9010803@theingots.org> Message-ID: <972255370903031349k2e86bbddj714cb0cb279c635a@mail.gmail.com> on the page /admin/settings/fckeditor/edit/Advanced under the File Browser Settings section there's a drop down called "file browser type" mine has an option that says IMCE. if you don't have this, double check to make sure the imce module is enabled, and that you have all the permissions set up right Brett On Tue, Mar 3, 2009 at 1:31 PM, Daniel Carrera wrote: > Where? I don't see any "file upload" section. I'm running Drupal 5. > > When I go to admin/settings/fckeditor the only options I see is to > configure profiles. So I click on 'edit' for the default profile. That > takes me to a new page with many settings for that profile. None of the > sections is titled "file upload" and none of the options says "file upload". > > There is a section called "file browser settings" but I don't see an > option to "set IMCE as the file handler". > > :-( > > Brett Evanson wrote: >> There is a setting on the fckeditor settings page under the "file >> upload" section where you set imce as the file handler. Then they get >> the cool imce handler for resizing and all that fun stuff. >> >> On Tue, Mar 3, 2009 at 11:56 AM, Daniel Carrera >> wrote: >>> Hello, >>> >>> The project pages for FCKeditor and ICME both seem to indicate that it >>> is possible to integrate FCKeditor with ICME: >>> >>> http://drupal.org/project/fckeditor >>> http://drupal.org/project/imce >>> >>> However, after much searching, I really can't figure out any way to >>> integrate them at all. When I was running TinyMCE, when the user clicked >>> on the Image button they would get a list of images they had uploaded >>> with ICME. It was very convenient. I would like to have something >>> similar with FCK. >>> >>> Does anyone know if it is possible to get FCK to read the images from >>> ICME? Do you know how to do this? >>> >>> Daniel. >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >> >> >> > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Brett Evanson brettev at gmail.com From daniel.carrera at theingots.org Tue Mar 3 22:22:49 2009 From: daniel.carrera at theingots.org (Daniel Carrera) Date: Tue, 03 Mar 2009 23:22:49 +0100 Subject: [support] FCKeditor and ICME In-Reply-To: <972255370903031349k2e86bbddj714cb0cb279c635a@mail.gmail.com> References: <49AD7D5C.4030006@theingots.org> <972255370903031222w4a359ec0t99fc8b69a7c43e3f@mail.gmail.com> <49AD938B.9010803@theingots.org> <972255370903031349k2e86bbddj714cb0cb279c635a@mail.gmail.com> Message-ID: <49ADADB9.9000406@theingots.org> I already had icme enabled. I just went back to the icme settings page an I saw a setting that says "enable FCKeditor support". That fixed the problem. Thanks. Brett Evanson wrote: > on the page /admin/settings/fckeditor/edit/Advanced > under the File Browser Settings section > there's a drop down called "file browser type" > mine has an option that says IMCE. > > if you don't have this, double check to make sure the imce module is > enabled, and that you have all the permissions set up right > > Brett > > On Tue, Mar 3, 2009 at 1:31 PM, Daniel Carrera > wrote: >> Where? I don't see any "file upload" section. I'm running Drupal 5. >> >> When I go to admin/settings/fckeditor the only options I see is to >> configure profiles. So I click on 'edit' for the default profile. That >> takes me to a new page with many settings for that profile. None of the >> sections is titled "file upload" and none of the options says "file upload". >> >> There is a section called "file browser settings" but I don't see an >> option to "set IMCE as the file handler". >> >> :-( >> >> Brett Evanson wrote: >>> There is a setting on the fckeditor settings page under the "file >>> upload" section where you set imce as the file handler. Then they get >>> the cool imce handler for resizing and all that fun stuff. >>> >>> On Tue, Mar 3, 2009 at 11:56 AM, Daniel Carrera >>> wrote: >>>> Hello, >>>> >>>> The project pages for FCKeditor and ICME both seem to indicate that it >>>> is possible to integrate FCKeditor with ICME: >>>> >>>> http://drupal.org/project/fckeditor >>>> http://drupal.org/project/imce >>>> >>>> However, after much searching, I really can't figure out any way to >>>> integrate them at all. When I was running TinyMCE, when the user clicked >>>> on the Image button they would get a list of images they had uploaded >>>> with ICME. It was very convenient. I would like to have something >>>> similar with FCK. >>>> >>>> Does anyone know if it is possible to get FCK to read the images from >>>> ICME? Do you know how to do this? >>>> >>>> Daniel. >>>> -- >>>> [ Drupal support list | http://lists.drupal.org/ ] >>>> >>> >>> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > From brettev at gmail.com Tue Mar 3 22:41:29 2009 From: brettev at gmail.com (Brett Evanson) Date: Tue, 3 Mar 2009 15:41:29 -0700 Subject: [support] FCKeditor and ICME In-Reply-To: <49ADADB9.9000406@theingots.org> References: <49AD7D5C.4030006@theingots.org> <972255370903031222w4a359ec0t99fc8b69a7c43e3f@mail.gmail.com> <49AD938B.9010803@theingots.org> <972255370903031349k2e86bbddj714cb0cb279c635a@mail.gmail.com> <49ADADB9.9000406@theingots.org> Message-ID: <972255370903031441l77a4a920i68f563085c7876fb@mail.gmail.com> i just realized i'm talking about 6.x and you are probably doing it on 5.x On Tue, Mar 3, 2009 at 3:22 PM, Daniel Carrera wrote: > I already had icme enabled. I just went back to the icme settings page > an I saw a setting that says "enable FCKeditor support". That fixed the > problem. > > Thanks. > > Brett Evanson wrote: >> on the page /admin/settings/fckeditor/edit/Advanced >> under the File Browser Settings section >> there's a drop down called "file browser type" >> mine has an option that says IMCE. >> >> if you don't have this, double check to make sure the imce module is >> enabled, and that you have all the permissions set up right >> >> Brett >> >> On Tue, Mar 3, 2009 at 1:31 PM, Daniel Carrera >> wrote: >>> Where? I don't see any "file upload" section. I'm running Drupal 5. >>> >>> When I go to admin/settings/fckeditor the only options I see is to >>> configure profiles. So I click on 'edit' for the default profile. That >>> takes me to a new page with many settings for that profile. None of the >>> sections is titled "file upload" and none of the options says "file upload". >>> >>> There is a section called "file browser settings" but I don't see an >>> option to "set IMCE as the file handler". >>> >>> :-( >>> >>> Brett Evanson wrote: >>>> There is a setting on the fckeditor settings page under the "file >>>> upload" section where you set imce as the file handler. Then they get >>>> the cool imce handler for resizing and all that fun stuff. >>>> >>>> On Tue, Mar 3, 2009 at 11:56 AM, Daniel Carrera >>>> wrote: >>>>> Hello, >>>>> >>>>> The project pages for FCKeditor and ICME both seem to indicate that it >>>>> is possible to integrate FCKeditor with ICME: >>>>> >>>>> http://drupal.org/project/fckeditor >>>>> http://drupal.org/project/imce >>>>> >>>>> However, after much searching, I really can't figure out any way to >>>>> integrate them at all. When I was running TinyMCE, when the user clicked >>>>> on the Image button they would get a list of images they had uploaded >>>>> with ICME. It was very convenient. I would like to have something >>>>> similar with FCK. >>>>> >>>>> Does anyone know if it is possible to get FCK to read the images from >>>>> ICME? Do you know how to do this? >>>>> >>>>> Daniel. >>>>> -- >>>>> [ Drupal support list | http://lists.drupal.org/ ] >>>>> >>>> >>>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >> >> >> > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Brett Evanson brettev at gmail.com 801-599-0584 From daniel.carrera at theingots.org Tue Mar 3 23:40:51 2009 From: daniel.carrera at theingots.org (Daniel Carrera) Date: Wed, 04 Mar 2009 00:40:51 +0100 Subject: [support] FCKeditor and ICME In-Reply-To: <972255370903031441l77a4a920i68f563085c7876fb@mail.gmail.com> References: <49AD7D5C.4030006@theingots.org> <972255370903031222w4a359ec0t99fc8b69a7c43e3f@mail.gmail.com> <49AD938B.9010803@theingots.org> <972255370903031349k2e86bbddj714cb0cb279c635a@mail.gmail.com> <49ADADB9.9000406@theingots.org> <972255370903031441l77a4a920i68f563085c7876fb@mail.gmail.com> Message-ID: <49ADC003.9020107@theingots.org> Yeah, I have Drupa 5. Btw, it's still not working out too well. I can browse the uploaded files through IMCE but I cannot select a file. :( Brett Evanson wrote: > i just realized i'm talking about 6.x and you are probably doing it on 5.x > > On Tue, Mar 3, 2009 at 3:22 PM, Daniel Carrera > wrote: >> I already had icme enabled. I just went back to the icme settings page >> an I saw a setting that says "enable FCKeditor support". That fixed the >> problem. >> >> Thanks. > From chris.mccreery at gmail.com Wed Mar 4 02:02:01 2009 From: chris.mccreery at gmail.com (Chris McCreery) Date: Tue, 3 Mar 2009 21:02:01 -0500 Subject: [support] HELP! with Views and relational data In-Reply-To: <9f68efb70903031335h27a3ceeu11bc07bc03788b3@mail.gmail.com> References: <8ce458940903030733qf9ddbf9gbcd707f0fa34e471@mail.gmail.com> <9f68efb70903031039i595f4997ma9ce118d71fac329@mail.gmail.com> <8ce458940903031309me907277ufef9a1511e522e3@mail.gmail.com> <9f68efb70903031335h27a3ceeu11bc07bc03788b3@mail.gmail.com> Message-ID: <8ce458940903031802x1dcbc902yc923fad0a0cbd745@mail.gmail.com> Well when I first started this project there were a number of modules that weren't ready for drupal 6 and of course the client has taken their sweet time getting back to me on every possible detail so I bet now everything would work in drupal 6 but I'm not very familiar with the entire upgrade process nor can I afford the time currently to upgrade the site. I might just start over from scratch at this point. Is there any particular detail I should be worried about upgrading? I have a custom theme that I had to create and a bunch of calculations in cck computed fields. Is it fairly straightforward to upgrade all those aspects? After upgrading to 6 what would be my best option for getting the results I wanted from what I detailed before? Thanks again for the help. On Tue, Mar 3, 2009 at 4:35 PM, Shai Gluskin wrote: > Chris, > > What you are talking about is really complex in D5 requiring custom coding. > It is almost trivial to do in D6 with Views2. > > Also, it isn't really that hard to upgrade sites to D6, depending of course > on complexity. But you wouldn't have to start over. > > What is the functionality that D5 provides that you think D6 doesn't? > > Shai > > > > > On Tue, Mar 3, 2009 at 4:09 PM, Chris McCreery wrote: > >> Ok unfortunately I have already started this project and some other areas >> rely on some 5 modules so I can't convert to 6. >> >> This is what I want to accomplish. >> User logs in creates a profile(usernode) which includes location >> information >> The user can then create a Program(eg. indoor basketball) >> Now the user can create an attendance tracking node for the program they >> created above. >> Users only have access to the content they created. >> >> For reporting purposes as the administrator I would like to be able to see >> all the programs created for example by province, organization, or other >> data stored in the user profile(usernode) as well I would like to see all >> the attendance reports by organization, province, postal code, etc. The >> issue I think here is that the user shouldn't have to select their own >> organization or province, postal code when creating a new program or >> attendance tracking as this should be created by a relationship to the >> usernode. Sorry if i'm not too clear here I'm a bit confused as to how I can >> do this in drupal. >> >> Thanks >> >> >> On Tue, Mar 3, 2009 at 1:39 PM, Shai Gluskin wrote: >> >>> Chris, >>> >>> This is not a comprehensive response... >>> >>> First, what you are talking about is much easier to do in Drupal 6/Views >>> 2 than it is with Drupal 5. >>> >>> The Sign up module is excellent: http://drupal.org/project/signup >>> >>> It works with either a Date field or with the Event module. I'm not sure >>> if the signup module has Views integration. >>> >>> So in short, I'd start with D6, Views, Signup, and Date as the core >>> components to build what you want. >>> >>> Shai >>> >>> On Tue, Mar 3, 2009 at 10:33 AM, Chris McCreery < >>> chris.mccreery at gmail.com> wrote: >>> >>>> Hi I am creating a site that has the following content types: >>>> >>>> - Organization (Usernode) >>>> - Program (define a program) >>>> - Attendance Tracking (track attendance for that program) >>>> >>>> I would like to create an admin view that shows me all the details for >>>> either program or the attendance tracking with data from the usernode. For >>>> example: >>>> >>>> Program Name >>>> Organization Name >>>> Province >>>> Country >>>> Postal Code >>>> >>>> I'm just wondering what is the best way to have the Program and >>>> Attendance tracking content types reference this data. Would I need to >>>> create computed fields that query the database separately to get them into >>>> the content type? >>>> >>>> Thanks, any help would be much appreciated. >>>> >>>> >>>> >>>> -- >>>> Chris McCreery >>>> >>>> -- >>>> [ Drupal support list | http://lists.drupal.org/ ] >>>> >>> >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >> >> >> >> -- >> Chris McCreery >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Chris McCreery -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20090303/734ade05/attachment.htm From shai at content2zero.com Wed Mar 4 02:50:46 2009 From: shai at content2zero.com (Shai Gluskin) Date: Tue, 3 Mar 2009 21:50:46 -0500 Subject: [support] HELP! with Views and relational data In-Reply-To: <8ce458940903031802x1dcbc902yc923fad0a0cbd745@mail.gmail.com> References: <8ce458940903030733qf9ddbf9gbcd707f0fa34e471@mail.gmail.com> <9f68efb70903031039i595f4997ma9ce118d71fac329@mail.gmail.com> <8ce458940903031309me907277ufef9a1511e522e3@mail.gmail.com> <9f68efb70903031335h27a3ceeu11bc07bc03788b3@mail.gmail.com> <8ce458940903031802x1dcbc902yc923fad0a0cbd745@mail.gmail.com> Message-ID: <9f68efb70903031850h58a4abe0xbf1e9723896ad542@mail.gmail.com> Chris, A quicky version of upgrading, you might want to check other sources. 1. Back up your files and database. 2. Hopefully, you haven't hacked core or contrib modules. If you have, document them well. 3. If you don't have update_status installed, install it now now and run it. Then update all your Drupal 5 modules to their most current version in for *Drupal 5*. Along the way, you should probably check the project page for each of your modules to see if there are any relevant notes for upgrading to Drupal 6. Definitely read the instructions for upgrading for CCK. 4. Turn off all contrib module and themes. (Some people don't do this on "point upgrades" (e.g. 5.14 to 5.15) -- but I think it is the consensus to do this on major upgrades (e.g. D5 - D6). 5. You can now dispose of the files in your installation except be sure to keep handy customizations you have made to. (I keep these all in a separate place though, start with a fresh install and place the customizations back into the fresh installation: 1. .htaccess file in the root directory 2. a php.ini file if you have one. 3. connection settings and any other settings you've turned on in the settings.php file 4. files directory 5. custom modules you've created 6. custom theme 6. Download via tar balls or CVS the D6 core and the D6 versions of all your modules. 7. Place your contrib modules in: sites/all/modules 8. Go to sites/default/default.settings.php and: 1. duplicate it 2. change the new copy's name to: settings.php 3. edit the file to put in the connection settings and any other settings turned on that you previously needed. 9. If you had made changes to your site's .htaccess file, you can now make those same changes to the fresh install 10. navigate to example.com/update.php (don't freak out if there are errors) 11. Turn on CCK and run update.php again (follow the instructions on the project page of cck) 12. Turn on the rest of your modules 13. Turn on the theme Some of your views might not work -- just create them again with the new Views. It's good practice. You might as well learn the new Views on views that your already understand well. Views2 is amazing, but there is a learning curve. You might need to place your blocks again. Your custom theme might need some work. There is lots of info at Drupal.org about this. Shouldn't be too hard though, depending on complicated your site is. Good luck. It is really worth it. Drupal 6 is awesome! Report back. Shai On Tue, Mar 3, 2009 at 9:02 PM, Chris McCreery wrote: > Well when I first started this project there were a number of modules that > weren't ready for drupal 6 and of course the client has taken their sweet > time getting back to me on every possible detail so I bet now everything > would work in drupal 6 but I'm not very familiar with the entire upgrade > process nor can I afford the time currently to upgrade the site. I might > just start over from scratch at this point. > > Is there any particular detail I should be worried about upgrading? I have > a custom theme that I had to create and a bunch of calculations in cck > computed fields. Is it fairly straightforward to upgrade all those aspects? > > After upgrading to 6 what would be my best option for getting the results I > wanted from what I detailed before? > > Thanks again for the help. > > > On Tue, Mar 3, 2009 at 4:35 PM, Shai Gluskin wrote: > >> Chris, >> >> What you are talking about is really complex in D5 requiring custom >> coding. It is almost trivial to do in D6 with Views2. >> >> Also, it isn't really that hard to upgrade sites to D6, depending of >> course on complexity. But you wouldn't have to start over. >> >> What is the functionality that D5 provides that you think D6 doesn't? >> >> Shai >> >> >> >> >> On Tue, Mar 3, 2009 at 4:09 PM, Chris McCreery wrote: >> >>> Ok unfortunately I have already started this project and some other areas >>> rely on some 5 modules so I can't convert to 6. >>> >>> This is what I want to accomplish. >>> User logs in creates a profile(usernode) which includes location >>> information >>> The user can then create a Program(eg. indoor basketball) >>> Now the user can create an attendance tracking node for the program they >>> created above. >>> Users only have access to the content they created. >>> >>> For reporting purposes as the administrator I would like to be able to >>> see all the programs created for example by province, organization, or other >>> data stored in the user profile(usernode) as well I would like to see all >>> the attendance reports by organization, province, postal code, etc. The >>> issue I think here is that the user shouldn't have to select their own >>> organization or province, postal code when creating a new program or >>> attendance tracking as this should be created by a relationship to the >>> usernode. Sorry if i'm not too clear here I'm a bit confused as to how I can >>> do this in drupal. >>> >>> Thanks >>> >>> >>> On Tue, Mar 3, 2009 at 1:39 PM, Shai Gluskin wrote: >>> >>>> Chris, >>>> >>>> This is not a comprehensive response... >>>> >>>> First, what you are talking about is much easier to do in Drupal 6/Views >>>> 2 than it is with Drupal 5. >>>> >>>> The Sign up module is excellent: http://drupal.org/project/signup >>>> >>>> It works with either a Date field or with the Event module. I'm not sure >>>> if the signup module has Views integration. >>>> >>>> So in short, I'd start with D6, Views, Signup, and Date as the core >>>> components to build what you want. >>>> >>>> Shai >>>> >>>> On Tue, Mar 3, 2009 at 10:33 AM, Chris McCreery < >>>> chris.mccreery at gmail.com> wrote: >>>> >>>>> Hi I am creating a site that has the following content types: >>>>> >>>>> - Organization (Usernode) >>>>> - Program (define a program) >>>>> - Attendance Tracking (track attendance for that program) >>>>> >>>>> I would like to create an admin view that shows me all the details for >>>>> either program or the attendance tracking with data from the usernode. For >>>>> example: >>>>> >>>>> Program Name >>>>> Organization Name >>>>> Province >>>>> Country >>>>> Postal Code >>>>> >>>>> I'm just wondering what is the best way to have the Program and >>>>> Attendance tracking content types reference this data. Would I need to >>>>> create computed fields that query the database separately to get them into >>>>> the content type? >>>>> >>>>> Thanks, any help would be much appreciated. >>>>> >>>>> >>>>> >>>>> -- >>>>> Chris McCreery >>>>> >>>>> -- >>>>> [ Drupal support list | http://lists.drupal.org/ ] >>>>> >>>> >>>> >>>> -- >>>> [ Drupal support list | http://lists.drupal.org/ ] >>>> >>> >>> >>> >>> -- >>> Chris McCreery >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >> >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > > -- > Chris McCreery > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20090303/7364e0d0/attachment-0001.htm From chris.mccreery at gmail.com Wed Mar 4 13:47:15 2009 From: chris.mccreery at gmail.com (Chris McCreery) Date: Wed, 4 Mar 2009 08:47:15 -0500 Subject: [support] HELP! with Views and relational data In-Reply-To: <9f68efb70903031850h58a4abe0xbf1e9723896ad542@mail.gmail.com> References: <8ce458940903030733qf9ddbf9gbcd707f0fa34e471@mail.gmail.com> <9f68efb70903031039i595f4997ma9ce118d71fac329@mail.gmail.com> <8ce458940903031309me907277ufef9a1511e522e3@mail.gmail.com> <9f68efb70903031335h27a3ceeu11bc07bc03788b3@mail.gmail.com> <8ce458940903031802x1dcbc902yc923fad0a0cbd745@mail.gmail.com> <9f68efb70903031850h58a4abe0xbf1e9723896ad542@mail.gmail.com> Message-ID: <8ce458940903040547j5b7e6eacu42a14c74418d1986@mail.gmail.com> Quicky.... Alright Shai you've convinced me. I am running 6 on a few other sites and yes it is great. I'll give it a try and let you know how I make out. Thanks again for all the help. On Tue, Mar 3, 2009 at 9:50 PM, Shai Gluskin wrote: > Chris, > > A quicky version of upgrading, you might want to check other sources. > > > 1. Back up your files and database. > 2. Hopefully, you haven't hacked core or contrib modules. If you have, > document them well. > 3. If you don't have update_status installed, install it now now and > run it. Then update all your Drupal 5 modules to their most current version > in for *Drupal 5*. Along the way, you should probably check the project > page for each of your modules to see if there are any relevant notes for > upgrading to Drupal 6. Definitely read the instructions for upgrading for > CCK. > 4. Turn off all contrib module and themes. (Some people don't do this > on "point upgrades" (e.g. 5.14 to 5.15) -- but I think it is the consensus > to do this on major upgrades (e.g. D5 - D6). > 5. You can now dispose of the files in your installation except be sure > to keep handy customizations you have made to. (I keep these all in a > separate place though, start with a fresh install and place the > customizations back into the fresh installation: > 1. .htaccess file in the root directory > 2. a php.ini file if you have one. > 3. connection settings and any other settings you've turned on in > the settings.php file > 4. files directory > 5. custom modules you've created > 6. custom theme > 6. Download via tar balls or CVS the D6 core and the D6 versions of all > your modules. > 7. Place your contrib modules in: sites/all/modules > 8. Go to sites/default/default.settings.php and: > 1. duplicate it > 2. change the new copy's name to: settings.php > 3. edit the file to put in the connection settings and any other > settings turned on that you previously needed. > 9. If you had made changes to your site's .htaccess file, you can now > make those same changes to the fresh install > 10. navigate to example.com/update.php (don't freak out if there are > errors) > 11. Turn on CCK and run update.php again (follow the instructions on > the project page of cck) > 12. Turn on the rest of your modules > 13. Turn on the theme > > Some of your views might not work -- just create them again with the new > Views. It's good practice. You might as well learn the new Views on views > that your already understand well. Views2 is amazing, but there is a > learning curve. > > You might need to place your blocks again. > > Your custom theme might need some work. There is lots of info at Drupal.org > about this. Shouldn't be too hard though, depending on complicated your site > is. > > Good luck. It is really worth it. Drupal 6 is awesome! > > Report back. > > Shai > > > On Tue, Mar 3, 2009 at 9:02 PM, Chris McCreery wrote: > >> Well when I first started this project there were a number of modules that >> weren't ready for drupal 6 and of course the client has taken their sweet >> time getting back to me on every possible detail so I bet now everything >> would work in drupal 6 but I'm not very familiar with the entire upgrade >> process nor can I afford the time currently to upgrade the site. I might >> just start over from scratch at this point. >> >> Is there any particular detail I should be worried about upgrading? I have >> a custom theme that I had to create and a bunch of calculations in cck >> computed fields. Is it fairly straightforward to upgrade all those aspects? >> >> After upgrading to 6 what would be my best option for getting the results >> I wanted from what I detailed before? >> >> Thanks again for the help. >> >> >> On Tue, Mar 3, 2009 at 4:35 PM, Shai Gluskin wrote: >> >>> Chris, >>> >>> What you are talking about is really complex in D5 requiring custom >>> coding. It is almost trivial to do in D6 with Views2. >>> >>> Also, it isn't really that hard to upgrade sites to D6, depending of >>> course on complexity. But you wouldn't have to start over. >>> >>> What is the functionality that D5 provides that you think D6 doesn't? >>> >>> Shai >>> >>> >>> >>> >>> On Tue, Mar 3, 2009 at 4:09 PM, Chris McCreery >> > wrote: >>> >>>> Ok unfortunately I have already started this project and some other >>>> areas rely on some 5 modules so I can't convert to 6. >>>> >>>> This is what I want to accomplish. >>>> User logs in creates a profile(usernode) which includes location >>>> information >>>> The user can then create a Program(eg. indoor basketball) >>>> Now the user can create an attendance tracking node for the program they >>>> created above. >>>> Users only have access to the content they created. >>>> >>>> For reporting purposes as the administrator I would like to be able to >>>> see all the programs created for example by province, organization, or other >>>> data stored in the user profile(usernode) as well I would like to see all >>>> the attendance reports by organization, province, postal code, etc. The >>>> issue I think here is that the user shouldn't have to select their own >>>> organization or province, postal code when creating a new program or >>>> attendance tracking as this should be created by a relationship to the >>>> usernode. Sorry if i'm not too clear here I'm a bit confused as to how I can >>>> do this in drupal. >>>> >>>> Thanks >>>> >>>> >>>> On Tue, Mar 3, 2009 at 1:39 PM, Shai Gluskin wrote: >>>> >>>>> Chris, >>>>> >>>>> This is not a comprehensive response... >>>>> >>>>> First, what you are talking about is much easier to do in Drupal >>>>> 6/Views 2 than it is with Drupal 5. >>>>> >>>>> The Sign up module is excellent: http://drupal.org/project/signup >>>>> >>>>> It works with either a Date field or with the Event module. I'm not >>>>> sure if the signup module has Views integration. >>>>> >>>>> So in short, I'd start with D6, Views, Signup, and Date as the core >>>>> components to build what you want. >>>>> >>>>> Shai >>>>> >>>>> On Tue, Mar 3, 2009 at 10:33 AM, Chris McCreery < >>>>> chris.mccreery at gmail.com> wrote: >>>>> >>>>>> Hi I am creating a site that has the following content types: >>>>>> >>>>>> - Organization (Usernode) >>>>>> - Program (define a program) >>>>>> - Attendance Tracking (track attendance for that program) >>>>>> >>>>>> I would like to create an admin view that shows me all the details for >>>>>> either program or the attendance tracking with data from the usernode. For >>>>>> example: >>>>>> >>>>>> Program Name >>>>>> Organization Name >>>>>> Province >>>>>> Country >>>>>> Postal Code >>>>>> >>>>>> I'm just wondering what is the best way to have the Program and >>>>>> Attendance tracking content types reference this data. Would I need to >>>>>> create computed fields that query the database separately to get them into >>>>>> the content type? >>>>>> >>>>>> Thanks, any help would be much appreciated. >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Chris McCreery >>>>>> >>>>>> -- >>>>>> [ Drupal support list | http://lists.drupal.org/ ] >>>>>> >>>>> >>>>> >>>>> -- >>>>> [ Drupal support list | http://lists.drupal.org/ ] >>>>> >>>> >>>> >>>> >>>> -- >>>> Chris McCreery >>>> >>>> -- >>>> [ Drupal support list | http://lists.drupal.org/ ] >>>> >>> >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >> >> >> >> -- >> Chris McCreery >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Chris McCreery -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20090304/91cd5710/attachment.htm From chris.mccreery at gmail.com Wed Mar 4 13:48:01 2009 From: chris.mccreery at gmail.com (Chris McCreery) Date: Wed, 4 Mar 2009 08:48:01 -0500 Subject: [support] HELP! with Views and relational data In-Reply-To: <8ce458940903040547j5b7e6eacu42a14c74418d1986@mail.gmail.com> References: <8ce458940903030733qf9ddbf9gbcd707f0fa34e471@mail.gmail.com> <9f68efb70903031039i595f4997ma9ce118d71fac329@mail.gmail.com> <8ce458940903031309me907277ufef9a1511e522e3@mail.gmail.com> <9f68efb70903031335h27a3ceeu11bc07bc03788b3@mail.gmail.com> <8ce458940903031802x1dcbc902yc923fad0a0cbd745@mail.gmail.com> <9f68efb70903031850h58a4abe0xbf1e9723896ad542@mail.gmail.com> <8ce458940903040547j5b7e6eacu42a14c74418d1986@mail.gmail.com> Message-ID: <8ce458940903040548g721ba8ebt265823f5a02cb7c6@mail.gmail.com> I was using Usernode in Drupal 5 is there a new replacement for that? or how will I upgrade that? On Wed, Mar 4, 2009 at 8:47 AM, Chris McCreery wrote: > Quicky.... Alright Shai you've convinced me. I am running 6 on a few other > sites and yes it is great. I'll give it a try and let you know how I make > out. Thanks again for all the help. > > > On Tue, Mar 3, 2009 at 9:50 PM, Shai Gluskin wrote: > >> Chris, >> >> A quicky version of upgrading, you might want to check other sources. >> >> >> 1. Back up your files and database. >> 2. Hopefully, you haven't hacked core or contrib modules. If you have, >> document them well. >> 3. If you don't have update_status installed, install it now now and >> run it. Then update all your Drupal 5 modules to their most current version >> in for *Drupal 5*. Along the way, you should probably check the >> project page for each of your modules to see if there are any relevant notes >> for upgrading to Drupal 6. Definitely read the instructions for upgrading >> for CCK. >> 4. Turn off all contrib module and themes. (Some people don't do this >> on "point upgrades" (e.g. 5.14 to 5.15) -- but I think it is the consensus >> to do this on major upgrades (e.g. D5 - D6). >> 5. You can now dispose of the files in your installation except be >> sure to keep handy customizations you have made to. (I keep these all in a >> separate place though, start with a fresh install and place the >> customizations back into the fresh installation: >> 1. .htaccess file in the root directory >> 2. a php.ini file if you have one. >> 3. connection settings and any other settings you've turned on in >> the settings.php file >> 4. files directory >> 5. custom modules you've created >> 6. custom theme >> 6. Download via tar balls or CVS the D6 core and the D6 versions of >> all your modules. >> 7. Place your contrib modules in: sites/all/modules >> 8. Go to sites/default/default.settings.php and: >> 1. duplicate it >> 2. change the new copy's name to: settings.php >> 3. edit the file to put in the connection settings and any other >> settings turned on that you previously needed. >> 9. If you had made changes to your site's .htaccess file, you can now >> make those same changes to the fresh install >> 10. navigate to example.com/update.php (don't freak out if there are >> errors) >> 11. Turn on CCK and run update.php again (follow the instructions on >> the project page of cck) >> 12. Turn on the rest of your modules >> 13. Turn on the theme >> >> Some of your views might not work -- just create them again with the new >> Views. It's good practice. You might as well learn the new Views on views >> that your already understand well. Views2 is amazing, but there is a >> learning curve. >> >> You might need to place your blocks again. >> >> Your custom theme might need some work. There is lots of info at >> Drupal.org about this. Shouldn't be too hard though, depending on >> complicated your site is. >> >> Good luck. It is really worth it. Drupal 6 is awesome! >> >> Report back. >> >> Shai >> >> >> On Tue, Mar 3, 2009 at 9:02 PM, Chris McCreery wrote: >> >>> Well when I first started this project there were a number of modules >>> that weren't ready for drupal 6 and of course the client has taken their >>> sweet time getting back to me on every possible detail so I bet now >>> everything would work in drupal 6 but I'm not very familiar with the entire >>> upgrade process nor can I afford the time currently to upgrade the site. I >>> might just start over from scratch at this point. >>> >>> Is there any particular detail I should be worried about upgrading? I >>> have a custom theme that I had to create and a bunch of calculations in cck >>> computed fields. Is it fairly straightforward to upgrade all those aspects? >>> >>> After upgrading to 6 what would be my best option for getting the results >>> I wanted from what I detailed before? >>> >>> Thanks again for the help. >>> >>> >>> On Tue, Mar 3, 2009 at 4:35 PM, Shai Gluskin wrote: >>> >>>> Chris, >>>> >>>> What you are talking about is really complex in D5 requiring custom >>>> coding. It is almost trivial to do in D6 with Views2. >>>> >>>> Also, it isn't really that hard to upgrade sites to D6, depending of >>>> course on complexity. But you wouldn't have to start over. >>>> >>>> What is the functionality that D5 provides that you think D6 doesn't? >>>> >>>> Shai >>>> >>>> >>>> >>>> >>>> On Tue, Mar 3, 2009 at 4:09 PM, Chris McCreery < >>>> chris.mccreery at gmail.com> wrote: >>>> >>>>> Ok unfortunately I have already started this project and some other >>>>> areas rely on some 5 modules so I can't convert to 6. >>>>> >>>>> This is what I want to accomplish. >>>>> User logs in creates a profile(usernode) which includes location >>>>> information >>>>> The user can then create a Program(eg. indoor basketball) >>>>> Now the user can create an attendance tracking node for the program >>>>> they created above. >>>>> Users only have access to the content they created. >>>>> >>>>> For reporting purposes as the administrator I would like to be able to >>>>> see all the programs created for example by province, organization, or other >>>>> data stored in the user profile(usernode) as well I would like to see all >>>>> the attendance reports by organization, province, postal code, etc. The >>>>> issue I think here is that the user shouldn't have to select their own >>>>> organization or province, postal code when creating a new program or >>>>> attendance tracking as this should be created by a relationship to the >>>>> usernode. Sorry if i'm not too clear here I'm a bit confused as to how I can >>>>> do this in drupal. >>>>> >>>>> Thanks >>>>> >>>>> >>>>> On Tue, Mar 3, 2009 at 1:39 PM, Shai Gluskin wrote: >>>>> >>>>>> Chris, >>>>>> >>>>>> This is not a comprehensive response... >>>>>> >>>>>> First, what you are talking about is much easier to do in Drupal >>>>>> 6/Views 2 than it is with Drupal 5. >>>>>> >>>>>> The Sign up module is excellent: http://drupal.org/project/signup >>>>>> >>>>>> It works with either a Date field or with the Event module. I'm not >>>>>> sure if the signup module has Views integration. >>>>>> >>>>>> So in short, I'd start with D6, Views, Signup, and Date as the core >>>>>> components to build what you want. >>>>>> >>>>>> Shai >>>>>> >>>>>> On Tue, Mar 3, 2009 at 10:33 AM, Chris McCreery < >>>>>> chris.mccreery at gmail.com> wrote: >>>>>> >>>>>>> Hi I am creating a site that has the following content types: >>>>>>> >>>>>>> - Organization (Usernode) >>>>>>> - Program (define a program) >>>>>>> - Attendance Tracking (track attendance for that program) >>>>>>> >>>>>>> I would like to create an admin view that shows me all the details >>>>>>> for either program or the attendance tracking with data from the usernode. >>>>>>> For example: >>>>>>> >>>>>>> Program Name >>>>>>> Organization Name >>>>>>> Province >>>>>>> Country >>>>>>> Postal Code >>>>>>> >>>>>>> I'm just wondering what is the best way to have the Program and >>>>>>> Attendance tracking content types reference this data. Would I need to >>>>>>> create computed fields that query the database separately to get them into >>>>>>> the content type? >>>>>>> >>>>>>> Thanks, any help would be much appreciated. >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Chris McCreery >>>>>>> >>>>>>> -- >>>>>>> [ Drupal support list | http://lists.drupal.org/ ] >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> [ Drupal support list | http://lists.drupal.org/ ] >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Chris McCreery >>>>> >>>>> -- >>>>> [ Drupal support list | http://lists.drupal.org/ ] >>>>> >>>> >>>> >>>> -- >>>> [ Drupal support list | http://lists.drupal.org/ ] >>>> >>> >>> >>> >>> -- >>> Chris McCreery >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >> >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > > -- > Chris McCreery > -- Chris McCreery -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20090304/c271350c/attachment-0001.htm From shai at content2zero.com Wed Mar 4 14:35:46 2009 From: shai at content2zero.com (Shai Gluskin) Date: Wed, 4 Mar 2009 09:35:46 -0500 Subject: [support] HELP! with Views and relational data In-Reply-To: <8ce458940903040548g721ba8ebt265823f5a02cb7c6@mail.gmail.com> References: <8ce458940903030733qf9ddbf9gbcd707f0fa34e471@mail.gmail.com> <9f68efb70903031039i595f4997ma9ce118d71fac329@mail.gmail.com> <8ce458940903031309me907277ufef9a1511e522e3@mail.gmail.com> <9f68efb70903031335h27a3ceeu11bc07bc03788b3@mail.gmail.com> <8ce458940903031802x1dcbc902yc923fad0a0cbd745@mail.gmail.com> <9f68efb70903031850h58a4abe0xbf1e9723896ad542@mail.gmail.com> <8ce458940903040547j5b7e6eacu42a14c74418d1986@mail.gmail.com> <8ce458940903040548g721ba8ebt265823f5a02cb7c6@mail.gmail.com> Message-ID: <9f68efb70903040635x43528705gc3fbe05cd5ba5cd4@mail.gmail.com> Chris, Check out... Content Profile http://drupal.org/project/content_profile Shai On Wed, Mar 4, 2009 at 8:48 AM, Chris McCreery wrote: > I was using Usernode in Drupal 5 is there a new replacement for that? or > how will I upgrade that? > > > On Wed, Mar 4, 2009 at 8:47 AM, Chris McCreery wrote: > >> Quicky.... Alright Shai you've convinced me. I am running 6 on a few other >> sites and yes it is great. I'll give it a try and let you know how I make >> out. Thanks again for all the help. >> >> >> On Tue, Mar 3, 2009 at 9:50 PM, Shai Gluskin wrote: >> >>> Chris, >>> >>> A quicky version of upgrading, you might want to check other sources. >>> >>> >>> 1. Back up your files and database. >>> 2. Hopefully, you haven't hacked core or contrib modules. If you >>> have, document them well. >>> 3. If you don't have update_status installed, install it now now and >>> run it. Then update all your Drupal 5 modules to their most current version >>> in for *Drupal 5*. Along the way, you should probably check the >>> project page for each of your modules to see if there are any relevant notes >>> for upgrading to Drupal 6. Definitely read the instructions for upgrading >>> for CCK. >>> 4. Turn off all contrib module and themes. (Some people don't do this >>> on "point upgrades" (e.g. 5.14 to 5.15) -- but I think it is the consensus >>> to do this on major upgrades (e.g. D5 - D6). >>> 5. You can now dispose of the files in your installation except be >>> sure to keep handy customizations you have made to. (I keep these all in a >>> separate place though, start with a fresh install and place the >>> customizations back into the fresh installation: >>> 1. .htaccess file in the root directory >>> 2. a php.ini file if you have one. >>> 3. connection settings and any other settings you've turned on in >>> the settings.php file >>> 4. files directory >>> 5. custom modules you've created >>> 6. custom theme >>> 6. Download via tar balls or CVS the D6 core and the D6 versions of >>> all your modules. >>> 7. Place your contrib modules in: sites/all/modules >>> 8. Go to sites/default/default.settings.php and: >>> 1. duplicate it >>> 2. change the new copy's name to: settings.php >>> 3. edit the file to put in the connection settings and any other >>> settings turned on that you previously needed. >>> 9. If you had made changes to your site's .htaccess file, you can now >>> make those same changes to the fresh install >>> 10. navigate to example.com/update.php (don't freak out if there are >>> errors) >>> 11. Turn on CCK and run update.php again (follow the instructions on >>> the project page of cck) >>> 12. Turn on the rest of your modules >>> 13. Turn on the theme >>> >>> Some of your views might not work -- just create them again with the new >>> Views. It's good practice. You might as well learn the new Views on views >>> that your already understand well. Views2 is amazing, but there is a >>> learning curve. >>> >>> You might need to place your blocks again. >>> >>> Your custom theme might need some work. There is lots of info at >>> Drupal.org about this. Shouldn't be too hard though, depending on >>> complicated your site is. >>> >>> Good luck. It is really worth it. Drupal 6 is awesome! >>> >>> Report back. >>> >>> Shai >>> >>> >>> On Tue, Mar 3, 2009 at 9:02 PM, Chris McCreery >> > wrote: >>> >>>> Well when I first started this project there were a number of modules >>>> that weren't ready for drupal 6 and of course the client has taken their >>>> sweet time getting back to me on every possible detail so I bet now >>>> everything would work in drupal 6 but I'm not very familiar with the entire >>>> upgrade process nor can I afford the time currently to upgrade the site. I >>>> might just start over from scratch at this point. >>>> >>>> Is there any particular detail I should be worried about upgrading? I >>>> have a custom theme that I had to create and a bunch of calculations in cck >>>> computed fields. Is it fairly straightforward to upgrade all those aspects? >>>> >>>> After upgrading to 6 what would be my best option for getting the >>>> results I wanted from what I detailed before? >>>> >>>> Thanks again for the help. >>>> >>>> >>>> On Tue, Mar 3, 2009 at 4:35 PM, Shai Gluskin wrote: >>>> >>>>> Chris, >>>>> >>>>> What you are talking about is really complex in D5 requiring custom >>>>> coding. It is almost trivial to do in D6 with Views2. >>>>> >>>>> Also, it isn't really that hard to upgrade sites to D6, depending of >>>>> course on complexity. But you wouldn't have to start over. >>>>> >>>>> What is the functionality that D5 provides that you think D6 doesn't? >>>>> >>>>> Shai >>>>> >>>>> >>>>> >>>>> >>>>> On Tue, Mar 3, 2009 at 4:09 PM, Chris McCreery < >>>>> chris.mccreery at gmail.com> wrote: >>>>> >>>>>> Ok unfortunately I have already started this project and some other >>>>>> areas rely on some 5 modules so I can't convert to 6. >>>>>> >>>>>> This is what I want to accomplish. >>>>>> User logs in creates a profile(usernode) which includes location >>>>>> information >>>>>> The user can then create a Program(eg. indoor basketball) >>>>>> Now the user can create an attendance tracking node for the program >>>>>> they created above. >>>>>> Users only have access to the content they created. >>>>>> >>>>>> For reporting purposes as the administrator I would like to be able to >>>>>> see all the programs created for example by province, organization, or other >>>>>> data stored in the user profile(usernode) as well I would like to see all >>>>>> the attendance reports by organization, province, postal code, etc. The >>>>>> issue I think here is that the user shouldn't have to select their own >>>>>> organization or province, postal code when creating a new program or >>>>>> attendance tracking as this should be created by a relationship to the >>>>>> usernode. Sorry if i'm not too clear here I'm a bit confused as to how I can >>>>>> do this in drupal. >>>>>> >>>>>> Thanks >>>>>> >>>>>> >>>>>> On Tue, Mar 3, 2009 at 1:39 PM, Shai Gluskin wrote: >>>>>> >>>>>>> Chris, >>>>>>> >>>>>>> This is not a comprehensive response... >>>>>>> >>>>>>> First, what you are talking about is much easier to do in Drupal >>>>>>> 6/Views 2 than it is with Drupal 5. >>>>>>> >>>>>>> The Sign up module is excellent: http://drupal.org/project/signup >>>>>>> >>>>>>> It works with either a Date field or with the Event module. I'm not >>>>>>> sure if the signup module has Views integration. >>>>>>> >>>>>>> So in short, I'd start with D6, Views, Signup, and Date as the core >>>>>>> components to build what you want. >>>>>>> >>>>>>> Shai >>>>>>> >>>>>>> On Tue, Mar 3, 2009 at 10:33 AM, Chris McCreery < >>>>>>> chris.mccreery at gmail.com> wrote: >>>>>>> >>>>>>>> Hi I am creating a site that has the following content types: >>>>>>>> >>>>>>>> - Organization (Usernode) >>>>>>>> - Program (define a program) >>>>>>>> - Attendance Tracking (track attendance for that program) >>>>>>>> >>>>>>>> I would like to create an admin view that shows me all the details >>>>>>>> for either program or the attendance tracking with data from the usernode. >>>>>>>> For example: >>>>>>>> >>>>>>>> Program Name >>>>>>>> Organization Name >>>>>>>> Province >>>>>>>> Country >>>>>>>> Postal Code >>>>>>>> >>>>>>>> I'm just wondering what is the best way to have the Program and >>>>>>>> Attendance tracking content types reference this data. Would I need to >>>>>>>> create computed fields that query the database separately to get them into >>>>>>>> the content type? >>>>>>>> >>>>>>>> Thanks, any help would be much appreciated. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Chris McCreery >>>>>>>> >>>>>>>> -- >>>>>>>> [ Drupal support list | http://lists.drupal.org/ ] >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> [ Drupal support list | http://lists.drupal.org/ ] >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Chris McCreery >>>>>> >>>>>> -- >>>>>> [ Drupal support list | http://lists.drupal.org/ ] >>>>>> >>>>> >>>>> >>>>> -- >>>>> [ Drupal support list | http://lists.drupal.org/ ] >>>>> >>>> >>>> >>>> >>>> -- >>>> Chris McCreery >>>> >>>> -- >>>> [ Drupal support list | http://lists.drupal.org/ ] >>>> >>> >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >> >> >> >> -- >> Chris McCreery >> > > > > -- > Chris McCreery > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20090304/19a90ce2/attachment.htm From Smither at C-C-I.com Wed Mar 4 14:43:04 2009 From: Smither at C-C-I.com (Bob Smither) Date: Wed, 04 Mar 2009 08:43:04 -0600 Subject: [support] Reverse Attached File List Order In-Reply-To: <8ce458940903040548g721ba8ebt265823f5a02cb7c6@mail.gmail.com> References: <8ce458940903030733qf9ddbf9gbcd707f0fa34e471@mail.gmail.com> <9f68efb70903031039i595f4997ma9ce118d71fac329@mail.gmail.com> <8ce458940903031309me907277ufef9a1511e522e3@mail.gmail.com> <9f68efb70903031335h27a3ceeu11bc07bc03788b3@mail.gmail.com> <8ce458940903031802x1dcbc902yc923fad0a0cbd745@mail.gmail.com> <9f68efb70903031850h58a4abe0xbf1e9723896ad542@mail.gmail.com> <8ce458940903040547j5b7e6eacu42a14c74418d1986@mail.gmail.com> <8ce458940903040548g721ba8ebt265823f5a02cb7c6@mail.gmail.com> Message-ID: <1236177784.5529.117.camel@k6-2.c-c-i.com> Dear List, I am using D5 and have a page with several attached files (see: http://lrcf.org/Spotlight). When I upload a new file and attach it to the page, it is listed at the end of the list. Is there a way to reverse this behavior so that the latest uploaded file is always placed at the top of the list? Thanks, -- Bob Smither, Ph.D. smither at c-c-i.com ==================================================================== The Three Great Lies: 1. Your check is in the mail. 2. I'll respect you in the morning. 3. We're from the government and we are here to help you. ==================================================================== From chris.mccreery at gmail.com Wed Mar 4 15:14:25 2009 From: chris.mccreery at gmail.com (Chris McCreery) Date: Wed, 4 Mar 2009 10:14:25 -0500 Subject: [support] HELP! with Views and relational data In-Reply-To: <9f68efb70903040635x43528705gc3fbe05cd5ba5cd4@mail.gmail.com> References: <8ce458940903030733qf9ddbf9gbcd707f0fa34e471@mail.gmail.com> <9f68efb70903031039i595f4997ma9ce118d71fac329@mail.gmail.com> <8ce458940903031309me907277ufef9a1511e522e3@mail.gmail.com> <9f68efb70903031335h27a3ceeu11bc07bc03788b3@mail.gmail.com> <8ce458940903031802x1dcbc902yc923fad0a0cbd745@mail.gmail.com> <9f68efb70903031850h58a4abe0xbf1e9723896ad542@mail.gmail.com> <8ce458940903040547j5b7e6eacu42a14c74418d1986@mail.gmail.com> <8ce458940903040548g721ba8ebt265823f5a02cb7c6@mail.gmail.com> <9f68efb70903040635x43528705gc3fbe05cd5ba5cd4@mail.gmail.com> Message-ID: <8ce458940903040714y5df2a3ectc5b4bf56d522292c@mail.gmail.com> Thanks Shai, I've decided to just start over from scratch rather than upgrading. I think it will be more beneficial to start again and rethink some of my decisions. So based on that any suggestions as to which modules to use in 6 or the best ways to properly create the relations between user and program, user and attendance tracking, program and attendance-tracking? On Wed, Mar 4, 2009 at 9:35 AM, Shai Gluskin wrote: > Chris, > > Check out... Content Profile > > http://drupal.org/project/content_profile > > Shai > > > On Wed, Mar 4, 2009 at 8:48 AM, Chris McCreery wrote: > >> I was using Usernode in Drupal 5 is there a new replacement for that? or >> how will I upgrade that? >> >> >> On Wed, Mar 4, 2009 at 8:47 AM, Chris McCreery wrote: >> >>> Quicky.... Alright Shai you've convinced me. I am running 6 on a few >>> other sites and yes it is great. I'll give it a try and let you know how I >>> make out. Thanks again for all the help. >>> >>> >>> On Tue, Mar 3, 2009 at 9:50 PM, Shai Gluskin wrote: >>> >>>> Chris, >>>> >>>> A quicky version of upgrading, you might want to check other sources. >>>> >>>> >>>> 1. Back up your files and database. >>>> 2. Hopefully, you haven't hacked core or contrib modules. If you >>>> have, document them well. >>>> 3. If you don't have update_status installed, install it now now and >>>> run it. Then update all your Drupal 5 modules to their most current version >>>> in for *Drupal 5*. Along the way, you should probably check the >>>> project page for each of your modules to see if there are any relevant notes >>>> for upgrading to Drupal 6. Definitely read the instructions for upgrading >>>> for CCK. >>>> 4. Turn off all contrib module and themes. (Some people don't do >>>> this on "point upgrades" (e.g. 5.14 to 5.15) -- but I think it is the >>>> consensus to do this on major upgrades (e.g. D5 - D6). >>>> 5. You can now dispose of the files in your installation except be >>>> sure to keep handy customizations you have made to. (I keep these all in a >>>> separate place though, start with a fresh install and place the >>>> customizations back into the fresh installation: >>>> 1. .htaccess file in the root directory >>>> 2. a php.ini file if you have one. >>>> 3. connection settings and any other settings you've turned on in >>>> the settings.php file >>>> 4. files directory >>>> 5. custom modules you've created >>>> 6. custom theme >>>> 6. Download via tar balls or CVS the D6 core and the D6 versions of >>>> all your modules. >>>> 7. Place your contrib modules in: sites/all/modules >>>> 8. Go to sites/default/default.settings.php and: >>>> 1. duplicate it >>>> 2. change the new copy's name to: settings.php >>>> 3. edit the file to put in the connection settings and any other >>>> settings turned on that you previously needed. >>>> 9. If you had made changes to your site's .htaccess file, you can >>>> now make those same changes to the fresh install >>>> 10. navigate to example.com/update.php (don't freak out if there are >>>> errors) >>>> 11. Turn on CCK and run update.php again (follow the instructions on >>>> the project page of cck) >>>> 12. Turn on the rest of your modules >>>> 13. Turn on the theme >>>> >>>> Some of your views might not work -- just create them again with the new >>>> Views. It's good practice. You might as well learn the new Views on views >>>> that your already understand well. Views2 is amazing, but there is a >>>> learning curve. >>>> >>>> You might need to place your blocks again. >>>> >>>> Your custom theme might need some work. There is lots of info at >>>> Drupal.org about this. Shouldn't be too hard though, depending on >>>> complicated your site is. >>>> >>>> Good luck. It is really worth it. Drupal 6 is awesome! >>>> >>>> Report back. >>>> >>>> Shai >>>> >>>> >>>> On Tue, Mar 3, 2009 at 9:02 PM, Chris McCreery < >>>> chris.mccreery at gmail.com> wrote: >>>> >>>>> Well when I first started this project there were a number of modules >>>>> that weren't ready for drupal 6 and of course the client has taken their >>>>> sweet time getting back to me on every possible detail so I bet now >>>>> everything would work in drupal 6 but I'm not very familiar with the entire >>>>> upgrade process nor can I afford the time currently to upgrade the site. I >>>>> might just start over from scratch at this point. >>>>> >>>>> Is there any particular detail I should be worried about upgrading? I >>>>> have a custom theme that I had to create and a bunch of calculations in cck >>>>> computed fields. Is it fairly straightforward to upgrade all those aspects? >>>>> >>>>> After upgrading to 6 what would be my best option for getting the >>>>> results I wanted from what I detailed before? >>>>> >>>>> Thanks again for the help. >>>>> >>>>> >>>>> On Tue, Mar 3, 2009 at 4:35 PM, Shai Gluskin wrote: >>>>> >>>>>> Chris, >>>>>> >>>>>> What you are talking about is really complex in D5 requiring custom >>>>>> coding. It is almost trivial to do in D6 with Views2. >>>>>> >>>>>> Also, it isn't really that hard to upgrade sites to D6, depending of >>>>>> course on complexity. But you wouldn't have to start over. >>>>>> >>>>>> What is the functionality that D5 provides that you think D6 doesn't? >>>>>> >>>>>> Shai >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Tue, Mar 3, 2009 at 4:09 PM, Chris McCreery < >>>>>> chris.mccreery at gmail.com> wrote: >>>>>> >>>>>>> Ok unfortunately I have already started this project and some other >>>>>>> areas rely on some 5 modules so I can't convert to 6. >>>>>>> >>>>>>> This is what I want to accomplish. >>>>>>> User logs in creates a profile(usernode) which includes location >>>>>>> information >>>>>>> The user can then create a Program(eg. indoor basketball) >>>>>>> Now the user can create an attendance tracking node for the program >>>>>>> they created above. >>>>>>> Users only have access to the content they created. >>>>>>> >>>>>>> For reporting purposes as the administrator I would like to be able >>>>>>> to see all the programs created for example by province, organization, or >>>>>>> other data stored in the user profile(usernode) as well I would like to see >>>>>>> all the attendance reports by organization, province, postal code, etc. The >>>>>>> issue I think here is that the user shouldn't have to select their own >>>>>>> organization or province, postal code when creating a new program or >>>>>>> attendance tracking as this should be created by a relationship to the >>>>>>> usernode. Sorry if i'm not too clear here I'm a bit confused as to how I can >>>>>>> do this in drupal. >>>>>>> >>>>>>> Thanks >>>>>>> >>>>>>> >>>>>>> On Tue, Mar 3, 2009 at 1:39 PM, Shai Gluskin wrote: >>>>>>> >>>>>>>> Chris, >>>>>>>> >>>>>>>> This is not a comprehensive response... >>>>>>>> >>>>>>>> First, what you are talking about is much easier to do in Drupal >>>>>>>> 6/Views 2 than it is with Drupal 5. >>>>>>>> >>>>>>>> The Sign up module is excellent: http://drupal.org/project/signup >>>>>>>> >>>>>>>> It works with either a Date field or with the Event module. I'm not >>>>>>>> sure if the signup module has Views integration. >>>>>>>> >>>>>>>> So in short, I'd start with D6, Views, Signup, and Date as the core >>>>>>>> components to build what you want. >>>>>>>> >>>>>>>> Shai >>>>>>>> >>>>>>>> On Tue, Mar 3, 2009 at 10:33 AM, Chris McCreery < >>>>>>>> chris.mccreery at gmail.com> wrote: >>>>>>>> >>>>>>>>> Hi I am creating a site that has the following content types: >>>>>>>>> >>>>>>>>> - Organization (Usernode) >>>>>>>>> - Program (define a program) >>>>>>>>> - Attendance Tracking (track attendance for that program) >>>>>>>>> >>>>>>>>> I would like to create an admin view that shows me all the details >>>>>>>>> for either program or the attendance tracking with data from the usernode. >>>>>>>>> For example: >>>>>>>>> >>>>>>>>> Program Name >>>>>>>>> Organization Name >>>>>>>>> Province >>>>>>>>> Country >>>>>>>>> Postal Code >>>>>>>>> >>>>>>>>> I'm just wondering what is the best way to have the Program and >>>>>>>>> Attendance tracking content types reference this data. Would I need to >>>>>>>>> create computed fields that query the database separately to get them into >>>>>>>>> the content type? >>>>>>>>> >>>>>>>>> Thanks, any help would be much appreciated. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Chris McCreery >>>>>>>>> >>>>>>>>> -- >>>>>>>>> [ Drupal support list | http://lists.drupal.org/ ] >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> [ Drupal support list | http://lists.drupal.org/ ] >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Chris McCreery >>>>>>> >>>>>>> -- >>>>>>> [ Drupal support list | http://lists.drupal.org/ ] >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> [ Drupal support list | http://lists.drupal.org/ ] >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Chris McCreery >>>>> >>>>> -- >>>>> [ Drupal support list | http://lists.drupal.org/ ] >>>>> >>>> >>>> >>>> -- >>>> [ Drupal support list | http://lists.drupal.org/ ] >>>> >>> >>> >>> >>> -- >>> Chris McCreery >>> >> >> >> >> -- >> Chris McCreery >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Chris McCreery -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20090304/06740977/attachment-0001.htm From mvgrootel at gmail.com Wed Mar 4 16:27:38 2009 From: mvgrootel at gmail.com (Maarten van Grootel) Date: Wed, 4 Mar 2009 17:27:38 +0100 Subject: [support] Reverse Attached File List Order In-Reply-To: <1236177784.5529.117.camel@k6-2.c-c-i.com> References: <8ce458940903030733qf9ddbf9gbcd707f0fa34e471@mail.gmail.com> <9f68efb70903031039i595f4997ma9ce118d71fac329@mail.gmail.com> <8ce458940903031309me907277ufef9a1511e522e3@mail.gmail.com> <9f68efb70903031335h27a3ceeu11bc07bc03788b3@mail.gmail.com> <8ce458940903031802x1dcbc902yc923fad0a0cbd745@mail.gmail.com> <9f68efb70903031850h58a4abe0xbf1e9723896ad542@mail.gmail.com> <8ce458940903040547j5b7e6eacu42a14c74418d1986@mail.gmail.com> <8ce458940903040548g721ba8ebt265823f5a02cb7c6@mail.gmail.com> <1236177784.5529.117.camel@k6-2.c-c-i.com> Message-ID: <9f8bbf980903040827t30199053g37c299e85f28245d@mail.gmail.com> Hi Bob, You can override theme_upload_attachments: http://api.drupal.org/api/function/theme_upload_attachments/6 Put something like the following in your template.php. YOURTHEME_upload_attachments($files) { // Reverse files $files = array_reverse($files) return theme_upload_attachements($files); } Good luck, Maarten van Grootel On Wed, Mar 4, 2009 at 3:43 PM, Bob Smither wrote: > Dear List, > > I am using D5 and have a page with several attached files (see: > http://lrcf.org/Spotlight). When I upload a new file and attach it to > the page, it is listed at the end of the list. > > Is there a way to reverse this behavior so that the latest uploaded file > is always placed at the top of the list? > > Thanks, > -- > Bob Smither, Ph.D. smither at c-c-i.com > ==================================================================== > The Three Great Lies: > 1. Your check is in the mail. > 2. I'll respect you in the morning. > 3. We're from the government and we are here to help you. > ==================================================================== > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20090304/5b9debf2/attachment.htm From johnny.xiao at Q1Labs.com Wed Mar 4 19:50:43 2009 From: johnny.xiao at Q1Labs.com (Johnny Xiao) Date: Wed, 4 Mar 2009 15:50:43 -0400 Subject: [support] Is it possible to add search file to Drupal core search function In-Reply-To: <49421312.3090008@funnymonkey.com> References: <493FE122.5060800@zmsl.com> <493FE383.5080903@funnymonkey.com> <493FE774.6060607@partialflow.com> <493FE942.3090302@zmsl.com> <493FECA4.8050900@torchbox.com> <007901c95ae5$88141d40$983c57c0$@com><493FF474.9070808@zmsl.com> <49421312.3090008@funnymonkey.com> Message-ID: I am wondering if this feature can be added to core search function. If not, how can I customize it? Thanks From killshot91 at comcast.net Wed Mar 4 21:39:01 2009 From: killshot91 at comcast.net (Steve Edwards) Date: Wed, 04 Mar 2009 13:39:01 -0800 Subject: [support] Drupal .htaccess blocks access to domain in subfolder Message-ID: <49AEF4F5.1010200@comcast.net> I'm trying to set up a Drupal site in a subfolder on my shared hosting account as it's own domain, and for reasons I can't understand, I get a 403 - Permission Denied error when I try to access it. I have a D5 site in my /public_html directory (www.mydomain.com), and the new site is a D6 site in /public_html/domain2 (www.domain2.org is using that folder). The name servers for domain2.org are pointed to the correct name servers, and I've added the domain as an addon domain on my account. I contacted my ISP, and they said the problem is the .htaccess in /public_html. If it is renamed (i.e. to .htaccessold), then I can access domain2.org, but I can' go to any page in my mydomain.com, since it's using clean URLs and the .htaccess contains the rewrite rules. I've done this setup multiple times before, and I've never had this problem. Can anyone explain what the problem is and how I would correct it? Thanks. Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20090304/ab36be18/attachment.htm From morbus at disobey.com Wed Mar 4 23:09:37 2009 From: morbus at disobey.com (Morbus Iff) Date: Wed, 04 Mar 2009 18:09:37 -0500 Subject: [support] Drupal .htaccess blocks access to domain in subfolder In-Reply-To: <49AEF4F5.1010200@comcast.net> References: <49AEF4F5.1010200@comcast.net> Message-ID: <49AF0A31.6080602@disobey.com> > I'm trying to set up a Drupal site in a subfolder on my shared hosting > account as it's own domain, and for reasons I can't understand, I get a > 403 - Permission Denied error when I try to access it. I have a D5 site > in my /public_html directory (www.mydomain.com), and the new site is a > D6 site in /public_html/domain2 (www.domain2.org is using that folder). > The name servers for domain2.org are pointed to the correct name > servers, and I've added the domain as an addon domain on my account. > > I contacted my ISP, and they said the problem is the .htaccess in > /public_html. If it is renamed (i.e. to .htaccessold), then I can Did they provide any /technical/ rationale for that explanation? That rationale, or the actual error from the Apache error_log would help. I see no reason why the above wouldn't work. -- Morbus Iff ( insert pithy quote here ) Technical: http://www.oreillynet.com/pub/au/779 Enjoy: http://www.disobey.com/ and http://www.videounderbelly.com/ aim: akaMorbus / skype: morbusiff / icq: 2927491 / jabber.org: morbus From chris.mccreery at gmail.com Wed Mar 4 23:10:21 2009 From: chris.mccreery at gmail.com (Chris McCreery) Date: Wed, 4 Mar 2009 18:10:21 -0500 Subject: [support] HELP! with Views and relational data In-Reply-To: <8ce458940903040714y5df2a3ectc5b4bf56d522292c@mail.gmail.com> References: <8ce458940903030733qf9ddbf9gbcd707f0fa34e471@mail.gmail.com> <9f68efb70903031039i595f4997ma9ce118d71fac329@mail.gmail.com> <8ce458940903031309me907277ufef9a1511e522e3@mail.gmail.com> <9f68efb70903031335h27a3ceeu11bc07bc03788b3@mail.gmail.com> <8ce458940903031802x1dcbc902yc923fad0a0cbd745@mail.gmail.com> <9f68efb70903031850h58a4abe0xbf1e9723896ad542@mail.gmail.com> <8ce458940903040547j5b7e6eacu42a14c74418d1986@mail.gmail.com> <8ce458940903040548g721ba8ebt265823f5a02cb7c6@mail.gmail.com> <9f68efb70903040635x43528705gc3fbe05cd5ba5cd4@mail.gmail.com> <8ce458940903040714y5df2a3ectc5b4bf56d522292c@mail.gmail.com> Message-ID: <8ce458940903041510n54c2d7a5ub342f81a45df30b2@mail.gmail.com> Alright Shai I am now up and running in Drupal 6 and have got my site back to where I had it before minus the Views. Based on my initial requirements would you be able to give me a hand with how I should set up these views? Thanks On Wed, Mar 4, 2009 at 10:14 AM, Chris McCreery wrote: > Thanks Shai, I've decided to just start over from scratch rather than > upgrading. I think it will be more beneficial to start again and rethink > some of my decisions. > > So based on that any suggestions as to which modules to use in 6 or the > best ways to properly create the relations between user and program, user > and attendance tracking, program and attendance-tracking? > > > On Wed, Mar 4, 2009 at 9:35 AM, Shai Gluskin wrote: > >> Chris, >> >> Check out... Content Profile >> >> http://drupal.org/project/content_profile >> >> Shai >> >> >> On Wed, Mar 4, 2009 at 8:48 AM, Chris McCreery wrote: >> >>> I was using Usernode in Drupal 5 is there a new replacement for that? or >>> how will I upgrade that? >>> >>> >>> On Wed, Mar 4, 2009 at 8:47 AM, Chris McCreery >> > wrote: >>> >>>> Quicky.... Alright Shai you've convinced me. I am running 6 on a few >>>> other sites and yes it is great. I'll give it a try and let you know how I >>>> make out. Thanks again for all the help. >>>> >>>> >>>> On Tue, Mar 3, 2009 at 9:50 PM, Shai Gluskin wrote: >>>> >>>>> Chris, >>>>> >>>>> A quicky version of upgrading, you might want to check other sources. >>>>> >>>>> >>>>> 1. Back up your files and database. >>>>> 2. Hopefully, you haven't hacked core or contrib modules. If you >>>>> have, document them well. >>>>> 3. If you don't have update_status installed, install it now now >>>>> and run it. Then update all your Drupal 5 modules to their most current >>>>> version in for *Drupal 5*. Along the way, you should probably check >>>>> the project page for each of your modules to see if there are any relevant >>>>> notes for upgrading to Drupal 6. Definitely read the instructions for >>>>> upgrading for CCK. >>>>> 4. Turn off all contrib module and themes. (Some people don't do >>>>> this on "point upgrades" (e.g. 5.14 to 5.15) -- but I think it is the >>>>> consensus to do this on major upgrades (e.g. D5 - D6). >>>>> 5. You can now dispose of the files in your installation except be >>>>> sure to keep handy customizations you have made to. (I keep these all in a >>>>> separate place though, start with a fresh install and place the >>>>> customizations back into the fresh installation: >>>>> 1. .htaccess file in the root directory >>>>> 2. a php.ini file if you have one. >>>>> 3. connection settings and any other settings you've turned on >>>>> in the settings.php file >>>>> 4. files directory >>>>> 5. custom modules you've created >>>>> 6. custom theme >>>>> 6. Download via tar balls or CVS the D6 core and the D6 versions of >>>>> all your modules. >>>>> 7. Place your contrib modules in: sites/all/modules >>>>> 8. Go to sites/default/default.settings.php and: >>>>> 1. duplicate it >>>>> 2. change the new copy's name to: settings.php >>>>> 3. edit the file to put in the connection settings and any other >>>>> settings turned on that you previously needed. >>>>> 9. If you had made changes to your site's .htaccess file, you can >>>>> now make those same changes to the fresh install >>>>> 10. navigate to example.com/update.php (don't freak out if there >>>>> are errors) >>>>> 11. Turn on CCK and run update.php again (follow the instructions >>>>> on the project page of cck) >>>>> 12. Turn on the rest of your modules >>>>> 13. Turn on the theme >>>>> >>>>> Some of your views might not work -- just create them again with the >>>>> new Views. It's good practice. You might as well learn the new Views on >>>>> views that your already understand well. Views2 is amazing, but there is a >>>>> learning curve. >>>>> >>>>> You might need to place your blocks again. >>>>> >>>>> Your custom theme might need some work. There is lots of info at >>>>> Drupal.org about this. Shouldn't be too hard though, depending on >>>>> complicated your site is. >>>>> >>>>> Good luck. It is really worth it. Drupal 6 is awesome! >>>>> >>>>> Report back. >>>>> >>>>> Shai >>>>> >>>>> >>>>> On Tue, Mar 3, 2009 at 9:02 PM, Chris McCreery < >>>>> chris.mccreery at gmail.com> wrote: >>>>> >>>>>> Well when I first started this project there were a number of modules >>>>>> that weren't ready for drupal 6 and of course the client has taken their >>>>>> sweet time getting back to me on every possible detail so I bet now >>>>>> everything would work in drupal 6 but I'm not very familiar with the entire >>>>>> upgrade process nor can I afford the time currently to upgrade the site. I >>>>>> might just start over from scratch at this point. >>>>>> >>>>>> Is there any particular detail I should be worried about upgrading? I >>>>>> have a custom theme that I had to create and a bunch of calculations in cck >>>>>> computed fields. Is it fairly straightforward to upgrade all those aspects? >>>>>> >>>>>> After upgrading to 6 what would be my best option for getting the >>>>>> results I wanted from what I detailed before? >>>>>> >>>>>> Thanks again for the help. >>>>>> >>>>>> >>>>>> On Tue, Mar 3, 2009 at 4:35 PM, Shai Gluskin wrote: >>>>>> >>>>>>> Chris, >>>>>>> >>>>>>> What you are talking about is really complex in D5 requiring custom >>>>>>> coding. It is almost trivial to do in D6 with Views2. >>>>>>> >>>>>>> Also, it isn't really that hard to upgrade sites to D6, depending of >>>>>>> course on complexity. But you wouldn't have to start over. >>>>>>> >>>>>>> What is the functionality that D5 provides that you think D6 doesn't? >>>>>>> >>>>>>> Shai >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Tue, Mar 3, 2009 at 4:09 PM, Chris McCreery < >>>>>>> chris.mccreery at gmail.com> wrote: >>>>>>> >>>>>>>> Ok unfortunately I have already started this project and some other >>>>>>>> areas rely on some 5 modules so I can't convert to 6. >>>>>>>> >>>>>>>> This is what I want to accomplish. >>>>>>>> User logs in creates a profile(usernode) which includes location >>>>>>>> information >>>>>>>> The user can then create a Program(eg. indoor basketball) >>>>>>>> Now the user can create an attendance tracking node for the program >>>>>>>> they created above. >>>>>>>> Users only have access to the content they created. >>>>>>>> >>>>>>>> For reporting purposes as the administrator I would like to be able >>>>>>>> to see all the programs created for example by province, organization, or >>>>>>>> other data stored in the user profile(usernode) as well I would like to see >>>>>>>> all the attendance reports by organization, province, postal code, etc. The >>>>>>>> issue I think here is that the user shouldn't have to select their own >>>>>>>> organization or province, postal code when creating a new program or >>>>>>>> attendance tracking as this should be created by a relationship to the >>>>>>>> usernode. Sorry if i'm not too clear here I'm a bit confused as to how I can >>>>>>>> do this in drupal. >>>>>>>> >>>>>>>> Thanks >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Mar 3, 2009 at 1:39 PM, Shai Gluskin >>>>>>> > wrote: >>>>>>>> >>>>>>>>> Chris, >>>>>>>>> >>>>>>>>> This is not a comprehensive response... >>>>>>>>> >>>>>>>>> First, what you are talking about is much easier to do in Drupal >>>>>>>>> 6/Views 2 than it is with Drupal 5. >>>>>>>>> >>>>>>>>> The Sign up module is excellent: http://drupal.org/project/signup >>>>>>>>> >>>>>>>>> It works with either a Date field or with the Event module. I'm not >>>>>>>>> sure if the signup module has Views integration. >>>>>>>>> >>>>>>>>> So in short, I'd start with D6, Views, Signup, and Date as the core >>>>>>>>> components to build what you want. >>>>>>>>> >>>>>>>>> Shai >>>>>>>>> >>>>>>>>> On Tue, Mar 3, 2009 at 10:33 AM, Chris McCreery < >>>>>>>>> chris.mccreery at gmail.com> wrote: >>>>>>>>> >>>>>>>>>> Hi I am creating a site that has the following content types: >>>>>>>>>> >>>>>>>>>> - Organization (Usernode) >>>>>>>>>> - Program (define a program) >>>>>>>>>> - Attendance Tracking (track attendance for that program) >>>>>>>>>> >>>>>>>>>> I would like to create an admin view that shows me all the details >>>>>>>>>> for either program or the attendance tracking with data from the usernode. >>>>>>>>>> For example: >>>>>>>>>> >>>>>>>>>> Program Name >>>>>>>>>> Organization Name >>>>>>>>>> Province >>>>>>>>>> Country >>>>>>>>>> Postal Code >>>>>>>>>> >>>>>>>>>> I'm just wondering what is the best way to have the Program and >>>>>>>>>> Attendance tracking content types reference this data. Would I need to >>>>>>>>>> create computed fields that query the database separately to get them into >>>>>>>>>> the content type? >>>>>>>>>> >>>>>>>>>> Thanks, any help would be much appreciated. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Chris McCreery >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> [ Drupal support list | http://lists.drupal.org/ ] >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> [ Drupal support list | http://lists.drupal.org/ ] >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Chris McCreery >>>>>>>> >>>>>>>> -- >>>>>>>> [ Drupal support list | http://lists.drupal.org/ ] >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> [ Drupal support list | http://lists.drupal.org/ ] >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Chris McCreery >>>>>> >>>>>> -- >>>>>> [ Drupal support list | http://lists.drupal.org/ ] >>>>>> >>>>> >>>>> >>>>> -- >>>>> [ Drupal support list | http://lists.drupal.org/ ] >>>>> >>>> >>>> >>>> >>>> -- >>>> Chris McCreery >>>> >>> >>> >>> >>> -- >>> Chris McCreery >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >> >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > > -- > Chris McCreery > -- Chris McCreery -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20090304/e5c31c87/attachment-0001.htm From shai at content2zero.com Wed Mar 4 23:33:54 2009 From: shai at content2zero.com (Shai Gluskin) Date: Wed, 4 Mar 2009 18:33:54 -0500 Subject: [support] HELP! with Views and relational data In-Reply-To: <8ce458940903041510n54c2d7a5ub342f81a45df30b2@mail.gmail.com> References: <8ce458940903030733qf9ddbf9gbcd707f0fa34e471@mail.gmail.com> <9f68efb70903031039i595f4997ma9ce118d71fac329@mail.gmail.com> <8ce458940903031309me907277ufef9a1511e522e3@mail.gmail.com> <9f68efb70903031335h27a3ceeu11bc07bc03788b3@mail.gmail.com> <8ce458940903031802x1dcbc902yc923fad0a0cbd745@mail.gmail.com> <9f68efb70903031850h58a4abe0xbf1e9723896ad542@mail.gmail.com> <8ce458940903040547j5b7e6eacu42a14c74418d1986@mail.gmail.com> <8ce458940903040548g721ba8ebt265823f5a02cb7c6@mail.gmail.com> <9f68efb70903040635x43528705gc3fbe05cd5ba5cd4@mail.gmail.com> <8ce458940903040714y5df2a3ectc5b4bf56d522292c@mail.gmail.com> <8ce458940903041510n54c2d7a5ub342f81a45df30b2@mail.gmail.com> Message-ID: <0FB166BC-1A6F-4D8C-976E-C054561737C4@content2zero.com> Chris... Have you used Views yet to set up any simpler views yet? It would be nice to get the new Ui under your belt a bit before tackling something more complex. But in any case... The key to getting what you want is by setting up relationships between the different content types. You do that in the views ui. Once you set up a relationship you'll be able to create views that pull in content based on the relationship you have established. I hope this us enough to get you started. Shai On Mar 4, 2009, at 6:10 PM, Chris McCreery wrote: > Alright Shai I am now up and running in Drupal 6 and have got my > site back to where I had it before minus the Views. Based on my > initial requirements would you be able to give me a hand with how I > should set up these views? > > Thanks > > On Wed, Mar 4, 2009 at 10:14 AM, Chris McCreery > wrote: > Thanks Shai, I've decided to just start over from scratch rather > than upgrading. I think it will be more beneficial to start again > and rethink some of my decisions. > > So based on that any suggestions as to which modules to use in 6 or > the best ways to properly create the relations between user and > program, user and attendance tracking, program and attendance- > tracking? > > > On Wed, Mar 4, 2009 at 9:35 AM, Shai Gluskin > wrote: > Chris, > > Check out... Content Profile > > http://drupal.org/project/content_profile > > Shai > > > On Wed, Mar 4, 2009 at 8:48 AM, Chris McCreery > wrote: > I was using Usernode in Drupal 5 is there a new replacement for > that? or how will I upgrade that? > > > On Wed, Mar 4, 2009 at 8:47 AM, Chris McCreery > wrote: > Quicky.... Alright Shai you've convinced me. I am running 6 on a few > other sites and yes it is great. I'll give it a try and let you know > how I make out. Thanks again for all the help. > > > On Tue, Mar 3, 2009 at 9:50 PM, Shai Gluskin > wrote: > Chris, > > A quicky version of upgrading, you might want to check other sources. > > Back up your files and database. > Hopefully, you haven't hacked core or contrib modules. If you have, > document them well. > If you don't have update_status installed, install it now now and > run it. Then update all your Drupal 5 modules to their most current > version in for Drupal 5. Along the way, you should probably check > the project page for each of your modules to see if there are any > relevant notes for upgrading to Drupal 6. Definitely read the > instructions for upgrading for CCK. > Turn off all contrib module and themes. (Some people don't do this > on "point upgrades" (e.g. 5.14 to 5.15) -- but I think it is the > consensus to do this on major upgrades (e.g. D5 - D6). > You can now dispose of the files in your installation except be sure > to keep handy customizations you have made to. (I keep these all in > a separate place though, start with a fresh install and place the > customizations back into the fresh installation: > .htaccess file in the root directory > a php.ini file if you have one. > connection settings and any other settings you've turned on in the > settings.php file > files directory > custom modules you've created > custom theme > Download via tar balls or CVS the D6 core and the D6 versions of all > your modules. > Place your contrib modules in: sites/all/modules > Go to sites/default/default.settings.php and: > duplicate it > change the new copy's name to: settings.php > edit the file to put in the connection settings and any other > settings turned on that you previously needed. > If you had made changes to your site's .htaccess file, you can now > make those same changes to the fresh install > navigate to example.com/update.php (don't freak out if there are > errors) > Turn on CCK and run update.php again (follow the instructions on the > project page of cck) > Turn on the rest of your modules > Turn on the theme > Some of your views might not work -- just create them again with the > new Views. It's good practice. You might as well learn the new Views > on views that your already understand well. Views2 is amazing, but > there is a learning curve. > > You might need to place your blocks again. > > Your custom theme might need some work. There is lots of info at > Drupal.org about this. Shouldn't be too hard though, depending on > complicated your site is. > > Good luck. It is really worth it. Drupal 6 is awesome! > > Report back. > > Shai > > > On Tue, Mar 3, 2009 at 9:02 PM, Chris McCreery > wrote: > Well when I first started this project there were a number of > modules that weren't ready for drupal 6 and of course the client has > taken their sweet time getting back to me on every possible detail > so I bet now everything would work in drupal 6 but I'm not very > familiar with the entire upgrade process nor can I afford the time > currently to upgrade the site. I might just start over from scratch > at this point. > > Is there any particular detail I should be worried about upgrading? > I have a custom theme that I had to create and a bunch of > calculations in cck computed fields. Is it fairly straightforward to > upgrade all those aspects? > > After upgrading to 6 what would be my best option for getting the > results I wanted from what I detailed before? > > Thanks again for the help. > > > On Tue, Mar 3, 2009 at 4:35 PM, Shai Gluskin > wrote: > Chris, > > What you are talking about is really complex in D5 requiring custom > coding. It is almost trivial to do in D6 with Views2. > > Also, it isn't really that hard to upgrade sites to D6, depending of > course on complexity. But you wouldn't have to start over. > > What is the functionality that D5 provides that you think D6 doesn't? > > Shai > > > > > On Tue, Mar 3, 2009 at 4:09 PM, Chris McCreery > wrote: > Ok unfortunately I have already started this project and some other > areas rely on some 5 modules so I can't convert to 6. > > This is what I want to accomplish. > User logs in creates a profile(usernode) which includes location > information > The user can then create a Program(eg. indoor basketball) > Now the user can create an attendance tracking node for the program > they created above. > Users only have access to the content they created. > > For reporting purposes as the administrator I would like to be able > to see all the programs created for example by province, > organization, or other data stored in the user profile(usernode) as > well I would like to see all the attendance reports by organization, > province, postal code, etc. The issue I think here is that the user > shouldn't have to select their own organization or province, postal > code when creating a new program or attendance tracking as this > should be created by a relationship to the usernode. Sorry if i'm > not too clear here I'm a bit confused as to how I can do this in > drupal. > > Thanks > > > On Tue, Mar 3, 2009 at 1:39 PM, Shai Gluskin > wrote: > Chris, > > This is not a comprehensive response... > > First, what you are talking about is much easier to do in Drupal 6/ > Views 2 than it is with Drupal 5. > > The Sign up module is excellent: http://drupal.org/project/signup > > It works with either a Date field or with the Event module. I'm not > sure if the signup module has Views integration. > > So in short, I'd start with D6, Views, Signup, and Date as the core > components to build what you want. > > Shai > > On Tue, Mar 3, 2009 at 10:33 AM, Chris McCreery > wrote: > Hi I am creating a site that has the following content types: > Organization (Usernode) > Program (define a program) > Attendance Tracking (track attendance for that program) > I would like to create an admin view that shows me all the details > for either program or the attendance tracking with data from the > usernode. For example: > > Program Name > Organization Name > Province > Country > Postal Code > > I'm just wondering what is the best way to have the Program and > Attendance tracking content types reference this data. Would I need > to create computed fields that query the database separately to get > them into the content type? > > Thanks, any help would be much appreciated. > > > > -- > Chris McCreery > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > > > -- > Chris McCreery > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > > > -- > Chris McCreery > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > > > -- > Chris McCreery > > > > -- > Chris McCreery > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > > > -- > Chris McCreery > > > > -- > Chris McCreery > -- > [ Drupal support list | http://lists.drupal.org/ ] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20090304/44cfb719/attachment.htm From chris.mccreery at gmail.com Thu Mar 5 00:13:27 2009 From: chris.mccreery at gmail.com (Chris McCreery) Date: Wed, 4 Mar 2009 19:13:27 -0500 Subject: [support] HELP! with Views and relational data In-Reply-To: <0FB166BC-1A6F-4D8C-976E-C054561737C4@content2zero.com> References: <8ce458940903030733qf9ddbf9gbcd707f0fa34e471@mail.gmail.com> <9f68efb70903031335h27a3ceeu11bc07bc03788b3@mail.gmail.com> <8ce458940903031802x1dcbc902yc923fad0a0cbd745@mail.gmail.com> <9f68efb70903031850h58a4abe0xbf1e9723896ad542@mail.gmail.com> <8ce458940903040547j5b7e6eacu42a14c74418d1986@mail.gmail.com> <8ce458940903040548g721ba8ebt265823f5a02cb7c6@mail.gmail.com> <9f68efb70903040635x43528705gc3fbe05cd5ba5cd4@mail.gmail.com> <8ce458940903040714y5df2a3ectc5b4bf56d522292c@mail.gmail.com> <8ce458940903041510n54c2d7a5ub342f81a45df30b2@mail.gmail.com> <0FB166BC-1A6F-4D8C-976E-C054561737C4@content2zero.com> Message-ID: <8ce458940903041613j721284dcwd155273a1b033676@mail.gmail.com> Thanks Shai I have created some views in the new ui before. Would you be able to explain or point me to a good reference for creating the relationships? Thank you so much. On Wed, Mar 4, 2009 at 6:33 PM, Shai Gluskin wrote: > Chris... Have you used Views yet to set up any simpler views yet? It would > be nice to get the new Ui under your belt a bit before tackling something > more complex. > > But in any case... The key to getting what you want is by setting up > relationships between the different content types. You do that in the views > ui. Once you set up a relationship you'll be able to create views that pull > in content based on the relationship you have established. > > I hope this us enough to get you started. > > Shai > > On Mar 4, 2009, at 6:10 PM, Chris McCreery > wrote: > > Alright Shai I am now up and running in Drupal 6 and have got my site back > to where I had it before minus the Views. Based on my initial requirements > would you be able to give me a hand with how I should set up these views? > > Thanks > > On Wed, Mar 4, 2009 at 10:14 AM, Chris McCreery < > chris.mccreery at gmail.com> wrote: > >> Thanks Shai, I've decided to just start over from scratch rather than >> upgrading. I think it will be more beneficial to start again and rethink >> some of my decisions. >> >> So based on that any suggestions as to which modules to use in 6 or the >> best ways to properly create the relations between user and program, user >> and attendance tracking, program and attendance-tracking? >> >> >> On Wed, Mar 4, 2009 at 9:35 AM, Shai Gluskin < >> shai at content2zero.com> wrote: >> >>> Chris, >>> >>> Check out... Content Profile >>> >>> >>> http://drupal.org/project/content_profile >>> >>> Shai >>> >>> >>> On Wed, Mar 4, 2009 at 8:48 AM, Chris McCreery < >>> chris.mccreery at gmail.com> wrote: >>> >>>> I was using Usernode in Drupal 5 is there a new replacement for that? or >>>> how will I upgrade that? >>>> >>>> >>>> On Wed, Mar 4, 2009 at 8:47 AM, Chris McCreery < >>>> chris.mccreery at gmail.com> wrote: >>>> >>>>> Quicky.... Alright Shai you've convinced me. I am running 6 on a few >>>>> other sites and yes it is great. I'll give it a try and let you know how I >>>>> make out. Thanks again for all the help. >>>>> >>>>> >>>>> On Tue, Mar 3, 2009 at 9:50 PM, Shai Gluskin < >>>>> shai at content2zero.com> wrote: >>>>> >>>>>> Chris, >>>>>> >>>>>> A quicky version of upgrading, you might want to check other sources. >>>>>> >>>>>> >>>>>> 1. Back up your files and database. >>>>>> 2. Hopefully, you haven't hacked core or contrib modules. If you >>>>>> have, document them well. >>>>>> 3. If you don't have update_status installed, install it now now >>>>>> and run it. Then update all your Drupal 5 modules to their most current >>>>>> version in for *Drupal 5*. Along the way, you should probably >>>>>> check the project page for each of your modules to see if there are any >>>>>> relevant notes for upgrading to Drupal 6. Definitely read the instructions >>>>>> for upgrading for CCK. >>>>>> 4. Turn off all contrib module and themes. (Some people don't do >>>>>> this on "point upgrades" (e.g. 5.14 to 5.15) -- but I think it is the >>>>>> consensus to do this on major upgrades (e.g. D5 - D6). >>>>>> 5. You can now dispose of the files in your installation except be >>>>>> sure to keep handy customizations you have made to. (I keep these all in a >>>>>> separate place though, start with a fresh install and place the >>>>>> customizations back into the fresh installation: >>>>>> 1. .htaccess file in the root directory >>>>>> 2. a php.ini file if you have one. >>>>>> 3. connection settings and any other settings you've turned on >>>>>> in the settings.php file >>>>>> 4. files directory >>>>>> 5. custom modules you've created >>>>>> 6. custom theme >>>>>> 6. Download via tar balls or CVS the D6 core and the D6 versions >>>>>> of all your modules. >>>>>> 7. Place your contrib modules in: sites/all/modules >>>>>> 8. Go to sites/default/default.settings.php and: >>>>>> 1. duplicate it >>>>>> 2. change the new copy's name to: settings.php >>>>>> 3. edit the file to put in the connection settings and any >>>>>> other settings turned on that you previously needed. >>>>>> 9. If you had made changes to your site's .htaccess file, you can >>>>>> now make those same changes to the fresh install >>>>>> 10. navigate to example.com/update.php (don't freak out if there >>>>>> are errors) >>>>>> 11. Turn on CCK and run update.php again (follow the instructions >>>>>> on the project page of cck) >>>>>> 12. Turn on the rest of your modules >>>>>> 13. Turn on the theme >>>>>> >>>>>> Some of your views might not work -- just create them again with the >>>>>> new Views. It's good practice. You might as well learn the new Views on >>>>>> views that your already understand well. Views2 is amazing, but there is a >>>>>> learning curve. >>>>>> >>>>>> You might need to place your blocks again. >>>>>> >>>>>> Your custom theme might need some work. There is lots of info at >>>>>> Drupal.org about this. Shouldn't be too hard though, depending on >>>>>> complicated your site is. >>>>>> >>>>>> Good luck. It is really worth it. Drupal 6 is awesome! >>>>>> >>>>>> Report back. >>>>>> >>>>>> Shai >>>>>> >>>>>> >>>>>> On Tue, Mar 3, 2009 at 9:02 PM, Chris McCreery < >>>>>> chris.mccreery at gmail.com> wrote: >>>>>> >>>>>>> Well when I first started this project there were a number of modules >>>>>>> that weren't ready for drupal 6 and of course the client has taken their >>>>>>> sweet time getting back to me on every possible detail so I bet now >>>>>>> everything would work in drupal 6 but I'm not very familiar with the entire >>>>>>> upgrade process nor can I afford the time currently to upgrade the site. I >>>>>>> might just start over from scratch at this point. >>>>>>> >>>>>>> Is there any particular detail I should be worried about upgrading? I >>>>>>> have a custom theme that I had to create and a bunch of calculations in cck >>>>>>> computed fields. Is it fairly straightforward to upgrade all those aspects? >>>>>>> >>>>>>> After upgrading to 6 what would be my best option for getting the >>>>>>> results I wanted from what I detailed before? >>>>>>> >>>>>>> Thanks again for the help. >>>>>>> >>>>>>> >>>>>>> On Tue, Mar 3, 2009 at 4:35 PM, Shai Gluskin < >>>>>>> shai at content2zero.com> wrote: >>>>>>> >>>>>>>> Chris, >>>>>>>> >>>>>>>> What you are talking about is really complex in D5 requiring custom >>>>>>>> coding. It is almost trivial to do in D6 with Views2. >>>>>>>> >>>>>>>> Also, it isn't really that hard to upgrade sites to D6, depending of >>>>>>>> course on complexity. But you wouldn't have to start over. >>>>>>>> >>>>>>>> What is the functionality that D5 provides that you think D6 >>>>>>>> doesn't? >>>>>>>> >>>>>>>> Shai >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Mar 3, 2009 at 4:09 PM, Chris McCreery < >>>>>>>> chris.mccreery at gmail.com> wrote: >>>>>>>> >>>>>>>>> Ok unfortunately I have already started this project and some other >>>>>>>>> areas rely on some 5 modules so I can't convert to 6. >>>>>>>>> >>>>>>>>> This is what I want to accomplish. >>>>>>>>> User logs in creates a profile(usernode) which includes location >>>>>>>>> information >>>>>>>>> The user can then create a Program(eg. indoor basketball) >>>>>>>>> Now the user can create an attendance tracking node for the program >>>>>>>>> they created above. >>>>>>>>> Users only have access to the content they created. >>>>>>>>> >>>>>>>>> For reporting purposes as the administrator I would like to be able >>>>>>>>> to see all the programs created for example by province, organization, or >>>>>>>>> other data stored in the user profile(usernode) as well I would like to see >>>>>>>>> all the attendance reports by organization, province, postal code, etc. The >>>>>>>>> issue I think here is that the user shouldn't have to select their own >>>>>>>>> organization or province, postal code when creating a new program or >>>>>>>>> attendance tracking as this should be created by a relationship to the >>>>>>>>> usernode. Sorry if i'm not too clear here I'm a bit confused as to how I can >>>>>>>>> do this in drupal. >>>>>>>>> >>>>>>>>> Thanks >>>>>>>>> >>>>>>>>> >>>>>>>>> On Tue, Mar 3, 2009 at 1:39 PM, Shai Gluskin < >>>>>>>>> shai at content2zero.com> wrote: >>>>>>>>> >>>>>>>>>> Chris, >>>>>>>>>> >>>>>>>>>> This is not a comprehensive response... >>>>>>>>>> >>>>>>>>>> First, what you are talking about is much easier to do in Drupal >>>>>>>>>> 6/Views 2 than it is with Drupal 5. >>>>>>>>>> >>>>>>>>>> The Sign up module is excellent: >>>>>>>>>> >>>>>>>>>> http://drupal.org/project/signup >>>>>>>>>> >>>>>>>>>> It works with either a Date field or with the Event module. I'm >>>>>>>>>> not sure if the signup module has Views integration. >>>>>>>>>> >>>>>>>>>> So in short, I'd start with D6, Views, Signup, and Date as the >>>>>>>>>> core components to build what you want. >>>>>>>>>> >>>>>>>>>> Shai >>>>>>>>>> >>>>>>>>>> On Tue, Mar 3, 2009 at 10:33 AM, Chris McCreery < >>>>>>>>>> chris.mccreery at gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> Hi I am creating a site that has the following content types: >>>>>>>>>>> >>>>>>>>>>> - Organization (Usernode) >>>>>>>>>>> - Program (define a program) >>>>>>>>>>> - Attendance Tracking (track attendance for that program) >>>>>>>>>>> >>>>>>>>>>> I would like to create an admin view that shows me all the >>>>>>>>>>> details for either program or the attendance tracking with data from the >>>>>>>>>>> usernode. For example: >>>>>>>>>>> >>>>>>>>>>> Program Name >>>>>>>>>>> Organization Name >>>>>>>>>>> Province >>>>>>>>>>> Country >>>>>>>>>>> Postal Code >>>>>>>>>>> >>>>>>>>>>> I'm just wondering what is the best way to have the Program and >>>>>>>>>>> Attendance tracking content types reference this data. Would I need to >>>>>>>>>>> create computed fields that query the database separately to get them into >>>>>>>>>>> the content type? >>>>>>>>>>> >>>>>>>>>>> Thanks, any help would be much appreciated. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> Chris McCreery >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> [ Drupal support list | >>>>>>>>>>> http://lists.drupal.org/ ] >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> [ Drupal support list | >>>>>>>>>> http://lists.drupal.org/ ] >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Chris McCreery >>>>>>>>> >>>>>>>>> -- >>>>>>>>> [ Drupal support list | >>>>>>>>> http://lists.drupal.org/ ] >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> [ Drupal support list | >>>>>>>> http://lists.drupal.org/ ] >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Chris McCreery >>>>>>> >>>>>>> -- >>>>>>> [ Drupal support list | >>>>>>> http://lists.drupal.org/ ] >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> [ Drupal support list | >>>>>> http://lists.drupal.org/ ] >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Chris McCreery >>>>> >>>> >>>> >>>> >>>> -- >>>> Chris McCreery >>>> >>>> -- >>>> [ Drupal support list | >>>> http://lists.drupal.org/ ] >>>> >>> >>> >>> -- >>> [ Drupal support list | >>> http://lists.drupal.org/ ] >>> >> >> >> >> -- >> Chris McCreery >> > > > > -- > Chris McCreery > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Chris McCreery -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20090304/362a901e/attachment-0001.htm From shai at content2zero.com Thu Mar 5 04:18:23 2009 From: shai at content2zero.com (Shai Gluskin) Date: Wed, 4 Mar 2009 23:18:23 -0500 Subject: [support] HELP! with Views and relational data In-Reply-To: <8ce458940903041613j721284dcwd155273a1b033676@mail.gmail.com> References: <8ce458940903030733qf9ddbf9gbcd707f0fa34e471@mail.gmail.com> <8ce458940903031802x1dcbc902yc923fad0a0cbd745@mail.gmail.com> <9f68efb70903031850h58a4abe0xbf1e9723896ad542@mail.gmail.com> <8ce458940903040547j5b7e6eacu42a14c74418d1986@mail.gmail.com> <8ce458940903040548g721ba8ebt265823f5a02cb7c6@mail.gmail.com> <9f68efb70903040635x43528705gc3fbe05cd5ba5cd4@mail.gmail.com> <8ce458940903040714y5df2a3ectc5b4bf56d522292c@mail.gmail.com> <8ce458940903041510n54c2d7a5ub342f81a45df30b2@mail.gmail.com> <0FB166BC-1A6F-4D8C-976E-C054561737C4@content2zero.com> <8ce458940903041613j721284dcwd155273a1b033676@mail.gmail.com> Message-ID: <9f68efb70903042018k4d991864y72fb2d6f617eae5a@mail.gmail.com> Chris, I think this is a good place to start: http://drupal.org/node/289738 at DrupalCon... shai On Wed, Mar 4, 2009 at 7:13 PM, Chris McCreery wrote: > Thanks Shai I have created some views in the new ui before. Would you be > able to explain or point me to a good reference for creating the > relationships? > > Thank you so much. > > > On Wed, Mar 4, 2009 at 6:33 PM, Shai Gluskin wrote: > >> Chris... Have you used Views yet to set up any simpler views yet? It would >> be nice to get the new Ui under your belt a bit before tackling something >> more complex. >> >> But in any case... The key to getting what you want is by setting up >> relationships between the different content types. You do that in the views >> ui. Once you set up a relationship you'll be able to create views that pull >> in content based on the relationship you have established. >> >> I hope this us enough to get you started. >> >> Shai >> >> On Mar 4, 2009, at 6:10 PM, Chris McCreery >> wrote: >> >> Alright Shai I am now up and running in Drupal 6 and have got my site back >> to where I had it before minus the Views. Based on my initial requirements >> would you be able to give me a hand with how I should set up these views? >> >> Thanks >> >> On Wed, Mar 4, 2009 at 10:14 AM, Chris McCreery < >> chris.mccreery at gmail.com> wrote: >> >>> Thanks Shai, I've decided to just start over from scratch rather than >>> upgrading. I think it will be more beneficial to start again and rethink >>> some of my decisions. >>> >>> So based on that any suggestions as to which modules to use in 6 or the >>> best ways to properly create the relations between user and program, user >>> and attendance tracking, program and attendance-tracking? >>> >>> >>> On Wed, Mar 4, 2009 at 9:35 AM, Shai Gluskin < >>> shai at content2zero.com> wrote: >>> >>>> Chris, >>>> >>>> Check out... Content Profile >>>> >>>> >>>> http://drupal.org/project/content_profile >>>> >>>> Shai >>>> >>>> >>>> On Wed, Mar 4, 2009 at 8:48 AM, Chris McCreery < >>>> chris.mccreery at gmail.com> wrote: >>>> >>>>> I was using Usernode in Drupal 5 is there a new replacement for that? >>>>> or how will I upgrade that? >>>>> >>>>> >>>>> On Wed, Mar 4, 2009 at 8:47 AM, Chris McCreery < >>>>> chris.mccreery at gmail.com> wrote: >>>>> >>>>>> Quicky.... Alright Shai you've convinced me. I am running 6 on a few >>>>>> other sites and yes it is great. I'll give it a try and let you know how I >>>>>> make out. Thanks again for all the help. >>>>>> >>>>>> >>>>>> On Tue, Mar 3, 2009 at 9:50 PM, Shai Gluskin < >>>>>> shai at content2zero.com> wrote: >>>>>> >>>>>>> Chris, >>>>>>> >>>>>>> A quicky version of upgrading, you might want to check other sources. >>>>>>> >>>>>>> >>>>>>> 1. Back up your files and database. >>>>>>> 2. Hopefully, you haven't hacked core or contrib modules. If you >>>>>>> have, document them well. >>>>>>> 3. If you don't have update_status installed, install it now now >>>>>>> and run it. Then update all your Drupal 5 modules to their most current >>>>>>> version in for *Drupal 5*. Along the way, you should probably >>>>>>> check the project page for each of your modules to see if there are any >>>>>>> relevant notes for upgrading to Drupal 6. Definitely read the instructions >>>>>>> for upgrading for CCK. >>>>>>> 4. Turn off all contrib module and themes. (Some people don't do >>>>>>> this on "point upgrades" (e.g. 5.14 to 5.15) -- but I think it is the >>>>>>> consensus to do this on major upgrades (e.g. D5 - D6). >>>>>>> 5. You can now dispose of the files in your installation except >>>>>>> be sure to keep handy customizations you have made to. (I keep these all in >>>>>>> a separate place though, start with a fresh install and place the >>>>>>> customizations back into the fresh installation: >>>>>>> 1. .htaccess file in the root directory >>>>>>> 2. a php.ini file if you have one. >>>>>>> 3. connection settings and any other settings you've turned on >>>>>>> in the settings.php file >>>>>>> 4. files directory >>>>>>> 5. custom modules you've created >>>>>>> 6. custom theme >>>>>>> 6. Download via tar balls or CVS the D6 core and the D6 versions >>>>>>> of all your modules. >>>>>>> 7. Place your contrib modules in: sites/all/modules >>>>>>> 8. Go to sites/default/default.settings.php and: >>>>>>> 1. duplicate it >>>>>>> 2. change the new copy's name to: settings.php >>>>>>> 3. edit the file to put in the connection settings and any >>>>>>> other settings turned on that you previously needed. >>>>>>> 9. If you had made changes to your site's .htaccess file, you can >>>>>>> now make those same changes to the fresh install >>>>>>> 10. navigate to example.com/update.php (don't freak out if there >>>>>>> are errors) >>>>>>> 11. Turn on CCK and run update.php again (follow the instructions >>>>>>> on the project page of cck) >>>>>>> 12. Turn on the rest of your modules >>>>>>> 13. Turn on the theme >>>>>>> >>>>>>> Some of your views might not work -- just create them again with the >>>>>>> new Views. It's good practice. You might as well learn the new Views on >>>>>>> views that your already understand well. Views2 is amazing, but there is a >>>>>>> learning curve. >>>>>>> >>>>>>> You might need to place your blocks again. >>>>>>> >>>>>>> Your custom theme might need some work. There is lots of info at >>>>>>> Drupal.org about this. Shouldn't be too hard though, depending on >>>>>>> complicated your site is. >>>>>>> >>>>>>> Good luck. It is really worth it. Drupal 6 is awesome! >>>>>>> >>>>>>> Report back. >>>>>>> >>>>>>> Shai >>>>>>> >>>>>>> >>>>>>> On Tue, Mar 3, 2009 at 9:02 PM, Chris McCreery < >>>>>>> chris.mccreery at gmail.com> wrote: >>>>>>> >>>>>>>> Well when I first started this project there were a number of >>>>>>>> modules that weren't ready for drupal 6 and of course the client has taken >>>>>>>> their sweet time getting back to me on every possible detail so I bet now >>>>>>>> everything would work in drupal 6 but I'm not very familiar with the entire >>>>>>>> upgrade process nor can I afford the time currently to upgrade the site. I >>>>>>>> might just start over from scratch at this point. >>>>>>>> >>>>>>>> Is there any particular detail I should be worried about upgrading? >>>>>>>> I have a custom theme that I had to create and a bunch of calculations in >>>>>>>> cck computed fields. Is it fairly straightforward to upgrade all those >>>>>>>> aspects? >>>>>>>> >>>>>>>> After upgrading to 6 what would be my best option for getting the >>>>>>>> results I wanted from what I detailed before? >>>>>>>> >>>>>>>> Thanks again for the help. >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Mar 3, 2009 at 4:35 PM, Shai Gluskin < >>>>>>>> shai at content2zero.com> wrote: >>>>>>>> >>>>>>>>> Chris, >>>>>>>>> >>>>>>>>> What you are talking about is really complex in D5 requiring custom >>>>>>>>> coding. It is almost trivial to do in D6 with Views2. >>>>>>>>> >>>>>>>>> Also, it isn't really that hard to upgrade sites to D6, depending >>>>>>>>> of course on complexity. But you wouldn't have to start over. >>>>>>>>> >>>>>>>>> What is the functionality that D5 provides that you think D6 >>>>>>>>> doesn't? >>>>>>>>> >>>>>>>>> Shai >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On Tue, Mar 3, 2009 at 4:09 PM, Chris McCreery < >>>>>>>>> chris.mccreery at gmail.com> wrote: >>>>>>>>> >>>>>>>>>> Ok unfortunately I have already started this project and some >>>>>>>>>> other areas rely on some 5 modules so I can't convert to 6. >>>>>>>>>> >>>>>>>>>> This is what I want to accomplish. >>>>>>>>>> User logs in creates a profile(usernode) which includes location >>>>>>>>>> information >>>>>>>>>> The user can then create a Program(eg. indoor basketball) >>>>>>>>>> Now the user can create an attendance tracking node for the >>>>>>>>>> program they created above. >>>>>>>>>> Users only have access to the content they created. >>>>>>>>>> >>>>>>>>>> For reporting purposes as the administrator I would like to be >>>>>>>>>> able to see all the programs created for example by province, organization, >>>>>>>>>> or other data stored in the user profile(usernode) as well I would like to >>>>>>>>>> see all the attendance reports by organization, province, postal code, etc. >>>>>>>>>> The issue I think here is that the user shouldn't have to select their own >>>>>>>>>> organization or province, postal code when creating a new program or >>>>>>>>>> attendance tracking as this should be created by a relationship to the >>>>>>>>>> usernode. Sorry if i'm not too clear here I'm a bit confused as to how I can >>>>>>>>>> do this in drupal. >>>>>>>>>> >>>>>>>>>> Thanks >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Tue, Mar 3, 2009 at 1:39 PM, Shai Gluskin < >>>>>>>>>> shai at content2zero.com> wrote: >>>>>>>>>> >>>>>>>>>>> Chris, >>>>>>>>>>> >>>>>>>>>>> This is not a comprehensive response... >>>>>>>>>>> >>>>>>>>>>> First, what you are talking about is much easier to do in Drupal >>>>>>>>>>> 6/Views 2 than it is with Drupal 5. >>>>>>>>>>> >>>>>>>>>>> The Sign up module is excellent: >>>>>>>>>>> >>>>>>>>>>> http://drupal.org/project/signup >>>>>>>>>>> >>>>>>>>>>> It works with either a Date field or with the Event module. I'm >>>>>>>>>>> not sure if the signup module has Views integration. >>>>>>>>>>> >>>>>>>>>>> So in short, I'd start with D6, Views, Signup, and Date as the >>>>>>>>>>> core components to build what you want. >>>>>>>>>>> >>>>>>>>>>> Shai >>>>>>>>>>> >>>>>>>>>>> On Tue, Mar 3, 2009 at 10:33 AM, Chris McCreery < >>>>>>>>>>> chris.mccreery at gmail.com> wrote: >>>>>>>>>>> >>>>>>>>>>>> Hi I am creating a site that has the following content types: >>>>>>>>>>>> >>>>>>>>>>>> - Organization (Usernode) >>>>>>>>>>>> - Program (define a program) >>>>>>>>>>>> - Attendance Tracking (track attendance for that program) >>>>>>>>>>>> >>>>>>>>>>>> I would like to create an admin view that shows me all the >>>>>>>>>>>> details for either program or the attendance tracking with data from the >>>>>>>>>>>> usernode. For example: >>>>>>>>>>>> >>>>>>>>>>>> Program Name >>>>>>>>>>>> Organization Name >>>>>>>>>>>> Province >>>>>>>>>>>> Country >>>>>>>>>>>> Postal Code >>>>>>>>>>>> >>>>>>>>>>>> I'm just wondering what is the best way to have the Program and >>>>>>>>>>>> Attendance tracking content types reference this data. Would I need to >>>>>>>>>>>> create computed fields that query the database separately to get them into >>>>>>>>>>>> the content type? >>>>>>>>>>>> >>>>>>>>>>>> Thanks, any help would be much appreciated. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> Chris McCreery >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> [ Drupal support list | >>>>>>>>>>>> http://lists.drupal.org/ ] >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> [ Drupal support list | >>>>>>>>>>> http://lists.drupal.org/ ] >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Chris McCreery >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> [ Drupal support list | >>>>>>>>>> http://lists.drupal.org/ ] >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> [ Drupal support list | >>>>>>>>> http://lists.drupal.org/ ] >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Chris McCreery >>>>>>>> >>>>>>>> -- >>>>>>>> [ Drupal support list | >>>>>>>> http://lists.drupal.org/ ] >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> [ Drupal support list | >>>>>>> http://lists.drupal.org/ ] >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Chris McCreery >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Chris McCreery >>>>> >>>>> -- >>>>> [ Drupal support list | >>>>> http://lists.drupal.org/ ] >>>>> >>>> >>>> >>>> -- >>>> [ Drupal support list | >>>> http://lists.drupal.org/ ] >>>> >>> >>> >>> >>> -- >>> Chris McCreery >>> >> >> >> >> -- >> Chris McCreery >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > > -- > Chris McCreery > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20090304/0903f700/attachment-0001.htm From chris.mccreery at gmail.com Thu Mar 5 04:35:23 2009 From: chris.mccreery at gmail.com (Chris McCreery) Date: Wed, 4 Mar 2009 23:35:23 -0500 Subject: [support] HELP! with Views and relational data In-Reply-To: <9f68efb70903042018k4d991864y72fb2d6f617eae5a@mail.gmail.com> References: <8ce458940903030733qf9ddbf9gbcd707f0fa34e471@mail.gmail.com> <9f68efb70903031850h58a4abe0xbf1e9723896ad542@mail.gmail.com> <8ce458940903040547j5b7e6eacu42a14c74418d1986@mail.gmail.com> <8ce458940903040548g721ba8ebt265823f5a02cb7c6@mail.gmail.com> <9f68efb70903040635x43528705gc3fbe05cd5ba5cd4@mail.gmail.com> <8ce458940903040714y5df2a3ectc5b4bf56d522292c@mail.gmail.com> <8ce458940903041510n54c2d7a5ub342f81a45df30b2@mail.gmail.com> <0FB166BC-1A6F-4D8C-976E-C054561737C4@content2zero.com> <8ce458940903041613j721284dcwd155273a1b033676@mail.gmail.com> <9f68efb70903042018k4d991864y72fb2d6f617eae5a@mail.gmail.com> Message-ID: <8ce458940903042035o74db3ceer8109396d8b7ecbc4@mail.gmail.com> Thanks again Shai, this is the part where I seem to be struggling though. How can I create a relationship automatically between Organization and Program or Organization and Attendance Tracking when I don't want the user to have to add the node reference every time they create a new attendance tracking node or porgram node? I assume these items would already have a relationship as they are all by the same author....is this how I would pull in the content from the organization profile(content profile) so I could view all programs that were created by organizations from a certain province or certain postal code? Sorry I'm probably driving you nuts. On Wed, Mar 4, 2009 at 11:18 PM, Shai Gluskin wrote: > Chris, > > I think this is a good place to start: > > http://drupal.org/node/289738 > > at DrupalCon... > > shai > > > On Wed, Mar 4, 2009 at 7:13 PM, Chris McCreery wrote: > >> Thanks Shai I have created some views in the new ui before. Would you be >> able to explain or point me to a good reference for creating the >> relationships? >> >> Thank you so much. >> >> >> On Wed, Mar 4, 2009 at 6:33 PM, Shai Gluskin wrote: >> >>> Chris... Have you used Views yet to set up any simpler views yet? It >>> would be nice to get the new Ui under your belt a bit before tackling >>> something more complex. >>> >>> But in any case... The key to getting what you want is by setting up >>> relationships between the different content types. You do that in the views >>> ui. Once you set up a relationship you'll be able to create views that pull >>> in content based on the relationship you have established. >>> >>> I hope this us enough to get you started. >>> >>> Shai >>> >>> On Mar 4, 2009, at 6:10 PM, Chris McCreery >>> wrote: >>> >>> Alright Shai I am now up and running in Drupal 6 and have got my site >>> back to where I had it before minus the Views. Based on my initial >>> requirements would you be able to give me a hand with how I should set up >>> these views? >>> >>> Thanks >>> >>> On Wed, Mar 4, 2009 at 10:14 AM, Chris McCreery < >>> chris.mccreery at gmail.com> wrote: >>> >>>> Thanks Shai, I've decided to just start over from scratch rather than >>>> upgrading. I think it will be more beneficial to start again and rethink >>>> some of my decisions. >>>> >>>> So based on that any suggestions as to which modules to use in 6 or the >>>> best ways to properly create the relations between user and program, user >>>> and attendance tracking, program and attendance-tracking? >>>> >>>> >>>> On Wed, Mar 4, 2009 at 9:35 AM, Shai Gluskin < >>>> shai at content2zero.com> wrote: >>>> >>>>> Chris, >>>>> >>>>> Check out... Content Profile >>>>> >>>>> >>>>> http://drupal.org/project/content_profile >>>>> >>>>> Shai >>>>> >>>>> >>>>> On Wed, Mar 4, 2009 at 8:48 AM, Chris McCreery < >>>>> chris.mccreery at gmail.com> wrote: >>>>> >>>>>> I was using Usernode in Drupal 5 is there a new replacement for that? >>>>>> or how will I upgrade that? >>>>>> >>>>>> >>>>>> On Wed, Mar 4, 2009 at 8:47 AM, Chris McCreery < >>>>>> chris.mccreery at gmail.com> wrote: >>>>>> >>>>>>> Quicky.... Alright Shai you've convinced me. I am running 6 on a few >>>>>>> other sites and yes it is great. I'll give it a try and let you know how I >>>>>>> make out. Thanks again for all the help. >>>>>>> >>>>>>> >>>>>>> On Tue, Mar 3, 2009 at 9:50 PM, Shai Gluskin < >>>>>>> shai at content2zero.com> wrote: >>>>>>> >>>>>>>> Chris, >>>>>>>> >>>>>>>> A quicky version of upgrading, you might want to check other >>>>>>>> sources. >>>>>>>> >>>>>>>> >>>>>>>> 1. Back up your files and database. >>>>>>>> 2. Hopefully, you haven't hacked core or contrib modules. If you >>>>>>>> have, document them well. >>>>>>>> 3. If you don't have update_status installed, install it now now >>>>>>>> and run it. Then update all your Drupal 5 modules to their most current >>>>>>>> version in for *Drupal 5*. Along the way, you should probably >>>>>>>> check the project page for each of your modules to see if there are any >>>>>>>> relevant notes for upgrading to Drupal 6. Definitely read the instructions >>>>>>>> for upgrading for CCK. >>>>>>>> 4. Turn off all contrib module and themes. (Some people don't do >>>>>>>> this on "point upgrades" (e.g. 5.14 to 5.15) -- but I think it is the >>>>>>>> consensus to do this on major upgrades (e.g. D5 - D6). >>>>>>>> 5. You can now dispose of the files in your installation except >>>>>>>> be sure to keep handy customizations you have made to. (I keep these all in >>>>>>>> a separate place though, start with a fresh install and place the >>>>>>>> customizations back into the fresh installation: >>>>>>>> 1. .htaccess file in the root directory >>>>>>>> 2. a php.ini file if you have one. >>>>>>>> 3. connection settings and any other settings you've turned >>>>>>>> on in the settings.php file >>>>>>>> 4. files directory >>>>>>>> 5. custom modules you've created >>>>>>>> 6. custom theme >>>>>>>> 6. Download via tar balls or CVS the D6 core and the D6 versions >>>>>>>> of all your modules. >>>>>>>> 7. Place your contrib modules in: sites/all/modules >>>>>>>> 8. Go to sites/default/default.settings.php and: >>>>>>>> 1. duplicate it >>>>>>>> 2. change the new copy's name to: settings.php >>>>>>>> 3. edit the file to put in the connection settings and any >>>>>>>> other settings turned on that you previously needed. >>>>>>>> 9. If you had made changes to your site's .htaccess file, you >>>>>>>> can now make those same changes to the fresh install >>>>>>>> 10. navigate to example.com/update.php (don't freak out if there >>>>>>>> are errors) >>>>>>>> 11. Turn on CCK and run update.php again (follow the >>>>>>>> instructions on the project page of cck) >>>>>>>> 12. Turn on the rest of your modules >>>>>>>> 13. Turn on the theme >>>>>>>> >>>>>>>> Some of your views might not work -- just create them again with the >>>>>>>> new Views. It's good practice. You might as well learn the new Views on >>>>>>>> views that your already understand well. Views2 is amazing, but there is a >>>>>>>> learning curve. >>>>>>>> >>>>>>>> You might need to place your blocks again. >>>>>>>> >>>>>>>> Your custom theme might need some work. There is lots of info at >>>>>>>> Drupal.org about this. Shouldn't be too hard though, depending on >>>>>>>> complicated your site is. >>>>>>>> >>>>>>>> Good luck. It is really worth it. Drupal 6 is awesome! >>>>>>>> >>>>>>>> Report back. >>>>>>>> >>>>>>>> Shai >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Mar 3, 2009 at 9:02 PM, Chris McCreery < >>>>>>>> chris.mccreery at gmail.com> wrote: >>>>>>>> >>>>>>>>> Well when I first started this project there were a number of >>>>>>>>> modules that weren't ready for drupal 6 and of course the client has taken >>>>>>>>> their sweet time getting back to me on every possible detail so I bet now >>>>>>>>> everything would work in drupal 6 but I'm not very familiar with the entire >>>>>>>>> upgrade process nor can I afford the time currently to upgrade the site. I >>>>>>>>> might just start over from scratch at this point. >>>>>>>>> >>>>>>>>> Is there any particular detail I should be worried about upgrading? >>>>>>>>> I have a custom theme that I had to create and a bunch of calculations in >>>>>>>>> cck computed fields. Is it fairly straightforward to upgrade all those >>>>>>>>> aspects? >>>>>>>>> >>>>>>>>> After upgrading to 6 what would be my best option for getting the >>>>>>>>> results I wanted from what I detailed before? >>>>>>>>> >>>>>>>>> Thanks again for the help. >>>>>>>>> >>>>>>>>> >>>>>>>>> On Tue, Mar 3, 2009 at 4:35 PM, Shai Gluskin < >>>>>>>>> shai at content2zero.com> wrote: >>>>>>>>> >>>>>>>>>> Chris, >>>>>>>>>> >>>>>>>>>> What you are talking about is really complex in D5 requiring >>>>>>>>>> custom coding. It is almost trivial to do in D6 with Views2. >>>>>>>>>> >>>>>>>>>> Also, it isn't really that hard to upgrade sites to D6, depending >>>>>>>>>> of course on complexity. But you wouldn't have to start over. >>>>>>>>>> >>>>>>>>>> What is the functionality that D5 provides that you think D6 >>>>>>>>>> doesn't? >>>>>>>>>> >>>>>>>>>> Shai >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Tue, Mar 3, 2009 at 4:09 PM, Chris McCreery < >>>>>>>>>> chris.mccreery at gmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> Ok unfortunately I have already started this project and some >>>>>>>>>>> other areas rely on some 5 modules so I can't convert to 6. >>>>>>>>>>> >>>>>>>>>>> This is what I want to accomplish. >>>>>>>>>>> User logs in creates a profile(usernode) which includes location >>>>>>>>>>> information >>>>>>>>>>> The user can then create a Program(eg. indoor basketball) >>>>>>>>>>> Now the user can create an attendance tracking node for the >>>>>>>>>>> program they created above. >>>>>>>>>>> Users only have access to the content they created. >>>>>>>>>>> >>>>>>>>>>> For reporting purposes as the administrator I would like to be >>>>>>>>>>> able to see all the programs created for example by province, organization, >>>>>>>>>>> or other data stored in the user profile(usernode) as well I would like to >>>>>>>>>>> see all the attendance reports by organization, province, postal code, etc. >>>>>>>>>>> The issue I think here is that the user shouldn't have to select their own >>>>>>>>>>> organization or province, postal code when creating a new program or >>>>>>>>>>> attendance tracking as this should be created by a relationship to the >>>>>>>>>>> usernode. Sorry if i'm not too clear here I'm a bit confused as to how I can >>>>>>>>>>> do this in drupal. >>>>>>>>>>> >>>>>>>>>>> Thanks >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Tue, Mar 3, 2009 at 1:39 PM, Shai Gluskin < >>>>>>>>>>> shai at content2zero.com> wrote: >>>>>>>>>>> >>>>>>>>>>>> Chris, >>>>>>>>>>>> >>>>>>>>>>>> This is not a comprehensive response... >>>>>>>>>>>> >>>>>>>>>>>> First, what you are talking about is much easier to do in Drupal >>>>>>>>>>>> 6/Views 2 than it is with Drupal 5. >>>>>>>>>>>> >>>>>>>>>>>> The Sign up module is excellent: >>>>>>>>>>>> >>>>>>>>>>>> http://drupal.org/project/signup >>>>>>>>>>>> >>>>>>>>>>>> It works with either a Date field or with the Event module. I'm >>>>>>>>>>>> not sure if the signup module has Views integration. >>>>>>>>>>>> >>>>>>>>>>>> So in short, I'd start with D6, Views, Signup, and Date as the >>>>>>>>>>>> core components to build what you want. >>>>>>>>>>>> >>>>>>>>>>>> Shai >>>>>>>>>>>> >>>>>>>>>>>> On Tue, Mar 3, 2009 at 10:33 AM, Chris McCreery < >>>>>>>>>>>> chris.mccreery at gmail.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Hi I am creating a site that has the following content types: >>>>>>>>>>>>> >>>>>>>>>>>>> - Organization (Usernode) >>>>>>>>>>>>> - Program (define a program) >>>>>>>>>>>>> - Attendance Tracking (track attendance for that program) >>>>>>>>>>>>> >>>>>>>>>>>>> I would like to create an admin view that shows me all the >>>>>>>>>>>>> details for either program or the attendance tracking with data from the >>>>>>>>>>>>> usernode. For example: >>>>>>>>>>>>> >>>>>>>>>>>>> Program Name >>>>>>>>>>>>> Organization Name >>>>>>>>>>>>> Province >>>>>>>>>>>>> Country >>>>>>>>>>>>> Postal Code >>>>>>>>>>>>> >>>>>>>>>>>>> I'm just wondering what is the best way to have the Program and >>>>>>>>>>>>> Attendance tracking content types reference this data. Would I need to >>>>>>>>>>>>> create computed fields that query the database separately to get them into >>>>>>>>>>>>> the content type? >>>>>>>>>>>>> >>>>>>>>>>>>> Thanks, any help would be much appreciated. >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> Chris McCreery >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> [ Drupal support list | >>>>>>>>>>>>> http://lists.drupal.org/ ] >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> [ Drupal support list | >>>>>>>>>>>> http://lists.drupal.org/ ] >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> Chris McCreery >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> [ Drupal support list | >>>>>>>>>>> http://lists.drupal.org/ ] >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> [ Drupal support list | >>>>>>>>>> http://lists.drupal.org/ ] >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Chris McCreery >>>>>>>>> >>>>>>>>> -- >>>>>>>>> [ Drupal support list | >>>>>>>>> http://lists.drupal.org/ ] >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> [ Drupal support list | >>>>>>>> http://lists.drupal.org/ ] >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Chris McCreery >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Chris McCreery >>>>>> >>>>>> -- >>>>>> [ Drupal support list | >>>>>> http://lists.drupal.org/ ] >>>>>> >>>>> >>>>> >>>>> -- >>>>> [ Drupal support list | >>>>> http://lists.drupal.org/ ] >>>>> >>>> >>>> >>>> >>>> -- >>>> Chris McCreery >>>> >>> >>> >>> >>> -- >>> Chris McCreery >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >> >> >> >> -- >> Chris McCreery >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Chris McCreery -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20090304/ec48d1d2/attachment-0001.htm From chris.mccreery at gmail.com Thu Mar 5 05:29:48 2009 From: chris.mccreery at gmail.com (Chris McCreery) Date: Thu, 5 Mar 2009 00:29:48 -0500 Subject: [support] HELP! with Views and relational data In-Reply-To: <8ce458940903042035o74db3ceer8109396d8b7ecbc4@mail.gmail.com> References: <8ce458940903030733qf9ddbf9gbcd707f0fa34e471@mail.gmail.com> <8ce458940903040547j5b7e6eacu42a14c74418d1986@mail.gmail.com> <8ce458940903040548g721ba8ebt265823f5a02cb7c6@mail.gmail.com> <9f68efb70903040635x43528705gc3fbe05cd5ba5cd4@mail.gmail.com> <8ce458940903040714y5df2a3ectc5b4bf56d522292c@mail.gmail.com> <8ce458940903041510n54c2d7a5ub342f81a45df30b2@mail.gmail.com> <0FB166BC-1A6F-4D8C-976E-C054561737C4@content2zero.com> <8ce458940903041613j721284dcwd155273a1b033676@mail.gmail.com> <9f68efb70903042018k4d991864y72fb2d6f617eae5a@mail.gmail.com> <8ce458940903042035o74db3ceer8109396d8b7ecbc4@mail.gmail.com> Message-ID: <8ce458940903042129w26cf0b1y701022ea5a32a827@mail.gmail.com> Alright I figured it out. What an idiot. Thank you for being so patient with me, you were right very easy in Drupal 6. I now have all my views created and am set to go. Thanks again. If you're ever in London, On email you and I'll buy lunch. Thanks. On Wed, Mar 4, 2009 at 11:35 PM, Chris McCreery wrote: > Thanks again Shai, this is the part where I seem to be struggling though. > > How can I create a relationship automatically between Organization and > Program or Organization and Attendance Tracking when I don't want the user > to have to add the node reference every time they create a new attendance > tracking node or porgram node? > > I assume these items would already have a relationship as they are all by > the same author....is this how I would pull in the content from the > organization profile(content profile) so I could view all programs that were > created by organizations from a certain province or certain postal code? > > Sorry I'm probably driving you nuts. > > > On Wed, Mar 4, 2009 at 11:18 PM, Shai Gluskin wrote: > >> Chris, >> >> I think this is a good place to start: >> >> http://drupal.org/node/289738 >> >> at DrupalCon... >> >> shai >> >> >> On Wed, Mar 4, 2009 at 7:13 PM, Chris McCreery wrote: >> >>> Thanks Shai I have created some views in the new ui before. Would you be >>> able to explain or point me to a good reference for creating the >>> relationships? >>> >>> Thank you so much. >>> >>> >>> On Wed, Mar 4, 2009 at 6:33 PM, Shai Gluskin wrote: >>> >>>> Chris... Have you used Views yet to set up any simpler views yet? It >>>> would be nice to get the new Ui under your belt a bit before tackling >>>> something more complex. >>>> >>>> But in any case... The key to getting what you want is by setting up >>>> relationships between the different content types. You do that in the views >>>> ui. Once you set up a relationship you'll be able to create views that pull >>>> in content based on the relationship you have established. >>>> >>>> I hope this us enough to get you started. >>>> >>>> Shai >>>> >>>> On Mar 4, 2009, at 6:10 PM, Chris McCreery >>>> wrote: >>>> >>>> Alright Shai I am now up and running in Drupal 6 and have got my site >>>> back to where I had it before minus the Views. Based on my initial >>>> requirements would you be able to give me a hand with how I should set up >>>> these views? >>>> >>>> Thanks >>>> >>>> On Wed, Mar 4, 2009 at 10:14 AM, Chris McCreery < >>>> chris.mccreery at gmail.com> wrote: >>>> >>>>> Thanks Shai, I've decided to just start over from scratch rather than >>>>> upgrading. I think it will be more beneficial to start again and rethink >>>>> some of my decisions. >>>>> >>>>> So based on that any suggestions as to which modules to use in 6 or the >>>>> best ways to properly create the relations between user and program, user >>>>> and attendance tracking, program and attendance-tracking? >>>>> >>>>> >>>>> On Wed, Mar 4, 2009 at 9:35 AM, Shai Gluskin < >>>>> shai at content2zero.com> wrote: >>>>> >>>>>> Chris, >>>>>> >>>>>> Check out... Content Profile >>>>>> >>>>>> >>>>>> http://drupal.org/project/content_profile >>>>>> >>>>>> Shai >>>>>> >>>>>> >>>>>> On Wed, Mar 4, 2009 at 8:48 AM, Chris McCreery < >>>>>> chris.mccreery at gmail.com> wrote: >>>>>> >>>>>>> I was using Usernode in Drupal 5 is there a new replacement for that? >>>>>>> or how will I upgrade that? >>>>>>> >>>>>>> >>>>>>> On Wed, Mar 4, 2009 at 8:47 AM, Chris McCreery < >>>>>>> chris.mccreery at gmail.com> wrote: >>>>>>> >>>>>>>> Quicky.... Alright Shai you've convinced me. I am running 6 on a few >>>>>>>> other sites and yes it is great. I'll give it a try and let you know how I >>>>>>>> make out. Thanks again for all the help. >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Mar 3, 2009 at 9:50 PM, Shai Gluskin < >>>>>>>> shai at content2zero.com> wrote: >>>>>>>> >>>>>>>>> Chris, >>>>>>>>> >>>>>>>>> A quicky version of upgrading, you might want to check other >>>>>>>>> sources. >>>>>>>>> >>>>>>>>> >>>>>>>>> 1. Back up your files and database. >>>>>>>>> 2. Hopefully, you haven't hacked core or contrib modules. If >>>>>>>>> you have, document them well. >>>>>>>>> 3. If you don't have update_status installed, install it now >>>>>>>>> now and run it. Then update all your Drupal 5 modules to their most current >>>>>>>>> version in for *Drupal 5*. Along the way, you should probably >>>>>>>>> check the project page for each of your modules to see if there are any >>>>>>>>> relevant notes for upgrading to Drupal 6. Definitely read the instructions >>>>>>>>> for upgrading for CCK. >>>>>>>>> 4. Turn off all contrib module and themes. (Some people don't >>>>>>>>> do this on "point upgrades" (e.g. 5.14 to 5.15) -- but I think it is the >>>>>>>>> consensus to do this on major upgrades (e.g. D5 - D6). >>>>>>>>> 5. You can now dispose of the files in your installation except >>>>>>>>> be sure to keep handy customizations you have made to. (I keep these all in >>>>>>>>> a separate place though, start with a fresh install and place the >>>>>>>>> customizations back into the fresh installation: >>>>>>>>> 1. .htaccess file in the root directory >>>>>>>>> 2. a php.ini file if you have one. >>>>>>>>> 3. connection settings and any other settings you've turned >>>>>>>>> on in the settings.php file >>>>>>>>> 4. files directory >>>>>>>>> 5. custom modules you've created >>>>>>>>> 6. custom theme >>>>>>>>> 6. Download via tar balls or CVS the D6 core and the D6 >>>>>>>>> versions of all your modules. >>>>>>>>> 7. Place your contrib modules in: sites/all/modules >>>>>>>>> 8. Go to sites/default/default.settings.php and: >>>>>>>>> 1. duplicate it >>>>>>>>> 2. change the new copy's name to: settings.php >>>>>>>>> 3. edit the file to put in the connection settings and any >>>>>>>>> other settings turned on that you previously needed. >>>>>>>>> 9. If you had made changes to your site's .htaccess file, you >>>>>>>>> can now make those same changes to the fresh install >>>>>>>>> 10. navigate to example.com/update.php (don't freak out if >>>>>>>>> there are errors) >>>>>>>>> 11. Turn on CCK and run update.php again (follow the >>>>>>>>> instructions on the project page of cck) >>>>>>>>> 12. Turn on the rest of your modules >>>>>>>>> 13. Turn on the theme >>>>>>>>> >>>>>>>>> Some of your views might not work -- just create them again with >>>>>>>>> the new Views. It's good practice. You might as well learn the new Views on >>>>>>>>> views that your already understand well. Views2 is amazing, but there is a >>>>>>>>> learning curve. >>>>>>>>> >>>>>>>>> You might need to place your blocks again. >>>>>>>>> >>>>>>>>> Your custom theme might need some work. There is lots of info at >>>>>>>>> Drupal.org about this. Shouldn't be too hard though, depending on >>>>>>>>> complicated your site is. >>>>>>>>> >>>>>>>>> Good luck. It is really worth it. Drupal 6 is awesome! >>>>>>>>> >>>>>>>>> Report back. >>>>>>>>> >>>>>>>>> Shai >>>>>>>>> >>>>>>>>> >>>>>>>>> On Tue, Mar 3, 2009 at 9:02 PM, Chris McCreery < >>>>>>>>> chris.mccreery at gmail.com> wrote: >>>>>>>>> >>>>>>>>>> Well when I first started this project there were a number of >>>>>>>>>> modules that weren't ready for drupal 6 and of course the client has taken >>>>>>>>>> their sweet time getting back to me on every possible detail so I bet now >>>>>>>>>> everything would work in drupal 6 but I'm not very familiar with the entire >>>>>>>>>> upgrade process nor can I afford the time currently to upgrade the site. I >>>>>>>>>> might just start over from scratch at this point. >>>>>>>>>> >>>>>>>>>> Is there any particular detail I should be worried about >>>>>>>>>> upgrading? I have a custom theme that I had to create and a bunch of >>>>>>>>>> calculations in cck computed fields. Is it fairly straightforward to upgrade >>>>>>>>>> all those aspects? >>>>>>>>>> >>>>>>>>>> After upgrading to 6 what would be my best option for getting the >>>>>>>>>> results I wanted from what I detailed before? >>>>>>>>>> >>>>>>>>>> Thanks again for the help. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Tue, Mar 3, 2009 at 4:35 PM, Shai Gluskin < >>>>>>>>>> shai at content2zero.com> wrote: >>>>>>>>>> >>>>>>>>>>> Chris, >>>>>>>>>>> >>>>>>>>>>> What you are talking about is really complex in D5 requiring >>>>>>>>>>> custom coding. It is almost trivial to do in D6 with Views2. >>>>>>>>>>> >>>>>>>>>>> Also, it isn't really that hard to upgrade sites to D6, depending >>>>>>>>>>> of course on complexity. But you wouldn't have to start over. >>>>>>>>>>> >>>>>>>>>>> What is the functionality that D5 provides that you think D6 >>>>>>>>>>> doesn't? >>>>>>>>>>> >>>>>>>>>>> Shai >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Tue, Mar 3, 2009 at 4:09 PM, Chris McCreery < >>>>>>>>>>> chris.mccreery at gmail.com> wrote: >>>>>>>>>>> >>>>>>>>>>>> Ok unfortunately I have already started this project and some >>>>>>>>>>>> other areas rely on some 5 modules so I can't convert to 6. >>>>>>>>>>>> >>>>>>>>>>>> This is what I want to accomplish. >>>>>>>>>>>> User logs in creates a profile(usernode) which includes location >>>>>>>>>>>> information >>>>>>>>>>>> The user can then create a Program(eg. indoor basketball) >>>>>>>>>>>> Now the user can create an attendance tracking node for the >>>>>>>>>>>> program they created above. >>>>>>>>>>>> Users only have access to the content they created. >>>>>>>>>>>> >>>>>>>>>>>> For reporting purposes as the administrator I would like to be >>>>>>>>>>>> able to see all the programs created for example by province, organization, >>>>>>>>>>>> or other data stored in the user profile(usernode) as well I would like to >>>>>>>>>>>> see all the attendance reports by organization, province, postal code, etc. >>>>>>>>>>>> The issue I think here is that the user shouldn't have to select their own >>>>>>>>>>>> organization or province, postal code when creating a new program or >>>>>>>>>>>> attendance tracking as this should be created by a relationship to the >>>>>>>>>>>> usernode. Sorry if i'm not too clear here I'm a bit confused as to how I can >>>>>>>>>>>> do this in drupal. >>>>>>>>>>>> >>>>>>>>>>>> Thanks >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Tue, Mar 3, 2009 at 1:39 PM, Shai Gluskin < >>>>>>>>>>>> shai at content2zero.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Chris, >>>>>>>>>>>>> >>>>>>>>>>>>> This is not a comprehensive response... >>>>>>>>>>>>> >>>>>>>>>>>>> First, what you are talking about is much easier to do in >>>>>>>>>>>>> Drupal 6/Views 2 than it is with Drupal 5. >>>>>>>>>>>>> >>>>>>>>>>>>> The Sign up module is excellent: >>>>>>>>>>>>> >>>>>>>>>>>>> http://drupal.org/project/signup >>>>>>>>>>>>> >>>>>>>>>>>>> It works with either a Date field or with the Event module. I'm >>>>>>>>>>>>> not sure if the signup module has Views integration. >>>>>>>>>>>>> >>>>>>>>>>>>> So in short, I'd start with D6, Views, Signup, and Date as the >>>>>>>>>>>>> core components to build what you want. >>>>>>>>>>>>> >>>>>>>>>>>>> Shai >>>>>>>>>>>>> >>>>>>>>>>>>> On Tue, Mar 3, 2009 at 10:33 AM, Chris McCreery < >>>>>>>>>>>>> chris.mccreery at gmail.com> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> Hi I am creating a site that has the following content types: >>>>>>>>>>>>>> >>>>>>>>>>>>>> - Organization (Usernode) >>>>>>>>>>>>>> - Program (define a program) >>>>>>>>>>>>>> - Attendance Tracking (track attendance for that program) >>>>>>>>>>>>>> >>>>>>>>>>>>>> I would like to create an admin view that shows me all the >>>>>>>>>>>>>> details for either program or the attendance tracking with data from the >>>>>>>>>>>>>> usernode. For example: >>>>>>>>>>>>>> >>>>>>>>>>>>>> Program Name >>>>>>>>>>>>>> Organization Name >>>>>>>>>>>>>> Province >>>>>>>>>>>>>> Country >>>>>>>>>>>>>> Postal Code >>>>>>>>>>>>>> >>>>>>>>>>>>>> I'm just wondering what is the best way to have the Program >>>>>>>>>>>>>> and Attendance tracking content types reference this data. Would I need to >>>>>>>>>>>>>> create computed fields that query the database separately to get them into >>>>>>>>>>>>>> the content type? >>>>>>>>>>>>>> >>>>>>>>>>>>>> Thanks, any help would be much appreciated. >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> Chris McCreery >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> [ Drupal support list | >>>>>>>>>>>>>> http://lists.drupal.org/ ] >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> [ Drupal support list | >>>>>>>>>>>>> http://lists.drupal.org/ ] >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> Chris McCreery >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> [ Drupal support list | >>>>>>>>>>>> http://lists.drupal.org/ ] >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> [ Drupal support list | >>>>>>>>>>> http://lists.drupal.org/ ] >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Chris McCreery >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> [ Drupal support list | >>>>>>>>>> http://lists.drupal.org/ ] >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> [ Drupal support list | >>>>>>>>> http://lists.drupal.org/ ] >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Chris McCreery >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Chris McCreery >>>>>>> >>>>>>> -- >>>>>>> [ Drupal support list | >>>>>>> http://lists.drupal.org/ ] >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> [ Drupal support list | >>>>>> http://lists.drupal.org/ ] >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Chris McCreery >>>>> >>>> >>>> >>>> >>>> -- >>>> Chris McCreery >>>> >>>> -- >>>> [ Drupal support list | http://lists.drupal.org/ ] >>>> >>>> >>>> -- >>>> [ Drupal support list | http://lists.drupal.org/ ] >>>> >>> >>> >>> >>> -- >>> Chris McCreery >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >> >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > > -- > Chris McCreery > -- Chris McCreery -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20090305/3e0bc66f/attachment-0001.htm From Smither at C-C-I.com Thu Mar 5 05:37:42 2009 From: Smither at C-C-I.com (Bob Smither) Date: Wed, 04 Mar 2009 23:37:42 -0600 Subject: [support] Reverse Attached File List Order In-Reply-To: <9f8bbf980903040827t30199053g37c299e85f28245d@mail.gmail.com> References: <8ce458940903030733qf9ddbf9gbcd707f0fa34e471@mail.gmail.com> <9f68efb70903031039i595f4997ma9ce118d71fac329@mail.gmail.com> <8ce458940903031309me907277ufef9a1511e522e3@mail.gmail.com> <9f68efb70903031335h27a3ceeu11bc07bc03788b3@mail.gmail.com> <8ce458940903031802x1dcbc902yc923fad0a0cbd745@mail.gmail.com> <9f68efb70903031850h58a4abe0xbf1e9723896ad542@mail.gmail.com> <8ce458940903040547j5b7e6eacu42a14c74418d1986@mail.gmail.com> <8ce458940903040548g721ba8ebt265823f5a02cb7c6@mail.gmail.com> <1236177784.5529.117.camel@k6-2.c-c-i.com> <9f8bbf980903040827t30199053g37c299e85f28245d@mail.gmail.com> Message-ID: <1236231462.5529.206.camel@k6-2.c-c-i.com> On Wed, 2009-03-04 at 17:27 +0100, Maarten van Grootel wrote: > Hi Bob, > > You can override theme_upload_attachments: > http://api.drupal.org/api/function/theme_upload_attachments/6 > > Put something like the following in your template.php. > > YOURTHEME_upload_attachments($files) { > // Reverse files > $files = array_reverse($files) > return theme_upload_attachements($files); > } Thanks Maarten, will try this tomorrow. Regards, -- Bob Smither From cog.rusty at gmail.com Thu Mar 5 15:46:55 2009 From: cog.rusty at gmail.com (Cog Rusty) Date: Thu, 5 Mar 2009 17:46:55 +0200 Subject: [support] Is it possible to add search file to Drupal core search function In-Reply-To: References: <493FE122.5060800@zmsl.com> <493FE383.5080903@funnymonkey.com> <493FE774.6060607@partialflow.com> <493FE942.3090302@zmsl.com> <493FECA4.8050900@torchbox.com> <007901c95ae5$88141d40$983c57c0$@com> <493FF474.9070808@zmsl.com> <49421312.3090008@funnymonkey.com> Message-ID: On Wed, Mar 4, 2009 at 9:50 PM, Johnny Xiao wrote: > I am wondering if this feature can be added to core search function. ?If > not, how can I customize it? I haven't heard of anyone working to include file search in core, but you can try the http://drupal.org/project/search_files module. > Thanks > -- > [ Drupal support list | http://lists.drupal.org/ ] > From johnny.xiao at Q1Labs.com Thu Mar 5 15:50:34 2009 From: johnny.xiao at Q1Labs.com (Johnny Xiao) Date: Thu, 5 Mar 2009 11:50:34 -0400 Subject: [support] Is it possible to add search file to Drupal coresearch function In-Reply-To: References: <493FE122.5060800@zmsl.com> <493FE383.5080903@funnymonkey.com><493FE774.6060607@partialflow.com> <493FE942.3090302@zmsl.com><493FECA4.8050900@torchbox.com> <007901c95ae5$88141d40$983c57c0$@com><493FF474.9070808@zmsl.com> <49421312.3090008@funnymonkey.com> Message-ID: Thank you for replying. I am using swish-e module which does the same thing as search_file, but it also provide separate tab for viewing list of files contain search phrase. My users wonder if these files can be merged into default search result. I am thinking to include file indexing part in the core search function, how hard would that be? -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Cog Rusty Sent: Thursday, March 05, 2009 11:47 AM To: support at drupal.org Subject: Re: [support] Is it possible to add search file to Drupal coresearch function On Wed, Mar 4, 2009 at 9:50 PM, Johnny Xiao wrote: > I am wondering if this feature can be added to core search function. ?If > not, how can I customize it? I haven't heard of anyone working to include file search in core, but you can try the http://drupal.org/project/search_files module. > Thanks > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- [ Drupal support list | http://lists.drupal.org/ ] From cog.rusty at gmail.com Thu Mar 5 16:02:50 2009 From: cog.rusty at gmail.com (Cog Rusty) Date: Thu, 5 Mar 2009 18:02:50 +0200 Subject: [support] Drupal .htaccess blocks access to domain in subfolder In-Reply-To: <49AEF4F5.1010200@comcast.net> References: <49AEF4F5.1010200@comcast.net> Message-ID: On Wed, Mar 4, 2009 at 11:39 PM, Steve Edwards wrote: > I'm trying to set up a Drupal site in a subfolder on my shared hosting > account as it's own domain, and for reasons I can't understand, I get a 403 > - Permission Denied error when I try to access it.? I have a D5 site in my > /public_html directory (www.mydomain.com), and the new site is a D6 site in > /public_html/domain2 (www.domain2.org is using that folder).? The name > servers for domain2.org are pointed to the correct name servers, and I've > added the domain as an addon domain on my account. > > I contacted my ISP, and they said the problem is the .htaccess in > /public_html.? If it is renamed (i.e. to .htaccessold), then I can access > domain2.org, but I can' go to any page in my mydomain.com, since it's using > clean URLs and the .htaccess contains the rewrite rules.? I've done this > setup multiple times before, and I've never had this problem.? Can anyone > explain what the problem is and how I would correct it? Does your old htaccess file have any modifications? Any RewriteBase, any added RewriteRules, any redirects, any mention of your old site's domain? What happens when you rename it and replace it with the default one from the package? > Thanks. > > Steve > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From towfiq.islam at yahoo.com Sat Mar 7 03:03:52 2009 From: towfiq.islam at yahoo.com (Mohammad Towfiqul Islam) Date: Fri, 6 Mar 2009 19:03:52 -0800 (PST) Subject: [support] Drupal-promote to front page, is it possible to promote other pages? In-Reply-To: <52177C930FA90F4D9888B0343FDB79FB10ED11@birch.evergreen.edu> Message-ID: <940130.48022.qm@web57207.mail.re3.yahoo.com> Dear All, ? I have couple of questions: ? #1 You may noticed that when you create a page below there is a option : "Publishing option" and "Promoted to front page" checkbox. If you click it the contents will be publishing to the front page. What I want to do is promote this content to some other pages rather than front page. Would it be possible? Is there any module or any tricks to do? ? #2 I dont know this is the right place to ask. Anyway if you can help me... I have hosted Drupal in Windows 2003 machine using XAMPP. The problem is: in a network environment clicking http://drupal.example.com is ok and users can access. But when somebody accessing from outside my office network he/she need to type IP address. exampple: http://208.23.12.45/drupal. http://drupal.example.com?is not working outside from my network. ? What can I do that outside office network users also can use this url (not IP address one)http://drupal.example.com?when they will access to my Drupal site. ? Thanks in advance. --- On Thu, 2/26/09, Metzler, David wrote: From: Metzler, David Subject: RE: [support] Drupal-Portlet how to and others To: support at drupal.org, towfiq.islam at yahoo.com Date: Thursday, February 26, 2009, 11:02 AM Would recommend you research the Panels module for your portlet question.? ? Yes files (attachments) served out by drupal must be resident on the web server ('sites/default/files').? The most straightforward way of getting the ifles to the server is by uploading them and attaching them to pages and/or stories that are created by drupal.? You need the upload module enabled in order to accomplish this. Dave From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Mohammad Towfiqul Islam Sent: Thursday, February 26, 2009 5:48 AM To: support at drupal.org Subject: [support] Drupal-Portlet how to and others Dear Friends, ? Few questions about Drupal: ? Could anybody know how can I create Yahoo homepage like portlet (which has several tabs like: Features, Environment etc. and has several links and small picture)?on Drupal page? ? Another question: I have a 20 GB data, Is it a good idea to copy these data to webserver folder in sites/default/files? or we can use any other folder of c: drive (If we can use c: drive folder?can users access from web browser?) Will it cause any problem in?future like slow response of site or any other issues? or anybody has any other idea regarding these unstructured data? Thanks in advance. ? --- On Tue, 2/24/09, Cog Rusty wrote: From: Cog Rusty Subject: Re: [support] Webserver directory show in a page how to? To: support at drupal.org, towfiq.islam at yahoo.com Date: Tuesday, February 24, 2009, 9:20 AM On Tue, Feb 24, 2009 at 1:11 PM, Mohammad Towfiqul Islam wrote: > Dear All, > > Would be grateful if anybody have any solution: > > I want to show webserver folder in a drupal page. It may require each page > will show different folder of webserver directory. Example: Page name: "A" > will show A folder of webserver, Page name:? "B" will show B folder of > webserver in somewhere of A/B page like a directory. > > How can?I do this? Is there any module or tricks for this ? Try the http://drupal.org/project/webfm module. Or Create an .htacess file containing only one line: Options +Indexes and copy it to all the directories that you want to show. Then create a post in Drupal, select "Full HTML" input format, and enter (for example): Preview it and adjust it. > Thanks. > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20090306/20100e0e/attachment.htm From cog.rusty at gmail.com Sat Mar 7 04:41:46 2009 From: cog.rusty at gmail.com (Cog Rusty) Date: Sat, 7 Mar 2009 06:41:46 +0200 Subject: [support] Drupal-promote to front page, is it possible to promote other pages? In-Reply-To: <940130.48022.qm@web57207.mail.re3.yahoo.com> References: <52177C930FA90F4D9888B0343FDB79FB10ED11@birch.evergreen.edu> <940130.48022.qm@web57207.mail.re3.yahoo.com> Message-ID: On Sat, Mar 7, 2009 at 5:03 AM, Mohammad Towfiqul Islam wrote: > Dear All, > > I have couple of questions: > > #1 > You may noticed that when you create a page below there is a option : > "Publishing option" and "Promoted to front page" checkbox. > If you click it the contents will be publishing to the front page. > What I want to do is promote this content to some other pages rather than > front page. Would it be possible? Is there any module or any tricks to do? When you "Promote" a post it is added only to the default front page, which actually is the http://example.com/node page. To add a post to a node listing page created with taxonomy, such as taxonomy/term/{term-id}, tag it with the appropriate taxonomy term. To add a post to a node listing page created with the views module, do whatever is needed to satisfy the filter of the view: Tag it with a taxonomy term or create it using a specific content type... or whatever is required by the filter of that view. > #2 > I dont know this is the right place to ask. Anyway if you can help me... > I have hosted Drupal in Windows 2003 machine using XAMPP. > The problem is: in a network environment clicking http://drupal.example.com > is ok and users can access. But when somebody accessing from outside my > office network he/she need to type IP address. exampple: > http://208.23.12.45/drupal. http://drupal.example.com?is not working outside > from my network. > > What can I do that outside office network users also can use this url (not > IP address one)http://drupal.example.com?when they will access to my Drupal > site. You need to buy the domain, point it to a domain name server (DNS), and add an entry to the DNS to map the domain to your IP (an "A record"). There are some specialized sites for this kind of thing, such as http://www.zoneedit.com. If your IP is not static but changes sometimes, this kind of sites also offer "Dynamic DNS" services: You run permanently a program in your computer which updates your IP automatically whenever it changes, so that the domain name always points to right IP. > Thanks in advance. From domains at thoughts.pro Sun Mar 8 02:44:05 2009 From: domains at thoughts.pro (Thoughts Ltd) Date: Sun, 8 Mar 2009 02:44:05 +0000 Subject: [support] Sharing 'users' table with another database? Message-ID: <20090308024405.GA12969@spooning.me> Has anyone here know how to get Drupal to share the 'users' table with another database? (Or, in other words, connect to a different database to access the 'users' table.) I have a "people" database that I share between all my different projects, so that all of my clients/users need not sign up multiple times. Signing up to anything gets them signed up to everything. Change their name/email/password once, it's changed everywhere. I've been able to do this because I was hand-coding all of my projects, but now I'd like to use Drupal, yet still access this central "users" table (I can make it exactly fit Drupal's specs/schema). Perhaps there's a different way to achieve what I'm trying to do? Any suggestions or pointers? Thanks much. From skessler at denverdataman.com Sun Mar 8 14:17:56 2009 From: skessler at denverdataman.com (Steve Kessler) Date: Sun, 8 Mar 2009 08:17:56 -0600 Subject: [support] CVS Questions Message-ID: <00b601c99ff8$ad9ea190$08dbe4b0$@com> I have never used a site that has been built using CVS before. I have inherited a site that was built using CVS. We don't have SSH set-up yet with the host but I want to make sure I am not going to mess anything up by adding a modules to the site that is not downloaded through CVS and then when we get SSH I can replace it that way. Thanks, Steve Steve Kessler Denver DataMan 303-587-4428 Sign up for the Denver DataMan Free eNewsletter -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20090308/287f6150/attachment.htm From victorkane at gmail.com Sun Mar 8 14:36:04 2009 From: victorkane at gmail.com (Victor Kane) Date: Sun, 8 Mar 2009 10:36:04 -0400 Subject: [support] CVS Questions In-Reply-To: <00b601c99ff8$ad9ea190$08dbe4b0$@com> References: <00b601c99ff8$ad9ea190$08dbe4b0$@com> Message-ID: The main thing to look out for here is to see if the directory structure is clean: All of the contributed modules should be placed in sites/x/modules (where x is "all", or in a multi-site environment, perhaps a URL). That way, whatever method you use to update Drupal core will not destroy any custom or contrib modules used in the site's architecture. Then: see http://groups.drupal.org/node/19513 Read all of it, it shares many experiences and opinions on the updating of both Drupal core and contrib modules. Victor Kane http://awebfactory.com.ar http://projectflowandtracker.com On Sun, Mar 8, 2009 at 10:17 AM, Steve Kessler wrote: > I have never used a site that has been built using CVS before. I have > inherited a site that was built using CVS. We don?t have SSH set-up yet with > the host but I want to make sure I am not going to mess anything up by > adding a modules to the site that is not downloaded through CVS and then > when we get SSH I can replace it that way. > > > > Thanks, > > Steve > > > > Steve Kessler > > *Denver DataMan * > > 303-587-4428 > > Sign up for the Denver DataMan Free eNewsletter > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20090308/747ee33d/attachment.htm From bo at bolaurent.com Sun Mar 8 14:28:03 2009 From: bo at bolaurent.com (Bo Laurent) Date: Sun, 8 Mar 2009 07:28:03 -0700 Subject: [support] Sharing 'users' table with another database? In-Reply-To: <20090308024405.GA12969@spooning.me> References: <20090308024405.GA12969@spooning.me> Message-ID: <3BD1E4FB-96EB-4AC1-ABD1-B33137A9D3EA@bolaurent.com> Use openid for all your projects. Sent from my iPhone (please excuse the terse message). On Mar 7, 2009, at 6:44 PM, Thoughts Ltd wrote: > Has anyone here know how to get Drupal to share the 'users' table > with another database? > > (Or, in other words, connect to a different database to access the > 'users' table.) > > I have a "people" database that I share between all my different > projects, so that all of my clients/users need not sign up multiple > times. Signing up to anything gets them signed up to everything. > Change their name/email/password once, it's changed everywhere. > > I've been able to do this because I was hand-coding all of my > projects, but now I'd like to use Drupal, yet still access this > central "users" table (I can make it exactly fit Drupal's specs/ > schema). > > Perhaps there's a different way to achieve what I'm trying to do? > > Any suggestions or pointers? > > Thanks much. > > -- > [ Drupal support list | http://lists.drupal.org/ ] From cog.rusty at gmail.com Sun Mar 8 16:05:40 2009 From: cog.rusty at gmail.com (Cog Rusty) Date: Sun, 8 Mar 2009 18:05:40 +0200 Subject: [support] Sharing 'users' table with another database? In-Reply-To: <20090308024405.GA12969@spooning.me> References: <20090308024405.GA12969@spooning.me> Message-ID: On Sun, Mar 8, 2009 at 5:44 AM, Thoughts Ltd wrote: > Has anyone here know how to get Drupal to share the 'users' table with another database? > > (Or, in other words, connect to a different database to access the 'users' table.) > > I have a "people" database that I share between all my different projects, so that all of my clients/users need not sign up multiple times. ?Signing up to anything gets them signed up to everything. ?Change their name/email/password once, it's changed everywhere. > > I've been able to do this because I was hand-coding all of my projects, but now I'd like to use Drupal, yet still access this central "users" table (I can make it exactly fit Drupal's specs/schema). > > Perhaps there's a different way to achieve what I'm trying to do? > > Any suggestions or pointers? Some resources that you may find useful: For Drupal 6, check these API functions: http://api.drupal.org/api/function/user_external_load http://api.drupal.org/api/function/user_external_login/6 (Drupal 6 only) http://api.drupal.org/api/function/user_external_login_register/6 (Drupal 6 only) and generally the user API http://api.drupal.org/api/file/modules/user/user.module/6 See how the first two are used in the code of http://api.drupal.org/api/function/openid_authentication/6 (Drupal 6 only) For Drupal 5, you can find a few relevant discussions around such as http://drupal.org/node/151515 http://www.darrenmothersele.com/content/using-external-data-source-drupal-user-authentication-and-login Maybe also the code of openid_authentication() in http://drupal.org/project/openid If your solution involves a Drupal bootstrap in an external php script, make sure to set the $cookie_domain in Drupal's settings.php file. > Thanks much. > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From cjones at partialflow.com Mon Mar 9 01:38:52 2009 From: cjones at partialflow.com (Christopher M. Jones) Date: Sun, 08 Mar 2009 21:38:52 -0400 Subject: [support] pathauto, block menu generating wrong path In-Reply-To: <507b282e0903031334g3a34221bx5b87dae1ee1981fe@mail.gmail.com> References: <49AD408F.9090509@partialflow.com> <507b282e0903031334g3a34221bx5b87dae1ee1981fe@mail.gmail.com> Message-ID: <49B4732C.3050009@partialflow.com> Thanks. This worked as a quick fix, but it isn't a long term fix. These menu items were added via the menu options in the node edit form. That should work without my having to go back into the menu and add a /. Moreover, the url alias is not being used and needs to be. Any ideas what the underlying problem could be? Brian Choc wrote: > Well, the addition of /admin/build/path is happening because your menu-item > paths are relative to the current page, and the path admin page happens to > be the page you're looking at as you look at the menu paths. If you > navigate to a different page, you'll get a different path. Without looking > much at the structure of your pages, a leading slash in the path of the menu > item will often take care of that. > Brian > > > On Tue, Mar 3, 2009 at 7:37 AM, Christopher M. Jones > wrote: > >> I'm having a problem, I think with pathauto. I have a nav bar that I >> built from book pages. I'm displaying that navbar in a nice menu. Before >> I was using a nice menu I was using some custom code in a block to >> generate the menu, and I was having the same problem there, as well. So >> I don't think this is related to nice menus. >> >> The menu itself seems to have the correctly named paths, e.g., >> >> http://mydomain.com/article-title >> >> This is what I see when I mouse over the items in admin/build/menu, >> anyway. But the menu itself is displaying strange paths, such as >> >> http://mydomain.com/admin/build/path/node/1 >> >> Node 1 is the correct node, and obviously node/1 is a good path. But why >> isn't it using the alias, and why is it appending the path to the >> currently active path? >> >> You can see this behavior at http://www.fertilityauthority.com, in the >> horizontal nav at the top of the page. >> >> Any help would be greatly appreciated here, as this is a live site and >> it's only a matter of time before the client sees the problem. >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > From metzlerd at evergreen.edu Mon Mar 9 15:45:52 2009 From: metzlerd at evergreen.edu (Metzler, David) Date: Mon, 9 Mar 2009 08:45:52 -0700 Subject: [support] pathauto, block menu generating wrong path In-Reply-To: <49B4732C.3050009@partialflow.com> References: <49AD408F.9090509@partialflow.com><507b282e0903031334g3a34221bx5b87dae1ee1981fe@mail.gmail.com> <49B4732C.3050009@partialflow.com> Message-ID: <52177C930FA90F4D9888B0343FDB79FB10ED41@birch.evergreen.edu> Another thing you might try, is setting the base_path setting in your settings.php file. If corrected similar but different problems this way. -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Christopher M. Jones Sent: Sunday, March 08, 2009 6:39 PM To: support at drupal.org Subject: Re: [support] pathauto, block menu generating wrong path Thanks. This worked as a quick fix, but it isn't a long term fix. These menu items were added via the menu options in the node edit form. That should work without my having to go back into the menu and add a /. Moreover, the url alias is not being used and needs to be. Any ideas what the underlying problem could be? Brian Choc wrote: > Well, the addition of /admin/build/path is happening because your > menu-item paths are relative to the current page, and the path admin > page happens to be the page you're looking at as you look at the menu > paths. If you navigate to a different page, you'll get a different > path. Without looking much at the structure of your pages, a leading > slash in the path of the menu item will often take care of that. > Brian > > > On Tue, Mar 3, 2009 at 7:37 AM, Christopher M. Jones > > wrote: > >> I'm having a problem, I think with pathauto. I have a nav bar that I >> built from book pages. I'm displaying that navbar in a nice menu. >> Before I was using a nice menu I was using some custom code in a >> block to generate the menu, and I was having the same problem there, >> as well. So I don't think this is related to nice menus. >> >> The menu itself seems to have the correctly named paths, e.g., >> >> http://mydomain.com/article-title >> >> This is what I see when I mouse over the items in admin/build/menu, >> anyway. But the menu itself is displaying strange paths, such as >> >> http://mydomain.com/admin/build/path/node/1 >> >> Node 1 is the correct node, and obviously node/1 is a good path. But >> why isn't it using the alias, and why is it appending the path to the >> currently active path? >> >> You can see this behavior at http://www.fertilityauthority.com, in >> the horizontal nav at the top of the page. >> >> Any help would be greatly appreciated here, as this is a live site >> and it's only a matter of time before the client sees the problem. >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > -- [ Drupal support list | http://lists.drupal.org/ ] From john.callahan at UDel.Edu Tue Mar 10 18:49:30 2009 From: john.callahan at UDel.Edu (John Callahan) Date: Tue, 10 Mar 2009 14:49:30 -0400 Subject: [support] print menu tree Message-ID: <49B6B63A.4060404@udel.edu> Does anyone know of a way to directly print the menu tree of a custom menu? I thought there would be a simple function to accomplish this but for some reason I can't seem to get it. Searching the web reveals several other people asking the same question, or answers to do something similar (like printing $primary_links or just the first level links of a custom menu.) Any thoughts? This should be easy, right? - John ************************************************** John Callahan Geospatial Application Developer Delaware Geological Survey, University of Delaware 227 Academy St, Newark DE 19716-7501 Tel: (302) 831-3584 Email: john.callahan at udel.edu http://www.dgs.udel.edu ************************************************** From william.darren at gmail.com Tue Mar 10 18:55:09 2009 From: william.darren at gmail.com (William Smith) Date: Tue, 10 Mar 2009 13:55:09 -0500 Subject: [support] print menu tree In-Reply-To: <49B6B63A.4060404@udel.edu> References: <49B6B63A.4060404@udel.edu> Message-ID: <74630ca20903101155l3ac16a15hd638528dac4ee2a1@mail.gmail.com> Did you already try menu_load ( http://api.drupal.org/api/function/menu_load/6) and menu_tree ( http://api.drupal.org/api/function/menu_tree/6)? On Tue, Mar 10, 2009 at 1:49 PM, John Callahan wrote: > Does anyone know of a way to directly print the menu tree of a custom > menu? I thought there would be a simple function to accomplish this but > for some reason I can't seem to get it. Searching the web reveals > several other people asking the same question, or answers to do > something similar (like printing $primary_links or just the first level > links of a custom menu.) > > Any thoughts? This should be easy, right? > > - John > > ************************************************** > John Callahan > Geospatial Application Developer > Delaware Geological Survey, University of Delaware > 227 Academy St, Newark DE 19716-7501 > Tel: (302) 831-3584 > Email: john.callahan at udel.edu > http://www.dgs.udel.edu > ************************************************** > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20090310/80f5df38/attachment.htm From john.callahan at UDel.Edu Tue Mar 10 19:36:51 2009 From: john.callahan at UDel.Edu (John Callahan) Date: Tue, 10 Mar 2009 15:36:51 -0400 Subject: [support] print menu tree In-Reply-To: <74630ca20903101155l3ac16a15hd638528dac4ee2a1@mail.gmail.com> References: <49B6B63A.4060404@udel.edu> <74630ca20903101155l3ac16a15hd638528dac4ee2a1@mail.gmail.com> Message-ID: <49B6C153.2030705@udel.edu> Well, menu_tree did the trick this time. Thanks. Can't get much easier than that. That was one of the methods I tried yesterday. Fresh eyes and a new day always seem to help. :-) - John William Smith wrote: > Did you already try menu_load > (http://api.drupal.org/api/function/menu_load/6) and menu_tree > (http://api.drupal.org/api/function/menu_tree/6)? > > On Tue, Mar 10, 2009 at 1:49 PM, John Callahan > wrote: > > Does anyone know of a way to directly print the menu tree of a custom > menu? I thought there would be a simple function to accomplish > this but > for some reason I can't seem to get it. Searching the web reveals > several other people asking the same question, or answers to do > something similar (like printing $primary_links or just the first > level > links of a custom menu.) > > Any thoughts? This should be easy, right? > > - John > > ************************************************** > John Callahan > Geospatial Application Developer > Delaware Geological Survey, University of Delaware > 227 Academy St, Newark DE 19716-7501 > Tel: (302) 831-3584 > Email: john.callahan at udel.edu > http://www.dgs.udel.edu > ************************************************** > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20090310/85da4ad6/attachment.htm From larry at garfieldtech.com Wed Mar 11 03:40:50 2009 From: larry at garfieldtech.com (Larry Garfield) Date: Tue, 10 Mar 2009 22:40:50 -0500 Subject: [support] print menu tree In-Reply-To: <49B6B63A.4060404@udel.edu> References: <49B6B63A.4060404@udel.edu> Message-ID: <200903102240.50797.larry@garfieldtech.com> Do you mean a full tree, something like this: http://drupal.org/project/menutree On Tuesday 10 March 2009 1:49:30 pm John Callahan wrote: > Does anyone know of a way to directly print the menu tree of a custom > menu? I thought there would be a simple function to accomplish this but > for some reason I can't seem to get it. Searching the web reveals > several other people asking the same question, or answers to do > something similar (like printing $primary_links or just the first level > links of a custom menu.) > > Any thoughts? This should be easy, right? > > - John -- Larry Garfield larry at garfieldtech.com From john.callahan at UDel.Edu Wed Mar 11 11:52:42 2009 From: john.callahan at UDel.Edu (John Callahan) Date: Wed, 11 Mar 2009 07:52:42 -0400 Subject: [support] print menu tree In-Reply-To: <200903102240.50797.larry@garfieldtech.com> References: <49B6B63A.4060404@udel.edu> <200903102240.50797.larry@garfieldtech.com> Message-ID: <49B7A60A.3050403@udel.edu> Yes, but I needed to do it programmatically to include in my template.php and tpl files. Thanks. - John Larry Garfield wrote: > Do you mean a full tree, something like this: > > http://drupal.org/project/menutree > > On Tuesday 10 March 2009 1:49:30 pm John Callahan wrote: > >> Does anyone know of a way to directly print the menu tree of a custom >> menu? I thought there would be a simple function to accomplish this but >> for some reason I can't seem to get it. Searching the web reveals >> several other people asking the same question, or answers to do >> something similar (like printing $primary_links or just the first level >> links of a custom menu.) >> >> Any thoughts? This should be easy, right? >> >> - John >> > > From cjones at partialflow.com Wed Mar 11 12:09:27 2009 From: cjones at partialflow.com (Christopher M. Jones) Date: Wed, 11 Mar 2009 08:09:27 -0400 Subject: [support] warnings on /forum after replacing adv forum w/ og forum Message-ID: <49B7A9F7.6060009@partialflow.com> I took advanced forum out, uninstalled it, and replaced it with og forum. Unauthenticated users are getting this error when they visit /forum or forums/* Any ideas? * user warning: Unknown column 't.tid' in 'IN/ALL/ANY subquery' query: SELECT ts.tid, ts.name FROM term_synonym ts JOIN term_data td USING(tid) WHERE (t.tid NOT IN (SELECT DISTINCT ogt.tid FROM og_term ogt WHERE public < 2)) AND ( td.vid=13) in /var/www/mul/fertilityauthority.com/includes/database.mysql.inc on line 172. * user warning: Unknown column 't.tid' in 'IN/ALL/ANY subquery' query: SELECT DISTINCT(td.tid), td.name, td.description, COUNT(tn.nid) as nodes FROM term_data td LEFT JOIN term_node tn USING(tid) WHERE (t.tid NOT IN (SELECT DISTINCT ogt.tid FROM og_term ogt WHERE public < 2)) AND ( td.vid=13 ) GROUP BY td.tid, td.name, td.description ORDER BY LENGTH(td.name) DESC in /var/www/mul/fertilityauthority.com/includes/database.mysql.inc on line 172. From cimo75 at gmail.com Wed Mar 11 15:00:11 2009 From: cimo75 at gmail.com (simone-www.io-lab.org) Date: Wed, 11 Mar 2009 15:00:11 +0000 Subject: [support] recovering from private mode download Message-ID: Hi i ve changed the download mode from private to public and, as supposed to be, i experience some weirdness on my site s images For example the avatar on forum sometime will disappear and the RSS feed image has disappeared. Is there a common way to get back to normality? Simone -- .wmv , .wma , .pps along with all proprietary Windows formats won t be accepted and/or viewed.... From daniel.carrera at theingots.org Wed Mar 11 15:25:53 2009 From: daniel.carrera at theingots.org (Daniel Carrera) Date: Wed, 11 Mar 2009 16:25:53 +0100 Subject: [support] Strange Database Error Message-ID: <49B7D801.5080708@theingots.org> Hello, Whenever I visit a page on my Drupal 5 website I get the following warning: user warning: Duplicate entry '2196624' for key 1 query: INSERT INTO accesslog (title, path, url, hostname, uid, sid, timer, timestamp) values('What are the Ingots?', 'node/1', '', '78.50.210.53', 0, 'ffdknj3d71h0p3ss7d5lb8ng66', 472, 1236783811 So I go to the 'accesslog' table. I can see that key 1 refers to the 'aid' field. I don't see anything unusual in this field. The value 2196624 is not at all present, so how can it be "duplicate"? I don't know what to try. Any ideas? Daniel. From daniel.carrera at theingots.org Wed Mar 11 15:41:22 2009 From: daniel.carrera at theingots.org (Daniel Carrera) Date: Wed, 11 Mar 2009 16:41:22 +0100 Subject: [support] Strange Database Error In-Reply-To: <49B7D801.5080708@theingots.org> References: <49B7D801.5080708@theingots.org> Message-ID: <49B7DBA2.6080807@theingots.org> I just entered a record in the table, I specified the aid '2196625' (in other words, one more than the one that MySQL was complaining about). Somehow that seems to have fixed the problem. I can now enter new values in the table. MySQL just picked up from ...25 and continued with ...26, ...27 and so on. Daniel. Daniel Carrera wrote: > Hello, > > Whenever I visit a page on my Drupal 5 website I get the following warning: > > user warning: Duplicate entry '2196624' for key 1 query: INSERT INTO > accesslog (title, path, url, hostname, uid, sid, timer, timestamp) > values('What are the Ingots?', 'node/1', '', '78.50.210.53', 0, > 'ffdknj3d71h0p3ss7d5lb8ng66', 472, 1236783811 > > > So I go to the 'accesslog' table. I can see that key 1 refers to the > 'aid' field. I don't see anything unusual in this field. The value > 2196624 is not at all present, so how can it be "duplicate"? > > I don't know what to try. Any ideas? > > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] > From shai at content2zero.com Wed Mar 11 17:02:20 2009 From: shai at content2zero.com (Shai Gluskin) Date: Wed, 11 Mar 2009 13:02:20 -0400 Subject: [support] Trying to Understand How Data in the DB is Exposed to Search Message-ID: <9f68efb70903111002q10e1f27fj8bde910ad0773cdb@mail.gmail.com> Gang, Trying to understand how search works, both Google and Solr. So lets say I have a node/1234. There are no links to it on example.com. However, links to it will dynamically show up in a view if the right choices are made by a user via exposed filters. My guess is this won't be exposed to Google but would be exposed to Solr. Anybody know? Thanks, Shai -------------- next part -------------- An HTML attachment was scrubbed... URL: From greg.knaddison at gmail.com Wed Mar 11 17:24:36 2009 From: greg.knaddison at gmail.com (Greg Knaddison) Date: Wed, 11 Mar 2009 11:24:36 -0600 Subject: [support] Trying to Understand How Data in the DB is Exposed to Search In-Reply-To: <9f68efb70903111002q10e1f27fj8bde910ad0773cdb@mail.gmail.com> References: <9f68efb70903111002q10e1f27fj8bde910ad0773cdb@mail.gmail.com> Message-ID: <3861c6770903111024k1beae906ga67de153bac7235c@mail.gmail.com> On Wed, Mar 11, 2009 at 11:02 AM, Shai Gluskin wrote: > Trying to understand how search works, both Google and Solr. > > So lets say I have a node/1234. There are no links to it on example.com. > However, links to it will dynamically show up in a view if the right choices > are made by a user via exposed filters. > > My guess is this won't be exposed to Google but would be exposed to Solr. > Anybody know? As is often the case, "it depends." Solr will definitely know about the node. Google might. First, Google is starting to post HTML forms to get at more data. http://googlewebmastercentral.blogspot.com/2008/04/crawling-through-html-forms.html Second, if the node has any taxonomy terms on it that are included in links somewhere, or it is available via an "archive" block or in a user's "tracker" page...then Google will find it. Finally, if none of those apply you can use the XMLSitemap module to let Google (and other search engines) know about the content http://drupal.org/project/xmlsitemap Regards, Greg -- Greg Knaddison http://knaddison.com | 303-800-5623 | http://growingventuresolutions.com From earnie at users.sourceforge.net Wed Mar 11 17:51:55 2009 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Wed, 11 Mar 2009 13:51:55 -0400 Subject: [support] Trying to Understand How Data in the DB is Exposed to Search In-Reply-To: <3861c6770903111024k1beae906ga67de153bac7235c@mail.gmail.com> References: <9f68efb70903111002q10e1f27fj8bde910ad0773cdb@mail.gmail.com> <3861c6770903111024k1beae906ga67de153bac7235c@mail.gmail.com> Message-ID: <20090311135155.rrfb43zo8qgw0ook@mail.progw.org> Quoting Greg Knaddison : > > Finally, if none of those apply you can use the XMLSitemap module to > let Google (and other search engines) know about the content > http://drupal.org/project/xmlsitemap > Which isn't quite ready for D6 yet. -- Earnie http://r-feed.com Make a Drupal difference and review core patches. -- http://for-my-kids.com/ -- http://www.4offer.biz/ From cog.rusty at gmail.com Wed Mar 11 23:34:13 2009 From: cog.rusty at gmail.com (Cog Rusty) Date: Thu, 12 Mar 2009 01:34:13 +0200 Subject: [support] recovering from private mode download In-Reply-To: References: Message-ID: On Wed, Mar 11, 2009 at 5:00 PM, simone-www.io-lab.org wrote: > Hi > i ve changed the download mode from private to public and, as supposed > to be, i experience some weirdness on my site s images > For example the avatar on forum sometime will disappear and the RSS > feed image has disappeared. > Is there a common way to get back to normality? > Simone > > -- > .wmv , .wma , .pps along with all proprietary Windows formats won t be > accepted and/or viewed.... A good start for solving the problem in the database would be: - check the file paths in the "files" table. - make a general string search in all your database, including the content, for "system/files" and fix it. - clear all caches. > -- > [ Drupal support list | http://lists.drupal.org/ ] > From cimo75 at gmail.com Wed Mar 11 23:52:16 2009 From: cimo75 at gmail.com (simone-www.io-lab.org) Date: Wed, 11 Mar 2009 23:52:16 +0000 Subject: [support] recovering from private mode download In-Reply-To: References: Message-ID: hi seems to me very reasonable.The only work i did on databases before was only changing some prefixeson tables, i never changed any data as values in a table. What i would do is downloading the "files" table, open it on a text editor and do a search for that string and eventually replace the values (links). Is there a smarter way to work with tables? For example: i am sure that phpmyadmins has got some useful tool. Simone On Wed, Mar 11, 2009 at 11:34 PM, Cog Rusty wrote: > On Wed, Mar 11, 2009 at 5:00 PM, simone-www.io-lab.org wrote: >> Hi >> i ve changed the download mode from private to public and, as supposed >> to be, i experience some weirdness on my site s images >> For example the avatar on forum sometime will disappear and the RSS >> feed image has disappeared. >> Is there a common way to get back to normality? >> Simone >> >> -- >> .wmv , .wma , .pps along with all proprietary Windows formats won t be >> accepted and/or viewed.... > > > A good start for solving the problem in the database would be: > - check the file paths in the "files" table. > - make a general string search in all your database, including the > content, for "system/files" and fix it. > - clear all caches. > >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- .wmv , .wma , .pps along with all proprietary Windows formats won t be accepted and/or viewed.... From william.darren at gmail.com Thu Mar 12 00:23:05 2009 From: william.darren at gmail.com (William Smith) Date: Wed, 11 Mar 2009 20:23:05 -0400 Subject: [support] recovering from private mode download In-Reply-To: References: Message-ID: <74630ca20903111723l1880bed8g13fe9a648e699ab2@mail.gmail.com> Yes phpmyadmin can do a search across the entire DB. You can also do a search and replace on a table by executing the following: UPDATE `table_name` set columnname = replace(columnname, 'search', 'replace?') Where table_name, columnname, 'search' and 'replace' are the values appropriate for your situation. But don't forget to backup first! ;) On Wed, Mar 11, 2009 at 7:52 PM, simone-www.io-lab.org wrote: > hi > seems to me very reasonable.The only work i did on databases before > was only changing some prefixeson tables, i never changed any data as > values in a table. > What i would do is downloading the "files" table, open it on a text > editor and do a search for that string and eventually replace the > values (links). > Is there a smarter way to work with tables? For example: i am sure > that phpmyadmins has got some useful tool. > Simone > > On Wed, Mar 11, 2009 at 11:34 PM, Cog Rusty wrote: > > On Wed, Mar 11, 2009 at 5:00 PM, simone-www.io-lab.org > wrote: > >> Hi > >> i ve changed the download mode from private to public and, as supposed > >> to be, i experience some weirdness on my site s images > >> For example the avatar on forum sometime will disappear and the RSS > >> feed image has disappeared. > >> Is there a common way to get back to normality? > >> Simone > >> > >> -- > >> .wmv , .wma , .pps along with all proprietary Windows formats won t be > >> accepted and/or viewed.... > > > > > > A good start for solving the problem in the database would be: > > - check the file paths in the "files" table. > > - make a general string search in all your database, including the > > content, for "system/files" and fix it. > > - clear all caches. > > > >> -- > >> [ Drupal support list | http://lists.drupal.org/ ] > >> > > -- > > [ Drupal support list | http://lists.drupal.org/ ] > > > > > > -- > .wmv , .wma , .pps along with all proprietary Windows formats won t be > accepted and/or viewed.... > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lev at vpac.org Thu Mar 12 02:40:58 2009 From: lev at vpac.org (Lev Lafayette) Date: Thu, 12 Mar 2009 13:40:58 +1100 (EST) Subject: [support] Resource conflict Message-ID: <2111835206.2784451236825658494.JavaMail.root@mail.vpac.org> Hi ever-helpful support people, I've been struggling with getting the resource conflict module operational on a Drupal 5.x install; could someone walk me through those steps, because I'm at the point of exhausting my knowledge on the subject... Kind regards, -- Lev Lafayette (03) 9925 4909 Systems Administrator Victorian Partnership for Advanced Computing 110 Victoria St Carlton South, 3053 Netiquette - Read this! http://tools.ietf.org/html/rfc1855 From drupal.org-2008 at jt-socal.com Thu Mar 12 03:10:32 2009 From: drupal.org-2008 at jt-socal.com (John Thomas) Date: Wed, 11 Mar 2009 20:10:32 -0700 Subject: [support] View with add at bottom Message-ID: <49B87D28.20801@jt-socal.com> I have a view on a node type "A" that displays node type "B" that reference the specific type A node. For example, visiting a Node A node might show 3 or 4 B type nodes in a list/view. What is the best way to add blanks to the end of my view where the user could type in information that would create a type B node with the nodereference to that node A. Thank you in advance! -- Sincerely, John Thomas From shai at content2zero.com Thu Mar 12 03:35:39 2009 From: shai at content2zero.com (Shai Gluskin) Date: Wed, 11 Mar 2009 23:35:39 -0400 Subject: [support] recovering from private mode download In-Reply-To: <74630ca20903111723l1880bed8g13fe9a648e699ab2@mail.gmail.com> References: <74630ca20903111723l1880bed8g13fe9a648e699ab2@mail.gmail.com> Message-ID: <9f68efb70903112035r4494cc87ta69c6d7de4f2ce3@mail.gmail.com> Simone, I support Will's suggestion about using that update and replace sql. Just to add a bit of verbosity to Will's instructions... In phpMyAdmin you'll see "SQL" icons in various places. As long as you have the database selected/active, pasting in the code Will provided (of course replacing the tablename, columnname, search, and replace with the actual values relevant to your situation) into a field that will appear when you click on "SQL" should do the job. That SQL would work at the command line as well as long as you were logged into the DB. Shai On Wed, Mar 11, 2009 at 8:23 PM, William Smith wrote: > Yes phpmyadmin can do a search across the entire DB. You can also do a > search and replace on a table by executing the following: > UPDATE `table_name` set columnname = replace(columnname, 'search', > 'replace?') > > Where table_name, columnname, 'search' and 'replace' are the values > appropriate for your situation. > > But don't forget to backup first! ;) > > > On Wed, Mar 11, 2009 at 7:52 PM, simone-www.io-lab.org wrote: > >> hi >> seems to me very reasonable.The only work i did on databases before >> was only changing some prefixeson tables, i never changed any data as >> values in a table. >> What i would do is downloading the "files" table, open it on a text >> editor and do a search for that string and eventually replace the >> values (links). >> Is there a smarter way to work with tables? For example: i am sure >> that phpmyadmins has got some useful tool. >> Simone >> >> On Wed, Mar 11, 2009 at 11:34 PM, Cog Rusty wrote: >> > On Wed, Mar 11, 2009 at 5:00 PM, simone-www.io-lab.org < >> cimo75 at gmail.com> wrote: >> >> Hi >> >> i ve changed the download mode from private to public and, as supposed >> >> to be, i experience some weirdness on my site s images >> >> For example the avatar on forum sometime will disappear and the RSS >> >> feed image has disappeared. >> >> Is there a common way to get back to normality? >> >> Simone >> >> >> >> -- >> >> .wmv , .wma , .pps along with all proprietary Windows formats won t be >> >> accepted and/or viewed.... >> > >> > >> > A good start for solving the problem in the database would be: >> > - check the file paths in the "files" table. >> > - make a general string search in all your database, including the >> > content, for "system/files" and fix it. >> > - clear all caches. >> > >> >> -- >> >> [ Drupal support list | http://lists.drupal.org/ ] >> >> >> > -- >> > [ Drupal support list | http://lists.drupal.org/ ] >> > >> >> >> >> -- >> .wmv , .wma , .pps along with all proprietary Windows formats won t be >> accepted and/or viewed.... >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From steev at initsix.co.uk Thu Mar 12 18:46:18 2009 From: steev at initsix.co.uk (Steve Power) Date: Thu, 12 Mar 2009 18:46:18 +0000 Subject: [support] Help with deleting all users with a specific role Message-ID: <651c6d110903121146i43836423q6619ccf9f0d0f02a@mail.gmail.com> Hi ive been migrating a customer from phpbb2 to D6. Was sposed to go live on sunday... Ive had numerous issues (mainly due to poor sql performance on ec2 instances!) and the rest is due to be finished tonight starting 10pm uk time....one problem is that the customer has been using the test site to create nodes, while i stupidly had test forum data on there. I have managed to delete all the test forum data, but im left with 1700 users who need to be readded from the most recent cut of the phpbb database. Anyways, longer story shorter - does anyone know the SQL i can use to delete all authetnicated users, all their post settings (e.g. user_titles_posts) and related tables etc? I assume there is a drupal function that i can loop through somewhere, but im running out of time and wondered if anyone had done this before, and if they could point me in the right direction! cheers! -- -- -- Steve Power Principal Consultant Mobile: +44 (0) 7747 027 243 Initsix Technology and Media -- "So Linux is bulletproof? No. Bulletproof is one of the last stages of drunkenness, not a state of security" http://www.linux.com/feature/60208 -------------- next part -------------- An HTML attachment was scrubbed... URL: From william.darren at gmail.com Thu Mar 12 19:03:00 2009 From: william.darren at gmail.com (William Smith) Date: Thu, 12 Mar 2009 15:03:00 -0400 Subject: [support] Help with deleting all users with a specific role In-Reply-To: <651c6d110903121146i43836423q6619ccf9f0d0f02a@mail.gmail.com> References: <651c6d110903121146i43836423q6619ccf9f0d0f02a@mail.gmail.com> Message-ID: <74630ca20903121203i43127794i49e7677b8ed667e5@mail.gmail.com> You can use user_delete which besides deleting the user, also fires off the user hook with the delete op, so any other modules that are listening will clean up whatever they need to clean up. The implementation of hook_user in the node module will set the uid of existing nodes to 0 in this case, but not delete them. So if you want to eliminate all the nodes for the users, you would want to do that first (node_delete) before doing the user_delete. You'd wrap this all up in a while loop that iterated over each existing uid. On Thu, Mar 12, 2009 at 2:46 PM, Steve Power wrote: > Hi > > ive been migrating a customer from phpbb2 to D6. Was sposed to go live on > sunday... Ive had numerous issues (mainly due to poor sql performance on > ec2 instances!) and the rest is due to be finished tonight starting 10pm uk > time....one problem is that the customer has been using the test site to > create nodes, while i stupidly had test forum data on there. I have managed > to delete all the test forum data, but im left with 1700 users who need to > be readded from the most recent cut of the phpbb database. > > Anyways, longer story shorter - does anyone know the SQL i can use to > delete all authetnicated users, all their post settings (e.g. > user_titles_posts) and related tables etc? I assume there is a drupal > function that i can loop through somewhere, but im running out of time and > wondered if anyone had done this before, and if they could point me in the > right direction! > > cheers! > > -- > -- > -- > Steve Power > Principal Consultant > Mobile: +44 (0) 7747 027 243 > Initsix Technology and Media > -- > "So Linux is bulletproof? No. Bulletproof is one of the last stages of > drunkenness, not a state of security" http://www.linux.com/feature/60208 > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From steev at initsix.co.uk Thu Mar 12 19:10:57 2009 From: steev at initsix.co.uk (Steve Power) Date: Thu, 12 Mar 2009 19:10:57 +0000 Subject: [support] Help with deleting all users with a specific role In-Reply-To: <74630ca20903121203i43127794i49e7677b8ed667e5@mail.gmail.com> References: <651c6d110903121146i43836423q6619ccf9f0d0f02a@mail.gmail.com> <74630ca20903121203i43127794i49e7677b8ed667e5@mail.gmail.com> Message-ID: <651c6d110903121210l637dd035n1d5526e229ef0b06@mail.gmail.com> excellent thankyou. I assume i can create a page with php input, and select users by role with a form. I will try and post the code if it works! cheers On Thu, Mar 12, 2009 at 7:03 PM, William Smith wrote: > You can use user_delete which besides deleting the user, also fires off the > user hook with the delete op, so any other modules that are listening will > clean up whatever they need to clean up. The implementation of hook_user in > the node module will set the uid of existing nodes to 0 in this case, but > not delete them. So if you want to eliminate all the nodes for the users, > you would want to do that first (node_delete) before doing the user_delete. > > You'd wrap this all up in a while loop that iterated over each existing > uid. > > On Thu, Mar 12, 2009 at 2:46 PM, Steve Power wrote: > >> Hi >> >> ive been migrating a customer from phpbb2 to D6. Was sposed to go live on >> sunday... Ive had numerous issues (mainly due to poor sql performance on >> ec2 instances!) and the rest is due to be finished tonight starting 10pm uk >> time....one problem is that the customer has been using the test site to >> create nodes, while i stupidly had test forum data on there. I have managed >> to delete all the test forum data, but im left with 1700 users who need to >> be readded from the most recent cut of the phpbb database. >> >> Anyways, longer story shorter - does anyone know the SQL i can use to >> delete all authetnicated users, all their post settings (e.g. >> user_titles_posts) and related tables etc? I assume there is a drupal >> function that i can loop through somewhere, but im running out of time and >> wondered if anyone had done this before, and if they could point me in the >> right direction! >> >> cheers! >> >> -- >> -- >> -- >> Steve Power >> Principal Consultant >> Mobile: +44 (0) 7747 027 243 >> Initsix Technology and Media >> -- >> "So Linux is bulletproof? No. Bulletproof is one of the last stages of >> drunkenness, not a state of security" http://www.linux.com/feature/60208 >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > -- -- -- Steve Power Principal Consultant Mobile: +44 (0) 7747 027 243 Initsix Technology and Media -- "So Linux is bulletproof? No. Bulletproof is one of the last stages of drunkenness, not a state of security" http://www.linux.com/feature/60208 -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at funnymonkey.com Thu Mar 12 19:12:46 2009 From: marc at funnymonkey.com (Marc Poris) Date: Thu, 12 Mar 2009 12:12:46 -0700 Subject: [support] Help with deleting all users with a specific role In-Reply-To: <74630ca20903121203i43127794i49e7677b8ed667e5@mail.gmail.com> References: <651c6d110903121146i43836423q6619ccf9f0d0f02a@mail.gmail.com> <74630ca20903121203i43127794i49e7677b8ed667e5@mail.gmail.com> Message-ID: <49B95EAE.3030609@funnymonkey.com> You'll definitely want to do this through Drupal's API somehow. At admin/user/user, you can select the users you want to delete and then choose to "Delete the selected users" from the update options. It looks like you're only going to see 50 rows at a time, which will take 34 runs through the screen. Not too bad, but if you make a quick temporary hack (there are 2 places where you'll see the number 50) to the user_admin_account() function in user.admin.inc you should be able to bump up the number of users that you can administer at one time. - Marc William Smith wrote: > You can use user_delete which besides deleting the user, also fires > off the user hook with the delete op, so any other modules that are > listening will clean up whatever they need to clean up. The > implementation of hook_user in the node module will set the uid of > existing nodes to 0 in this case, but not delete them. So if you want > to eliminate all the nodes for the users, you would want to do that > first (node_delete) before doing the user_delete. > > You'd wrap this all up in a while loop that iterated over each > existing uid. > > On Thu, Mar 12, 2009 at 2:46 PM, Steve Power > wrote: > > Hi > > ive been migrating a customer from phpbb2 to D6. Was sposed to go > live on sunday... Ive had numerous issues (mainly due to poor sql > performance on ec2 instances!) and the rest is due to be finished > tonight starting 10pm uk time....one problem is that the customer > has been using the test site to create nodes, while i stupidly had > test forum data on there. I have managed to delete all the test > forum data, but im left with 1700 users who need to be readded > from the most recent cut of the phpbb database. > > Anyways, longer story shorter - does anyone know the SQL i can use > to delete all authetnicated users, all their post settings (e.g. > user_titles_posts) and related tables etc? I assume there is a > drupal function that i can loop through somewhere, but im running > out of time and wondered if anyone had done this before, and if > they could point me in the right direction! > > cheers! > > -- > -- > -- > Steve Power > Principal Consultant > Mobile: +44 (0) 7747 027 243 > Initsix Technology and Media > -- > "So Linux is bulletproof? No. Bulletproof is one of the last > stages of drunkenness, not a state of security" > http://www.linux.com/feature/60208 > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > > ------------------------------------------------------------------------ > > -- > [ Drupal support list | http://lists.drupal.org/ ] From fredthejonester at gmail.com Thu Mar 12 19:41:45 2009 From: fredthejonester at gmail.com (Fred Jones) Date: Thu, 12 Mar 2009 21:41:45 +0200 Subject: [support] Help with deleting all users with a specific role In-Reply-To: <651c6d110903121210l637dd035n1d5526e229ef0b06@mail.gmail.com> References: <651c6d110903121146i43836423q6619ccf9f0d0f02a@mail.gmail.com> <74630ca20903121203i43127794i49e7677b8ed667e5@mail.gmail.com> <651c6d110903121210l637dd035n1d5526e229ef0b06@mail.gmail.com> Message-ID: <177c0a10903121241u372d7463l10a39f2443bd9b76@mail.gmail.com> > excellent thankyou.? I assume i can create a page with php input, and select > users by role with a form. $drupal_sql = 'select users.uid from {users} left join {users_roles} on users.uid = users_roles.uid where rid=4 '; // where 4 is your role $r = db_query($drupal_sql); while ($row = db_fetch_array($r)) { user_delete($row->uid); } Sumthin' like that. From brettev at gmail.com Thu Mar 12 21:07:07 2009 From: brettev at gmail.com (Brett Evanson) Date: Thu, 12 Mar 2009 15:07:07 -0600 Subject: [support] Help with deleting all users with a specific role In-Reply-To: <177c0a10903121241u372d7463l10a39f2443bd9b76@mail.gmail.com> References: <651c6d110903121146i43836423q6619ccf9f0d0f02a@mail.gmail.com> <74630ca20903121203i43127794i49e7677b8ed667e5@mail.gmail.com> <651c6d110903121210l637dd035n1d5526e229ef0b06@mail.gmail.com> <177c0a10903121241u372d7463l10a39f2443bd9b76@mail.gmail.com> Message-ID: <972255370903121407kde266b2t5c3b1623b1c783cd@mail.gmail.com> if you want to delete the content first, modify code like this: > ?$drupal_sql = 'select users.uid from {users} left join {users_roles} on > ? ? ? ? ? ? ? ? users.uid = users_roles.uid > ? ? ? ? ? ? ? ?where rid=4 '; // where 4 is your role > ?$r = db_query($drupal_sql); > ?while ($row = db_fetch_array($r)) { $usersnodes = db_query("SELECT nid FROM {node} WHERE uid=%d", $row->uid); while($usernode = db_fetch_object($usersnodes)){ node_delete($usernode->nid); } > ? ? user_delete($row->uid); > ?} > > Sumthin' like that. > -- > [ Drupal support list | http://lists.drupal.org/ ] > pretty rough, but i think it'll work -- Brett Evanson brettev at gmail.com From bamlhs at hotmail.com Thu Mar 12 21:08:11 2009 From: bamlhs at hotmail.com (bamlhs at hotmail.com) Date: Thu, 12 Mar 2009 14:08:11 -0700 Subject: [support] Vacation reply In-Reply-To: <972255370903121407kde266b2t5c3b1623b1c783cd@mail.gmail.com> Message-ID: An HTML attachment was scrubbed... URL: From steev at initsix.co.uk Fri Mar 13 06:34:46 2009 From: steev at initsix.co.uk (Steve Power) Date: Fri, 13 Mar 2009 06:34:46 +0000 Subject: [support] Help with deleting all users with a specific role In-Reply-To: <972255370903121407kde266b2t5c3b1623b1c783cd@mail.gmail.com> References: <651c6d110903121146i43836423q6619ccf9f0d0f02a@mail.gmail.com> <74630ca20903121203i43127794i49e7677b8ed667e5@mail.gmail.com> <651c6d110903121210l637dd035n1d5526e229ef0b06@mail.gmail.com> <177c0a10903121241u372d7463l10a39f2443bd9b76@mail.gmail.com> <972255370903121407kde266b2t5c3b1623b1c783cd@mail.gmail.com> Message-ID: <651c6d110903122334q702e7af1j918f5e923484a3e5@mail.gmail.com> many thanks to everyone On Thu, Mar 12, 2009 at 9:07 PM, Brett Evanson wrote: > if you want to delete the content first, modify code like this: > > > $drupal_sql = 'select users.uid from {users} left join {users_roles} on > > users.uid = users_roles.uid > > where rid=4 '; // where 4 is your role > > $r = db_query($drupal_sql); > > while ($row = db_fetch_array($r)) { > $usersnodes = db_query("SELECT nid FROM {node} WHERE uid=%d", > $row->uid); > while($usernode = db_fetch_object($usersnodes)){ > node_delete($usernode->nid); > } > > user_delete($row->uid); > > } > > > > Sumthin' like that. > > -- > > [ Drupal support list | http://lists.drupal.org/ ] > > > > pretty rough, but i think it'll work > > -- > Brett Evanson > brettev at gmail.com > -- -- -- Steve Power Principal Consultant Mobile: +44 (0) 7747 027 243 Initsix Technology and Media -- "So Linux is bulletproof? No. Bulletproof is one of the last stages of drunkenness, not a state of security" http://www.linux.com/feature/60208 -------------- next part -------------- An HTML attachment was scrubbed... URL: From sjh_drupal at shic.co.uk Mon Mar 16 14:43:26 2009 From: sjh_drupal at shic.co.uk (Steve) Date: Mon, 16 Mar 2009 14:43:26 +0000 Subject: [support] Is there a standard way to do this with CCK/views (etc) - a tutorial would be fantastic... Message-ID: <49BE658E.8090600@shic.co.uk> I'm looking to establish a website in which a community researches a topic and builds a 'knowledge-base' dynamically. I envision the community being similar to that of a wiki - but I want the data to be more structured than that. At the outset, I envision each 'record' to conform to a simple format - including a free-text notes field. As time goes by, I envision new (possibly optional) fields to suggest themselves (at the end-user domain-focused logical level, at least) and I want the site to be able to evolve (without downtime, and with minimum 'programming') to embrace ever more structured records. A major stumbling block is that, while the community is expected to have a common goal, some of the data might easily be contentious - hence it is essential that the changes are version-controlled and that an audit trail can be reviewed. Are there standard Drupal modules that would allow me to set up something like this, or would I need to write them from scratch? Thanks, in advance, for any hints.. From bamlhs at hotmail.com Mon Mar 16 14:44:18 2009 From: bamlhs at hotmail.com (bamlhs at hotmail.com) Date: Mon, 16 Mar 2009 07:44:18 -0700 Subject: [support] Vacation reply In-Reply-To: <49BE658E.8090600@shic.co.uk> Message-ID: An HTML attachment was scrubbed... URL: From earnie at users.sourceforge.net Mon Mar 16 14:55:56 2009 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Mon, 16 Mar 2009 10:55:56 -0400 Subject: [support] Is there a standard way to do this with CCK/views (etc) - a tutorial would be fantastic... In-Reply-To: <49BE658E.8090600@shic.co.uk> References: <49BE658E.8090600@shic.co.uk> Message-ID: <20090316105556.2wsho61mvchwkg80@mail.progw.org> Quoting Steve : > I'm looking to establish a website in which a community researches a > topic and builds a 'knowledge-base' dynamically. I envision the > community being similar to that of a wiki - but I want the data to be > more structured than that. At the outset, I envision each 'record' > to conform to a simple format - including a free-text notes field. > As time goes by, I envision new (possibly optional) fields to suggest > themselves (at the end-user domain-focused logical level, at least) > and I want the site to be able to evolve (without downtime, and with > minimum 'programming') to embrace ever more structured records. > > A major stumbling block is that, while the community is expected to > have a common goal, some of the data might easily be contentious - > hence it is essential that the changes are version-controlled and > that an audit trail can be reviewed. > > Are there standard Drupal modules that would allow me to set up > something like this, or would I need to write them from scratch? > Administer the Content Type with admin/content/types and add "Create new revision" under the "Workflow settings" fieldset. Then allow the users to review and/or revert the revisions in admin/user/permissions for the Node module. -- Earnie http://r-feed.com Make a Drupal difference and review core patches. -- http://for-my-kids.com/ -- http://www.4offer.biz/ From bamlhs at hotmail.com Mon Mar 16 14:56:57 2009 From: bamlhs at hotmail.com (bamlhs at hotmail.com) Date: Mon, 16 Mar 2009 07:56:57 -0700 Subject: [support] Vacation reply In-Reply-To: <20090316105556.2wsho61mvchwkg80@mail.progw.org> Message-ID: An HTML attachment was scrubbed... URL: From brettev at gmail.com Mon Mar 16 14:57:26 2009 From: brettev at gmail.com (Brett Evanson) Date: Mon, 16 Mar 2009 08:57:26 -0600 Subject: [support] Is there a standard way to do this with CCK/views (etc) - a tutorial would be fantastic... In-Reply-To: <49BE658E.8090600@shic.co.uk> References: <49BE658E.8090600@shic.co.uk> Message-ID: <972255370903160757j2315ad38m34b2dc9104377aa9@mail.gmail.com> You would for sure want to use Revisions (part of core, just need to set up on each content type. Check out each content type's edit page). There's a Diff module which will show the differences in each node, and there is a permission for reverting revisions, too. You could also look at using revision_moderation if you are wanting to approve each revision. On Mon, Mar 16, 2009 at 8:43 AM, Steve wrote: > I'm looking to establish a website in which a community researches a topic > and builds a 'knowledge-base' dynamically. ?I envision the community being > similar to that of a wiki - but I want the data to be more structured than > that. ?At the outset, I envision each 'record' to conform to a simple format > - including a free-text notes field. ?As time goes by, I envision new > (possibly optional) fields to suggest themselves (at the end-user > domain-focused logical level, at least) and I want the site to be able to > evolve (without downtime, and with minimum 'programming') to embrace ever > more structured records. > > A major stumbling block is that, while the community is expected to have a > common goal, some of the data might easily be contentious - hence it is > essential that the changes are version-controlled and that an audit trail > can be reviewed. > > Are there standard Drupal modules that would allow me to set up something > like this, or would I need to write them from scratch? > > Thanks, in advance, for any hints.. > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Brett Evanson brettev at gmail.com From fredthejonester at gmail.com Mon Mar 16 19:28:48 2009 From: fredthejonester at gmail.com (Fred Jones) Date: Mon, 16 Mar 2009 21:28:48 +0200 Subject: [support] Ajax Tabs in Drupal 6 Message-ID: <177c0a10903161228r69f174e3x7a40d215d2085ab@mail.gmail.com> I have a custom module which I must upgrade from D5 to D6. In D5 I used the tabs module (part of the jstools module) and code like: $form['example1']['tab2'] = array( '#type' => 'tabpage', '#title' => t('Audio'), '#url' => base_path().'ajax/nodelist/audio', '#target' => 'media_tab', ); and it magically makes this tab link load the content via Ajax. OK, someone else wrote this code, but anyhow it works. I tried to do the same thing with the D6 tabs module (now not part of jstools) but no Ajax happens. :( There is also the magictabs module, but AFAICT that module creates all the content for all the nodes when the page is called, as opposed to what I want, which is to only generate the content for each node when it's requested, via a callback. I could write some jQuery code to do this myself I suppose, but I was wondering if there's a module that does this or if I the tabs module can do this? Thanks From bamlhs at hotmail.com Mon Mar 16 19:29:29 2009 From: bamlhs at hotmail.com (bamlhs at hotmail.com) Date: Mon, 16 Mar 2009 12:29:29 -0700 Subject: [support] Vacation reply In-Reply-To: <177c0a10903161228r69f174e3x7a40d215d2085ab@mail.gmail.com> Message-ID: An HTML attachment was scrubbed... URL: From hans.rossel at koba.be Mon Mar 16 21:22:18 2009 From: hans.rossel at koba.be (KOBA | Hans Rossel) Date: Mon, 16 Mar 2009 22:22:18 +0100 Subject: [support] Ajax Tabs in Drupal 6 In-Reply-To: <177c0a10903161228r69f174e3x7a40d215d2085ab@mail.gmail.com> References: <177c0a10903161228r69f174e3x7a40d215d2085ab@mail.gmail.com> Message-ID: <51a9b8330903161422u1ab0da59t60fde88c79184ba6@mail.gmail.com> Did you try http://drupal.org/project/quicktabs? Hans 2009/3/16 Fred Jones > I have a custom module which I must upgrade from D5 to D6. In D5 I > used the tabs module (part of the jstools module) and code like: > > $form['example1']['tab2'] = array( > '#type' => 'tabpage', > '#title' => t('Audio'), > '#url' => base_path().'ajax/nodelist/audio', > '#target' => 'media_tab', > ); > > and it magically makes this tab link load the content via Ajax. OK, > someone else wrote this code, but anyhow it works. I tried to do the > same thing with the D6 tabs module (now not part of jstools) but no > Ajax happens. :( > > There is also the magictabs module, but AFAICT that module creates all > the content for all the nodes when the page is called, as opposed to > what I want, which is to only generate the content for each node when > it's requested, via a callback. > > I could write some jQuery code to do this myself I suppose, but I was > wondering if there's a module that does this or if I the tabs module > can do this? > > Thanks > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Hans Rossel KOBA Webdevelopment Kerkstraat 228 9050 Gent 09-334.52.60 0472-79.32.16 www.koba.be info at koba.be -------------- next part -------------- An HTML attachment was scrubbed... URL: From bamlhs at hotmail.com Mon Mar 16 21:23:14 2009 From: bamlhs at hotmail.com (bamlhs at hotmail.com) Date: Mon, 16 Mar 2009 14:23:14 -0700 Subject: [support] Vacation reply In-Reply-To: <51a9b8330903161422u1ab0da59t60fde88c79184ba6@mail.gmail.com> Message-ID: An HTML attachment was scrubbed... URL: From fredthejonester at gmail.com Tue Mar 17 12:19:32 2009 From: fredthejonester at gmail.com (Fred Jones) Date: Tue, 17 Mar 2009 14:19:32 +0200 Subject: [support] Ajax Tabs in Drupal 6 In-Reply-To: <51a9b8330903161422u1ab0da59t60fde88c79184ba6@mail.gmail.com> References: <177c0a10903161228r69f174e3x7a40d215d2085ab@mail.gmail.com> <51a9b8330903161422u1ab0da59t60fde88c79184ba6@mail.gmail.com> Message-ID: <177c0a10903170519k4768a741l2a6b4f0bb3344770@mail.gmail.com> > Did you try?http://drupal.org/project/quicktabs? Yes, I did, thanks. I had mistakenly thought that it only supports Views as the content of each tab, but I see that other options are also available. It may just work for me. Thank you. From sjh_drupal at shic.co.uk Tue Mar 17 16:11:16 2009 From: sjh_drupal at shic.co.uk (Steve) Date: Tue, 17 Mar 2009 16:11:16 +0000 Subject: [support] Is there a standard way to do this with CCK/views (etc) - a tutorial would be fantastic... In-Reply-To: <972255370903160757j2315ad38m34b2dc9104377aa9@mail.gmail.com> References: <49BE658E.8090600@shic.co.uk> <972255370903160757j2315ad38m34b2dc9104377aa9@mail.gmail.com> Message-ID: <49BFCBA4.9090207@shic.co.uk> Earnie Boyd wrote: > Administer the Content Type with admin/content/types and add "Create > new revision" under the "Workflow settings" fieldset. Then allow the > users to review and/or revert the revisions in admin/user/permissions > for the Node module. Thanks, I'll have to play around with that some more... Brett Evanson wrote: > You would for sure want to use Revisions (part of core, just need to > set up on each content type. Check out each content type's edit page). > There's a Diff module which will show the differences in each node, > and there is a permission for reverting revisions, too. You could also > look at using revision_moderation if you are wanting to approve each > revision. > Thanks, also for the extra detail... again, I suspect, I will need to spend longer playing around with this stuff - it is, however, very helpful to know that I'm not trying to do something entirely new. In the absence of a tutorial, by any chance, can anyone point me a a web site that uses drupal and revisions - so that I can get a feel for what can be done with the existing framework? Steve From mike at mikeyp.net Tue Mar 17 18:32:03 2009 From: mike at mikeyp.net (Michael Prasuhn) Date: Tue, 17 Mar 2009 11:32:03 -0700 Subject: [support] Is there a standard way to do this with CCK/views (etc) - a tutorial would be fantastic... In-Reply-To: <49BFCBA4.9090207@shic.co.uk> References: <49BE658E.8090600@shic.co.uk> <972255370903160757j2315ad38m34b2dc9104377aa9@mail.gmail.com> <49BFCBA4.9090207@shic.co.uk> Message-ID: <5E59034A-2FD5-4937-8C9C-101F24EA7368@mikeyp.net> On Mar 17, 2009, at 9:11 AM, Steve wrote: > In the absence of a tutorial, by any chance, can anyone point me a a > web site that uses drupal and revisions - so that I can get a feel > for what can be done with the existing framework? Yes, http://drupal.org. For example, see http://drupal.org/node/344141/revisions (click on the view tab at the top of the page to view the current version). -Mike __________________ Michael Prasuhn 503.488.5433 office 714.356.0168 cell 503.661.7574 home mike at mikeyp.net http://mikeyp.net From bamlhs at hotmail.com Tue Mar 17 18:40:57 2009 From: bamlhs at hotmail.com (bamlhs at hotmail.com) Date: Tue, 17 Mar 2009 11:40:57 -0700 Subject: [support] Vacation reply In-Reply-To: <5E59034A-2FD5-4937-8C9C-101F24EA7368@mikeyp.net> Message-ID: An HTML attachment was scrubbed... URL: From roberto at asenseofdesign.com Tue Mar 17 18:32:04 2009 From: roberto at asenseofdesign.com (=?ISO-8859-1?Q?Roberto_Gorj=E3o?=) Date: Tue, 17 Mar 2009 11:32:04 -0700 Subject: [support] Changing from CSS linking to CSS importing Message-ID: <49BFECA4.3030707@asenseofdesign.com> Hi! I need to change the default output from the $styles variable so stylesheets get imported rather than linked to. I mean, changing from this model: to this model: Which would be the best approach to get this done? Thanks in advance! Roberto From bamlhs at hotmail.com Tue Mar 17 19:28:40 2009 From: bamlhs at hotmail.com (bamlhs at hotmail.com) Date: Tue, 17 Mar 2009 12:28:40 -0700 Subject: [support] Vacation reply In-Reply-To: <49BFECA4.3030707@asenseofdesign.com> Message-ID: An HTML attachment was scrubbed... URL: From net at twoedged.org Tue Mar 17 19:39:41 2009 From: net at twoedged.org (John Fletcher) Date: Tue, 17 Mar 2009 20:39:41 +0100 Subject: [support] $cookie_domain not working Message-ID: <001201c9a738$2169aa70$643cff50$@org> I'm using saltwebsites.de to provide the german version of saltwebsites.com. I set $cookie_domain in my settings.php file so that I can preserve logins across domains but it's not working - saltwebsites.de doesn't recognise that I'm logged in on saltwebsites.com. Additionally checking my browser cookies shows that I'm still getting cookies from saltwebsites.de. It seems to be rudely disobeying the setting. Anyone have any idea why that might be? (I only have sites/default/settings.php - no sites set up other than "default"). Fletch -------------- next part -------------- An HTML attachment was scrubbed... URL: From bamlhs at hotmail.com Tue Mar 17 19:40:49 2009 From: bamlhs at hotmail.com (bamlhs at hotmail.com) Date: Tue, 17 Mar 2009 12:40:49 -0700 Subject: [support] Vacation reply In-Reply-To: <001201c9a738$2169aa70$643cff50$@org> Message-ID: An HTML attachment was scrubbed... URL: From hovercrafter at earthlink.net Tue Mar 17 21:00:34 2009 From: hovercrafter at earthlink.net (Jamie Holly) Date: Tue, 17 Mar 2009 17:00:34 -0400 Subject: [support] $cookie_domain not working In-Reply-To: <001201c9a738$2169aa70$643cff50$@org> References: <001201c9a738$2169aa70$643cff50$@org> Message-ID: <49C00F72.9070602@earthlink.net> Since you are changing the tld (top level domain), simply changing $cookie_domain won't work. Browsers won't send out the cookie from one tld to another. The only easy fix would be to setup a subdomain of saltwebsites.com for the German version, something like de.saltwebsites.com and then redirect saltwebsites.de to this new site. Then you can set your cookie_domain to .saltwebsites.com and it would work across all subdomains. Jamie Holly http://www.intoxination.net http://www.hollyit.net John Fletcher wrote: > > I?m using saltwebsites.de to provide the german version of > saltwebsites.com. > > I set $cookie_domain in my settings.php file so that I can preserve > logins across domains but it?s not working ? saltwebsites.de doesn?t > recognise that I?m logged in on saltwebsites.com. Additionally > checking my browser cookies shows that I?m still getting cookies from > saltwebsites.de. It seems to be rudely disobeying the setting. Anyone > have any idea why that might be? (I only have > sites/default/settings.php ? no sites set up other than ?default?). > > Fletch > > ------------------------------------------------------------------------ > > -- > [ Drupal support list | http://lists.drupal.org/ ] From bamlhs at hotmail.com Tue Mar 17 21:01:26 2009 From: bamlhs at hotmail.com (bamlhs at hotmail.com) Date: Tue, 17 Mar 2009 14:01:26 -0700 Subject: [support] Vacation reply In-Reply-To: <49C00F72.9070602@earthlink.net> Message-ID: An HTML attachment was scrubbed... URL: From net at twoedged.org Tue Mar 17 21:12:34 2009 From: net at twoedged.org (John Fletcher) Date: Tue, 17 Mar 2009 22:12:34 +0100 Subject: [support] $cookie_domain not working In-Reply-To: <49C00F72.9070602@earthlink.net> References: <001201c9a738$2169aa70$643cff50$@org> <49C00F72.9070602@earthlink.net> Message-ID: <000901c9a745$1adad1e0$509075a0$@org> > Since you are changing the tld (top level domain), simply changing > $cookie_domain won't work. Browsers won't send out the cookie from one > tld to another. Ahh... that sucks... but thanks for giving me the answer. Yeah previously in such cases I had people just log into each site separately but thought there might be a nice solution. Unfortunately the subdomain technique has other drawbacks that aren't worth it. I don't think I'm going to bother implementing this right now, but in theory... let's say you configured Firefox to "accept third-party cookies" (false by default) could you set a cookie for both domains whenever a person logs in to one of them? Would that solve the problem? Fletch From drupal at lourdas.name Tue Mar 17 21:01:26 2009 From: drupal at lourdas.name (Vasileios Lourdas) Date: Tue, 17 Mar 2009 23:01:26 +0200 Subject: [support] Vacation reply In-Reply-To: References: Message-ID: <200903172301.27007.drupal@lourdas.name> On Tuesday 17 March 2009 21:40:49 bamlhs at hotmail.com wrote: > Thank For your Message I will replay to you as soon as I can ... Am I the only one that is annoyed by these automated replies...? -- # Vasileios Lourdas, # Informatics Engineer, Thessaloniki (Greece) # http://www.lourdas.name From bamlhs at hotmail.com Tue Mar 17 21:16:37 2009 From: bamlhs at hotmail.com (bamlhs at hotmail.com) Date: Tue, 17 Mar 2009 14:16:37 -0700 Subject: [support] Vacation reply In-Reply-To: <200903172301.27007.drupal@lourdas.name> Message-ID: An HTML attachment was scrubbed... URL: From tapocol at gmail.com Tue Mar 17 21:17:58 2009 From: tapocol at gmail.com (Craig Jackson) Date: Tue, 17 Mar 2009 15:17:58 -0600 Subject: [support] Vacation reply In-Reply-To: <200903172301.27007.drupal@lourdas.name> References: <200903172301.27007.drupal@lourdas.name> Message-ID: <49C01386.9080206@gmail.com> Yeah, its annoying me as well. Especially, the misspelling of 'reply'. Vasileios Lourdas wrote: > On Tuesday 17 March 2009 21:40:49 bamlhs at hotmail.com wrote: > >> Thank For your Message I will replay to you as soon as I can ... >> > > Am I the only one that is annoyed by these automated replies...? > From michael.scappa at gmail.com Tue Mar 17 21:18:27 2009 From: michael.scappa at gmail.com (Michael Scappa) Date: Tue, 17 Mar 2009 17:18:27 -0400 Subject: [support] Vacation reply In-Reply-To: <200903172301.27007.drupal@lourdas.name> References: <200903172301.27007.drupal@lourdas.name> Message-ID: <652C785D-1B0E-49BA-BB17-98D4701AE7E6@gmail.com> No. Sent from my iPhone On Mar 17, 2009, at 5:01 PM, Vasileios Lourdas wrote: > On Tuesday 17 March 2009 21:40:49 bamlhs at hotmail.com wrote: >> Thank For your Message I will replay to you as soon as I can ... > > Am I the only one that is annoyed by these automated replies...? > -- > # Vasileios Lourdas, > # Informatics Engineer, Thessaloniki (Greece) > # http://www.lourdas.name > -- > [ Drupal support list | http://lists.drupal.org/ ] From bamlhs at hotmail.com Tue Mar 17 21:18:41 2009 From: bamlhs at hotmail.com (bamlhs at hotmail.com) Date: Tue, 17 Mar 2009 14:18:41 -0700 Subject: [support] Vacation reply In-Reply-To: <49C01386.9080206@gmail.com> Message-ID: An HTML attachment was scrubbed... URL: From hovercrafter at earthlink.net Tue Mar 17 21:26:40 2009 From: hovercrafter at earthlink.net (Jamie Holly) Date: Tue, 17 Mar 2009 17:26:40 -0400 Subject: [support] $cookie_domain not working In-Reply-To: <000901c9a745$1adad1e0$509075a0$@org> References: <001201c9a738$2169aa70$643cff50$@org> <49C00F72.9070602@earthlink.net> <000901c9a745$1adad1e0$509075a0$@org> Message-ID: <49C01590.9030806@earthlink.net> Just allowing third-party cookies won't do the trick. You actually need a module to handle setting the cross-domain cookies. You can try using Shared Sign-On. I've never tried it, but it might work out for you: http://drupal.org/node/50418 Jamie Holly http://www.intoxination.net http://www.hollyit.net John Fletcher wrote: > > Since you are changing the tld (top level domain), simply changing > > $cookie_domain won't work. Browsers won't send out the cookie from one > > tld to another. > > Ahh... that sucks... but thanks for giving me the answer. Yeah previously in > such cases I had people just log into each site separately but thought there > might be a nice solution. > > Unfortunately the subdomain technique has other drawbacks that aren't worth > it. > > I don't think I'm going to bother implementing this right now, but in > theory... let's say you configured Firefox to "accept third-party cookies" > (false by default) could you set a cookie for both domains whenever a person > logs in to one of them? Would that solve the problem? > > Fletch > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > From shai at content2zero.com Tue Mar 17 21:27:22 2009 From: shai at content2zero.com (Shai Gluskin) Date: Tue, 17 Mar 2009 17:27:22 -0400 Subject: [support] Vacation reply In-Reply-To: References: <49C01386.9080206@gmail.com> Message-ID: <9f68efb70903171427j2305fef3o7662e0574777b671@mail.gmail.com> "Especially the spelling of 'reply'" No, the word IS indeed "replay" --- meaning he's going to keep sending and sending and sending... At least he's an honest pain in the .... :) Shai > Thank For your Message I will replay to you as soon as I can ... 2009/3/17 > *Thank For your Message I will replay to you as soon as I can* ... > * > > ????? ??? ??? ???? ?????? ??? ???? ????? ????? ???? ????? .. > * > > *????????? ? ?? ????????? ???? ???? ???? ?? ????? ??? * > * > > ------------------------------------------------------ > * > > > > Eng. Abdulla Awadh Bamelhas > > ?. ??????? ??? ?????? > > > > > > > > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bamlhs at hotmail.com Tue Mar 17 21:28:07 2009 From: bamlhs at hotmail.com (bamlhs at hotmail.com) Date: Tue, 17 Mar 2009 14:28:07 -0700 Subject: [support] Vacation reply In-Reply-To: <9f68efb70903171427j2305fef3o7662e0574777b671@mail.gmail.com> Message-ID: An HTML attachment was scrubbed... URL: From michael.scappa at gmail.com Tue Mar 17 21:29:14 2009 From: michael.scappa at gmail.com (Michael Scappa) Date: Tue, 17 Mar 2009 17:29:14 -0400 Subject: [support] Vacation reply In-Reply-To: <9f68efb70903171427j2305fef3o7662e0574777b671@mail.gmail.com> References: <49C01386.9080206@gmail.com> <9f68efb70903171427j2305fef3o7662e0574777b671@mail.gmail.com> Message-ID: <9E1BBAE1-F076-42F5-BD8A-70DCE44087ED@gmail.com> That was just my hardest laugh of the day. Sent from my iPhone On Mar 17, 2009, at 5:27 PM, Shai Gluskin wrote: > "Especially the spelling of 'reply'" > > No, the word IS indeed "replay" --- meaning he's going to keep > sending and sending and sending... > > At least he's an honest pain in the .... > > :) > > Shai > > > Thank For your Message I will replay to you as soon as I can ... > > > 2009/3/17 > Thank For your Message I will replay to you as soon as I can ... > > ????? ??? ??? ???? ?????? ??? ???? > ????? ????? ???? ????? .. > > ????????? ? ?? ????????? ???? ???? > ???? ?? ????? ??? > > ------------------------------------------------------ > > > > Eng. Abdulla Awadh Bamelhas > > ?. ??????? ??? ?????? > > > > > > > > > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > -- > [ Drupal support list | http://lists.drupal.org/ ] -------------- next part -------------- An HTML attachment was scrubbed... URL: From pwdowling at yahoo.com Tue Mar 17 22:14:42 2009 From: pwdowling at yahoo.com (Peter Dowling) Date: Tue, 17 Mar 2009 18:14:42 -0400 Subject: [support] Is there a standard way to do this with CCK/views (etc) - a tutorial would be fantastic... In-Reply-To: <49BFCBA4.9090207@shic.co.uk> References: <49BE658E.8090600@shic.co.uk> <972255370903160757j2315ad38m34b2dc9104377aa9@mail.gmail.com> <49BFCBA4.9090207@shic.co.uk> Message-ID: <1237328082.6414.1.camel@peterlap> Steve, you may also want to look at the Using Drupal book (O'Reilly press). It has a chapter on creating a Wiki which uses a few modules (but no any of the Wiki modules interestingly) to create this sort of content. Wikis definitely make use of revisions and the diff module and might give you some ideas for collaborative content. Regards, - Peter On Tue, 2009-03-17 at 16:11 +0000, Steve wrote: > Earnie Boyd wrote: > > Administer the Content Type with admin/content/types and add "Create > > new revision" under the "Workflow settings" fieldset. Then allow the > > users to review and/or revert the revisions in admin/user/permissions > > for the Node module. > Thanks, I'll have to play around with that some more... > > Brett Evanson wrote: > > You would for sure want to use Revisions (part of core, just need to > > set up on each content type. Check out each content type's edit page). > > There's a Diff module which will show the differences in each node, > > and there is a permission for reverting revisions, too. You could also > > look at using revision_moderation if you are wanting to approve each > > revision. > > > Thanks, also for the extra detail... again, I suspect, I will need to > spend longer playing around with this stuff - it is, however, very > helpful to know that I'm not trying to do something entirely new. > > In the absence of a tutorial, by any chance, can anyone point me a a web > site that uses drupal and revisions - so that I can get a feel for what > can be done with the existing framework? > > Steve > -- > [ Drupal support list | http://lists.drupal.org/ ] From bamlhs at hotmail.com Tue Mar 17 22:15:34 2009 From: bamlhs at hotmail.com (bamlhs at hotmail.com) Date: Tue, 17 Mar 2009 15:15:34 -0700 Subject: [support] Vacation reply In-Reply-To: <1237328082.6414.1.camel@peterlap> Message-ID: An HTML attachment was scrubbed... URL: From dan at drob.org Tue Mar 17 22:33:21 2009 From: dan at drob.org (Dan Robinson) Date: Tue, 17 Mar 2009 15:33:21 -0700 Subject: [support] Vacation reply In-Reply-To: References: Message-ID: <49C02531.7040203@drob.org> and replay and replay and replay..... > > *Thank For your Message I will replay to you as soon as I can* ... > > * > > *????? ??? ??? ???? ?????? ??? ???? ????? ????? ???? ????? .. * > > * > > *????????? ? ?? ????????? ???? ???? ???? ?? ????? ??? * > > * > > ------------------------------------------------------ > > * > > > > Eng. Abdulla Awadh Bamelhas > > ?. ??????? ??? ?????? > > > > > > > > > > > > ------------------------------------------------------------------------ > > -- > [ Drupal support list | http://lists.drupal.org/ ] -------------- next part -------------- An HTML attachment was scrubbed... URL: From bamlhs at hotmail.com Tue Mar 17 22:39:06 2009 From: bamlhs at hotmail.com (bamlhs at hotmail.com) Date: Tue, 17 Mar 2009 15:39:06 -0700 Subject: [support] Vacation reply In-Reply-To: <49C02531.7040203@drob.org> Message-ID: An HTML attachment was scrubbed... URL: From fredthejonester at gmail.com Wed Mar 18 10:46:35 2009 From: fredthejonester at gmail.com (Fred Jones) Date: Wed, 18 Mar 2009 12:46:35 +0200 Subject: [support] Custom User Login and Error Messages Message-ID: <177c0a10903180346t58178f18v3de31bd57af89fca@mail.gmail.com> I have a Drupal 5 site with a custom login form, using function phptemplate_user_login and user_login.tpl.php. It works fine, but there are two issues. First is that if a user logins on the home page he ends up at site.com/front. This is technically correct as front is the front page. This is how drupal.org works--login on the home page and you end at up http://drupal.org/node . We would like to change this, however, to end up at site.com. I tried: $form['#action'] = base_path(); in both the tpl file and the template.php file but it didn't help. This is not a major issue, but it would be nice. The other one is quite perplexing and is serious. If a user attempts to login from /user and fails then the expected message shows up. If he does the same from the front page, then no message shows up. Both pages use page.tpl.php and the code there is trivial: yet it fails on the home page. Any ideas why that might be? This site was built by someone else, and I looked through the template.php file but I don't see anything which should be killing the message. Thanks. From earnie at users.sourceforge.net Wed Mar 18 11:16:08 2009 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Wed, 18 Mar 2009 07:16:08 -0400 Subject: [support] Custom User Login and Error Messages In-Reply-To: <177c0a10903180346t58178f18v3de31bd57af89fca@mail.gmail.com> References: <177c0a10903180346t58178f18v3de31bd57af89fca@mail.gmail.com> Message-ID: <20090318071608.4zv7iyi4cjwogc40@mail.progw.org> Quoting Fred Jones : > I have a Drupal 5 site with a custom login form, using function > phptemplate_user_login and user_login.tpl.php. It works fine, but > there are two issues. First is that if a user logins on the home page > he ends up at site.com/front. This is technically correct as front is > the front page. This is how drupal.org works--login on the home page > and you end at up http://drupal.org/node . We would like to change > this, however, to end up at site.com. I tried: > Module http://drupal.org/project/logintoboggan may help. It will allow you to redirect to a specified page after login. -- Earnie http://r-feed.com Make a Drupal difference and review core patches. -- http://for-my-kids.com/ -- http://www.4offer.biz/ From fredthejonester at gmail.com Wed Mar 18 12:23:12 2009 From: fredthejonester at gmail.com (Fred Jones) Date: Wed, 18 Mar 2009 14:23:12 +0200 Subject: [support] Custom User Login and Error Messages In-Reply-To: <20090318071608.4zv7iyi4cjwogc40@mail.progw.org> References: <177c0a10903180346t58178f18v3de31bd57af89fca@mail.gmail.com> <20090318071608.4zv7iyi4cjwogc40@mail.progw.org> Message-ID: <177c0a10903180523n6c272e28nadceecfaacbd1fd0@mail.gmail.com> > Module http://drupal.org/project/logintoboggan may help. ?It will allow you > to redirect to a specified page after login. Great. Thanks. :) From bharanikumariyerphp at gmail.com Wed Mar 18 16:27:11 2009 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Wed, 18 Mar 2009 21:57:11 +0530 Subject: [support] How pass the parameter for form Message-ID: <2240033d0903180927r2f50ca03l2ab7fb710792223a@mail.gmail.com> This is my snippet how to pass the argument for the form function , Below is the sample one, but not working,can u make it work, $output[] .=drupal_get_form('username_form','$usernameID','$username'); function username_form(&$node, $form_values){ $form['userName'] = array( '#type' => 'select', '#title' => t('User Name'), '#options' => array( $usernameID => '$username', ), '#default_value' => '1', '#description' => t(''), '#required' => TRUE ); return $form; } -- ?????? ?????? ???? ?????? Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyerphp.site88.net/bharanikumar/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From frio at yandex.ru Wed Mar 18 17:41:03 2009 From: frio at yandex.ru (frio_at_yandex) Date: Wed, 18 Mar 2009 23:41:03 +0600 Subject: [support] How pass the parameter for form In-Reply-To: <2240033d0903180927r2f50ca03l2ab7fb710792223a@mail.gmail.com> References: <2240033d0903180927r2f50ca03l2ab7fb710792223a@mail.gmail.com> Message-ID: <49C1322F.8010502@yandex.ru> bharani kumar: > > This is my snippet > > how to pass the argument for the form function , > > Below is the sample one, but not working,can u make it work, > > $output[] .=drupal_get_form('username_form','$usernameID','$username'); > > > > function username_form(&$node, $form_values){ > $form['userName'] = array( > '#type' => 'select', > '#title' => t('User Name'), > '#options' => array( > $usernameID => '$username', > ), > '#default_value' => '1', > '#description' => t(''), > '#required' => TRUE > ); > return $form; > > } Try not to use single quotes for variables. Like this: $output[] .= drupal_get_form('username_form', $usernameID, $username); -------------- next part -------------- An HTML attachment was scrubbed... URL: From johnny.xiao at Q1Labs.com Wed Mar 18 18:32:14 2009 From: johnny.xiao at Q1Labs.com (Johnny Xiao) Date: Wed, 18 Mar 2009 15:32:14 -0300 Subject: [support] is it possible to merge attachment search result to core search module In-Reply-To: References: <493FE122.5060800@zmsl.com> <493FE383.5080903@funnymonkey.com> <493FE774.6060607@partialflow.com> <493FE942.3090302@zmsl.com> <493FECA4.8050900@torchbox.com> <007901c95ae5$88141d40$983c57c0$@com><493FF474.9070808@zmsl.com><49421312.3090008@funnymonkey.com> Message-ID: I am trying to merge result of swish module to core search result. I am using module_load_include to include swish.module file, then I call function swish_search to get the search result. So far, I have no luck to populate the result from swish.module. Am I missing something or this approach is not feasible. Thanks for any hints or suggestions. From luca.capra at gmail.com Wed Mar 18 19:16:51 2009 From: luca.capra at gmail.com (luca capra) Date: Wed, 18 Mar 2009 20:16:51 +0100 Subject: [support] module print 6.x In-Reply-To: <49C1322F.8010502@yandex.ru> References: <2240033d0903180927r2f50ca03l2ab7fb710792223a@mail.gmail.com> <49C1322F.8010502@yandex.ru> Message-ID: <49C148A3.9040605@gmail.com> I've installed properly the module, it works.. but when trying to follow link to pdf from a custom node type (with a lot of cck fields [i guess could be the cause?]) I get a timeout error. Maximum execution time of 60 seconds exceeded in */home/lu/www/drupal/6/sites/all/modules/print/dompdf-0.5.1/include/text_frame_reflower.cls.php* on line *90 * and then tried with 360s : Maximum execution time of 360 seconds ... on line *3753 ** *Does somebody can give me an hint ? thanks in advice, Luca From fredthejonester at gmail.com Thu Mar 19 09:54:06 2009 From: fredthejonester at gmail.com (Fred Jones) Date: Thu, 19 Mar 2009 11:54:06 +0200 Subject: [support] D6 hook_menu Message-ID: <177c0a10903190254w15d8195djd1a5848b82330223@mail.gmail.com> I have looked through the docs about this but I don't understand how this works. I want to send URLs of the type foo/% and also foo/%/% to the same function, but it seems to me that I must use $items['foo/%'] = array( and $items['foo/%/%'] = array( Using just one or the other is failing for me. Am I missing something or is this how it must be done? Two different items? Thanks. From earnie at users.sourceforge.net Thu Mar 19 12:19:57 2009 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Thu, 19 Mar 2009 08:19:57 -0400 Subject: [support] D6 hook_menu In-Reply-To: <177c0a10903190254w15d8195djd1a5848b82330223@mail.gmail.com> References: <177c0a10903190254w15d8195djd1a5848b82330223@mail.gmail.com> Message-ID: <20090319081957.phwhd2gnegiswcgg@mail.progw.org> Quoting Fred Jones : > I have looked through the docs about this but I don't understand how > this works. I want to send URLs of the type foo/% and also foo/%/% to > the same function, but it seems to me that I must use > > $items['foo/%'] = array( > > and > > $items['foo/%/%'] = array( > > Using just one or the other is failing for me. Am I missing something > or is this how it must be done? Two different items? > Yes, that is how it's done. For the sample you give above you also want to pass 'page arguments' => array(1) to the foo/% item and 'page arguments' => array(1, 2) to the foo/%/% item. -- Earnie http://r-feed.com Make a Drupal difference and review core patches. -- http://for-my-kids.com/ -- http://www.4offer.biz/ From bharanikumariyerphp at gmail.com Thu Mar 19 12:21:08 2009 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Thu, 19 Mar 2009 17:51:08 +0530 Subject: [support] How make the block visible lef region as default Message-ID: <2240033d0903190521u7bf8ac00i3cb0659a15f41ac5@mail.gmail.com> How to make custom block , by default left region, this is my snippet t('Contact Us Block'),'weight' => 0, 'enabled' => 1, 'region' => 'left'); return $blocks; } else if ($op == 'view') { $ganesh = "weclome"; $block['content'] = $ganesh; return $block; } } function contactus_perm() { return array('access contactus', 'create contactus', 'administer contactus'); } -- ?????? ?????? ???? ?????? Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyerphp.site88.net/bharanikumar/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From denis.lafont at gmail.com Thu Mar 19 12:26:41 2009 From: denis.lafont at gmail.com (Denis Lafont-Trevisan) Date: Thu, 19 Mar 2009 13:26:41 +0100 Subject: [support] 2 MySQL connection for 1 HTTP request Message-ID: <51182f4c0903190526o6d18ce22g5b529daf0f528e5f@mail.gmail.com> Hi all, I have one project where we have 2 Drupal 5.2 front end (Apached) and one MySQL server. For each HTTP connection, we have 2 MYSQL connection. Any clue why? Thanks, Denis -------------- next part -------------- An HTML attachment was scrubbed... URL: From fredthejonester at gmail.com Thu Mar 19 12:28:39 2009 From: fredthejonester at gmail.com (Fred Jones) Date: Thu, 19 Mar 2009 14:28:39 +0200 Subject: [support] D6 hook_menu In-Reply-To: <20090319081957.phwhd2gnegiswcgg@mail.progw.org> References: <177c0a10903190254w15d8195djd1a5848b82330223@mail.gmail.com> <20090319081957.phwhd2gnegiswcgg@mail.progw.org> Message-ID: <177c0a10903190528s493a597cl5bb767c56a0fa3b9@mail.gmail.com> > Yes, that is how it's done. ?For the sample you give above you also want to > pass 'page arguments' => array(1) to the foo/% item and 'page arguments' => > array(1, 2) to the foo/%/% item. Yes, that's also what I have. OK, thanks. :) From cjones at partialflow.com Thu Mar 19 18:04:40 2009 From: cjones at partialflow.com (Christopher M. Jones) Date: Thu, 19 Mar 2009 14:04:40 -0400 Subject: [support] Programmatically adding cck field to module defined content type Message-ID: <49C28938.3000005@partialflow.com> I did search for this, but I'm still finding my way around the various resources and the answer is not clear to me. Can anybody tell me, or point me to documentation that tells me, how to add a cck field into a content type I'm creating from my module? I want to add a multi-value nodereference autoselelect field from my implementation of hook_form(). Or should I be doing it from hook_nodeapi()? Where / how do I do this in my .module file? From sjh_drupal at shic.co.uk Thu Mar 19 19:06:16 2009 From: sjh_drupal at shic.co.uk (Steve) Date: Thu, 19 Mar 2009 19:06:16 +0000 Subject: [support] Is there a standard way to do this with CCK/views (etc) - a tutorial would be fantastic... In-Reply-To: <1237328082.6414.1.camel@peterlap> References: <49BE658E.8090600@shic.co.uk> <972255370903160757j2315ad38m34b2dc9104377aa9@mail.gmail.com> <49BFCBA4.9090207@shic.co.uk> <1237328082.6414.1.camel@peterlap> Message-ID: <49C297A8.8030703@shic.co.uk> Peter Dowling wrote: > Steve, you may also want to look at the Using Drupal book (O'Reilly > press). It has a chapter on creating a Wiki which uses a few modules > (but no any of the Wiki modules interestingly) to create this sort of > content. Wikis definitely make use of revisions and the diff module and > might give you some ideas for collaborative content. If that book is recommended, I guess I'll need to order a copy... I've kept an eye out at my local bookshop (as I'd prefer to have a glance through before parting with cash...) but haven't taken the plunge. The big challenge that I see is with respect to the structure I want to impose on the content. While I don't want to chose an implementation strategy prematurely, it feels as if I want to manage pages conforming to an extensible (and backwardly compatible) verified XML schema... and to, somehow, keep track of ownership and edit history. It seems such an obvious thing to want to do... Steve From cxjohnson at gmail.com Thu Mar 19 21:09:21 2009 From: cxjohnson at gmail.com (Chris Johnson) Date: Thu, 19 Mar 2009 16:09:21 -0500 Subject: [support] Programmatically adding cck field to module defined content type In-Reply-To: <49C28938.3000005@partialflow.com> References: <49C28938.3000005@partialflow.com> Message-ID: <9ea8d6030903191409se250de3x6048deccfa1247bd@mail.gmail.com> Here's a web page that might help you: http://www.worxco.com/blog/cck-export-node-modules If your content type is not a node type, it will probably be more difficult, since the above page talks about exporting a CCK-decorated (i.e. custom content type) node, and using that in your module to define the content type. Good luck. In my experience, CCK is the most frustrating code in common Drupal use. ..chris On Thu, Mar 19, 2009 at 1:04 PM, Christopher M. Jones wrote: > I did search for this, but I'm still finding my way around the various > resources and the answer is not clear to me. Can anybody tell me, or point > me to documentation that tells me, how to add a cck field into a content > type I'm creating from my module? > > I want to add a multi-value nodereference autoselelect field from my > implementation of hook_form(). Or should I be doing it from hook_nodeapi()? > Where / how do I do this in my .module file? > -- > [ Drupal support list | http://lists.drupal.org/ ] > From pwdowling at yahoo.com Thu Mar 19 23:37:37 2009 From: pwdowling at yahoo.com (Peter Dowling) Date: Thu, 19 Mar 2009 19:37:37 -0400 Subject: [support] Is there a standard way to do this with CCK/views (etc) - a tutorial would be fantastic... In-Reply-To: <49C297A8.8030703@shic.co.uk> References: <49BE658E.8090600@shic.co.uk> <972255370903160757j2315ad38m34b2dc9104377aa9@mail.gmail.com> <49BFCBA4.9090207@shic.co.uk> <1237328082.6414.1.camel@peterlap> <49C297A8.8030703@shic.co.uk> Message-ID: <1237505857.6361.2.camel@peterlap> You'll have to experiment with some different options. I don't know about the XML part. But CCK does support fields so you can control the structure. If you need some sort of parent to children (one to many) then look at some of the ways that people use nodereference fields. And diff modules will allow users to see differences between revisions to the field level (and taxonomy as well I think). The pieces are all there for you I think. - Peter On Thu, 2009-03-19 at 19:06 +0000, Steve wrote: > Peter Dowling wrote: > > Steve, you may also want to look at the Using Drupal book (O'Reilly > > press). It has a chapter on creating a Wiki which uses a few modules > > (but no any of the Wiki modules interestingly) to create this sort of > > content. Wikis definitely make use of revisions and the diff module and > > might give you some ideas for collaborative content. > If that book is recommended, I guess I'll need to order a copy... I've > kept an eye out at my local bookshop (as I'd prefer to have a glance > through before parting with cash...) but haven't taken the plunge. > > The big challenge that I see is with respect to the structure I want to > impose on the content. While I don't want to chose an implementation > strategy prematurely, it feels as if I want to manage pages conforming > to an extensible (and backwardly compatible) verified XML schema... and > to, somehow, keep track of ownership and edit history. It seems such an > obvious thing to want to do... > > Steve > > -- > [ Drupal support list | http://lists.drupal.org/ ] From net at twoedged.org Fri Mar 20 08:25:36 2009 From: net at twoedged.org (John Fletcher) Date: Fri, 20 Mar 2009 09:25:36 +0100 Subject: [support] Next and last menu item Message-ID: <000b01c9a935$76059d10$6210d730$@org> I've got a standard navigation-type menu with my pages in it, and a requirement to show a kind of "back and forward arrow" on each page in Drupal 6. The back arrow takes you to the previous page in the menu and the forward arrow takes you to the next page in the menu, and the title of the relevant page is printed next to the arrows. Like: Home <- | -> About us The "previous page" means the previous sibling menu item or if none, parent item. The "next page" mean the child menu item or, if none, next sibling item, or if none, next sibling of parent item. I had a look around the menu API but can't put my finger on the most efficient way to do this. Anyone know? Regards, Fletch From Robin.Clarke at networkrail.co.uk Fri Mar 20 10:53:35 2009 From: Robin.Clarke at networkrail.co.uk (Clarke Robin) Date: Fri, 20 Mar 2009 10:53:35 -0000 Subject: [support] Next and last menu item In-Reply-To: <000b01c9a935$76059d10$6210d730$@org> Message-ID: This is probably not the most efficient way to do this, but maybe this will give some ideas. I did this in a custom Drupal 5 theme. This is slightly different to your requirement, in that there is no "Next" link shown if we are the last sibling. (And same for the "Previous" link.) robin ======================================================================== ======= In node-.tpl.php ======================================================================== ======= path); ?> or path); ?> ======================================================================== ======= In template.php ======================================================================== ======= /** * Returns an array of the paths of all the nodes with the same parent menu item * as the current_path. */ function _get_sibling_paths($current_path) { $paths = array(); // Find the Parent ID (pid) of this menu item. $sql = "select m.pid from {menu} m, {url_alias} u where m.path = u.src and u.dst = '" . $current_path . "'"; $menu_pid = db_result(db_query($sql)); // Use the pid to find all paths $sql = "select m.mid, m.pid, m.path, u.dst from {menu} m, {url_alias} u where m.path = u.src and m.pid = " . $menu_pid . " order by m.weight"; $result = db_query(db_rewrite_sql($sql)); while ($data = db_fetch_object($result)) { $paths[] = $data->dst; } return $paths; } function get_next_link($current_path) { $next_path; $paths = _get_sibling_paths($current_path); foreach ($paths as $path) { if ($found) { $next_path = $path; break; } if (strcmp($path,$current_path) == 0) { $found = true; } } if (isset($next_path)) { return l('Next', $next_path, null, null, null, null, true); } return ""; } function get_prev_link($current_path) { $prev_path; $paths = _get_sibling_paths($current_path); foreach ($paths as $path) { if (strcmp($path,$current_path) == 0) { break; } $prev_path = $path; } if (isset($prev_path)) { return l('Previous', $prev_path, null, null, null, null, true); } return 'Previous'; } ======================================================================== ======= -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of John Fletcher Sent: 20 March 2009 08:26 To: support at drupal.org Subject: [support] Next and last menu item I've got a standard navigation-type menu with my pages in it, and a requirement to show a kind of "back and forward arrow" on each page in Drupal 6. The back arrow takes you to the previous page in the menu and the forward arrow takes you to the next page in the menu, and the title of the relevant page is printed next to the arrows. Like: Home <- | -> About us The "previous page" means the previous sibling menu item or if none, parent item. The "next page" mean the child menu item or, if none, next sibling item, or if none, next sibling of parent item. I had a look around the menu API but can't put my finger on the most efficient way to do this. Anyone know? Regards, Fletch -- [ Drupal support list | http://lists.drupal.org/ ] **************************************************************************************************************************************************************** The content of this email (and any attachment) is confidential. It may also be legally privileged or otherwise protected from disclosure. This email should not be used by anyone who is not an original intended recipient, nor may it be copied or disclosed to anyone who is not an original intended recipient. If you have received this email by mistake please notify us by emailing the sender, and then delete the email and any copies from your system. Liability cannot be accepted for statements made which are clearly the senders own and not made on behalf of Network Rail. Network Rail Infrastructure Limited registered in England and Wales No. 2904587, registered office Kings Place, 90 York Way London N1 9AG **************************************************************************************************************************************************************** From bharanikumariyerphp at gmail.com Fri Mar 20 11:04:19 2009 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Fri, 20 Mar 2009 16:34:19 +0530 Subject: [support] load combo value Message-ID: <2240033d0903200404k73a11ff0h96937c8ee1177e46@mail.gmail.com> function customblock_form(){ print $userQuery = "SELECT name,uid FROM users WHERE uid>0"; $queryAFFT = db_query($userQuery); $site_users=array(); while($userNameId=db_fetch_object($queryAFFT)){ array_push($site_usersid,$userNameId->uid); array_push($site_users,$userNameId->name); } $form['guest'] = array( '#type' => 'select', '#title' => t('Guests'), '#options'=>array($site_usersid=>$site_users), '#default_value' => '1', '#description' => t('Select User'), ); return $form; } This is my combo Code, am loading the username, When i select user,then , that user posted story or pages need load into another combo, using ajax , This is my custom block, Thanks -- ?????? ?????? ???? ?????? Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyerphp.site88.net/bharanikumar/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From bharanikumariyerphp at gmail.com Fri Mar 20 11:44:10 2009 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Fri, 20 Mar 2009 17:14:10 +0530 Subject: [support] Error : This version is incompatible with the 6.1 version of Drupal core. Message-ID: <2240033d0903200444x2ecd626fj4b949f55e0ce4eb@mail.gmail.com> Hi, I created the custom block in drupal6.1 but in admin/module page , the custom module show the message as This version is incompatible with the 6.1 version of Drupal core. with Corss image symbol in the check box -- ?????? ?????? ???? ?????? Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyerphp.site88.net/bharanikumar/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From sivaji2009 at gmail.com Fri Mar 20 11:57:17 2009 From: sivaji2009 at gmail.com (sivaji j.g) Date: Fri, 20 Mar 2009 17:27:17 +0530 Subject: [support] Error : This version is incompatible with the 6.1 version of Drupal core. In-Reply-To: <2240033d0903200444x2ecd626fj4b949f55e0ce4eb@mail.gmail.com> References: <2240033d0903200444x2ecd626fj4b949f55e0ce4eb@mail.gmail.com> Message-ID: 2009/3/20 bharani kumar > This version is incompatible with the 6.1 version of Drupal core. with Corss image symbol in the check box Check whether Your module.info file has these entries name = description = package = core = -- Thanks a lot ----------------------------------------- http://ubuntuslave.blogspot.com/ From bharanikumariyerphp at gmail.com Fri Mar 20 12:11:53 2009 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Fri, 20 Mar 2009 17:41:53 +0530 Subject: [support] Error : This version is incompatible with the 6.1 version of Drupal core. In-Reply-To: References: <2240033d0903200444x2ecd626fj4b949f55e0ce4eb@mail.gmail.com> Message-ID: <2240033d0903200511u407aa96ds821e10d884f68356@mail.gmail.com> yes, problem Fixed On Fri, Mar 20, 2009 at 5:27 PM, sivaji j.g wrote: > 2009/3/20 bharani kumar > > This version is incompatible with the 6.1 version of Drupal core. with > Corss image symbol in the check box > > Check whether Your module.info file has these entries > > name = > description = > package = > core = > > -- > Thanks a lot > ----------------------------------------- > http://ubuntuslave.blogspot.com/ > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- ?????? ?????? ???? ?????? Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyerphp.site88.net/bharanikumar/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From bharanikumariyerphp at gmail.com Fri Mar 20 13:17:23 2009 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Fri, 20 Mar 2009 18:47:23 +0530 Subject: [support] AES (disabled), File (missing), File_attach (missing) Message-ID: <2240033d0903200617v6231eadej2eb8592f450ae198@mail.gmail.com> hi I have surfed the drupal.org, Am not find any where these two modules, File (missing), File_attach (missing) Can u please tell me the URL link for these File (missing), File_attach ( missing) modules Thanks -- ?????? ?????? ???? ?????? Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyerphp.site88.net/bharanikumar/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From itsthateasy at dirtsimple.net Fri Mar 20 14:13:07 2009 From: itsthateasy at dirtsimple.net (Cosmo) Date: Fri, 20 Mar 2009 09:13:07 -0500 Subject: [support] Database problem (I think) causing Extended Profile tabs not to show Message-ID: My extended profile tabs are not showing on one of my sites and I think it has something to do with the database. Here's what I've done. I'm running D5 and the only thing I've done regarding theming is some very minor font size modifications to Garland to create my PersonalGarland. Which I've stored in sites/all/theme/tightgarland. Here's the debug process so far based on what I could find at drupal.org: I switched to a core theme. First, I switched from my personal version of Garland (PG) to core Garland. Tabs still did not show. Next, I switched to Bluemarine - Tabs did show, but much of my site is a mess. (which is understandable) Next, I have two sites that run this very same PG theme with nearly the same modules, and site 2 works fine showing all profile tabs (base and extended). So, I tried this: 1) I replaced the PG theme code of the site not showing the tabs (SiteBroken) with the PG theme code of the site that works fine (SiteOK). I then cleared all cache tables. (Tabs didn't show in SiteBroken) 2) I replaced the PG theme code of SiteOK with the PG theme code of SiteBroken. (Tabs still show fine in SiteOk) so I'm now thinking it's not the theme code, which lead me to investigate the db. 3) I pointed SiteOK's db via settings.php to the db of SiteBroken. (Tabs now don't show in SiteOk) 4) I pointed SiteBroken's db via settings.php to the db of SiteOk. (Tabs now show find in SiteBroken) Now I thought it might be a formatting issue with a header? So I erased all headers and slogans. (Tabs still don't show) The site looks and run perfectly fine except for one very small annoyance which might be related. On each of the following add pages I get the word "Consume!" where I should see the type of item being added, also on these pages "Consume!" is showing up in my Title Bar of the browser. The pages are: admin/user/rules/add admin/user/user/create admin/build/contact/add admin/content/taxonomy/add/vocabulary admin/build/menu/menu/add admin/build/block/add admin/build/views/add (on this page the word Consume! does not show on the page or in the title bar) I've exhausted everything I can think of. Any suggestions on what I look for now? thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From itsthateasy at dirtsimple.net Fri Mar 20 15:43:53 2009 From: itsthateasy at dirtsimple.net (Cosmo) Date: Fri, 20 Mar 2009 10:43:53 -0500 Subject: [support] Database problem (I think) causing Extended Profile tabs not to show Message-ID: (I am sorry if this is a duplicate send, but I think something went wrong with the first send as I've not seen it in the list.) My extended profile tabs are not showing on one of my sites and I think it has something to do with the database. Here's what I've done. I'm running D5 and the only thing I've done regarding theming is some very minor font size modifications to Garland to create my PersonalGarland. Which I've stored in sites/all/theme/tightgarland. Here's the debug process so far based on what I could find at drupal.org: I switched to a core theme. First, I switched from my personal version of Garland (PG) to core Garland. Tabs still did not show. Next, I switched to Bluemarine - Tabs did show, but much of my site is a mess. (which is understandable) Next, I have two sites that run this very same PG theme with nearly the same modules, and site 2 works fine showing all profile tabs (base and extended). So, I tried this: 1) I replaced the PG theme code of the site not showing the tabs (SiteBroken) with the PG theme code of the site that works fine (SiteOK). I then cleared all cache tables. (Tabs didn't show in SiteBroken) 2) I replaced the PG theme code of SiteOK with the PG theme code of SiteBroken. (Tabs still show fine in SiteOk) so I'm now thinking it's not the theme code, which lead me to investigate the db. 3) I pointed SiteOK's db via settings.php to the db of SiteBroken. (Tabs now don't show in SiteOk) 4) I pointed SiteBroken's db via settings.php to the db of SiteOk. (Tabs now show find in SiteBroken) Now I thought it might be a formatting issue with a header? So I erased all headers and slogans. (Tabs still don't show) The site looks and run perfectly fine except for one very small annoyance which might be related. On each of the following add pages I get the word "Consume!" where I should see the type of item being added, also on these pages "Consume!" is showing up in my Title Bar of the browser. The pages are: admin/user/rules/add admin/user/user/create admin/build/contact/add admin/content/taxonomy/add/vocabulary admin/build/menu/menu/add admin/build/block/add admin/build/views/add (on this page the word Consume! does not show on the page or in the title bar) I've exhausted everything I can think of. Any suggestions on what I look for now? thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From iom at netvision.net.il Fri Mar 20 15:56:51 2009 From: iom at netvision.net.il (Moses Elias) Date: Fri, 20 Mar 2009 17:56:51 +0200 Subject: [support] Links Available "Conditionally" Within the Same Block In-Reply-To: Message-ID: <0KGT003VTAYJWK90@mxout5.netvision.net.il> I have a block in a sidebar with 3 menu items. Call them A, B, and C. 1) A is available to authenticated users. It allows them to create new groups once they are authenticated. Creating a group automatically promotes the creator to being a group member and a group admin. 2) B is available to authenticated users, who are members of or have created one group at least. It allows them to post to a group. 3) C is available to authenticated users, who are members of or have created one group at least. It allows them to invite users to the group. How do I conditionally give authenticated users access to links on the basis of their roles within the same block (and not separate blocks)? What I have found so far is that either the entire block is visible or invisible. What I want instead is that some of the links should be present under certain conditions while at other times not. Moses -------------- next part -------------- An HTML attachment was scrubbed... URL: From william.darren at gmail.com Fri Mar 20 15:59:15 2009 From: william.darren at gmail.com (William Smith) Date: Fri, 20 Mar 2009 11:59:15 -0400 Subject: [support] Links Available "Conditionally" Within the Same Block In-Reply-To: <0KGT003VTAYJWK90@mxout5.netvision.net.il> References: <0KGT003VTAYJWK90@mxout5.netvision.net.il> Message-ID: <74630ca20903200859rdb31aedn81acef6786ed207e@mail.gmail.com> You'll most likely need to use some PHP in your block contents to conditionally check on role / group membership. 2009/3/20 Moses Elias > I have a block in a sidebar with 3 menu items. Call them A, B, and C. > > > > 1) A is available to authenticated users. It allows them to create new > groups once they are authenticated. Creating a group automatically promotes > the creator to being a group member and a group admin. > > > > 2) B is available to authenticated users, who are members of or have > created one group at least. It allows them to post to a group. > > > > 3) C is available to authenticated users, who are members of or have > created one group at least. It allows them to invite users to the group. > > > > How do I conditionally give authenticated users access to links on the > basis of their roles within the same block (and not separate blocks)? > > > > What I have found so far is that either the entire block is visible or > invisible. What I want instead is that some of the links should be present > under certain conditions while at other times not. > > > > Moses > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From john.callahan at UDel.Edu Fri Mar 20 16:08:54 2009 From: john.callahan at UDel.Edu (John Callahan) Date: Fri, 20 Mar 2009 12:08:54 -0400 Subject: [support] Links Available "Conditionally" Within the Same Block In-Reply-To: <0KGT003VTAYJWK90@mxout5.netvision.net.il> References: <0KGT003VTAYJWK90@mxout5.netvision.net.il> Message-ID: <49C3BF96.2020007@udel.edu> If these links went to actual pages (that contained more information, integrated web forms, additional links), then you can set access controls to those pages, such as through Content Access/ACL. I am not sure but I think the Drupal menu system will take the page permissions into account before displaying the menu links. I could be wrong though. - John ************************************************** John Callahan Geospatial Application Developer Delaware Geological Survey, University of Delaware 227 Academy St, Newark DE 19716-7501 Tel: (302) 831-3584 Email: john.callahan at udel.edu http://www.dgs.udel.edu ************************************************** Moses Elias wrote: > > I have a block in a sidebar with 3 menu items. Call them A, B, and C. > > > > 1) A is available to authenticated users. It allows them to create > new groups once they are authenticated. Creating a group automatically > promotes the creator to being a group member and a group admin. > > > > 2) B is available to authenticated users, who are members of or have > created one group at least. It allows them to post to a group. > > > > 3) C is available to authenticated users, who are members of or have > created one group at least. It allows them to invite users to the group. > > > > How do I conditionally give authenticated users access to links on the > basis of their roles within the same block (and not separate blocks)? > > > > What I have found so far is that either the entire block is visible or > invisible. What I want instead is that some of the links should be > present under certain conditions while at other times not. > > > > Moses > > > > ------------------------------------------------------------------------ > > -- > [ Drupal support list | http://lists.drupal.org/ ] -------------- next part -------------- An HTML attachment was scrubbed... URL: From iom at netvision.net.il Fri Mar 20 16:11:22 2009 From: iom at netvision.net.il (Moses Elias) Date: Fri, 20 Mar 2009 18:11:22 +0200 Subject: [support] Links Available "Conditionally" Within the Same Block In-Reply-To: <74630ca20903200859rdb31aedn81acef6786ed207e@mail.gmail.com> Message-ID: <0KGT00JUMBMO8400@mxout5.netvision.net.il> Will said: >> You'll most likely need to use some PHP in your block contents to conditionally check on role / group membership. Thanks for your reply Will. But how do I programmatically refer to individual links within a block? I haven't seen any code like that anywhere. Moses _____ From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of William Smith Sent: Friday, March 20, 2009 5:59 PM To: support at drupal.org Subject: Re: [support] Links Available "Conditionally" Within the Same Block 2009/3/20 Moses Elias I have a block in a sidebar with 3 menu items. Call them A, B, and C. 1) A is available to authenticated users. It allows them to create new groups once they are authenticated. Creating a group automatically promotes the creator to being a group member and a group admin. 2) B is available to authenticated users, who are members of or have created one group at least. It allows them to post to a group. 3) C is available to authenticated users, who are members of or have created one group at least. It allows them to invite users to the group. How do I conditionally give authenticated users access to links on the basis of their roles within the same block (and not separate blocks)? What I have found so far is that either the entire block is visible or invisible. What I want instead is that some of the links should be present under certain conditions while at other times not. Moses -- [ Drupal support list | http://lists.drupal.org/ ] -------------- next part -------------- An HTML attachment was scrubbed... URL: From iom at netvision.net.il Fri Mar 20 16:22:09 2009 From: iom at netvision.net.il (Moses Elias) Date: Fri, 20 Mar 2009 18:22:09 +0200 Subject: [support] Links Available "Conditionally" Within the Same Block In-Reply-To: <49C3BF96.2020007@udel.edu> Message-ID: <0KGT00JD5C4X8920@mxout5.netvision.net.il> John said: >> If these links went to actual pages (that contained more information, integrated web forms, additional links), then you can set >> access controls to those pages, such as through Content Access/ACL. I am not sure but I think the Drupal menu system will >> take the page permissions into account before displaying the menu links. I could be wrong though. Unfortunately Drupal isn't so straightforward as to provide a one to one relationship between an accessible/inaccessible node and the permissions page (which would have been great). One has to fiddle and experiment for quite some time before the relationship is clear sometimes. Besides the path to the nodes in question are defined through a View (and not a page) and so I believe Content Access/ACL will be redundant. How do you grant access to a _View_ based on role? Is there a way? Please correct me if I am wrong? Moses _____ From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of John Callahan Sent: Friday, March 20, 2009 6:09 PM To: support at drupal.org Subject: Re: [support] Links Available "Conditionally" Within the Same Block If these links went to actual pages (that contained more information, integrated web forms, additional links), then you can set access controls to those pages, such as through Content Access/ACL. I am not sure but I think the Drupal menu system will take the page permissions into account before displaying the menu links. I could be wrong though. - John ************************************************** John Callahan Geospatial Application Developer Delaware Geological Survey, University of Delaware 227 Academy St, Newark DE 19716-7501 Tel: (302) 831-3584 Email: john.callahan at udel.edu http://www.dgs.udel.edu ************************************************** Moses Elias wrote: I have a block in a sidebar with 3 menu items. Call them A, B, and C. 1) A is available to authenticated users. It allows them to create new groups once they are authenticated. Creating a group automatically promotes the creator to being a group member and a group admin. 2) B is available to authenticated users, who are members of or have created one group at least. It allows them to post to a group. 3) C is available to authenticated users, who are members of or have created one group at least. It allows them to invite users to the group. How do I conditionally give authenticated users access to links on the basis of their roles within the same block (and not separate blocks)? What I have found so far is that either the entire block is visible or invisible. What I want instead is that some of the links should be present under certain conditions while at other times not. Moses _____ -- [ Drupal support list | http://lists.drupal.org/ ] -------------- next part -------------- An HTML attachment was scrubbed... URL: From john.callahan at UDel.Edu Fri Mar 20 16:24:56 2009 From: john.callahan at UDel.Edu (John Callahan) Date: Fri, 20 Mar 2009 12:24:56 -0400 Subject: [support] Links Available "Conditionally" Within the Same Block In-Reply-To: <0KGT00JD5C4X8920@mxout5.netvision.net.il> References: <0KGT00JD5C4X8920@mxout5.netvision.net.il> Message-ID: <49C3C358.9040005@udel.edu> I'm not if it will solve your problem but Views can be restricted to roles. When editing a view, check the Access item under Basic Settings. - John ************************************************** John Callahan Geospatial Application Developer Delaware Geological Survey, University of Delaware 227 Academy St, Newark DE 19716-7501 Tel: (302) 831-3584 Email: john.callahan at udel.edu http://www.dgs.udel.edu ************************************************** Moses Elias wrote: > > John said: > > >> If these links went to actual pages (that contained more > information, integrated web forms, additional links), then you can set > >> access controls to those pages, such as through Content > Access/ACL. I am not sure but I think the Drupal menu system will >> > take the page permissions into account before displaying the menu > links. I could be wrong though. > > > > Unfortunately Drupal isn't so straightforward as to provide a one to > one relationship between an accessible/inaccessible node and the > permissions page (which would have been great). One has to fiddle and > experiment for quite some time before the relationship is clear > sometimes. > > > > Besides the path to the nodes in question are defined through a View > (and not a page) and so I believe Content Access/ACL will be > redundant. How do you grant access to a _/View/_ based on role? Is > there a way? Please correct me if I am wrong? > > > > Moses > > > > > > ------------------------------------------------------------------------ > > *From:* support-bounces at drupal.org [mailto:support-bounces at drupal.org] > *On Behalf Of *John Callahan > *Sent:* Friday, March 20, 2009 6:09 PM > *To:* support at drupal.org > *Subject:* Re: [support] Links Available "Conditionally" Within the > Same Block > > > > If these links went to actual pages (that contained more information, > integrated web forms, additional links), then you can set access > controls to those pages, such as through Content Access/ACL. I am > not sure but I think the Drupal menu system will take the page > permissions into account before displaying the menu links. I could be > wrong though. > > - John > > ************************************************** > John Callahan > Geospatial Application Developer > Delaware Geological Survey, University of Delaware > 227 Academy St, Newark DE 19716-7501 > Tel: (302) 831-3584 > Email: john.callahan at udel.edu > http://www.dgs.udel.edu > ************************************************** > > > > Moses Elias wrote: > > I have a block in a sidebar with 3 menu items. Call them A, B, and C. > > > > 1) A is available to authenticated users. It allows them to create > new groups once they are authenticated. Creating a group automatically > promotes the creator to being a group member and a group admin. > > > > 2) B is available to authenticated users, who are members of or have > created one group at least. It allows them to post to a group. > > > > 3) C is available to authenticated users, who are members of or have > created one group at least. It allows them to invite users to the group. > > > > How do I conditionally give authenticated users access to links on the > basis of their roles within the same block (and not separate blocks)? > > > > What I have found so far is that either the entire block is visible or > invisible. What I want instead is that some of the links should be > present under certain conditions while at other times not. > > > > Moses > > > > > > > ------------------------------------------------------------------------ > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] -------------- next part -------------- An HTML attachment was scrubbed... URL: From iom at netvision.net.il Fri Mar 20 16:43:54 2009 From: iom at netvision.net.il (Moses Elias) Date: Fri, 20 Mar 2009 18:43:54 +0200 Subject: [support] Links Available "Conditionally" Within the Same Block In-Reply-To: <49C3C358.9040005@udel.edu> Message-ID: <0KGT00JT4D4W8R20@mxout5.netvision.net.il> John said: >> I'm not if it will solve your problem but Views can be restricted to roles. When editing a view, check the Access item under >> Basic Settings. Thanks for the tip John. The View can actually be restricted to certain Roles (I believe), but it doesn't make the link itself that calls the View _NOT_ appear which is what I need. Moses ************************************************** John Callahan Geospatial Application Developer Delaware Geological Survey, University of Delaware 227 Academy St, Newark DE 19716-7501 Tel: (302) 831-3584 Email: john.callahan at udel.edu http://www.dgs.udel.edu ************************************************** Moses Elias wrote: John said: >> If these links went to actual pages (that contained more information, integrated web forms, additional links), then you can set >> access controls to those pages, such as through Content Access/ACL. I am not sure but I think the Drupal menu system will >> take the page permissions into account before displaying the menu links. I could be wrong though. Unfortunately Drupal isn't so straightforward as to provide a one to one relationship between an accessible/inaccessible node and the permissions page (which would have been great). One has to fiddle and experiment for quite some time before the relationship is clear sometimes. Besides the path to the nodes in question are defined through a View (and not a page) and so I believe Content Access/ACL will be redundant. How do you grant access to a _View_ based on role? Is there a way? Please correct me if I am wrong? Moses _____ From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of John Callahan Sent: Friday, March 20, 2009 6:09 PM To: support at drupal.org Subject: Re: [support] Links Available "Conditionally" Within the Same Block If these links went to actual pages (that contained more information, integrated web forms, additional links), then you can set access controls to those pages, such as through Content Access/ACL. I am not sure but I think the Drupal menu system will take the page permissions into account before displaying the menu links. I could be wrong though. - John ************************************************** John Callahan Geospatial Application Developer Delaware Geological Survey, University of Delaware 227 Academy St, Newark DE 19716-7501 Tel: (302) 831-3584 Email: john.callahan at udel.edu http://www.dgs.udel.edu ************************************************** Moses Elias wrote: I have a block in a sidebar with 3 menu items. Call them A, B, and C. 1) A is available to authenticated users. It allows them to create new groups once they are authenticated. Creating a group automatically promotes the creator to being a group member and a group admin. 2) B is available to authenticated users, who are members of or have created one group at least. It allows them to post to a group. 3) C is available to authenticated users, who are members of or have created one group at least. It allows them to invite users to the group. How do I conditionally give authenticated users access to links on the basis of their roles within the same block (and not separate blocks)? What I have found so far is that either the entire block is visible or invisible. What I want instead is that some of the links should be present under certain conditions while at other times not. Moses _____ -- [ Drupal support list | http://lists.drupal.org/ ] -------------- next part -------------- An HTML attachment was scrubbed... URL: From drupal at lourdas.name Fri Mar 20 20:19:23 2009 From: drupal at lourdas.name (Vasileios Lourdas) Date: Fri, 20 Mar 2009 22:19:23 +0200 Subject: [support] Default language problem Message-ID: <200903202219.23629.drupal@lourdas.name> Hi, In Drupal 6.x, I added a second language (Greek) for the interface. In the admin settings, I set the site default language to Greek. In my account's settings, I set the default language to English, having lower weight than the Greek language. The problem is: Whatever preferred language I set in my account's settings, the site's default language always overrides it. Shouldn't the opposite stand? Thanks. -- # Vasileios Lourdas, # Informatics Engineer, Thessaloniki (Greece) # http://www.lourdas.name From aldo at caonao.cu Fri Mar 20 21:38:59 2009 From: aldo at caonao.cu (Aldo Martinez Selleras) Date: Fri, 20 Mar 2009 17:38:59 -0400 Subject: [support] how to restrict a node type Message-ID: <200903201738.59336.aldo@caonao.cu> can i restric some content type for only one group?? i mean, if i create a contet type "standard group post" and i want this only respond for one group. -- ---------------------- Aldo Martinez Selleras Especialista en Telematica CITMATEL GND Camaguey Tel: 53 32 291661 Linux User #364356 From shyamala at netlinkindia.com Fri Mar 20 15:57:22 2009 From: shyamala at netlinkindia.com (Shyamala) Date: Fri, 20 Mar 2009 21:27:22 +0530 Subject: [support] AES (disabled), File (missing), File_attach (missing) In-Reply-To: <2240033d0903200617v6231eadej2eb8592f450ae198@mail.gmail.com> Message-ID: <20090320215917.6AE121C4342@fraxinus.osuosl.org> Checkout http://api.drupal.org/api/group/file/6 http://groups.drupal.org/file-api _____ From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of bharani kumar Sent: Friday, March 20, 2009 6:47 PM To: support at drupal.org Subject: [support] AES (disabled), File (missing), File_attach (missing) hi I have surfed the drupal.org, Am not find any where these two modules, File (missing), File_attach (missing) Can u please tell me the URL link for these File (missing), File_attach (missing) modules Thanks -- ?????? ?????? ???? ?????? Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyerphp.site88.net/bharanikumar/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From pwdowling at yahoo.com Fri Mar 20 22:32:40 2009 From: pwdowling at yahoo.com (Peter Dowling) Date: Fri, 20 Mar 2009 18:32:40 -0400 Subject: [support] how to restrict a node type In-Reply-To: <200903201738.59336.aldo@caonao.cu> References: <200903201738.59336.aldo@caonao.cu> Message-ID: <1237588360.6405.2.camel@peterlap> Yes, normally when you create a content type it gets its own set of permissions so set them as appropriate for your roles. - Peter On Fri, 2009-03-20 at 17:38 -0400, Aldo Martinez Selleras wrote: > can i restric some content type for only one group?? > > i mean, if i create a contet type "standard group post" and i want this only > respond for one group. > From drupallist at dirtsimple.net Sat Mar 21 13:27:42 2009 From: drupallist at dirtsimple.net (Cosmo) Date: Sat, 21 Mar 2009 08:27:42 -0500 Subject: [support] I can't get my posts accepted - why? Message-ID: Sorry about any confusion as am new to this list and my messages are not being seen by me on the list nor are they prompting a confirmation (both of which my account is configured for.) If someone else is seeing these messages please reply with some form of instruction. -------------- next part -------------- An HTML attachment was scrubbed... URL: From drupallist at dirtsimple.net Sat Mar 21 13:39:18 2009 From: drupallist at dirtsimple.net (Cosmo) Date: Sat, 21 Mar 2009 08:39:18 -0500 Subject: [support] Database problem (I think) causing Extended Profile tabs not to show Message-ID: My extended profile tabs are not showing on one of my sites and I think it has something to do with the database. Here's what I've done. I'm running D5 and the only thing I've done regarding theming is some very minor font size modifications to Garland to create my PersonalGarland. Which I've stored in sites/all/theme/tightgarland. Here's the debug process so far based on what I could find at drupal.org: I switched to a core theme. First, I switched from my personal version of Garland (PG) to core Garland. Tabs still did not show. Next, I switched to Bluemarine - Tabs did show, but much of my site is a mess. (which is understandable) Next, I have two sites that run this very same PG theme with nearly the same modules, and site 2 works fine showing all profile tabs (base and extended). So, I tried this: 1) I replaced the PG theme code of the site not showing the tabs (SiteBroken) with the PG theme code of the site that works fine (SiteOK). I then cleared all cache tables. (Tabs didn't show in SiteBroken) 2) I replaced the PG theme code of SiteOK with the PG theme code of SiteBroken. (Tabs still show fine in SiteOk) so I'm now thinking it's not the theme code, which lead me to investigate the db. 3) I pointed SiteOK's db via settings.php to the db of SiteBroken. (Tabs now don't show in SiteOk) 4) I pointed SiteBroken's db via settings.php to the db of SiteOk. (Tabs now show find in SiteBroken) Now I thought it might be a formatting issue with a header? So I erased all headers and slogans. (Tabs still don't show) The site looks and run perfectly fine except for one very small annoyance which might be related. On each of the following add pages I get the word "Consume!" where I should see the type of item being added, also on these pages "Consume!" is showing up in my Title Bar of the browser. The pages are: admin/user/rules/add admin/user/user/create admin/build/contact/add admin/content/taxonomy/add/vocabulary admin/build/menu/menu/add admin/build/block/add admin/build/views/add (on this page the word Consume! does not show on the page or in the title bar) I've exhausted everything I can think of. Any suggestions on what I look for now? thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From drupallist at dirtsimple.net Sat Mar 21 13:12:24 2009 From: drupallist at dirtsimple.net (Cosmo) Date: Sat, 21 Mar 2009 08:12:24 -0500 Subject: [support] Database problem (I think) causing Extended Profile tabs not to show Message-ID: (I am sorry if this is a duplicate send, but I think something went wrong with the first send as I've not seen it in the list.) My extended profile tabs are not showing on one of my sites and I think it has something to do with the database. Here's what I've done. I'm running D5 and the only thing I've done regarding theming is some very minor font size modifications to Garland to create my PersonalGarland. Which I've stored in sites/all/theme/tightgarland. Here's the debug process so far based on what I could find at drupal.org: I switched to a core theme. First, I switched from my personal version of Garland (PG) to core Garland. Tabs still did not show. Next, I switched to Bluemarine - Tabs did show, but much of my site is a mess. (which is understandable) Next, I have two sites that run this very same PG theme with nearly the same modules, and site 2 works fine showing all profile tabs (base and extended). So, I tried this: 1) I replaced the PG theme code of the site not showing the tabs (SiteBroken) with the PG theme code of the site that works fine (SiteOK). I then cleared all cache tables. (Tabs didn't show in SiteBroken) 2) I replaced the PG theme code of SiteOK with the PG theme code of SiteBroken. (Tabs still show fine in SiteOk) so I'm now thinking it's not the theme code, which lead me to investigate the db. 3) I pointed SiteOK's db via settings.php to the db of SiteBroken. (Tabs now don't show in SiteOk) 4) I pointed SiteBroken's db via settings.php to the db of SiteOk. (Tabs now show find in SiteBroken) Now I thought it might be a formatting issue with a header? So I erased all headers and slogans. (Tabs still don't show) The site looks and run perfectly fine except for one very small annoyance which might be related. On each of the following add pages I get the word "Consume!" where I should see the type of item being added, also on these pages "Consume!" is showing up in my Title Bar of the browser. The pages are: admin/user/rules/add admin/user/user/create admin/build/contact/add admin/content/taxonomy/add/vocabulary admin/build/menu/menu/add admin/build/block/add admin/build/views/add (on this page the word Consume! does not show on the page or in the title bar) I've exhausted everything I can think of. Any suggestions on what I look for now? thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From lakbay.taodev at gmail.com Sat Mar 21 13:08:33 2009 From: lakbay.taodev at gmail.com (tata dano) Date: Sat, 21 Mar 2009 21:08:33 +0800 Subject: [support] sales report module for ubercart Message-ID: <4acfed4e0903210608n6de15264x716b32ebdef4eaca@mail.gmail.com> Hello guys, I was developing a drupal site using Ubercart and I would like to inquire if there is/are available module/s compatible with Ubercart that handles sales reporting mechanism like per week or per month, and profit sharing percentage? Thanks a million in advance. Cheers, Tata -- Linux Registered User #383849 http://kngphil.proboards58.com/ http://atats.blogspot.com/ http://sedemdbs.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From daniel.carrera at theingots.org Sat Mar 21 13:18:13 2009 From: daniel.carrera at theingots.org (Daniel Carrera) Date: Sat, 21 Mar 2009 14:18:13 +0100 Subject: [support] MyISAM vs InnoDB Message-ID: <49C4E915.3020106@theingots.org> Hello, For a Drupal 5 site, which MySQL engine should I use? MyISAM or InnoDB? I know that in general the answer is "it depends", but I was hoping that for the specific case of Drupal there might be a simpler (more useful) answer. Any thoughts? I am happy to read documentation on the topic if there is any to be found. Today I've just been reading about MyISAM vs InnoDB in general. Thanks for the help. Cheers, Daniel. From kieran at acquia.com Sat Mar 21 17:33:22 2009 From: kieran at acquia.com (Kieran Lal) Date: Sat, 21 Mar 2009 10:33:22 -0700 Subject: [support] MyISAM vs InnoDB In-Reply-To: <49C4E915.3020106@theingots.org> References: <49C4E915.3020106@theingots.org> Message-ID: On Sat, Mar 21, 2009 at 6:18 AM, Daniel Carrera wrote: > Hello, > > For a Drupal 5 site, which MySQL engine should I use? MyISAM or InnoDB? I > know that in general the answer is "it depends", but I was hoping that for > the specific case of Drupal there might be a simpler (more useful) answer. > > Any thoughts? I am happy to read documentation on the topic if there is any > to be found. Today I've just been reading about MyISAM vs InnoDB in general. > > Thanks for the help. Tell us more about your site. Number of nodes, users, traffic. What kind of hosting environment, etc? InnoDB is safer, but consumes more resources. Kieran > > Cheers, > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] > From mail at webthatworks.it Sat Mar 21 18:28:59 2009 From: mail at webthatworks.it (Ivan Sergio Borgonovo) Date: Sat, 21 Mar 2009 19:28:59 +0100 Subject: [support] MyISAM vs InnoDB In-Reply-To: <49C4E915.3020106@theingots.org> References: <49C4E915.3020106@theingots.org> Message-ID: <20090321192859.2bea4162@dawn.webthatworks.it> On Sat, 21 Mar 2009 14:18:13 +0100 Daniel Carrera wrote: > Hello, > > For a Drupal 5 site, which MySQL engine should I use? MyISAM or > InnoDB? I know that in general the answer is "it depends", but I > was hoping that for the specific case of Drupal there might be a > simpler (more useful) answer. > > Any thoughts? I am happy to read documentation on the topic if > there is any to be found. Today I've just been reading about > MyISAM vs InnoDB in general. It really depends on what you need to do. If you don't know it I'd go for MyISAM since most of the features you may be looking for in InnoDB are not really fully exploited by stock Drupal. The reasons that may make you chose InnoDB may be the same to consider to add to the list PostgreSQL, but it really depends on what is your specific need. Consider that anyway PostgreSQL support is (was) not as good as MySQL, anyway I never had serious issues. The main annoyance was waiting some patch got included into core and having to re-patch every time a new point release comes out. But in my experience the problems you may run into can be patched in 5 min. Summing it up: Drupal doesn't have support for transaction or referential integrity but you may need it if you're developing your own modules. If you've several writes or high concurrency and data integrity is important PostgreSQL may be an interesting option. If you've a lot of read, and you don't mind having to deal with some inconsistency , MyISAM and replication may be fine. I think InnoDB is "in between" without shining for any aspect. If I were looking for transactions and data integrity I'd take the InnoDB route just if I already invested a lot in MySQL. -- Ivan Sergio Borgonovo http://www.webthatworks.it From drupallist at dirtsimple.net Sat Mar 21 20:19:26 2009 From: drupallist at dirtsimple.net (Cosmo) Date: Sat, 21 Mar 2009 15:19:26 -0500 Subject: [support] Links Available "Conditionally" Within the Same Block In-Reply-To: <0KGT00JT4D4W8R20@mxout5.netvision.net.il> Message-ID: Have you seen this yet? http://drupal.org/node/51325#comment-1255358 "I'm using Taxonomy Access Control to restrict access by user role in a Drupal5 installation. The Remove Nonviewable Menu Items module made hiding the off limits menu items easy. http://drupal.org/project/remove_nonviewable_menu_items" -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org]On Behalf Of Moses Elias Sent: Friday, March 20, 2009 11:44 AM To: 'John Callahan' Cc: support at drupal.org Subject: Re: [support] Links Available "Conditionally" Within the Same Block John said: >> I'm not if it will solve your problem but Views can be restricted to roles. When editing a view, check the Access item under >> Basic Settings. Thanks for the tip John. The View can actually be restricted to certain Roles (I believe), but it doesn't make the link itself that calls the View _NOT_ appear which is what I need. Moses **************************************************John CallahanGeospatial Application DeveloperDelaware Geological Survey, University of Delaware227 Academy St, Newark DE 19716-7501Tel: (302) 831-3584 Email: john.callahan at udel.eduhttp://www.dgs.udel.edu******************************* ******************* Moses Elias wrote: John said: >> If these links went to actual pages (that contained more information, integrated web forms, additional links), then you can set >> access controls to those pages, such as through Content Access/ACL. I am not sure but I think the Drupal menu system will >> take the page permissions into account before displaying the menu links. I could be wrong though. Unfortunately Drupal isn't so straightforward as to provide a one to one relationship between an accessible/inaccessible node and the permissions page (which would have been great). One has to fiddle and experiment for quite some time before the relationship is clear sometimes. Besides the path to the nodes in question are defined through a View (and not a page) and so I believe Content Access/ACL will be redundant. How do you grant access to a _View_ based on role? Is there a way? Please correct me if I am wrong? Moses ---------------------------------------------------------------------------- -- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of John Callahan Sent: Friday, March 20, 2009 6:09 PM To: support at drupal.org Subject: Re: [support] Links Available "Conditionally" Within the Same Block If these links went to actual pages (that contained more information, integrated web forms, additional links), then you can set access controls to those pages, such as through Content Access/ACL. I am not sure but I think the Drupal menu system will take the page permissions into account before displaying the menu links. I could be wrong though. - John **************************************************John CallahanGeospatial Application DeveloperDelaware Geological Survey, University of Delaware227 Academy St, Newark DE 19716-7501Tel: (302) 831-3584 Email: john.callahan at udel.eduhttp://www.dgs.udel.edu******************************* ******************* Moses Elias wrote: I have a block in a sidebar with 3 menu items. Call them A, B, and C. 1) A is available to authenticated users. It allows them to create new groups once they are authenticated. Creating a group automatically promotes the creator to being a group member and a group admin. 2) B is available to authenticated users, who are members of or have created one group at least. It allows them to post to a group. 3) C is available to authenticated users, who are members of or have created one group at least. It allows them to invite users to the group. How do I conditionally give authenticated users access to links on the basis of their roles within the same block (and not separate blocks)? What I have found so far is that either the entire block is visible or invisible. What I want instead is that some of the links should be present under certain conditions while at other times not. Moses ---------------------------------------------------------------------------- -- --[ Drupal support list | http://lists.drupal.org/ ] -------------- next part -------------- An HTML attachment was scrubbed... URL: From daniel.carrera at theingots.org Sat Mar 21 20:16:25 2009 From: daniel.carrera at theingots.org (Daniel Carrera) Date: Sat, 21 Mar 2009 21:16:25 +0100 Subject: [support] MyISAM vs InnoDB In-Reply-To: References: <49C4E915.3020106@theingots.org> Message-ID: <49C54B19.7000600@theingots.org> Kieran Lal wrote: > Tell us more about your site. Number of nodes, users, traffic. What > kind of hosting environment, etc? > > InnoDB is safer, but consumes more resources. Hmm... let's see... 7,152 nodes, 4,300 users, and if I read the monthly log correctly, it seems like it averages 15,300 hits/day with a peak of 18,000 hits/day on wednesdays. But I think that might include all the files that go into making a web page (CSS, logo, etc). We have a shared hosting environment, of the type that doesn't over-sell disk space, so it is somewhat intermediate between a typical shared hosting and a dedicated host. The servers run RHEL, PHP 5.2.8 and MySQL 5.1.30. Uhm... I can't think of anything else I can say about the site. Does any of this help answer my question? Daniel. From kieran at acquia.com Sat Mar 21 20:25:29 2009 From: kieran at acquia.com (Kieran Lal) Date: Sat, 21 Mar 2009 13:25:29 -0700 Subject: [support] MyISAM vs InnoDB In-Reply-To: <49C54B19.7000600@theingots.org> References: <49C4E915.3020106@theingots.org> <49C54B19.7000600@theingots.org> Message-ID: On Sat, Mar 21, 2009 at 1:16 PM, Daniel Carrera wrote: > Kieran Lal wrote: >> >> Tell us more about your site. ?Number of nodes, users, traffic. ?What >> kind of hosting environment, etc? >> >> InnoDB is safer, but consumes more resources. > > > Hmm... let's see... 7,152 nodes, 4,300 users, and if I read the monthly log > correctly, it seems like it averages 15,300 hits/day with a peak of 18,000 > hits/day on wednesdays. But I think that might include all the files that go > into making a web page (CSS, logo, etc). > > We have a shared hosting environment, of the type that doesn't over-sell > disk space, so it is somewhat intermediate between a typical shared hosting > and a dedicated host. > > The servers run RHEL, PHP 5.2.8 and MySQL 5.1.30. > > Uhm... I can't think of anything else I can say about the site. Does any of > this help answer my question? MySQL ISAM engine is lightweight, and not transactional, but has been know to corrupt, although I think it's much more stable in MySQL 5.1. For high performance, and transaction integrity many people move their database engine to InnoDB. InnoDB uses ~5x the disk space and ~3x more memory. It can be faster, and more reliable. But the down side is that if big tables like node, watchdog are InnoDB you can run into problems. Based on your site size, I don't forsee moving your entire site to InnoDB to be a problem. Here's a Drupal performance tuning checklist: http://tag1consulting.com/files/checklist.pdf If you see a slowdown, let me know and I'll help you out. Cheers, Kieran > > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] > From daniel.carrera at theingots.org Sat Mar 21 20:32:25 2009 From: daniel.carrera at theingots.org (Daniel Carrera) Date: Sat, 21 Mar 2009 21:32:25 +0100 Subject: [support] MyISAM vs InnoDB In-Reply-To: <20090321192859.2bea4162@dawn.webthatworks.it> References: <49C4E915.3020106@theingots.org> <20090321192859.2bea4162@dawn.webthatworks.it> Message-ID: <49C54ED9.5000907@theingots.org> Ivan Sergio Borgonovo wrote: > It really depends on what you need to do. If you don't know it I'd > go for MyISAM since most of the features you may be looking for in > InnoDB are not really fully exploited by stock Drupal. I just wrote another post that explains my hosting environment. I am interested in speed and reliability (isn't everybody?). My understanding is that: 1) InnoDB is more reliable. 2) InnoDB reads faster, if the primary keys and indexes are set right. 3) InnoDB writes slower. 4) InnoDB requires more disk space and more RAM. Am I right so far? I'm not very familiar with this topic. I'm not very concerned about disk space. I'm happy to make the DB 20% bigger if it'll improve read speed and reliability. But I don't fully understand the implications of InnoDB vs MyISAM, so I thought I'd ask here. > The reasons that may make you chose InnoDB may be the same to > consider to add to the list PostgreSQL, but it really depends on > what is your specific need. I thought that the main benefit of PostgreSQL was advanced features (procedures, triggers, etc). I don't use any of those. I'm just looking for speed an reliability. > Summing it up: > > Drupal doesn't have support for transaction or referential integrity > but you may need it if you're developing your own modules. > If you've several writes or high concurrency and data integrity is > important PostgreSQL may be an interesting option. > > If you've a lot of read, and you don't mind having to deal with > some inconsistency , MyISAM and replication may be fine. > > I think InnoDB is "in between" without shining for any aspect. > If I were looking for transactions and data integrity I'd take the > InnoDB route just if I already invested a lot in MySQL. Thanks. This was very informative. Daniel. From daniel.carrera at theingots.org Sat Mar 21 20:38:03 2009 From: daniel.carrera at theingots.org (Daniel Carrera) Date: Sat, 21 Mar 2009 21:38:03 +0100 Subject: [support] MyISAM vs InnoDB In-Reply-To: References: <49C4E915.3020106@theingots.org> <49C54B19.7000600@theingots.org> Message-ID: <49C5502B.2070200@theingots.org> Kieran Lal wrote: > MySQL ISAM engine is lightweight, and not transactional, but has been > know to corrupt, although I think it's much more stable in MySQL 5.1. Yeah. What prompted my initial post is that today I had to repair the accesslog table. That got me thinking "maybe I should try InnoDB". > For high performance, and transaction integrity many people move their > database engine to InnoDB. > > InnoDB uses ~5x the disk space and ~3x more memory. It can be faster, > and more reliable. But the down side is that if big tables like node, > watchdog are InnoDB you can run into problems. Based on your site > size, I don't forsee moving your entire site to InnoDB to be a > problem. Thanks. That's very informative. I didn't realize that the space difference was so big. I'm not worried about the disk space. I just hope that the memory doesn't become a problem. I'll write to my web host to ask how my site is doing memory-wise. > Here's a Drupal performance tuning checklist: > http://tag1consulting.com/files/checklist.pdf Ah, that'll be useful. Thanks. > If you see a slowdown, let me know and I'll help you out. Thanks. Daniel. From hedgemage at binaryredneck.net Sun Mar 22 02:19:45 2009 From: hedgemage at binaryredneck.net (Susan Stewart) Date: Sat, 21 Mar 2009 21:19:45 -0500 Subject: [support] I can't get my posts accepted - why? In-Reply-To: References: Message-ID: <49C5A041.3080800@binaryredneck.net> I see a half-dozen posts from you in the last couple of days. Is it possible that you are set not to receive copies of your own posts? --Susan Cosmo wrote: > Sorry about any confusion as am new to this list and my messages are not > being seen by me on the list nor are they prompting a confirmation (both > of which my account is configured for.) > > If someone else is seeing these messages please reply with some form of > instruction. > > > ------------------------------------------------------------------------ > > -- > [ Drupal support list | http://lists.drupal.org/ ] From net at twoedged.org Sat Mar 21 18:55:04 2009 From: net at twoedged.org (John Fletcher) Date: Sat, 21 Mar 2009 19:55:04 +0100 Subject: [support] Default language problem In-Reply-To: <200903202219.23629.drupal@lourdas.name> References: <200903202219.23629.drupal@lourdas.name> Message-ID: <001501c9aa56$8d7675b0$a8636110$@org> Vasileios, Your account settings should override the site default language. The only purpose that I'm aware of the language weights serving is for display of language items. For example they change the order the language links are displayed in the links at the bottom of a node. A couple of considerations: 1. Of course you have to be logged in for your account settings to be in effect. 2. There's a difference between interface and content language. You are talking about interface, like what language the admin screens appear in, right? 3. One thing that might be happening is that there is basically nothing translated into Greek. Whenever the string is not found in your preferred language, you are given the English, so Drupal might be trying to give you Greek but you are getting mainly English for this reason. What language is your browser set to (what does it tell the webserver?) Regards, Fletch -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Vasileios Lourdas Sent: Friday, 20 March 2009 9:19 PM To: Drupal support list Subject: [support] Default language problem Hi, In Drupal 6.x, I added a second language (Greek) for the interface. In the admin settings, I set the site default language to Greek. In my account's settings, I set the default language to English, having lower weight than the Greek language. The problem is: Whatever preferred language I set in my account's settings, the site's default language always overrides it. Shouldn't the opposite stand? Thanks. -- # Vasileios Lourdas, # Informatics Engineer, Thessaloniki (Greece) # http://www.lourdas.name -- [ Drupal support list | http://lists.drupal.org/ ] From ReinhardMohr at reinhardmohr.de Sun Mar 22 10:36:26 2009 From: ReinhardMohr at reinhardmohr.de (Reinhard Mohr) Date: Sun, 22 Mar 2009 11:36:26 +0100 Subject: [support] More than one template possible? Message-ID: Hi everybody, I am relatively new to Drupal and I hope someone on this mailing list can help me with one important and one still minor important question: I have used another CMS (cmsmadesimple) and found it relatively easy to use but with some limitations. So I looked around and found Drupal. I have installed it, played around with it and I am now a good way through the getting-started-pages. By now it seems to be well documented and very well organized: Compliments to the people who made it! A) Now the important question: In my old CMS I could create templates for pages; let?s say one with three columns (template1), one with a header (template2), one without a header (template3), one with two columns (template4). Everytime I create a new page now I can choose from an easy to use drop-down menu that just says "template1/template2/template3/template4". And then automatically the page is created using this template (afterwards at any time I can switch the page design using this drop-down menu). This is a feature that I am totally missing with Drupal. Everything is easy to understand and well documented. But there seems to be only one template per theme. So can I only have one page layout per theme?!? (I am not meaning forum pages with this theme or some special kind of page but just "plain" and "standard" pages.) For example: Must all the pages on my site have three columns because I only have one site-wide template that specifies three columns? How can a CMS that offers such a wealth of expansability have such a fundamental restriction? Or maybe I just didn't find the trick by now? I searched a lot of documents but I am not really sure how Drupal calls this functionality? So I found things like "suggested templates", "subthemes", a "section module". But I am a little bit afraid I might just have missed something or might to easily gho into the wrong way. Please help! Thanks for helping! B) Now the minor important question: Setting up Drupal and creating the first page was easy. Editing it was easy, too. But I could only write plain text that obviously was formatted by preconfigured css. My question arose how I can a) integrate an editor like FCKeditor and b) write or paste html into the page I edit? (I think I will run into the solutions for this minor question as I progress further through the documentation. But as I was already posting questions here maybe someone could give me a quick hint? Thanks! But the first question is the really important one.) Thanks a lot for helping Reinhard Reinhard Mohr Journalismus & Fotografie Goteboldstra?e 54 A 80999 M?nchen Tel. 089 / 89 22 07 12 Fax 089 / 89 22 07 13 ReinhardMohr at reinhardmohr.de http://www.reinhardmohr.de -------------- next part -------------- An HTML attachment was scrubbed... URL: From fredthejonester at gmail.com Sun Mar 22 10:48:09 2009 From: fredthejonester at gmail.com (Fred Jones) Date: Sun, 22 Mar 2009 12:48:09 +0200 Subject: [support] More than one template possible? In-Reply-To: References: Message-ID: <177c0a10903220348sedc197au81924a1d42e1e2eb@mail.gmail.com> > For example: Must all the pages on my site have three > columns because I only have one site-wide template that specifies three > columns? Yes, page templates can be overridden very easily. See http://drupal.org/node/190815 for more details. Note that that is a book page in the handbook called "Drupal 6 theme guide" and there is a lot of information there. > Thanks for helping! > B) Now the minor important question: > Setting up Drupal and creating the first page was easy. Editing it was easy, > too. But I could only write plain text that obviously was formatted by > preconfigured css. My question arose how I can a) integrate an editor like > FCKeditor Did you Google? The very first result for "FCKeditor Drupal" is http://drupal.org/project/fckeditor . You can also try http://drupal.org/project/wysiwyg Fred From earnie at users.sourceforge.net Sun Mar 22 15:36:37 2009 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Sun, 22 Mar 2009 11:36:37 -0400 Subject: [support] MyISAM vs InnoDB In-Reply-To: <49C5502B.2070200@theingots.org> References: <49C4E915.3020106@theingots.org> <49C54B19.7000600@theingots.org> <49C5502B.2070200@theingots.org> Message-ID: <20090322113637.hdaq4cpepscocckw@mail.progw.org> Quoting Daniel Carrera : >> For high performance, and transaction integrity many people move their >> database engine to InnoDB. >> >> InnoDB uses ~5x the disk space and ~3x more memory. It can be faster, >> and more reliable. But the down side is that if big tables like node, >> watchdog are InnoDB you can run into problems. Based on your site >> size, I don't forsee moving your entire site to InnoDB to be a >> problem. > > Thanks. That's very informative. I didn't realize that the space > difference was so big. I'm not worried about the disk space. I just > hope that the memory doesn't become a problem. I'll write to my web > host to ask how my site is doing memory-wise. > I use InnoDB myself. I suggest the innodb_file_per_table configuration option to help control the size issue. If you create a table and then remove it this option will return all the disk space, otherwise you continue to use it. -- Earnie http://r-feed.com Make a Drupal difference and review core patches. -- http://for-my-kids.com/ -- http://www.4offer.biz/ From earnie at users.sourceforge.net Sun Mar 22 15:44:43 2009 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Sun, 22 Mar 2009 11:44:43 -0400 Subject: [support] MyISAM vs InnoDB In-Reply-To: <20090321192859.2bea4162@dawn.webthatworks.it> References: <49C4E915.3020106@theingots.org> <20090321192859.2bea4162@dawn.webthatworks.it> Message-ID: <20090322114443.m2e84ubvcsu80s00@mail.progw.org> Quoting Ivan Sergio Borgonovo : > > It really depends on what you need to do. If you don't know it I'd > go for MyISAM since most of the features you may be looking for in > InnoDB are not really fully exploited by stock Drupal. > Well, not yet anyway. http://drupal.org/node/301362 -- Earnie http://r-feed.com Make a Drupal difference and review core patches. -- http://for-my-kids.com/ -- http://www.4offer.biz/ From healthyelijah at gmail.com Sun Mar 22 15:53:36 2009 From: healthyelijah at gmail.com (Elijah Lynn) Date: Sun, 22 Mar 2009 10:53:36 -0500 Subject: [support] Backup and Migrate - Amazon S3 Message-ID: <4fab24fd0903220853h6414c0b0j749b2e0d9a382cf5@mail.gmail.com> I am new to Drupal. I am reading "Using Drupal" now. I read something about using the backup and migrate tool to backup to amazon S3. When I view the module page and click view "documentation", I don't see mention of the Amazon S3 feature. Where can I find more information on this? Elijah Lynn 303.263.8351 Reddit.com - News you can vote on! -------------- next part -------------- An HTML attachment was scrubbed... URL: From nikhilrkale at gmail.com Sun Mar 22 19:50:35 2009 From: nikhilrkale at gmail.com (Nikhil Kala) Date: Mon, 23 Mar 2009 01:20:35 +0530 Subject: [support] PDF file in Drupal Message-ID: Hello All, I want to open a .pdf file using drupal node. Can any one have any idea about this? -- Thanks & Regards, Nikhil Kala -------------- next part -------------- An HTML attachment was scrubbed... URL: From vinay at vinayras.com Sun Mar 22 19:56:07 2009 From: vinay at vinayras.com (Vinay Yadav) Date: Mon, 23 Mar 2009 01:26:07 +0530 Subject: [support] PDF file in Drupal In-Reply-To: References: Message-ID: <282ab6620903221256o6de0bd11yb6db6650661b02b1@mail.gmail.com> Hi, You will have to use external programs such as pdftotext ( if you are on linux platform) to read PDF and import it into node through nodeapi Hope this helps Regards Vinay 2009/3/23 Nikhil Kala > Hello All, > > I want to open a .pdf file using drupal node. Can any one have any idea > about this? > > -- > Thanks & Regards, > Nikhil Kala > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Drupal optimization, development, customization and consulting. VinayRas Infotech Web Application Development http://www.vinayras.com http://www.nagpurpulse.com - The Pulse of Nagpur http://www.edrupal.com - Indian Drupal -------------- next part -------------- An HTML attachment was scrubbed... URL: From fredthejonester at gmail.com Sun Mar 22 19:56:38 2009 From: fredthejonester at gmail.com (Fred Jones) Date: Sun, 22 Mar 2009 21:56:38 +0200 Subject: [support] PDF file in Drupal In-Reply-To: References: Message-ID: <177c0a10903221256n150cb8ceje5dc5d8d3438bbe3@mail.gmail.com> > I want to open a .pdf file using drupal node. Can any one have any idea > about this? What do you mean to "open" a PDF file? You mean to embed one on your page? Or to attach a file to the node? Or something else? F From sivaji2009 at gmail.com Sun Mar 22 19:56:54 2009 From: sivaji2009 at gmail.com (sivaji j.g) Date: Mon, 23 Mar 2009 01:26:54 +0530 Subject: [support] PDF file in Drupal In-Reply-To: References: Message-ID: 2009/3/23 Nikhil Kala > Hello All, > > I want to open a .pdf file using drupal node. Can any one have any idea > about this? > http://drupal.org/project/modules?text=pdf -- Thanks a lot ----------------------------------------- http://ubuntuslave.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From marolijo at yahoo.es Mon Mar 23 10:29:09 2009 From: marolijo at yahoo.es (Marolijo) Date: Mon, 23 Mar 2009 11:29:09 +0100 Subject: [support] Anonymous comments published? Message-ID: Hello, I have a blog with anonymous comments allowed but my client want it automatically published. How can I do that? Thanks! From daniel.carrera at theingots.org Mon Mar 23 10:45:55 2009 From: daniel.carrera at theingots.org (Daniel Carrera) Date: Mon, 23 Mar 2009 11:45:55 +0100 Subject: [support] Missing pages Message-ID: <49C76863.6090407@theingots.org> Hello, One of my users says that he has a page missing. He says that he made a page and now it's gone. He doesn't have a node number. Every account on my site has a "My Pages" link where the user can find all his pages, so users don't have to remember node numbers. Anyways, I checked the database. I searched in the table 'node' and 'node_revisions' and I didn't see any record matching the user's uid. Is there any other place I can look at to at least verify that the page once existed and this isn't just a user error? (e.g. "forgot to save"). If you delete a page, do the records also get deleted from node_revisions? Does the fact that node_revisions has nothing mean anything? Yes, my site has regular backups too and I'll make use of those. I just want to figure out if there is a trail somewhere that I can look at. Thanks, Daniel. From mail at webthatworks.it Mon Mar 23 11:33:13 2009 From: mail at webthatworks.it (Ivan Sergio Borgonovo) Date: Mon, 23 Mar 2009 12:33:13 +0100 Subject: [support] MyISAM vs InnoDB In-Reply-To: <20090322114443.m2e84ubvcsu80s00@mail.progw.org> References: <49C4E915.3020106@theingots.org> <20090321192859.2bea4162@dawn.webthatworks.it> <20090322114443.m2e84ubvcsu80s00@mail.progw.org> Message-ID: <20090323123313.22c59d27@dawn.webthatworks.it> On Sun, 22 Mar 2009 11:44:43 -0400 Earnie Boyd wrote: > Quoting Ivan Sergio Borgonovo : > > It really depends on what you need to do. If you don't know it > > I'd go for MyISAM since most of the features you may be looking > > for in InnoDB are not really fully exploited by stock Drupal. > Well, not yet anyway. http://drupal.org/node/301362 Supporting MyISAM, sqlite and advanced (I'd say standard) features of serious RDBMS doesn't look a viable way to develop drupal (unless the DB abstraction layer is outsourced, but this would(?) be more suited for another flame ;) ) I consider normal to add "ON DELETE CASCADE" actions, but to replicate it transparently in PHP it is a hell of a work. And that's just one example. My point is: - if you're not using "advanced" features and you're not constrained by concurrent writes MyISAM is good enough. I'd say MyISAM may be even better suited to Drupal than InnoDB. None of the two engines is famous for data integrity after all. - if you're using advanced features, you're constrained by concurrent writes, you can't afford data loss and you didn't invest too much in MySQL there are better engines to look at. Choosing InnoDB would be just a matter of how much you invested in MySQL. I don't think that once you're faced with these problems your hosting offer is a real concern. -- Ivan Sergio Borgonovo http://www.webthatworks.it From net at twoedged.org Mon Mar 23 11:41:23 2009 From: net at twoedged.org (John Fletcher) Date: Mon, 23 Mar 2009 12:41:23 +0100 Subject: [support] Default language problem In-Reply-To: <001501c9aa56$8d7675b0$a8636110$@org> References: <200903202219.23629.drupal@lourdas.name> <001501c9aa56$8d7675b0$a8636110$@org> Message-ID: <004201c9abac$4e463b80$ead2b280$@org> Vasileios, I happened to muck around with user language settings today and noticed some strange things. Firstly, according to the inline help information on the interface where you change the user language, this only affects which language the user receives emails in. So perhaps the behaviour you're seeing is by design. Secondly, I set up a site with default Spanish language and nothing I do seems to cause the admin screens to be displayed in Spanish, except one item. The Spanish files claim to have been imported. It's quite weird but I don't really have time to investigate it because I don't need it right now. Anyway I'd be interested to know what happens in your case. Regards, Fletch www.saltwebsites.com From daniel.carrera at theingots.org Mon Mar 23 11:45:28 2009 From: daniel.carrera at theingots.org (Daniel Carrera) Date: Mon, 23 Mar 2009 12:45:28 +0100 Subject: [support] MyISAM vs InnoDB In-Reply-To: <20090323123313.22c59d27@dawn.webthatworks.it> References: <49C4E915.3020106@theingots.org> <20090321192859.2bea4162@dawn.webthatworks.it> <20090322114443.m2e84ubvcsu80s00@mail.progw.org> <20090323123313.22c59d27@dawn.webthatworks.it> Message-ID: <49C77658.60306@theingots.org> Ivan Sergio Borgonovo wrote: >> Well, not yet anyway. http://drupal.org/node/301362 ... > > My point is: > - if you're not using "advanced" features and you're not constrained > by concurrent writes MyISAM is good enough. I'd say MyISAM may be > even better suited to Drupal than InnoDB. None of the two engines > is famous for data integrity after all. I thought the whole point of InnoDB *was* data integrity. > - if you're using advanced features, you're constrained by > concurrent writes, you can't afford data loss and you didn't > invest too much in MySQL there are better engines to look at. Out of curiosity, what would you suggest? No, I'm not looking to leave MySQL but I always enjoy learning a little more about databases. Daniel. From earnie at users.sourceforge.net Mon Mar 23 12:19:48 2009 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Mon, 23 Mar 2009 08:19:48 -0400 Subject: [support] Missing pages In-Reply-To: <49C76863.6090407@theingots.org> References: <49C76863.6090407@theingots.org> Message-ID: <20090323081948.pa2489gae2w40wwc@mail.progw.org> Quoting Daniel Carrera : > Hello, > > One of my users says that he has a page missing. He says that he made > a page and now it's gone. He doesn't have a node number. Every > account on my site has a "My Pages" link where the user can find all > his pages, so users don't have to remember node numbers. Anyways, I > checked the database. I searched in the table 'node' and > 'node_revisions' and I didn't see any record matching the user's uid. > > Is there any other place I can look at to at least verify that the > page once existed and this isn't just a user error? (e.g. "forgot to > save"). > > If you delete a page, do the records also get deleted from > node_revisions? Does the fact that node_revisions has nothing mean > anything? > > Yes, my site has regular backups too and I'll make use of those. I > just want to figure out if there is a trail somewhere that I can look > at. > Check the watchdog table; for D5 admin/logs/watchdog and D6 admin/reports/dblog is the path in the admin UI. I thought a delete was only a flag that at some future date a cron function would remove but I may be totally wrong with that. -- Earnie http://r-feed.com Make a Drupal difference and review core patches. -- http://for-my-kids.com/ -- http://www.4offer.biz/ From earnie at users.sourceforge.net Mon Mar 23 12:31:22 2009 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Mon, 23 Mar 2009 08:31:22 -0400 Subject: [support] Anonymous comments published? In-Reply-To: References: Message-ID: <20090323083122.b202k33mahog48s4@mail.progw.org> Quoting Marolijo : > Hello, I have a blog with anonymous comments allowed but my client > want it automatically published. > How can I do that? > Check out this module http://drupal.org/project/workflow. -- Earnie http://r-feed.com Make a Drupal difference and review core patches. -- http://for-my-kids.com/ -- http://www.4offer.biz/ From daniel.carrera at theingots.org Mon Mar 23 12:58:08 2009 From: daniel.carrera at theingots.org (Daniel Carrera) Date: Mon, 23 Mar 2009 13:58:08 +0100 Subject: [support] Missing pages In-Reply-To: <20090323081948.pa2489gae2w40wwc@mail.progw.org> References: <49C76863.6090407@theingots.org> <20090323081948.pa2489gae2w40wwc@mail.progw.org> Message-ID: <49C78760.6080505@theingots.org> Earnie Boyd wrote: > Check the watchdog table; for D5 admin/logs/watchdog and D6 > admin/reports/dblog is the path in the admin UI. I thought a delete was > only a flag that at some future date a cron function would remove but I > may be totally wrong with that. I restored the backup and the pages aren't there. I suspect the kids just forgot to save their work. It does seem odd that a database error would wipe every reference to a node. I would expect to find something on either 'nodes' or 'node_revisions'. Anyways, thanks for the help. Cheers, Daniel. From ramprasath_explicit at yahoo.co.in Mon Mar 23 13:10:11 2009 From: ramprasath_explicit at yahoo.co.in (ram prasath) Date: Mon, 23 Mar 2009 18:40:11 +0530 (IST) Subject: [support] simple search Message-ID: <652372.19053.qm@web7602.mail.in.yahoo.com> HI, ? Can u tel me how to add a simple search using drupal. im my drupal home page Explore your hobbies and interests. Go to http://in.promos.yahoo.com/groups/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From aldo at caonao.cu Mon Mar 23 13:04:44 2009 From: aldo at caonao.cu (Aldo Martinez Selleras) Date: Mon, 23 Mar 2009 09:04:44 -0400 Subject: [support] user search In-Reply-To: <652372.19053.qm@web7602.mail.in.yahoo.com> References: <652372.19053.qm@web7602.mail.in.yahoo.com> Message-ID: <200903230904.44149.aldo@caonao.cu> i am creating a custom user directory for my site, and i want to use the drupal search for this... how can i add a search form in my page but only for search users??? thks in advanced -- ---------------------- Aldo Martinez Selleras Especialista en Telematica CITMATEL GND Camaguey Tel: 53 32 291661 Linux User #364356 From victorkane at gmail.com Mon Mar 23 13:15:20 2009 From: victorkane at gmail.com (Victor Kane) Date: Mon, 23 Mar 2009 10:15:20 -0300 Subject: [support] simple search In-Reply-To: <652372.19053.qm@web7602.mail.in.yahoo.com> References: <652372.19053.qm@web7602.mail.in.yahoo.com> Message-ID: First of all, your site has to be indexed regularly, you can do this by either running cron manually from the admin status report page (Administer -> Reports), or by setting up cron to run on your server (see http://drupal.org/cron ). Then there are two ways to add the interface for the users: 1. Assign the search block to any region (header, sidebar, etc.) you like. You can do this in Administer > Site building > Blocks. 2. Many themes include a search block which can be enabled via the theme configuration at Administer > Site building > Themes ... > your theme configuration. Victor Kane http://awebfactory.com.ar http://projectflowandtracker.com 2009/3/23 ram prasath > HI, > Can u tel me how to add a simple search using drupal. im my drupal home > page > > ------------------------------ > Add more friends to your messenger and enjoy! Invite them now. > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mail at webthatworks.it Mon Mar 23 13:21:22 2009 From: mail at webthatworks.it (Ivan Sergio Borgonovo) Date: Mon, 23 Mar 2009 14:21:22 +0100 Subject: [support] MyISAM vs InnoDB In-Reply-To: <49C77658.60306@theingots.org> References: <49C4E915.3020106@theingots.org> <20090321192859.2bea4162@dawn.webthatworks.it> <20090322114443.m2e84ubvcsu80s00@mail.progw.org> <20090323123313.22c59d27@dawn.webthatworks.it> <49C77658.60306@theingots.org> Message-ID: <20090323142122.0804ae86@night.webthatworks.it> On Mon, 23 Mar 2009 12:45:28 +0100 Daniel Carrera wrote: > Ivan Sergio Borgonovo wrote: > >> Well, not yet anyway. http://drupal.org/node/301362 > ... > > > > My point is: > > - if you're not using "advanced" features and you're not constrained > > by concurrent writes MyISAM is good enough. I'd say MyISAM may be > > even better suited to Drupal than InnoDB. None of the two engines > > is famous for data integrity after all. > > I thought the whole point of InnoDB *was* data integrity. I'm really not a MySQL black belt so I've commented on the topic more than reasonable... but InnoDB should also have better performances for concurrent write. BTW I just learned you can't use geo-indexes on InnoDB... Of course data integrity is not just about content of tables. > > - if you're using advanced features, you're constrained by > > concurrent writes, you can't afford data loss and you didn't > > invest too much in MySQL there are better engines to look at. > > Out of curiosity, what would you suggest? No, I'm not looking to > leave MySQL but I always enjoy learning a little more about databases. PostgreSQL... but really it depends on your needs. Drupal PostgreSQL support is not the same as MySQL support, especially in contrib but I won't get scared about it. Still you need to know what you're doing. Suggesting switching to PostgreSQL may have the same result of suggesting to switch to Linux to a Windows user. A lot of people cry in despair and will curse you... others will never come back... for many reasons... From ramprasath_explicit at yahoo.co.in Mon Mar 23 13:24:48 2009 From: ramprasath_explicit at yahoo.co.in (ram prasath) Date: Mon, 23 Mar 2009 18:54:48 +0530 (IST) Subject: [support] simple search Message-ID: <733691.48117.qm@web7608.mail.in.yahoo.com> Thank you victor for your quick reply.. ??? ? I had? tried the solution given by you But I didn't able to get the search value I? had given Its showing like this Your search yielded no results --- On Mon, 23/3/09, Victor Kane wrote: From: Victor Kane Subject: Re: [support] simple search To: support at drupal.org Date: Monday, 23 March, 2009, 6:45 PM First of all, your site has to be indexed regularly, you can do this by either running cron manually from the admin status report page (Administer -> Reports), or by setting up cron to run on your server (see http://drupal.org/cron ). Then there are two ways to add the interface for the users: 1. Assign the search block to any region (header, sidebar, etc.) you like. You can do this in Administer > Site building > Blocks. 2. Many themes include a search block which can be enabled via the theme configuration at Administer > Site building > Themes ... > your theme configuration. Victor Kane http://awebfactory.com.ar http://projectflowandtracker.com 2009/3/23 ram prasath HI, ? Can u tel me how to add a simple search using drupal. im my drupal home page Add more friends to your messenger and enjoy! Invite them now. -- [ Drupal support list | http://lists.drupal.org/ ] -----Inline Attachment Follows----- -- [ Drupal support list | http://lists.drupal.org/ ] Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From earnie at users.sourceforge.net Mon Mar 23 13:34:57 2009 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Mon, 23 Mar 2009 09:34:57 -0400 Subject: [support] MyISAM vs InnoDB In-Reply-To: <20090323142122.0804ae86@night.webthatworks.it> References: <49C4E915.3020106@theingots.org> <20090321192859.2bea4162@dawn.webthatworks.it> <20090322114443.m2e84ubvcsu80s00@mail.progw.org> <20090323123313.22c59d27@dawn.webthatworks.it> <49C77658.60306@theingots.org> <20090323142122.0804ae86@night.webthatworks.it> Message-ID: <20090323093457.67tcanusaloo0kw8@mail.progw.org> Quoting Ivan Sergio Borgonovo : > On Mon, 23 Mar 2009 12:45:28 +0100 > Daniel Carrera wrote: > >> Ivan Sergio Borgonovo wrote: >> >> Well, not yet anyway. http://drupal.org/node/301362 --8<-- > > Of course data integrity is not just about content of tables. > This is why the issue I pointed you to is so important. >> > - if you're using advanced features, you're constrained by >> > concurrent writes, you can't afford data loss and you didn't >> > invest too much in MySQL there are better engines to look at. >> >> Out of curiosity, what would you suggest? No, I'm not looking to >> leave MySQL but I always enjoy learning a little more about databases. > > PostgreSQL... but really it depends on your needs. If only ANSI syntax is used then it shouldn't really matter which transactional DB is used as long is the engine supports ANSI transactional syntax. A transactional DB would allow for less PHP code to be needed and a benefit would be the amount of disk i/o would be lessened. -- Earnie http://r-feed.com Make a Drupal difference and review core patches. -- http://for-my-kids.com/ -- http://www.4offer.biz/ From skessler at denverdataman.com Mon Mar 23 13:57:09 2009 From: skessler at denverdataman.com (Steve Kessler) Date: Mon, 23 Mar 2009 07:57:09 -0600 Subject: [support] simple search In-Reply-To: <733691.48117.qm@web7608.mail.in.yahoo.com> References: <733691.48117.qm@web7608.mail.in.yahoo.com> Message-ID: <0abf01c9abbf$430f7700$c92e6500$@com> Your search is done based on an index of the site that is done when the cron script is run. Make sure you have run cron.php before trying to search. Cron should run every 6 hours on a small site with normal use. If you need help seting this up just write back. -Steve Steve Kessler Denver DataMan 303-587-4428 Sign up for the Denver DataMan Free eNewsletter From: ram prasath [mailto:ramprasath_explicit at yahoo.co.in] Sent: Monday, March 23, 2009 7:25 AM To: support at drupal.org Subject: Re: [support] simple search Thank you victor for your quick reply.. I had tried the solution given by you But I didn't able to get the search value I had given Its showing like this Your search yielded no results --- On Mon, 23/3/09, Victor Kane wrote: From: Victor Kane Subject: Re: [support] simple search To: support at drupal.org Date: Monday, 23 March, 2009, 6:45 PM First of all, your site has to be indexed regularly, you can do this by either running cron manually from the admin status report page (Administer -> Reports), or by setting up cron to run on your server (see http://drupal.org/cron ). Then there are two ways to add the interface for the users: 1. Assign the search block to any region (header, sidebar, etc.) you like. You can do this in Administer > Site building > Blocks. 2. Many themes include a search block which can be enabled via the theme configuration at Administer > Site building > Themes ... > your theme configuration. Victor Kane http://awebfactory.com.ar http://projectflowandtracker.com 2009/3/23 ram prasath HI, Can u tel me how to add a simple search using drupal. im my drupal home page _____ Add more friends to your messenger and enjoy! Invite them now. -- [ Drupal support list | http://lists.drupal.org/ ] -----Inline Attachment Follows----- -- [ Drupal support list | http://lists.drupal.org/ ] _____ Add more friends to your messenger and enjoy! Invite them now. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mail at webthatworks.it Mon Mar 23 14:00:50 2009 From: mail at webthatworks.it (Ivan Sergio Borgonovo) Date: Mon, 23 Mar 2009 15:00:50 +0100 Subject: [support] MyISAM vs InnoDB In-Reply-To: <20090323093457.67tcanusaloo0kw8@mail.progw.org> References: <49C4E915.3020106@theingots.org> <20090321192859.2bea4162@dawn.webthatworks.it> <20090322114443.m2e84ubvcsu80s00@mail.progw.org> <20090323123313.22c59d27@dawn.webthatworks.it> <49C77658.60306@theingots.org> <20090323142122.0804ae86@night.webthatworks.it> <20090323093457.67tcanusaloo0kw8@mail.progw.org> Message-ID: <20090323150050.449c3b59@night.webthatworks.it> On Mon, 23 Mar 2009 09:34:57 -0400 Earnie Boyd wrote: > > Of course data integrity is not just about content of tables. > > > > This is why the issue I pointed you to is so important. > > >> > - if you're using advanced features, you're constrained by > >> > concurrent writes, you can't afford data loss and you didn't > >> > invest too much in MySQL there are better engines to look at. > >> > >> Out of curiosity, what would you suggest? No, I'm not looking to > >> leave MySQL but I always enjoy learning a little more about > >> databases. > > > > PostgreSQL... but really it depends on your needs. > > If only ANSI syntax is used then it shouldn't really matter which > transactional DB is used as long is the engine supports ANSI > transactional syntax. A transactional DB would allow for less PHP > code to be needed and a benefit would be the amount of disk i/o would > be lessened. yeah... but is putting the bar much higher in terms of requirements... that won't make InnoDB just default but required. And it is not just a matter of transactions of course. Once you're in that league you may exploit many other features... But still if you want to keep supporting MyISAM and you want the DB to take care of relational integrity and such if possible... you're going to do twice the work if you still want to support MyISAM and sqlite. Maybe in the future there won't be any good reason to have half-RDBMS around so support for half-RDBMS could be dropped... but right now MyISAM and sqlite have their use case, and somehow dropping support for 2 out of 4 supported DB is not going to make DB abstraction any better right now. From drupal at lourdas.name Mon Mar 23 14:06:23 2009 From: drupal at lourdas.name (Vasileios Lourdas) Date: Mon, 23 Mar 2009 16:06:23 +0200 Subject: [support] Default language problem In-Reply-To: <004201c9abac$4e463b80$ead2b280$@org> References: <200903202219.23629.drupal@lourdas.name> <001501c9aa56$8d7675b0$a8636110$@org> <004201c9abac$4e463b80$ead2b280$@org> Message-ID: <200903231606.23453.drupal@lourdas.name> Hi, On Monday 23 March 2009 13:41:23 John Fletcher wrote: > Vasileios, > > I happened to muck around with user language settings today and noticed > some strange things. Firstly, according to the inline help information on > the interface where you change the user language, this only affects which > language the user receives emails in. So perhaps the behaviour you're > seeing is by design. > > Secondly, I set up a site with default Spanish language and nothing I do > seems to cause the admin screens to be displayed in Spanish, except one > item. The Spanish files claim to have been imported. It's quite weird but I > don't really have time to investigate it because I don't need it right now. > > Anyway I'd be interested to know what happens in your case. > > Regards, > Fletch > www.saltwebsites.com Yes, I realized that too, my mistake. So, the language the interface is displayed depends on the browser language preference? I am mostly interested in anonymous users and I don't want them to see the site's default language, but the language they have in their browser's preferences. Thanks. -- # Vasileios Lourdas, # Informatics Engineer, Thessaloniki (Greece) # http://www.lourdas.name From victorkane at gmail.com Mon Mar 23 14:22:15 2009 From: victorkane at gmail.com (Victor Kane) Date: Mon, 23 Mar 2009 11:22:15 -0300 Subject: [support] simple search In-Reply-To: <733691.48117.qm@web7608.mail.in.yahoo.com> References: <733691.48117.qm@web7608.mail.in.yahoo.com> Message-ID: As I said, you need to either run cron manually or set it up to run about once an hour or two. See my original post for instructions. 2009/3/23 ram prasath > Thank you victor for your quick reply.. > > I had tried the solution given by you But I didn't able to get the > search value I had given > > Its showing like this > Your search yielded no results > > > --- On *Mon, 23/3/09, Victor Kane * wrote: > > > From: Victor Kane > Subject: Re: [support] simple search > To: support at drupal.org > Date: Monday, 23 March, 2009, 6:45 PM > > > First of all, your site has to be indexed regularly, you can do this by > either running cron manually from the admin status report page (Administer > -> Reports), or by setting up cron to run on your server (see > http://drupal.org/cron ). > > Then there are two ways to add the interface for the users: > > 1. Assign the search block to any region (header, sidebar, etc.) you like. > You can do this in Administer > Site building > Blocks. > 2. Many themes include a search block which can be enabled via the theme > configuration at Administer > Site building > Themes ... > your theme > configuration. > > Victor Kane > http://awebfactory.com.ar > http://projectflowandtracker.com > > 2009/3/23 ram prasath > > > >> HI, >> Can u tel me how to add a simple search using drupal. im my drupal home >> page >> >> ------------------------------ >> Add more friends to your messenger and enjoy! Invite them now. >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > -----Inline Attachment Follows----- > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > > ------------------------------ > Add more friends to your messenger and enjoy! Invite them now. > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From victorkane at gmail.com Mon Mar 23 14:24:48 2009 From: victorkane at gmail.com (Victor Kane) Date: Mon, 23 Mar 2009 11:24:48 -0300 Subject: [support] MyISAM vs InnoDB In-Reply-To: <20090323150050.449c3b59@night.webthatworks.it> References: <49C4E915.3020106@theingots.org> <20090321192859.2bea4162@dawn.webthatworks.it> <20090322114443.m2e84ubvcsu80s00@mail.progw.org> <20090323123313.22c59d27@dawn.webthatworks.it> <49C77658.60306@theingots.org> <20090323142122.0804ae86@night.webthatworks.it> <20090323093457.67tcanusaloo0kw8@mail.progw.org> <20090323150050.449c3b59@night.webthatworks.it> Message-ID: Data integrity is understood as respecting the relationships between tables. So, if there are several tables in a one to many relationship with the node table, say, for a CCK based content type, if the node is deleted, then the child records would also be deleted. On Mon, Mar 23, 2009 at 11:00 AM, Ivan Sergio Borgonovo < mail at webthatworks.it> wrote: > On Mon, 23 Mar 2009 09:34:57 -0400 > Earnie Boyd wrote: > > > > Of course data integrity is not just about content of tables. > > > > > > > This is why the issue I pointed you to is so important. > > > > >> > - if you're using advanced features, you're constrained by > > >> > concurrent writes, you can't afford data loss and you didn't > > >> > invest too much in MySQL there are better engines to look at. > > >> > > >> Out of curiosity, what would you suggest? No, I'm not looking to > > >> leave MySQL but I always enjoy learning a little more about > > >> databases. > > > > > > PostgreSQL... but really it depends on your needs. > > > > If only ANSI syntax is used then it shouldn't really matter which > > transactional DB is used as long is the engine supports ANSI > > transactional syntax. A transactional DB would allow for less PHP > > code to be needed and a benefit would be the amount of disk i/o would > > be lessened. > > yeah... but is putting the bar much higher in terms of requirements... > that won't make InnoDB just default but required. > And it is not just a matter of transactions of course. > Once you're in that league you may exploit many other features... > > But still if you want to keep supporting MyISAM and you want the DB to > take care of relational integrity and such if possible... you're going > to do twice the work if you still want to support MyISAM and sqlite. > > Maybe in the future there won't be any good reason to have half-RDBMS > around so support for half-RDBMS could be dropped... but right now > MyISAM and sqlite have their use case, and somehow dropping support for > 2 out of 4 supported DB is not going to make DB abstraction any better > right now. > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From victorkane at gmail.com Mon Mar 23 14:25:27 2009 From: victorkane at gmail.com (Victor Kane) Date: Mon, 23 Mar 2009 11:25:27 -0300 Subject: [support] MyISAM vs InnoDB In-Reply-To: References: <49C4E915.3020106@theingots.org> <20090321192859.2bea4162@dawn.webthatworks.it> <20090322114443.m2e84ubvcsu80s00@mail.progw.org> <20090323123313.22c59d27@dawn.webthatworks.it> <49C77658.60306@theingots.org> <20090323142122.0804ae86@night.webthatworks.it> <20090323093457.67tcanusaloo0kw8@mail.progw.org> <20090323150050.449c3b59@night.webthatworks.it> Message-ID: and you would not be allowed to delete a parent without also deleting children. On Mon, Mar 23, 2009 at 11:24 AM, Victor Kane wrote: > Data integrity is understood as respecting the relationships between > tables. > So, if there are several tables in a one to many relationship with the node > table, say, for a CCK based content type, if the node is deleted, then the > child records would also be deleted. > > > On Mon, Mar 23, 2009 at 11:00 AM, Ivan Sergio Borgonovo < > mail at webthatworks.it> wrote: > >> On Mon, 23 Mar 2009 09:34:57 -0400 >> Earnie Boyd wrote: >> >> > > Of course data integrity is not just about content of tables. >> > > >> > >> > This is why the issue I pointed you to is so important. >> > >> > >> > - if you're using advanced features, you're constrained by >> > >> > concurrent writes, you can't afford data loss and you didn't >> > >> > invest too much in MySQL there are better engines to look at. >> > >> >> > >> Out of curiosity, what would you suggest? No, I'm not looking to >> > >> leave MySQL but I always enjoy learning a little more about >> > >> databases. >> > > >> > > PostgreSQL... but really it depends on your needs. >> > >> > If only ANSI syntax is used then it shouldn't really matter which >> > transactional DB is used as long is the engine supports ANSI >> > transactional syntax. A transactional DB would allow for less PHP >> > code to be needed and a benefit would be the amount of disk i/o would >> > be lessened. >> >> yeah... but is putting the bar much higher in terms of requirements... >> that won't make InnoDB just default but required. >> And it is not just a matter of transactions of course. >> Once you're in that league you may exploit many other features... >> >> But still if you want to keep supporting MyISAM and you want the DB to >> take care of relational integrity and such if possible... you're going >> to do twice the work if you still want to support MyISAM and sqlite. >> >> Maybe in the future there won't be any good reason to have half-RDBMS >> around so support for half-RDBMS could be dropped... but right now >> MyISAM and sqlite have their use case, and somehow dropping support for >> 2 out of 4 supported DB is not going to make DB abstraction any better >> right now. >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From pierre.rineau at makina-corpus.com Mon Mar 23 14:11:51 2009 From: pierre.rineau at makina-corpus.com (Pierre Rineau) Date: Mon, 23 Mar 2009 15:11:51 +0100 Subject: [support] MyISAM vs InnoDB In-Reply-To: <49C54ED9.5000907@theingots.org> References: <49C4E915.3020106@theingots.org> <20090321192859.2bea4162@dawn.webthatworks.it> <49C54ED9.5000907@theingots.org> Message-ID: <1237817511.6213.15.camel@guinevere.makina-nantes.net> PostgreSQL is a way better than MySQL, about all topics. The only thing on which MySQL could be better, is maybe it's faster on read operations on small databases. But, in fact, PostgreSQL can handle correctly really BIG databases, with a really big amount of data, and is easier to cluster. PostgreSQL is more stable, secure, and a more efficient and flawless with stocked procedures and triggers. If you have to choose between MyISAM and InnoDB, if I were you, I'd choose InnoDB, it's a lot more stable. MyISAM may be faster and eat less disk space, but you may have really bad surprises with your data integrity. In the company I work for, we used to make a MySQL intensive use, the first monthes, we abandon MyISAM for a lot of obvious reasons. And right now, we are abandoning MySQL in flavor of PostgreSQL. We still use MySQL for Drupal, because a lot of module developpers still can't write standard SQL, but, if all modules were PostgreSQL aware, we would not use MySQL at all. This a my opinion, from my experience, I may be wrong. Do the right choice, don't do IT :) Le samedi 21 mars 2009 ? 21:32 +0100, Daniel Carrera a ?crit : > Ivan Sergio Borgonovo wrote: > > It really depends on what you need to do. If you don't know it I'd > > go for MyISAM since most of the features you may be looking for in > > InnoDB are not really fully exploited by stock Drupal. > > I just wrote another post that explains my hosting environment. I am > interested in speed and reliability (isn't everybody?). My understanding > is that: > > 1) InnoDB is more reliable. > 2) InnoDB reads faster, if the primary keys and indexes are set right. > 3) InnoDB writes slower. > 4) InnoDB requires more disk space and more RAM. > > Am I right so far? I'm not very familiar with this topic. > > I'm not very concerned about disk space. I'm happy to make the DB 20% > bigger if it'll improve read speed and reliability. But I don't fully > understand the implications of InnoDB vs MyISAM, so I thought I'd ask here. > > > > The reasons that may make you chose InnoDB may be the same to > > consider to add to the list PostgreSQL, but it really depends on > > what is your specific need. > > I thought that the main benefit of PostgreSQL was advanced features > (procedures, triggers, etc). I don't use any of those. I'm just looking > for speed an reliability. > > > Summing it up: > > > > Drupal doesn't have support for transaction or referential integrity > > but you may need it if you're developing your own modules. > > If you've several writes or high concurrency and data integrity is > > important PostgreSQL may be an interesting option. > > > > If you've a lot of read, and you don't mind having to deal with > > some inconsistency , MyISAM and replication may be fine. > > > > I think InnoDB is "in between" without shining for any aspect. > > If I were looking for transactions and data integrity I'd take the > > InnoDB route just if I already invested a lot in MySQL. > > Thanks. This was very informative. > > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] From daniel.carrera at theingots.org Mon Mar 23 15:32:34 2009 From: daniel.carrera at theingots.org (Daniel Carrera) Date: Mon, 23 Mar 2009 16:32:34 +0100 Subject: [support] MyISAM vs InnoDB In-Reply-To: <1237817511.6213.15.camel@guinevere.makina-nantes.net> References: <49C4E915.3020106@theingots.org> <20090321192859.2bea4162@dawn.webthatworks.it> <49C54ED9.5000907@theingots.org> <1237817511.6213.15.camel@guinevere.makina-nantes.net> Message-ID: <49C7AB92.4070508@theingots.org> Pierre Rineau wrote: > PostgreSQL is a way better than MySQL, about all topics. Data integrity too? I thought the main benefit of Postgres was features (triggers, stored procedures, etc). > The only thing on which MySQL could be better, is maybe it's faster on > read operations on small databases. That shouldn't be underestimated. It means that MySQL is the right choice for most websites. > If you have to choose between MyISAM and InnoDB, if I were you, I'd > choose InnoDB, it's a lot more stable. MyISAM may be faster and eat less > disk space, but you may have really bad surprises with your data > integrity. Thanks. I'm leaning toward switching to InnoDB. I'll certainly move my own work to InnoDB. Our website has both a Drupal site and a custom web app that I wrote. The custom app is more critical than Drupal, so it is a better candidate for InnoDB. > In the company I work for, we used to make a MySQL intensive use, the > first monthes, we abandon MyISAM for a lot of obvious reasons. Actually, I would love to know what those reasons are. Is it just data integrity? Our web host doesn't offer Postgres, so I can't seriously consider that option, but I would be happy to hear more about the pros and cons, just out of personal curiosity. You seem to suggest that MySQL has faster reads for small databases. How small is "small"? My boss likes speed. :) Cheers, Daniel. From sivaji2009 at gmail.com Mon Mar 23 15:48:49 2009 From: sivaji2009 at gmail.com (sivaji j.g) Date: Mon, 23 Mar 2009 21:18:49 +0530 Subject: [support] user search In-Reply-To: <200903230904.44149.aldo@caonao.cu> References: <652372.19053.qm@web7602.mail.in.yahoo.com> <200903230904.44149.aldo@caonao.cu> Message-ID: On Mon, Mar 23, 2009 at 6:34 PM, Aldo Martinez Selleras wrote: > > i am creating a custom user directory for my site, and i want to use the > drupal search for this... how can i add a search form in my page but only for > search users??? search_data($username, $type = 'user') create a custom form which calls the above function on submit. You may have to refer this http://api.drupal.org/api/file/modules/search/search.module/6 -- Thanks a lot ----------------------------------------- http://ubuntuslave.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From pierre.rineau at makina-corpus.com Mon Mar 23 15:50:03 2009 From: pierre.rineau at makina-corpus.com (Pierre Rineau) Date: Mon, 23 Mar 2009 16:50:03 +0100 Subject: [support] MyISAM vs InnoDB In-Reply-To: <49C7AB92.4070508@theingots.org> References: <49C4E915.3020106@theingots.org> <20090321192859.2bea4162@dawn.webthatworks.it> <49C54ED9.5000907@theingots.org> <1237817511.6213.15.camel@guinevere.makina-nantes.net> <49C7AB92.4070508@theingots.org> Message-ID: <1237823403.6213.28.camel@guinevere.makina-nantes.net> Le lundi 23 mars 2009 ? 16:32 +0100, Daniel Carrera a ?crit : > Pierre Rineau wrote: > > PostgreSQL is a way better than MySQL, about all topics. > > Data integrity too? I thought the main benefit of Postgres was features > (triggers, stored procedures, etc). It's true, PostgreSQL really has a lot of cool features. But it's also true that it provides a fully ACID (Atomicity, Consistency, Isolation, Durability) compliant database, which MySQL does not until the future 6 release. In PG database, every request, even a single simple one, is executed in a transactionnal context. This is also true with triggers and procedures. I quote "PostgreSQL is fully ACID-compliant, while MySQL's InnoDB storage engine provides engine-level ACID-compliance" (see http://www.wikivs.com/wiki/MySQL_vs_PostgreSQL#ACID_Compliance). Even with clustering, PostgreSQL seems to be a lot more powerfull, since you can use cross databases constraints between tables from more than one PG instance. You can also do table partitioning, and a lot of other cool features to help you when you start having *A LOT* of data :) > > The only thing on which MySQL could be better, is maybe it's faster on > > read operations on small databases. > > That shouldn't be underestimated. It means that MySQL is the right > choice for most websites. > > > If you have to choose between MyISAM and InnoDB, if I were you, I'd > > choose InnoDB, it's a lot more stable. MyISAM may be faster and eat less > > disk space, but you may have really bad surprises with your data > > integrity. > > Thanks. I'm leaning toward switching to InnoDB. I'll certainly move my > own work to InnoDB. Our website has both a Drupal site and a custom web > app that I wrote. The custom app is more critical than Drupal, so it is > a better candidate for InnoDB. > > > > In the company I work for, we used to make a MySQL intensive use, the > > first monthes, we abandon MyISAM for a lot of obvious reasons. > > Actually, I would love to know what those reasons are. Is it just data > integrity? Data integrity is a sufficient reason. But, we also had a lot of problems with MySQL query cache bugs (with concurent access to the database, some data were not refreshed, but was written in database). I think now, most of thoses bugs have been resolved. But still, we sometime continue to find some strange behaviors when you write your queries in the wrong order (performance problems most of them), things that happens less often with recent PostgreSQL releases (it remains that this is the developer responsability to write correct queries). > Our web host doesn't offer Postgres, so I can't seriously consider that > option, but I would be happy to hear more about the pros and cons, just > out of personal curiosity. You seem to suggest that MySQL has faster > reads for small databases. How small is "small"? My boss likes speed. :) You might want to search google for this. In fact, most of posts you'll read will take position for one of those, be aware when reading them. But, if you read a lot of them, you could do your own opinion. I still think that testing both for a long time is the better way to do your choice. > Cheers, > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] Regards, Pierre. From mike at mikeyp.net Mon Mar 23 16:24:15 2009 From: mike at mikeyp.net (Michael Prasuhn) Date: Mon, 23 Mar 2009 09:24:15 -0700 Subject: [support] MyISAM vs InnoDB In-Reply-To: <49C54ED9.5000907@theingots.org> References: <49C4E915.3020106@theingots.org> <20090321192859.2bea4162@dawn.webthatworks.it> <49C54ED9.5000907@theingots.org> Message-ID: <5371EAA1-C294-4A5C-8213-13299A08E07E@mikeyp.net> On Mar 21, 2009, at 1:32 PM, Daniel Carrera wrote: > I just wrote another post that explains my hosting environment. I am > interested in speed and reliability (isn't everybody?). My > understanding is that: > > 1) InnoDB is more reliable. > 2) InnoDB reads faster, if the primary keys and indexes are set right. > 3) InnoDB writes slower. > 4) InnoDB requires more disk space and more RAM. A lot of confusion here, from others, not just Daniel. Overall the biggest benefit is that InnoDB supports row-level locking versus table- locking on writes. For high traffic sites this can make some obvious benefits for tables like access logs, sessions, users, comments, node_comment_statistics and the like. The downside is that for reading large amounts of simple data, InnoDB is slower than MyISAM. In fact MyISAM is probably one of the fastest engines out there in terms of reading data. In short, unless you know you have large waits doing common tasks such as insert comments when the load on the site is high, or you have a way to examine how many connections are waiting on table locks before completion, you are probably best off sticking with MyISAM. Also, while InnoDB is widely available these days, you may still run into hosts that don't support it, but do support MyISAM. -Mike __________________ Michael Prasuhn 503.488.5433 office 714.356.0168 cell 503.661.7574 home mike at mikeyp.net http://mikeyp.net From skessler at denverdataman.com Mon Mar 23 16:35:21 2009 From: skessler at denverdataman.com (Steve Kessler) Date: Mon, 23 Mar 2009 10:35:21 -0600 Subject: [support] Strange Java Script Problem Message-ID: <0b4701c9abd5$5cb5c590$162150b0$@com> I am working on a site for a client that was developed by someone else with a very simple Zegine theme. Our changes have all been to views and changing which size fields show up and stuff like that. We had installed Devel but it has been uninstalled. Without any clues to when the problem started TinyMCE is not showing up and you can no longer expand areas on node/add node/x/edit like Publishing options. I have checked that everything I know to look for looks right and I would appreciate any help I can get on what to do for this client to make it work. I have checked the error logs and there are no errors. Thanks, Steve Steve Kessler Denver DataMan 303-587-4428 Sign up for the Denver DataMan Free eNewsletter -------------- next part -------------- An HTML attachment was scrubbed... URL: From mail at webthatworks.it Mon Mar 23 17:19:53 2009 From: mail at webthatworks.it (Ivan Sergio Borgonovo) Date: Mon, 23 Mar 2009 18:19:53 +0100 Subject: [support] MyISAM vs InnoDB In-Reply-To: References: <49C4E915.3020106@theingots.org> <20090321192859.2bea4162@dawn.webthatworks.it> <20090322114443.m2e84ubvcsu80s00@mail.progw.org> <20090323123313.22c59d27@dawn.webthatworks.it> <49C77658.60306@theingots.org> <20090323142122.0804ae86@night.webthatworks.it> <20090323093457.67tcanusaloo0kw8@mail.progw.org> <20090323150050.449c3b59@night.webthatworks.it> Message-ID: <20090323181953.41f48c35@dawn.webthatworks.it> On Mon, 23 Mar 2009 11:24:48 -0300 Victor Kane wrote: > Data integrity is understood as respecting the relationships > between tables. So, if there are several tables in a one to many > relationship with the node table, say, for a CCK based content > type, if the node is deleted, then the child records would also be > deleted. yep... but doing this in PHP is a pain, doing it in PHP and in SQL is a double pain. And unless support for MyISAM and sqlite is going to be dropped, and I don't think right now is a good choice, using more "advanced" DB features in core would be a double pain. Another thing is helping people to exploit more advanced features in their modules. Modules may have more exotic requirements than core. -- Ivan Sergio Borgonovo http://www.webthatworks.it From pierre.rineau at makina-corpus.com Mon Mar 23 17:26:42 2009 From: pierre.rineau at makina-corpus.com (Pierre Rineau) Date: Mon, 23 Mar 2009 18:26:42 +0100 Subject: [support] MyISAM vs InnoDB In-Reply-To: <5371EAA1-C294-4A5C-8213-13299A08E07E@mikeyp.net> References: <49C4E915.3020106@theingots.org> <20090321192859.2bea4162@dawn.webthatworks.it> <49C54ED9.5000907@theingots.org> <5371EAA1-C294-4A5C-8213-13299A08E07E@mikeyp.net> Message-ID: <1237829202.6213.46.camel@guinevere.makina-nantes.net> Le lundi 23 mars 2009 ? 09:24 -0700, Michael Prasuhn a ?crit : > On Mar 21, 2009, at 1:32 PM, Daniel Carrera wrote: > > I just wrote another post that explains my hosting environment. I am > > interested in speed and reliability (isn't everybody?). My > > understanding is that: > > > > 1) InnoDB is more reliable. > > 2) InnoDB reads faster, if the primary keys and indexes are set right. > > 3) InnoDB writes slower. > > 4) InnoDB requires more disk space and more RAM. > > A lot of confusion here, from others, not just Daniel. Overall the > biggest benefit is that InnoDB supports row-level locking versus table- > locking on writes. For high traffic sites this can make some obvious > benefits for tables like access logs, sessions, users, comments, > node_comment_statistics and the like. > > The downside is that for reading large amounts of simple data, InnoDB > is slower than MyISAM. In fact MyISAM is probably one of the fastest > engines out there in terms of reading data. I don't think speed is really the problem here. There are a lot of wide architectures that uses PostgreSQL or other DBMS's under very high load. There are now a lot of solution to support high loads, and most of them are based on redondancy and large amount of memory. Use a fast DBMS, ok, but use a REAL DBMS, they are, in fact, fast enough. The fact MyISAM reads fast, is the concequencies of its lack of security and features. Don't kill the kitten, don't use MyISAM. Indeed, keeping such engine alive is an heresy, because it's not ACID compliant, even if Drupal does not use transactions or referencial integrity, this is a very bad habit to continue to use it. > In short, unless you know you have large waits doing common tasks such > as insert comments when the load on the site is high, or you have a > way to examine how many connections are waiting on table locks before > completion, you are probably best off sticking with MyISAM. > > Also, while InnoDB is widely available these days, you may still run > into hosts that don't support it, but do support MyISAM. Your conclusion makes sens, some hosters continues to use outdated technos such as MyISAM. But in case you are starting a new architecture of your own somewhere, I really disencourage you to use MyISAM. > > -Mike > __________________ > Michael Prasuhn > 503.488.5433 office > 714.356.0168 cell > 503.661.7574 home > mike at mikeyp.net > http://mikeyp.net > > > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] From daniel.carrera at theingots.org Mon Mar 23 17:30:02 2009 From: daniel.carrera at theingots.org (Daniel Carrera) Date: Mon, 23 Mar 2009 18:30:02 +0100 Subject: [support] MyISAM vs InnoDB In-Reply-To: <5371EAA1-C294-4A5C-8213-13299A08E07E@mikeyp.net> References: <49C4E915.3020106@theingots.org> <20090321192859.2bea4162@dawn.webthatworks.it> <49C54ED9.5000907@theingots.org> <5371EAA1-C294-4A5C-8213-13299A08E07E@mikeyp.net> Message-ID: <49C7C71A.3020709@theingots.org> Michael Prasuhn wrote: > A lot of confusion here, from others, not just Daniel. Overall the > biggest benefit is that InnoDB supports row-level locking versus > table-locking on writes. Could you confirm that row-level locking means that you can do multiple INSERTs at the same time? Suppose that you are going to do 50 INSERTs in one transaction (my non-Drupal site does this at one place). Can two users do the 50-INSERT operation at the same time? (the application is a markbook/gradebook - the inserts are the marks/grades for 50 students). > The downside is that for reading large amounts of simple data, InnoDB is > slower than MyISAM. In fact MyISAM is probably one of the fastest > engines out there in terms of reading data. I thought that InnoDB was supposed to be faster for reading. At least, for reading rows that are related by index (e.g. users 1-20 assuming that "user id" is an index). > Also, while InnoDB is widely available these days, you may still run > into hosts that don't support it, but do support MyISAM. I'm not too worried about that because *my* host supports InnoDB. Cheers, Daniel. From mail at webthatworks.it Mon Mar 23 17:52:14 2009 From: mail at webthatworks.it (Ivan Sergio Borgonovo) Date: Mon, 23 Mar 2009 18:52:14 +0100 Subject: [support] MyISAM vs InnoDB In-Reply-To: <49C7AB92.4070508@theingots.org> References: <49C4E915.3020106@theingots.org> <20090321192859.2bea4162@dawn.webthatworks.it> <49C54ED9.5000907@theingots.org> <1237817511.6213.15.camel@guinevere.makina-nantes.net> <49C7AB92.4070508@theingots.org> Message-ID: <20090323185214.37fec17e@dawn.webthatworks.it> On Mon, 23 Mar 2009 16:32:34 +0100 Daniel Carrera wrote: > Actually, I would love to know what those reasons are. Is it just > data integrity? > > Our web host doesn't offer Postgres, so I can't seriously consider > that option, but I would be happy to hear more about the pros and > cons, just out of personal curiosity. You seem to suggest that > MySQL has faster reads for small databases. How small is "small"? > My boss likes speed. :) MyISAM, InnoDB and PostgreSQL perform differently on different situation. Ease of development and safety of data may have an indirect impact on speed as well. For some tasks MyISAM is reliable enough and "failure" won't impact the "average" speed. Once you add replication it may become your best solution. I think that outside that scenario the only 2 good reason to chose InnoDB over PostgreSQL are: - you invested a lot in MySQL (your staff is made of MySQL black belt) - you want to lower as much as possible the cost of maintaining drupal sites and still data integrity and frequent writes aren't your first priority but you're starting to feel the pain of MyISAM. In my view most of the time this is going to be a "diplomatic" choice... still not a "we seriously would like a bit more data integrity/concurrency but we can't afford PostgreSQL" choice. Once you're in the territory of "a bit more data integrity and concurrency" you've already passed the threshold that will make maintaining MySQL cheaper. So most of the times the real reason to keep using InnoDB vs. PostgreSQL is your knowledge of the tool. In most if not all the situations where you may chose InnoDB over MyISAM just on technical merits, PostgreSQL would be a better candidate... since there are other constraint that may influence your choice you may still prefer InnoDB. And... as Michael Prasuhn wrote most of the sites don't have to deal with the problems InnoDB try to solve and when they run into them they have built up so much (too much?) MySQL knowledge and invested so much in MySQL tuning/coding that their best move is to switch to InnoDB. -- Ivan Sergio Borgonovo http://www.webthatworks.it From pierre.rineau at makina-corpus.com Mon Mar 23 18:04:06 2009 From: pierre.rineau at makina-corpus.com (Pierre Rineau) Date: Mon, 23 Mar 2009 19:04:06 +0100 Subject: [support] MyISAM vs InnoDB In-Reply-To: <20090323185214.37fec17e@dawn.webthatworks.it> References: <49C4E915.3020106@theingots.org> <20090321192859.2bea4162@dawn.webthatworks.it> <49C54ED9.5000907@theingots.org> <1237817511.6213.15.camel@guinevere.makina-nantes.net> <49C7AB92.4070508@theingots.org> <20090323185214.37fec17e@dawn.webthatworks.it> Message-ID: <1237831446.29281.2.camel@blaster> On Mon, 2009-03-23 at 18:52 +0100, Ivan Sergio Borgonovo wrote: > On Mon, 23 Mar 2009 16:32:34 +0100 > Daniel Carrera wrote: > > > Actually, I would love to know what those reasons are. Is it just > > data integrity? > > > > Our web host doesn't offer Postgres, so I can't seriously consider > > that option, but I would be happy to hear more about the pros and > > cons, just out of personal curiosity. You seem to suggest that > > MySQL has faster reads for small databases. How small is "small"? > > My boss likes speed. :) > > MyISAM, InnoDB and PostgreSQL perform differently on different > situation. > Ease of development and safety of data may have an indirect impact > on speed as well. > > For some tasks MyISAM is reliable enough and "failure" won't impact > the "average" speed. Once you add replication it may become your > best solution. > > I think that outside that scenario the only 2 good reason to chose > InnoDB over PostgreSQL are: > - you invested a lot in MySQL (your staff is made of MySQL black > belt) > - you want to lower as much as possible the cost of maintaining > drupal sites and still data integrity and frequent writes aren't > your first priority but you're starting to feel the pain of > MyISAM. In my view most of the time this is going to be a > "diplomatic" choice... still not a "we seriously would like a bit > more data integrity/concurrency but we can't afford PostgreSQL" > choice. Once you're in the territory of "a bit more data integrity > and concurrency" you've already passed the threshold that will > make maintaining MySQL cheaper. > > So most of the times the real reason to keep using InnoDB vs. > PostgreSQL is your knowledge of the tool. +1 > In most if not all the situations where you may chose InnoDB over > MyISAM just on technical merits, PostgreSQL would be a better > candidate... since there are other constraint that may influence > your choice you may still prefer InnoDB. +1 > And... as Michael Prasuhn wrote most of the sites don't have to deal > with the problems InnoDB try to solve and when they run into them > they have built up so much (too much?) MySQL knowledge and invested > so much in MySQL tuning/coding that their best move is to switch to > InnoDB. > From fredthejonester at gmail.com Mon Mar 23 18:04:36 2009 From: fredthejonester at gmail.com (Fred Jones) Date: Mon, 23 Mar 2009 20:04:36 +0200 Subject: [support] Strange Java Script Problem In-Reply-To: <0b4701c9abd5$5cb5c590$162150b0$@com> References: <0b4701c9abd5$5cb5c590$162150b0$@com> Message-ID: <177c0a10903231104s262f8549x51b8fb717557e097@mail.gmail.com> > I am working on a site for a client that was developed by someone else with > a very simple Zegine theme. Our changes have all been to views and changing > which size fields show up and stuff like that. We had installed Devel but > ?it has been uninstalled. Without any clues to when the problem started > TinyMCE is not showing up and you can no longer expand areas on node/add > node/x/edit like Publishing options. I have checked that everything I know > to look for looks right and I would appreciate any help I can get on what to > do for this client to make it work. Are there are any JS errors? Are all JS and CSS files referenced correctly and found? Those are the first two things to check. From skessler at denverdataman.com Mon Mar 23 18:08:21 2009 From: skessler at denverdataman.com (Steve Kessler) Date: Mon, 23 Mar 2009 12:08:21 -0600 Subject: [support] Strange Java Script Problem Message-ID: <20090323180849.C22601C4081@fraxinus.osuosl.org> When I visit the page I am not seeing any errors. Is there a tool i should use to check other than my browser? -----Original Message----- From: "Fred Jones" To: support at drupal.org Sent: 3/23/2009 12:04 PM Subject: Re: [support] Strange Java Script Problem > I am working on a site for a client that was developed by someone else with > a very simple Zegine theme. Our changes have all been to views and changing > which size fields show up and stuff like that. We had installed Devel but > ?it has been uninstalled. Without any clues to when the problem started > TinyMCE is not showing up and you can no longer expand areas on node/add > node/x/edit like Publishing options. I have checked that everything I know > to look for looks right and I would appreciate any help I can get on what to > do for this client to make it work. Are there are any JS errors? Are all JS and CSS files referenced correctly and found? Those are the first two things to check. -- [ Drupal support list | http://lists.drupal.org/ ] From william.darren at gmail.com Mon Mar 23 18:09:19 2009 From: william.darren at gmail.com (William Smith) Date: Mon, 23 Mar 2009 14:09:19 -0400 Subject: [support] Strange Java Script Problem In-Reply-To: <177c0a10903231104s262f8549x51b8fb717557e097@mail.gmail.com> References: <0b4701c9abd5$5cb5c590$162150b0$@com> <177c0a10903231104s262f8549x51b8fb717557e097@mail.gmail.com> Message-ID: <74630ca20903231109h58672c0n2efad4797cd717ea@mail.gmail.com> Yes, like Fred said you'll want to check for JS errors which you won't see in any logs, and make sure all the files are being included. Firebug is your best tool here. On Mon, Mar 23, 2009 at 2:04 PM, Fred Jones wrote: >> I am working on a site for a client that was developed by someone else with >> a very simple Zegine theme. Our changes have all been to views and changing >> which size fields show up and stuff like that. We had installed Devel but >> ?it has been uninstalled. Without any clues to when the problem started >> TinyMCE is not showing up and you can no longer expand areas on node/add >> node/x/edit like Publishing options. I have checked that everything I know >> to look for looks right and I would appreciate any help I can get on what to >> do for this client to make it work. > > Are there are any JS errors? Are all JS and CSS files referenced > correctly and found? > > Those are the first two things to check. > -- > [ Drupal support list | http://lists.drupal.org/ ] > From sivaji2009 at gmail.com Mon Mar 23 18:13:36 2009 From: sivaji2009 at gmail.com (sivaji j.g) Date: Mon, 23 Mar 2009 23:43:36 +0530 Subject: [support] Strange Java Script Problem In-Reply-To: <74630ca20903231109h58672c0n2efad4797cd717ea@mail.gmail.com> References: <0b4701c9abd5$5cb5c590$162150b0$@com> <177c0a10903231104s262f8549x51b8fb717557e097@mail.gmail.com> <74630ca20903231109h58672c0n2efad4797cd717ea@mail.gmail.com> Message-ID: On Mon, Mar 23, 2009 at 11:39 PM, William Smith wrote: > Yes, like Fred said you'll want to check for JS errors which you won't > see in any logs, and make sure all the files are being included. > > Firebug is your best tool here. firefox error console too (shortcut key ctrl + shift + j). > > -- Thanks a lot ----------------------------------------- http://ubuntuslave.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike at mikeyp.net Mon Mar 23 18:43:58 2009 From: mike at mikeyp.net (Michael Prasuhn) Date: Mon, 23 Mar 2009 11:43:58 -0700 Subject: [support] MyISAM vs InnoDB In-Reply-To: <49C7C71A.3020709@theingots.org> References: <49C4E915.3020106@theingots.org> <20090321192859.2bea4162@dawn.webthatworks.it> <49C54ED9.5000907@theingots.org> <5371EAA1-C294-4A5C-8213-13299A08E07E@mikeyp.net> <49C7C71A.3020709@theingots.org> Message-ID: <681EAF89-CA73-41F4-BFDE-F8E6D3919FD9@mikeyp.net> On Mar 23, 2009, at 10:30 AM, Daniel Carrera wrote: > Could you confirm that row-level locking means that you can do > multiple INSERTs at the same time? > > Suppose that you are going to do 50 INSERTs in one transaction (my > non-Drupal site does this at one place). Can two users do the 50- > INSERT operation at the same time? (the application is a markbook/ > gradebook - the inserts are the marks/grades for 50 students). Well there are some gotcha conditions, if you have a WHERE clause in your update, it must be using an index, otherwise it has to do a table scan, and locks the whole table. Also, any inserts using an auto- increment column will lock the entire table to prevent duplicate values. > I thought that InnoDB was supposed to be faster for reading. At > least, for reading rows that are related by index (e.g. users 1-20 > assuming that "user id" is an index). Please see http://2bits.com/articles/mysql-innodb-performance-gains-as-well-as-some-pitfalls.html for some examples. -Mike __________________ Michael Prasuhn 503.488.5433 office 714.356.0168 cell 503.661.7574 home mike at mikeyp.net http://mikeyp.net From fredthejonester at gmail.com Mon Mar 23 19:02:16 2009 From: fredthejonester at gmail.com (Fred Jones) Date: Mon, 23 Mar 2009 21:02:16 +0200 Subject: [support] Strange Java Script Problem In-Reply-To: <20090323180849.C22601C4081@fraxinus.osuosl.org> References: <20090323180849.C22601C4081@fraxinus.osuosl.org> Message-ID: <177c0a10903231202v1ba67a68i4ec0e7dff7f860ac@mail.gmail.com> > When I visit the page I am not seeing any errors. Is there a tool i should use to check other than my browser? Firefox has a plugin called Firebug which is a fantastic tool for this. Install it and you will see. :) From daniel.carrera at theingots.org Mon Mar 23 19:08:00 2009 From: daniel.carrera at theingots.org (Daniel Carrera) Date: Mon, 23 Mar 2009 20:08:00 +0100 Subject: [support] MyISAM vs InnoDB In-Reply-To: <681EAF89-CA73-41F4-BFDE-F8E6D3919FD9@mikeyp.net> References: <49C4E915.3020106@theingots.org> <20090321192859.2bea4162@dawn.webthatworks.it> <49C54ED9.5000907@theingots.org> <5371EAA1-C294-4A5C-8213-13299A08E07E@mikeyp.net> <49C7C71A.3020709@theingots.org> <681EAF89-CA73-41F4-BFDE-F8E6D3919FD9@mikeyp.net> Message-ID: <49C7DE10.6040301@theingots.org> Michael Prasuhn wrote: > Well there are some gotcha conditions, if you have a WHERE clause in > your update, it must be using an index, otherwise it has to do a table > scan, and locks the whole table. Also, any inserts using an > auto-increment column will lock the entire table to prevent duplicate > values. Hmm... the auto-increment thing could be an issue. This leads me to two new questions: 1. Is it necessary for every row in the table to be unique? 2. Is it necessary for the primary key to be unique? Currently, the table looks like this: id, student_id, teacher_id, marks, date The id is a primary key with auto_increment, but honestly I don't need it for anything. I normally search for student_id, so that's an index. Can I make it a primary key and drop the 'id' field? Then I won't have auto-increment and so I'll get non-blocking 50-INSERTs :-) Would this work? > Please see > http://2bits.com/articles/mysql-innodb-performance-gains-as-well-as-some-pitfalls.html for > some examples. *Click* Cheers, Daniel. From skessler at denverdataman.com Mon Mar 23 19:14:52 2009 From: skessler at denverdataman.com (Steve Kessler) Date: Mon, 23 Mar 2009 13:14:52 -0600 Subject: [support] Strange Java Script Problem In-Reply-To: <177c0a10903231202v1ba67a68i4ec0e7dff7f860ac@mail.gmail.com> References: <20090323180849.C22601C4081@fraxinus.osuosl.org> <177c0a10903231202v1ba67a68i4ec0e7dff7f860ac@mail.gmail.com> Message-ID: <003201c9abeb$a596fd90$f0c4f8b0$@com> I use Firebug for CSS but had not used it for scripts. There are a few Java errors connected to tinyMCE but what would cause them to show up now and not before. Tiny worked Thursday but not Sunday. Thanks, Steve Steve Kessler Denver DataMan 303-587-4428 Sign up for the Denver DataMan Free eNewsletter -----Original Message----- From: Fred Jones [mailto:fredthejonester at gmail.com] Sent: Monday, March 23, 2009 1:02 PM To: support at drupal.org Subject: Re: [support] Strange Java Script Problem > When I visit the page I am not seeing any errors. Is there a tool i should use to check other than my browser? Firefox has a plugin called Firebug which is a fantastic tool for this. Install it and you will see. :) -- [ Drupal support list | http://lists.drupal.org/ ] From fredthejonester at gmail.com Mon Mar 23 19:31:27 2009 From: fredthejonester at gmail.com (Fred Jones) Date: Mon, 23 Mar 2009 21:31:27 +0200 Subject: [support] Strange Java Script Problem In-Reply-To: <003201c9abeb$a596fd90$f0c4f8b0$@com> References: <20090323180849.C22601C4081@fraxinus.osuosl.org> <177c0a10903231202v1ba67a68i4ec0e7dff7f860ac@mail.gmail.com> <003201c9abeb$a596fd90$f0c4f8b0$@com> Message-ID: <177c0a10903231231y260a71d0v7adb6017404558b4@mail.gmail.com> > I use Firebug for CSS but had not used it for scripts. There are a few Java > errors connected to tinyMCE but what would cause them to show up now and not > before. Tiny worked Thursday but not Sunday. "Javascript errors" to be precise. Java is a different language. Why now? Hard to say--could be something else changed on the site--without examining it it's very difficult to say. From earnie at users.sourceforge.net Mon Mar 23 19:55:16 2009 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Mon, 23 Mar 2009 15:55:16 -0400 Subject: [support] MyISAM vs InnoDB In-Reply-To: <49C7C71A.3020709@theingots.org> References: <49C4E915.3020106@theingots.org> <20090321192859.2bea4162@dawn.webthatworks.it> <49C54ED9.5000907@theingots.org> <5371EAA1-C294-4A5C-8213-13299A08E07E@mikeyp.net> <49C7C71A.3020709@theingots.org> Message-ID: <20090323155516.tpm6qb3ubqkoc00o@mail.progw.org> Quoting Daniel Carrera : > Michael Prasuhn wrote: >> A lot of confusion here, from others, not just Daniel. Overall the >> biggest benefit is that InnoDB supports row-level locking versus >> table-locking on writes. > > Could you confirm that row-level locking means that you can do > multiple INSERTs at the same time? > > Suppose that you are going to do 50 INSERTs in one transaction (my > non-Drupal site does this at one place). Can two users do the > 50-INSERT operation at the same time? (the application is a > markbook/gradebook - the inserts are the marks/grades for 50 > students). > If the operation is transactionalized and the users are updating some of the same rows the one who updates last looses because the engine is smart enough to know that the second update cannot be allowed to happen because the signature of the row has changed; the user can then be warned that the data changed prior to his update. Or, in some cases, the rows can be locked up front so the second user waits on the first user to release the data rows before he can even view the data. In the non-transactinalized case the second update wins and the original update is lost without warning; we see this in the issue queue quite often with people changing the status column from the changed value to previous value incidentally. -- Earnie http://r-feed.com Make a Drupal difference and review core patches. -- http://for-my-kids.com/ -- http://www.4offer.biz/ From earnie at users.sourceforge.net Mon Mar 23 19:59:25 2009 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Mon, 23 Mar 2009 15:59:25 -0400 Subject: [support] MyISAM vs InnoDB In-Reply-To: <20090323181953.41f48c35@dawn.webthatworks.it> References: <49C4E915.3020106@theingots.org> <20090321192859.2bea4162@dawn.webthatworks.it> <20090322114443.m2e84ubvcsu80s00@mail.progw.org> <20090323123313.22c59d27@dawn.webthatworks.it> <49C77658.60306@theingots.org> <20090323142122.0804ae86@night.webthatworks.it> <20090323093457.67tcanusaloo0kw8@mail.progw.org> <20090323150050.449c3b59@night.webthatworks.it> <20090323181953.41f48c35@dawn.webthatworks.it> Message-ID: <20090323155925.bh8hnll6xykogg4o@mail.progw.org> Quoting Ivan Sergio Borgonovo : > And unless support for MyISAM and sqlite is going to be dropped, and > I don't think right now is a good choice, using more "advanced" > DB features in core would be a double pain. > I don't know about sqlite but MyISAM would continue to work even if we code for the transactional update. It would just lock tables instead of rows and the cascading would not occur. If warned it would be up to the user to make a determination to continue with MyISAM or move to a new provider. -- Earnie http://r-feed.com Make a Drupal difference and review core patches. -- http://for-my-kids.com/ -- http://www.4offer.biz/ From hovercrafter at earthlink.net Mon Mar 23 20:37:55 2009 From: hovercrafter at earthlink.net (Jamie Holly) Date: Mon, 23 Mar 2009 16:37:55 -0400 Subject: [support] Strange Java Script Problem In-Reply-To: <177c0a10903231231y260a71d0v7adb6017404558b4@mail.gmail.com> References: <20090323180849.C22601C4081@fraxinus.osuosl.org> <177c0a10903231202v1ba67a68i4ec0e7dff7f860ac@mail.gmail.com> <003201c9abeb$a596fd90$f0c4f8b0$@com> <177c0a10903231231y260a71d0v7adb6017404558b4@mail.gmail.com> Message-ID: <49C7F323.4020500@earthlink.net> Is this Drupal 6? If so, do you have the option to compress and optimize JS files checked on the performance page? If so, I would uncheck that and see if it clears up. Jamie Holly http://www.intoxination.net http://www.hollyit.net Fred Jones wrote: > > I use Firebug for CSS but had not used it for scripts. There are a few Java > > errors connected to tinyMCE but what would cause them to show up now and not > > before. Tiny worked Thursday but not Sunday. > > "Javascript errors" to be precise. Java is a different language. > > Why now? Hard to say--could be something else changed on the > site--without examining it it's very difficult to say. > -- > [ Drupal support list | http://lists.drupal.org/ ] > > From ram1.ameex at gmail.com Tue Mar 24 12:21:53 2009 From: ram1.ameex at gmail.com (ram prasath) Date: Tue, 24 Mar 2009 17:51:53 +0530 Subject: [support] search Message-ID: <9d3b87020903240521o403c3125u4a45180cd454093a@mail.gmail.com> HI, Can any one tell me how to set the simple search in our drupal page.... Thanks in advance, regards prasath -------------- next part -------------- An HTML attachment was scrubbed... URL: From aldo at caonao.cu Tue Mar 24 12:17:09 2009 From: aldo at caonao.cu (Aldo Martinez Selleras) Date: Tue, 24 Mar 2009 08:17:09 -0400 Subject: [support] unique node post In-Reply-To: References: <652372.19053.qm@web7602.mail.in.yahoo.com> <200903230904.44149.aldo@caonao.cu> Message-ID: <200903240817.09488.aldo@caonao.cu> how can i create a content type wich only support one post of that??? more less "bio" content type -- ---------------------- Aldo Martinez Selleras Especialista en Telematica CITMATEL GND Camaguey Tel: 53 32 291661 Linux User #364356 From edward.peters at uk.iofc.org Tue Mar 24 11:55:09 2009 From: edward.peters at uk.iofc.org (Edward Peters) Date: Tue, 24 Mar 2009 11:55:09 -0000 Subject: [support] View Bulk Operations question Message-ID: <01f801c9ac77$620748a0$2615d9e0$@peters@uk.iofc.org> Hi there. I am trying to send an email to users using the VBO module and it works fine except that line breaks in the email text are not respected by the code. The message field has no input format option. Any advice on how to format the email? Thanks Edward Peters From nikhilrkale at gmail.com Tue Mar 24 13:15:48 2009 From: nikhilrkale at gmail.com (Nikhil Kala) Date: Tue, 24 Mar 2009 18:45:48 +0530 Subject: [support] search In-Reply-To: <9d3b87020903240521o403c3125u4a45180cd454093a@mail.gmail.com> References: <9d3b87020903240521o403c3125u4a45180cd454093a@mail.gmail.com> Message-ID: Hello Prasath, There is search module available in drupal. Also you can put PHP code in Drupal page by selecting the input format as Full PHP at the bottom of the page. 2009/3/24 ram prasath > HI, > > Can any one tell me how to set the simple search in our drupal page.... > > Thanks in advance, > > > regards > prasath > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Thanks & Regards, Nikhil Kala Blogs @ http://www.nikhilkala.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From william.darren at gmail.com Tue Mar 24 14:14:40 2009 From: william.darren at gmail.com (William Smith) Date: Tue, 24 Mar 2009 10:14:40 -0400 Subject: [support] unique node post In-Reply-To: <200903240817.09488.aldo@caonao.cu> References: <652372.19053.qm@web7602.mail.in.yahoo.com> <200903230904.44149.aldo@caonao.cu> <200903240817.09488.aldo@caonao.cu> Message-ID: <74630ca20903240714p39b6a717p2306714b2c97f25e@mail.gmail.com> I'm not sure what the preferred way would be in D6, but in D5 and 4.7, this could be set by content type via Node Family (http://drupal.org/project/nodefamily) I've considered use cases for singleton type nodes in the past as well. It would be relatively straightforward to implement, so there is probably something existing and more current out there in the contrib space. Ah, here's another one, but again it doesn't seem to be D6 ready: http://drupal.org/project/node_limitnumber And .. aha .. here's one for D6, found a reference to this one in the previous one's issue queue :) http://drupal.org/project/node_limit On Tue, Mar 24, 2009 at 8:17 AM, Aldo Martinez Selleras wrote: > how can i create a content type wich only support one post of that??? > > more less "bio" content type > > -- > ---------------------- > Aldo Martinez Selleras > Especialista en Telematica > CITMATEL GND Camaguey > Tel: 53 32 291661 > Linux User #364356 > -- > [ Drupal support list | http://lists.drupal.org/ ] > From rohanasmith at gmail.com Tue Mar 24 14:30:45 2009 From: rohanasmith at gmail.com (Rohan Smith) Date: Tue, 24 Mar 2009 09:30:45 -0500 Subject: [support] Content types cannot be renamed Message-ID: <44659aeb0903240730o6944cf7csc62f533822a2fe4c@mail.gmail.com> I am coming across a very frustrating problem. I want to rename my content types "Human readable name" but they keep on reverting back to the old name the instant I press save content type. I even went inside the database to change the content type name but it still reverted to the old name. The only method that works is if i also change the system name "the machine-readable name of the content type" before the name can be changed. But some are not editable since it says "This field cannot be modified for system-defined content types." so i cannot change the name in the human readable section nor the machine readable name. I am using drupal 5.x could this be a bug? or am i doing something wrong? R.A.Smith Manager/Technical Lead Exterbox - "Thinking outside of the box" http://www.exterbox.com rohan at exterbox.com 1-876-449-7506 -------------- next part -------------- An HTML attachment was scrubbed... URL: From rohanasmith at gmail.com Tue Mar 24 14:38:38 2009 From: rohanasmith at gmail.com (Rohan Smith) Date: Tue, 24 Mar 2009 09:38:38 -0500 Subject: [support] Content types cannot be renamed In-Reply-To: <44659aeb0903240730o6944cf7csc62f533822a2fe4c@mail.gmail.com> References: <44659aeb0903240730o6944cf7csc62f533822a2fe4c@mail.gmail.com> Message-ID: <44659aeb0903240738s326424f1q848c319c62116c2b@mail.gmail.com> I even get the message The content type has been updated. On Tue, Mar 24, 2009 at 9:30 AM, Rohan Smith wrote: > I am coming across a very frustrating problem. I want to rename my content > types "Human readable name" but they keep on reverting back to the old name > the instant I press save content type. > I even went inside the database to change the content type name but it > still reverted to the old name. > The only method that works is if i also change the system name "the > machine-readable name of the content type" before the name can be changed. > But some are not editable since it says "This field cannot be modified for > system-defined content types." so i cannot change the name in the human > readable section nor the machine readable name. > > I am using drupal 5.x > > could this be a bug? or am i doing something wrong? > > R.A.Smith > Manager/Technical Lead > Exterbox - "Thinking outside of the box" > http://www.exterbox.com > rohan at exterbox.com > 1-876-449-7506 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From neil at esl-lounge.com Tue Mar 24 14:36:03 2009 From: neil at esl-lounge.com (Neil Coghlan) Date: Tue, 24 Mar 2009 11:36:03 -0300 Subject: [support] Content types cannot be renamed References: <44659aeb0903240730o6944cf7csc62f533822a2fe4c@mail.gmail.com> Message-ID: <7A6D7961195D40F5B66DAA2A15273ABA@Neil> Others may be able to help you with the more technical side of things, but you could just use customised language/string replacement module in order to make, for example, "blog" always appear as "journal". Neil ----- Original Message ----- From: Rohan Smith To: support at drupal.org Sent: Tuesday, March 24, 2009 11:30 AM Subject: [support] Content types cannot be renamed I am coming across a very frustrating problem. I want to rename my content types "Human readable name" but they keep on reverting back to the old name the instant I press save content type. I even went inside the database to change the content type name but it still reverted to the old name. The only method that works is if i also change the system name "the machine-readable name of the content type" before the name can be changed. But some are not editable since it says "This field cannot be modified for system-defined content types." so i cannot change the name in the human readable section nor the machine readable name. I am using drupal 5.x could this be a bug? or am i doing something wrong? R.A.Smith Manager/Technical Lead Exterbox - "Thinking outside of the box" http://www.exterbox.com rohan at exterbox.com 1-876-449-7506 ------------------------------------------------------------------------------ -- [ Drupal support list | http://lists.drupal.org/ ] -------------- next part -------------- An HTML attachment was scrubbed... URL: From pierre.rineau at makina-corpus.com Tue Mar 24 14:49:03 2009 From: pierre.rineau at makina-corpus.com (Pierre Rineau) Date: Tue, 24 Mar 2009 15:49:03 +0100 Subject: [support] Content types cannot be renamed In-Reply-To: <44659aeb0903240730o6944cf7csc62f533822a2fe4c@mail.gmail.com> References: <44659aeb0903240730o6944cf7csc62f533822a2fe4c@mail.gmail.com> Message-ID: <1237906143.6350.4.camel@guinevere.makina-nantes.net> I had once a time this error. In my case, it was because the i18n module breaks a default Drupal behavior. I don't really know if this bug is still here. Read http://drupal.org/node/300167 It may be the source of your problem. Regards, Pierre. Le mardi 24 mars 2009 ? 09:30 -0500, Rohan Smith a ?crit : > I am coming across a very frustrating problem. I want to rename my > content types "Human readable name" but they keep on reverting back to > the old name the instant I press save content type. > I even went inside the database to change the content type name but it > still reverted to the old name. > The only method that works is if i also change the system name "the > machine-readable name of the content type" before the name can be > changed. But some are not editable since it says "This field cannot be > modified for system-defined content types." so i cannot change the > name in the human readable section nor the machine readable name. > > I am using drupal 5.x > > could this be a bug? or am i doing something wrong? > > R.A.Smith > Manager/Technical Lead > Exterbox - "Thinking outside of the box" > http://www.exterbox.com > rohan at exterbox.com > 1-876-449-7506 > -- > [ Drupal support list | http://lists.drupal.org/ ] From aridavidow at gmail.com Tue Mar 24 20:07:37 2009 From: aridavidow at gmail.com (Ari Davidow) Date: Tue, 24 Mar 2009 16:07:37 -0400 Subject: [support] best practices for flickr <-> drupal? Message-ID: <747cfaf50903241307x7355220el8546a53d47e3bcc9@mail.gmail.com> We are exploring using Flickr and our website in tandem. We are running Drupal 5. I see four pages of flickr-related modules on the Drupal.org site. Has anyone on this list happily used one of these modules (or some other method) to create the equivalent of an image browsing gallery or slide show in Drupal? ari From mroswell at gmail.com Tue Mar 24 20:17:08 2009 From: mroswell at gmail.com (Margie Roswell) Date: Tue, 24 Mar 2009 16:17:08 -0400 Subject: [support] best practices for flickr <-> drupal? In-Reply-To: <747cfaf50903241307x7355220el8546a53d47e3bcc9@mail.gmail.com> References: <747cfaf50903241307x7355220el8546a53d47e3bcc9@mail.gmail.com> Message-ID: I have not, but I look forward to responses on this! Once I used a Flickr-only approach on a Joomla 1.5 development site, but I no longer have access to the account info for that site,and I don't think the site ever went live. I'm pretty sure I used http://fabiocavassini.com.ar/SlideShowGenerator.html and was happy with it. In essence, it creates an iframe, which I haven't yet done in Drupal, but probably not too hard (my guess). I'm interested in hearing what folks have to say about Drupal module approaches. On Tue, Mar 24, 2009 at 4:07 PM, Ari Davidow wrote: > We are exploring using Flickr and our website in tandem. We are > running Drupal 5. I see four pages of flickr-related modules on the > Drupal.org site. Has anyone on this list happily used one of these > modules (or some other method) to create the equivalent of an image > browsing gallery or slide show in Drupal? > > ari > -- > [ Drupal support list | http://lists.drupal.org/ ] > From skessler at denverdataman.com Wed Mar 25 00:38:25 2009 From: skessler at denverdataman.com (Steve Kessler) Date: Tue, 24 Mar 2009 18:38:25 -0600 Subject: [support] Strange Java Script Problem In-Reply-To: <49C7F323.4020500@earthlink.net> References: <20090323180849.C22601C4081@fraxinus.osuosl.org> <177c0a10903231202v1ba67a68i4ec0e7dff7f860ac@mail.gmail.com> <003201c9abeb$a596fd90$f0c4f8b0$@com> <177c0a10903231231y260a71d0v7adb6017404558b4@mail.gmail.com> <49C7F323.4020500@earthlink.net> Message-ID: <014901c9ace2$039e6b70$0adb4250$@com> Performance settings were changed by my themer and that was the problem. Thank you very much for your help with this. -Steve Steve Kessler Denver DataMan 303-587-4428 Sign up for the Denver DataMan Free eNewsletter -----Original Message----- From: Jamie Holly [mailto:hovercrafter at earthlink.net] Sent: Monday, March 23, 2009 2:38 PM To: support at drupal.org Subject: Re: [support] Strange Java Script Problem Is this Drupal 6? If so, do you have the option to compress and optimize JS files checked on the performance page? If so, I would uncheck that and see if it clears up. Jamie Holly http://www.intoxination.net http://www.hollyit.net Fred Jones wrote: > > I use Firebug for CSS but had not used it for scripts. There are a few Java > > errors connected to tinyMCE but what would cause them to show up now and not > > before. Tiny worked Thursday but not Sunday. > > "Javascript errors" to be precise. Java is a different language. > > Why now? Hard to say--could be something else changed on the > site--without examining it it's very difficult to say. > -- > [ Drupal support list | http://lists.drupal.org/ ] > > -- [ Drupal support list | http://lists.drupal.org/ ] From rohanasmith at gmail.com Wed Mar 25 04:38:45 2009 From: rohanasmith at gmail.com (Rohan Smith) Date: Tue, 24 Mar 2009 23:38:45 -0500 Subject: [support] Content types cannot be renamed In-Reply-To: <1237906143.6350.4.camel@guinevere.makina-nantes.net> References: <44659aeb0903240730o6944cf7csc62f533822a2fe4c@mail.gmail.com> <1237906143.6350.4.camel@guinevere.makina-nantes.net> Message-ID: <44659aeb0903242138y60c9d0cak864ea0f8a8a526ea@mail.gmail.com> Great that was the problem, It disabled *i18n - content types renamed it and enabled it again but that didnt work, it went back to the original*name. What I had to do was go to the internationalization *String *settings, then look for the string that represented that content type then i set it. R.A.Smith Manager/Technical Lead Exterbox - "Thinking outside of the box" http://www.exterbox.com rohan at exterbox.com 1-876-449-7506 On Tue, Mar 24, 2009 at 9:49 AM, Pierre Rineau < pierre.rineau at makina-corpus.com> wrote: > I had once a time this error. > > In my case, it was because the i18n module breaks a default Drupal > behavior. I don't really know if this bug is still here. > > Read http://drupal.org/node/300167 > > It may be the source of your problem. > > Regards, > Pierre. > > Le mardi 24 mars 2009 ? 09:30 -0500, Rohan Smith a ?crit : > > I am coming across a very frustrating problem. I want to rename my > > content types "Human readable name" but they keep on reverting back to > > the old name the instant I press save content type. > > I even went inside the database to change the content type name but it > > still reverted to the old name. > > The only method that works is if i also change the system name "the > > machine-readable name of the content type" before the name can be > > changed. But some are not editable since it says "This field cannot be > > modified for system-defined content types." so i cannot change the > > name in the human readable section nor the machine readable name. > > > > I am using drupal 5.x > > > > could this be a bug? or am i doing something wrong? > > > > R.A.Smith > > Manager/Technical Lead > > Exterbox - "Thinking outside of the box" > > http://www.exterbox.com > > rohan at exterbox.com > > 1-876-449-7506 > > -- > > [ Drupal support list | http://lists.drupal.org/ ] > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lakbay.taodev at gmail.com Wed Mar 25 05:37:01 2009 From: lakbay.taodev at gmail.com (tata dano) Date: Wed, 25 Mar 2009 13:37:01 +0800 Subject: [support] images not working... Message-ID: <4acfed4e0903242237o9cfa4a1l72d0f19a670de55f@mail.gmail.com> Hello, I have a problem with my drupal setup maybe..i don't know. I already installed all the necessary modules for posting or uploading images but it really doesn't work. Totally, it will not display. On the other hand, I've the logs and found out these messages: Typepage not found DateTuesday, March 24, 2009 - 11:54 Userubercart Location http://localhost//home/tatskie/www/ubercart/sites/default/files/green-guitar-wallpaper.jpg Referrerhttp://localhost/admin/logs/event/454 Message home/tatskie/www/ubercart/sites/default/files/green-guitar-wallpaper.jpg Severitywarning I have a lot of these errors. So, any suggestions and advice on how to fix these problem? A million thanks in advance. Regards, Tata Linux Registered User #383849 http://kngphil.proboards58.com/ http://atats.blogspot.com/ http://sedemdbs.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From michel at ziobudda.net Wed Mar 25 10:20:56 2009 From: michel at ziobudda.net (Davide Michel 'ZioBudda' Morelli) Date: Wed, 25 Mar 2009 11:20:56 +0100 Subject: [support] images not working... In-Reply-To: <4acfed4e0903242237o9cfa4a1l72d0f19a670de55f@mail.gmail.com> References: <4acfed4e0903242237o9cfa4a1l72d0f19a670de55f@mail.gmail.com> Message-ID: <49CA0588.8040009@ziobudda.net> Hi, check Location: I think that you have a bad configuration in the files sections. It is impossible (IMHO) that your url is http://localhost//home/tatskie/www/ubercart/ It's more probable that it's http://localhost M. tata dano ha scritto: > Hello, > > I have a problem with my drupal setup maybe..i don't know. I already > installed all the necessary modules for posting or uploading images > but it really doesn't work. Totally, it will not display. On the other > hand, I've the logs and found out these messages: > > Type page not found > Date Tuesday, March 24, 2009 - 11:54 > User ubercart > Location > http://localhost//home/tatskie/www/ubercart/sites/default/files/green-guitar-wallpaper.jpg > > > Referrer http://localhost/admin/logs/event/454 > > Message > home/tatskie/www/ubercart/sites/default/files/green-guitar-wallpaper.jpg > Severity warning > > > I have a lot of these errors. So, any suggestions and advice on how to > fix these problem? A million thanks in advance. > > Regards, > > Tata > > > > Linux Registered User #383849 > http://kngphil.proboards58.com/ > http://atats.blogspot.com/ > http://sedemdbs.blogspot.com/ > ------------------------------------------------------------------------ > > -- > [ Drupal support list | http://lists.drupal.org/ ] -- Michel 'ZioBudda' Morelli michel at ziobudda.net Consulenza sistemistica in ambito OpenSource. Sviluppo applicazioni web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ziodrupal.net MSN: michel at ziobuddalabs.it JABBER: michel at ziobuddalabs.it -------------- next part -------------- An HTML attachment was scrubbed... URL: From lakbay.taodev at gmail.com Wed Mar 25 13:59:46 2009 From: lakbay.taodev at gmail.com (tata dano) Date: Wed, 25 Mar 2009 21:59:46 +0800 Subject: [support] images not working... In-Reply-To: <49CA0588.8040009@ziobudda.net> References: <4acfed4e0903242237o9cfa4a1l72d0f19a670de55f@mail.gmail.com> <49CA0588.8040009@ziobudda.net> Message-ID: <4acfed4e0903250659y34c5fbebva883d8c7c4441faf@mail.gmail.com> Yeah its true..with this, I'm trying to figure out how to fix it. Any advice also? 2009/3/25 Davide Michel 'ZioBudda' Morelli > Hi, check Location: > > I think that you have a bad configuration in the files sections. > > It is impossible (IMHO) that your url is > http://localhost//home/tatskie/www/ubercart/ > > It's more probable that it's http://localhost > > M. > > tata dano ha scritto: > > Hello, > > I have a problem with my drupal setup maybe..i don't know. I already > installed all the necessary modules for posting or uploading images but it > really doesn't work. Totally, it will not display. On the other hand, I've > the logs and found out these messages: > > Type page not found Date Tuesday, March 24, 2009 - 11:54 User ubercart > Location > http://localhost//home/tatskie/www/ubercart/sites/default/files/green-guitar-wallpaper.jpg > Referrer http://localhost/admin/logs/event/454 > Message > home/tatskie/www/ubercart/sites/default/files/green-guitar-wallpaper.jpg > Severity warning > I have a lot of these errors. So, any suggestions and advice on how to fix > these problem? A million thanks in advance. > > Regards, > > Tata > > > > Linux Registered User #383849 > http://kngphil.proboards58.com/ > http://atats.blogspot.com/ > http://sedemdbs.blogspot.com/ > > ------------------------------ > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > > > -- > Michel 'ZioBudda' Morelli michel at ziobudda.net > Consulenza sistemistica in ambito OpenSource. > Sviluppo applicazioni web dinamiche (LAMP+Ajax) > Telefono: 0200619074 > Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 > http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_buddahttp://www.ziodrupal.net MSN: michel at ziobuddalabs.it > JABBER: michel at ziobuddalabs.it > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Linux Registered User #383849 http://kngphil.proboards58.com/ http://atats.blogspot.com/ http://sedemdbs.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From development at standoutdesign.nl Wed Mar 25 14:08:50 2009 From: development at standoutdesign.nl (Stefan Nagtegaal) Date: Wed, 25 Mar 2009 15:08:50 +0100 Subject: [support] images not working... In-Reply-To: <4acfed4e0903250659y34c5fbebva883d8c7c4441faf@mail.gmail.com> References: <4acfed4e0903242237o9cfa4a1l72d0f19a670de55f@mail.gmail.com> <49CA0588.8040009@ziobudda.net> <4acfed4e0903250659y34c5fbebva883d8c7c4441faf@mail.gmail.com> Message-ID: <1AB61BAE-EBE8-4392-8074-3D34D8B05006@standoutdesign.nl> > http://localhost//home/tatskie/www/ubercart/ Did you noticed the double "//" in your url? Check your base url, and your .htaccess file. Perhaps even your Rewrite base "/" inside the .htaccess.. Kind regards, Stefan Nagtegaal From mail at webthatworks.it Wed Mar 25 15:32:10 2009 From: mail at webthatworks.it (Ivan Sergio Borgonovo) Date: Wed, 25 Mar 2009 16:32:10 +0100 Subject: [support] multiple buttons with same #value D5 Message-ID: <20090325163210.6159e460@dawn.webthatworks.it> I've something like: $form['add']=array( '#tree' => TRUE, ); $form['qty']=array( '#tree' => TRUE, ); // ... while(...) { $form['qty'][$id]]=array( '#type'=>'textfield', '#default_value'=> 0, '#size'=>3, '#maxlength'=>3, ); $form['add'][$id]=array( '#type'=>'button', // '#type'=>'submit', // '#name'=>$id, '#value'=>t('Add'), ); } In a table + a general submit button If the general submit button is pressed all the qty have to be collected... and saved in the DB. If one of the add button is pressed I should record just the qty of the corresponding button. But since all buttons should have the same #value, I can't see how I could understand which one was pressed in the _submit function. I can't use JavaScript. thanks -- Ivan Sergio Borgonovo http://www.webthatworks.it From mail at webthatworks.it Wed Mar 25 15:55:53 2009 From: mail at webthatworks.it (Ivan Sergio Borgonovo) Date: Wed, 25 Mar 2009 16:55:53 +0100 Subject: [support] multiple buttons with same #value D5 In-Reply-To: <20090325163210.6159e460@dawn.webthatworks.it> References: <20090325163210.6159e460@dawn.webthatworks.it> Message-ID: <20090325165553.5c4a8f53@dawn.webthatworks.it> On Wed, 25 Mar 2009 16:32:10 +0100 Ivan Sergio Borgonovo wrote: I had to resort to some Web 1.5 techniques $form['add'][$id]=array( // '#type'=>'button', '#type'=>'submit', '#name'=>$id.'-add', '#value'=>t('Add'), ); } roll over qty foreach($form_values['qty']... if($form_values[$key.'-add']==t('Add'); Did things get better in D5+? -- Ivan Sergio Borgonovo http://www.webthatworks.it From earnie at users.sourceforge.net Wed Mar 25 16:07:34 2009 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Wed, 25 Mar 2009 16:07:34 +0000 Subject: [support] multiple buttons with same #value D5 In-Reply-To: <20090325163210.6159e460@dawn.webthatworks.it> References: <20090325163210.6159e460@dawn.webthatworks.it> Message-ID: <20090325160734.mug06q8sw0wsko04@mail.siebunlimited.com> Quoting Ivan Sergio Borgonovo : > > But since all buttons should have the same #value, I can't see how I > could understand which one was pressed in the _submit function. Do you have access to #name? In your example it is set to the value of the id. -- Earnie http://r-feed.com Make a Drupal difference and review core patches. -- http://for-my-kids.com/ -- http://www.4offer.biz/ ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From hovercrafter at earthlink.net Wed Mar 25 16:08:52 2009 From: hovercrafter at earthlink.net (Jamie Holly) Date: Wed, 25 Mar 2009 12:08:52 -0400 Subject: [support] multiple buttons with same #value D5 In-Reply-To: <20090325165553.5c4a8f53@dawn.webthatworks.it> References: <20090325163210.6159e460@dawn.webthatworks.it> <20090325165553.5c4a8f53@dawn.webthatworks.it> Message-ID: <49CA5714.9000301@earthlink.net> D6 has the clicked_button value set: http://drupal.org/node/144132 Instead of just returning the value of the clicked button in $form_state['op'], you get the entire form element returned. Jamie Holly http://www.intoxination.net http://www.hollyit.net Ivan Sergio Borgonovo wrote: > On Wed, 25 Mar 2009 16:32:10 +0100 > Ivan Sergio Borgonovo wrote: > > I had to resort to some Web 1.5 techniques > > $form['add'][$id]=array( > // '#type'=>'button', > '#type'=>'submit', > '#name'=>$id.'-add', > '#value'=>t('Add'), > ); > } > > roll over qty > > foreach($form_values['qty']... > if($form_values[$key.'-add']==t('Add'); > > Did things get better in D5+? > > From lakbay.taodev at gmail.com Wed Mar 25 16:51:57 2009 From: lakbay.taodev at gmail.com (tata dano) Date: Thu, 26 Mar 2009 00:51:57 +0800 Subject: [support] images not working... In-Reply-To: <1AB61BAE-EBE8-4392-8074-3D34D8B05006@standoutdesign.nl> References: <4acfed4e0903242237o9cfa4a1l72d0f19a670de55f@mail.gmail.com> <49CA0588.8040009@ziobudda.net> <4acfed4e0903250659y34c5fbebva883d8c7c4441faf@mail.gmail.com> <1AB61BAE-EBE8-4392-8074-3D34D8B05006@standoutdesign.nl> Message-ID: <4acfed4e0903250951r51838417n955ab2969b9d5615@mail.gmail.com> Hmm..i didn't noticed it til now. You're right. Thanks a lot for pointing it out. On Wed, Mar 25, 2009 at 10:08 PM, Stefan Nagtegaal < development at standoutdesign.nl> wrote: > http://localhost//home/tatskie/www/ubercart/ >> > > Did you noticed the double "//" in your url? > Check your base url, and your .htaccess file. Perhaps even your Rewrite > base "/" inside the .htaccess.. > > Kind regards, > > > Stefan Nagtegaal > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Linux Registered User #383849 http://kngphil.proboards58.com/ http://atats.blogspot.com/ http://sedemdbs.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From metzlerd at evergreen.edu Wed Mar 25 19:29:09 2009 From: metzlerd at evergreen.edu (Metzler, David) Date: Wed, 25 Mar 2009 12:29:09 -0700 Subject: [support] multiple buttons with same #value D5 In-Reply-To: <20090325165553.5c4a8f53@dawn.webthatworks.it> References: <20090325163210.6159e460@dawn.webthatworks.it> <20090325165553.5c4a8f53@dawn.webthatworks.it> Message-ID: <52177C930FA90F4D9888B0343FDB79FB10ED6E@birch.evergreen.edu> A little known fact... You can create containers in the forms array that have no visual representation in the form, kind of like fieldsets, but without the fieldset. While (...) { $form[$id] = array('#tree' => TRUE); $form[$id]['qty'] = array(....); $form[$id]['add'] = array(....); } Might clean up some of the code you've discovered. I usually nest all the rows into a single fieldset as well, but that's optional. Dave -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Ivan Sergio Borgonovo Sent: Wednesday, March 25, 2009 8:56 AM To: support at drupal.org Subject: Re: [support] multiple buttons with same #value D5 On Wed, 25 Mar 2009 16:32:10 +0100 Ivan Sergio Borgonovo wrote: I had to resort to some Web 1.5 techniques $form['add'][$id]=array( // '#type'=>'button', '#type'=>'submit', '#name'=>$id.'-add', '#value'=>t('Add'), ); } roll over qty foreach($form_values['qty']... if($form_values[$key.'-add']==t('Add'); Did things get better in D5+? -- Ivan Sergio Borgonovo http://www.webthatworks.it -- [ Drupal support list | http://lists.drupal.org/ ] From mail at webthatworks.it Wed Mar 25 19:35:00 2009 From: mail at webthatworks.it (Ivan Sergio Borgonovo) Date: Wed, 25 Mar 2009 20:35:00 +0100 Subject: [support] multiple buttons with same #value D5 In-Reply-To: <52177C930FA90F4D9888B0343FDB79FB10ED6E@birch.evergreen.edu> References: <20090325163210.6159e460@dawn.webthatworks.it> <20090325165553.5c4a8f53@dawn.webthatworks.it> <52177C930FA90F4D9888B0343FDB79FB10ED6E@birch.evergreen.edu> Message-ID: <20090325203500.0d383e1b@dawn.webthatworks.it> On Wed, 25 Mar 2009 12:29:09 -0700 "Metzler, David" wrote: > A little known fact... You can create containers in the forms > array that have no visual representation in the form, kind of like > fieldsets, but without the fieldset. > > While (...) { > $form[$id] = array('#tree' => TRUE); > $form[$id]['qty'] = array(....); > $form[$id]['add'] = array(....); > } > > Might clean up some of the code you've discovered. > > I usually nest all the rows into a single fieldset as well, but > that's optional. No they were actual editable values. Each row had a textfield (qty) and a button + a "superbutton" at the end of the table. Anyway problem was solved directly controlling the name attribute. -- Ivan Sergio Borgonovo http://www.webthatworks.it From aldo at caonao.cu Wed Mar 25 19:28:34 2009 From: aldo at caonao.cu (Aldo Martinez Selleras) Date: Wed, 25 Mar 2009 15:28:34 -0400 Subject: [support] alter comment link text Message-ID: <200903251528.34377.aldo@caonao.cu> how can i alter the "add new comment" and print "reply" in my forum?? -- ---------------------- Aldo Martinez Selleras Especialista en Telematica CITMATEL GND Camaguey Tel: 53 32 291661 Linux User #364356 From metzlerd at evergreen.edu Wed Mar 25 19:57:12 2009 From: metzlerd at evergreen.edu (Metzler, David) Date: Wed, 25 Mar 2009 12:57:12 -0700 Subject: [support] multiple buttons with same #value D5 In-Reply-To: <20090325203500.0d383e1b@dawn.webthatworks.it> References: <20090325163210.6159e460@dawn.webthatworks.it><20090325165553.5c4a8f53@dawn.webthatworks.it><52177C930FA90F4D9888B0343FDB79FB10ED6E@birch.evergreen.edu> <20090325203500.0d383e1b@dawn.webthatworks.it> Message-ID: <52177C930FA90F4D9888B0343FDB79FB10ED71@birch.evergreen.edu> Yeah I understood that, but what I was pointing out is that you can get all your id's field data grouped by $id in your forms array if you reversed the nesting and put them in a container. You'd still need to use the name trick to get the buttons detected right ( I Think) . Sorry if I wasn't clear. Here's a fictional example from a shopping cart metafor. The form -- // Build the rows of items. While (....) { $row['qty] = array('#type' => 'textfield' ...); $row['size'] = array('#type' => 'radios'); $items[$id] = $row; } $form['items'] = $items; $form['items']['#tree'] = TRUE; The values // Iterate the cart foreach ($form_values['items'] as $id=>$item) { // inside this loop $item['qty'] is the quantity // and $item['size'] is the size } I just thought you (and others) might find this useful. Dave -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Ivan Sergio Borgonovo Sent: Wednesday, March 25, 2009 12:35 PM To: support at drupal.org Subject: Re: [support] multiple buttons with same #value D5 On Wed, 25 Mar 2009 12:29:09 -0700 "Metzler, David" wrote: > A little known fact... You can create containers in the forms array > that have no visual representation in the form, kind of like > fieldsets, but without the fieldset. > > While (...) { > $form[$id] = array('#tree' => TRUE); > $form[$id]['qty'] = array(....); > $form[$id]['add'] = array(....); > } > > Might clean up some of the code you've discovered. > > I usually nest all the rows into a single fieldset as well, but > that's optional. No they were actual editable values. Each row had a textfield (qty) and a button + a "superbutton" at the end of the table. Anyway problem was solved directly controlling the name attribute. -- Ivan Sergio Borgonovo http://www.webthatworks.it -- [ Drupal support list | http://lists.drupal.org/ ] From rohanasmith at gmail.com Wed Mar 25 22:46:53 2009 From: rohanasmith at gmail.com (Rohan Smith) Date: Wed, 25 Mar 2009 17:46:53 -0500 Subject: [support] Drupal and SMTP Message-ID: <44659aeb0903251546s5d42dcdeh9e9b2ca13e01acdf@mail.gmail.com> My webserver limits me to 1000 emails per hour, if I use the smtp module and connect to gmail, will it give me unlimited emails per hour? R.A.Smith Manager/Technical Lead Exterbox - "Thinking outside of the box" http://www.exterbox.com rohan at exterbox.com 1-876-449-7506 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchoc at t4tcolorado.org Wed Mar 25 22:49:58 2009 From: bchoc at t4tcolorado.org (Brian Choc) Date: Wed, 25 Mar 2009 16:49:58 -0600 Subject: [support] alter comment link text In-Reply-To: <200903251528.34377.aldo@caonao.cu> References: <200903251528.34377.aldo@caonao.cu> Message-ID: <507b282e0903251549r354a2bbase3f3236974a6168a@mail.gmail.com> This will do it: http://drupal.org/project/stringoverrides Brian On Wed, Mar 25, 2009 at 1:28 PM, Aldo Martinez Selleras wrote: > how can i alter the "add new comment" and print "reply" in my forum?? > -- > ---------------------- > Aldo Martinez Selleras > Especialista en Telematica > CITMATEL GND Camaguey > Tel: 53 32 291661 > Linux User #364356 > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchoc at t4tcolorado.org Wed Mar 25 22:53:04 2009 From: bchoc at t4tcolorado.org (Brian Choc) Date: Wed, 25 Mar 2009 16:53:04 -0600 Subject: [support] Drupal and SMTP In-Reply-To: <44659aeb0903251546s5d42dcdeh9e9b2ca13e01acdf@mail.gmail.com> References: <44659aeb0903251546s5d42dcdeh9e9b2ca13e01acdf@mail.gmail.com> Message-ID: <507b282e0903251553h573991e5l48cfa897ce796de7@mail.gmail.com> Google has limits too: http://mail.google.com/support/bin/answer.py?answer=22839 Brian 2009/3/25 Rohan Smith > My webserver limits me to 1000 emails per hour, if I use the smtp module > and connect to gmail, will it give me unlimited emails per hour? > > R.A.Smith > Manager/Technical Lead > Exterbox - "Thinking outside of the box" > http://www.exterbox.com > rohan at exterbox.com > 1-876-449-7506 > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From fb at codicelibero.net Thu Mar 26 01:05:07 2009 From: fb at codicelibero.net (Francesco Baldini) Date: Thu, 26 Mar 2009 02:05:07 +0100 (CET) Subject: [support] something like FeedWordPress for Drupal? Message-ID: <4b3f1f461add7e7bd2351d93086ff4de.squirrel@webmail.codicelibero.net> Hi, I was working with WordPress and I found an amazing plugin called FeedWordPress it is, in two words, an advanced aggregator module, it get feed rss from any website (just blog, youtube, whatever) and convert the content from a simple link to the original news into a real post in WordPress, other than this you can use it just as an RSS aggregator or to control what you get from a remote source and let or not pass some content by approving it. Do you guess Drupal already has something like this (or any way to do this)? many thanks From mroswell at gmail.com Thu Mar 26 01:20:05 2009 From: mroswell at gmail.com (Margie Roswell) Date: Wed, 25 Mar 2009 21:20:05 -0400 Subject: [support] something like FeedWordPress for Drupal? In-Reply-To: <4b3f1f461add7e7bd2351d93086ff4de.squirrel@webmail.codicelibero.net> References: <4b3f1f461add7e7bd2351d93086ff4de.squirrel@webmail.codicelibero.net> Message-ID: Look at Simplefeed and FeedAPI. On Wed, Mar 25, 2009 at 9:05 PM, Francesco Baldini wrote: > Hi, > > I was working with WordPress and I found an amazing plugin called > FeedWordPress > > it is, in two words, an advanced aggregator module, it get feed rss from > any website (just blog, youtube, whatever) and convert the content from a > simple link to the original news into a real post in WordPress, other than > this you can use it just as an RSS aggregator or to control what you get > from a remote source and let or not pass some content by approving it. > > Do you guess Drupal already has something like this (or any way to do this)? > > > many thanks > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From bill at funnymonkey.com Thu Mar 26 11:45:51 2009 From: bill at funnymonkey.com (Bill Fitzgerald) Date: Thu, 26 Mar 2009 04:45:51 -0700 Subject: [support] something like FeedWordPress for Drupal? In-Reply-To: <4b3f1f461add7e7bd2351d93086ff4de.squirrel@webmail.codicelibero.net> References: <4b3f1f461add7e7bd2351d93086ff4de.squirrel@webmail.codicelibero.net> Message-ID: <49CB6AEF.3010000@funnymonkey.com> The FeedAPI will do all that and more. http://drupal.org/project/feedapi Cheers, Bill Francesco Baldini wrote: > Hi, > > I was working with WordPress and I found an amazing plugin called > FeedWordPress > > it is, in two words, an advanced aggregator module, it get feed rss from > any website (just blog, youtube, whatever) and convert the content from a > simple link to the original news into a real post in WordPress, other than > this you can use it just as an RSS aggregator or to control what you get > from a remote source and let or not pass some content by approving it. > > Do you guess Drupal already has something like this (or any way to do this)? > > > many thanks > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > > From brian at brianpuccio.net Thu Mar 26 12:42:56 2009 From: brian at brianpuccio.net (Brian Puccio) Date: Thu, 26 Mar 2009 08:42:56 -0400 Subject: [support] something like FeedWordPress for Drupal? In-Reply-To: <49CB6AEF.3010000@funnymonkey.com> References: <4b3f1f461add7e7bd2351d93086ff4de.squirrel@webmail.codicelibero.net> <49CB6AEF.3010000@funnymonkey.com> Message-ID: And here's a screencast to give you a quick overview: http://www.drupaltherapy.com/node/34 On Mar 26, 2009, at 7:45 AM, Bill Fitzgerald wrote: > The FeedAPI will do all that and more. > > http://drupal.org/project/feedapi > > Cheers, > > Bill > > Francesco Baldini wrote: >> Hi, >> >> I was working with WordPress and I found an amazing plugin called >> FeedWordPress >> >> it is, in two words, an advanced aggregator module, it get feed rss >> from >> any website (just blog, youtube, whatever) and convert the content >> from a >> simple link to the original news into a real post in WordPress, >> other than >> this you can use it just as an RSS aggregator or to control what >> you get >> from a remote source and let or not pass some content by approving >> it. >> >> Do you guess Drupal already has something like this (or any way to >> do this)? >> >> >> many thanks >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> >> >> > > -- > [ Drupal support list | http://lists.drupal.org/ ] From aldo at caonao.cu Thu Mar 26 12:51:55 2009 From: aldo at caonao.cu (Aldo Martinez Selleras) Date: Thu, 26 Mar 2009 08:51:55 -0400 Subject: [support] alter comment link text In-Reply-To: <507b282e0903251549r354a2bbase3f3236974a6168a@mail.gmail.com> References: <200903251528.34377.aldo@caonao.cu> <507b282e0903251549r354a2bbase3f3236974a6168a@mail.gmail.com> Message-ID: <200903260851.55964.aldo@caonao.cu> but i only need the replacement in the add comment forum links. that work only in specific modules -- ---------------------- Aldo Martinez Selleras Especialista en Telematica CITMATEL GND Camaguey Tel: 53 32 291661 Linux User #364356 From bharanikumariyerphp at gmail.com Thu Mar 26 13:42:59 2009 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Thu, 26 Mar 2009 19:12:59 +0530 Subject: [support] Drupal and SMTP In-Reply-To: <507b282e0903251553h573991e5l48cfa897ce796de7@mail.gmail.com> References: <44659aeb0903251546s5d42dcdeh9e9b2ca13e01acdf@mail.gmail.com> <507b282e0903251553h573991e5l48cfa897ce796de7@mail.gmail.com> Message-ID: <2240033d0903260642w1c465a15h737b3ba3947372a9@mail.gmail.com> Hi Rohan , Which module u r using , 2009/3/26 Brian Choc > Google has limits too: > http://mail.google.com/support/bin/answer.py?answer=22839 > > Brian > > 2009/3/25 Rohan Smith > >> My webserver limits me to 1000 emails per hour, if I use the smtp module >> and connect to gmail, will it give me unlimited emails per hour? >> >> R.A.Smith >> Manager/Technical Lead >> Exterbox - "Thinking outside of the box" >> http://www.exterbox.com >> rohan at exterbox.com >> 1-876-449-7506 >> >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- ?????? ?????? ???? ?????? Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyerphp.site88.net/bharanikumar/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From shai at content2zero.com Thu Mar 26 14:49:44 2009 From: shai at content2zero.com (Shai Gluskin) Date: Thu, 26 Mar 2009 10:49:44 -0400 Subject: [support] 301 Redirect Using "Dirty" URLs Message-ID: <9f68efb70903260749j2ab1da3di5b5e889c8f50ce1a@mail.gmail.com> Folks, Client is changing site name (e.g. from http://oldname.com to http://newname.com) Server location not moving (files and db staying put as is). Site has been up for a while and SEO concerns are present. The site is on a server running LAMP and CPanel. *W**hat I've done*: 1. At domain registration site for new name I've set the name servers to the current site. 2. At CPanel at current site I've added the new domain as a "Parked" domain 3. At CPanel I've done a 301 redirect, enabling the wildcard feature. *The only thing that isn't working properly:* - Wildcard redirects use "dirty" urls. Example: user types in: oldname.com/blog and the redirect goes to newname.com/index.php?q=blog. That page shows up fine, but I'd prefer the url be: newname.com/blog. Once on newname.com/index.php?q=blog if you click on any internal links, the "dirty" url goes away and everything is perfect. One response is, "It could be worse!" But I really would like to fix this. *T**wo questions*: 1. How can I get the redirect to redirect to the clean URL? 2. Do you see anything wrong in my procedure (maybe there is a problem that I'm simply not noticing yet) Thanks much! Shai -------------- next part -------------- An HTML attachment was scrubbed... URL: From 4braham at gmail.com Thu Mar 26 15:29:45 2009 From: 4braham at gmail.com (Abraham Williams) Date: Thu, 26 Mar 2009 10:29:45 -0500 Subject: [support] 301 Redirect Using "Dirty" URLs In-Reply-To: <9f68efb70903260749j2ab1da3di5b5e889c8f50ce1a@mail.gmail.com> References: <9f68efb70903260749j2ab1da3di5b5e889c8f50ce1a@mail.gmail.com> Message-ID: <4337d5480903260829n6f422f05hfcb27e36e00fe9d3@mail.gmail.com> 2 possible options: 1) add a rewrite command to your .htaccess file that redirects from index.php=q to the clean location. Try Googling for "htaccess rewrite" 2) user http://drupal.org/project/globalredirect Many other options too I'm sure. Abraham 2009/3/26 Shai Gluskin > Folks, > > Client is changing site name (e.g. from http://oldname.com to > http://newname.com) > > Server location not moving (files and db staying put as is). > > Site has been up for a while and SEO concerns are present. > > The site is on a server running LAMP and CPanel. > > *W**hat I've done*: > > 1. At domain registration site for new name I've set the name servers > to the current site. > 2. At CPanel at current site I've added the new domain as a "Parked" > domain > 3. At CPanel I've done a 301 redirect, enabling the wildcard feature. > > *The only thing that isn't working properly:* > > - Wildcard redirects use "dirty" urls. Example: user types in: > oldname.com/blog and the redirect goes to newname.com/index.php?q=blog. > > That page shows up fine, but I'd prefer the url be: newname.com/blog. Once > on newname.com/index.php?q=blog if you click on any internal links, the > "dirty" url goes away and everything is perfect. > > One response is, "It could be worse!" > > But I really would like to fix this. > > *T**wo questions*: > > 1. How can I get the redirect to redirect to the clean URL? > 2. Do you see anything wrong in my procedure (maybe there is a problem > that I'm simply not noticing yet) > > Thanks much! > > Shai > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Abraham Williams | http://the.hackerconundrum.com Web608 | Community Evangelist | http://web608.org This email is: [ ] blogable [x] ask first [ ] private. Sent from: Madison Wisconsin United States. -------------- next part -------------- An HTML attachment was scrubbed... URL: From nikhilrkale at gmail.com Thu Mar 26 19:55:51 2009 From: nikhilrkale at gmail.com (Nikhil Kala) Date: Fri, 27 Mar 2009 01:25:51 +0530 Subject: [support] Clean URL Problem with Drupal 5 Message-ID: Hello All, I have couple of sites running fine on Drupal 5. I used clean URL and autopath module to seo friendly URL's. Now if I try to run same site (I have downloaded the exisitng on localhost) on localhost machine it is giving me error URL not found. I have configured LAMP server on Ubuntu Machine, whats other things I need to check with the LAMP server to get this project run without changing the URL settings? -- Thanks & Regards, Nikhil Kala -------------- next part -------------- An HTML attachment was scrubbed... URL: From vinay at vinayras.com Thu Mar 26 20:00:24 2009 From: vinay at vinayras.com (Vinay Yadav) Date: Fri, 27 Mar 2009 01:30:24 +0530 Subject: [support] Clean URL Problem with Drupal 5 In-Reply-To: References: Message-ID: <282ab6620903261300r3ddf903dm487c4f13ec3b370e@mail.gmail.com> Have you downloaded .htaccess file along with code? Do you have .htaccess support enabled in your web server (Allowoverride All, check in httpd.conf) This should help Vinay 2009/3/27 Nikhil Kala > Hello All, > > I have couple of sites running fine on Drupal 5. I used clean URL and > autopath module to seo friendly URL's. Now if I try to run same site (I have > downloaded the exisitng on localhost) on localhost machine it is giving me > error URL not found. > > I have configured LAMP server on Ubuntu Machine, whats other things I need > to check with the LAMP server to get this project run without changing the > URL settings? > > > > -- > Thanks & Regards, > Nikhil Kala > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Drupal optimization, development, customization and consulting. VinayRas Infotech Web Application Development http://www.vinayras.com http://www.nagpurpulse.com - The Pulse of Nagpur http://www.edrupal.com - Indian Drupal -------------- next part -------------- An HTML attachment was scrubbed... URL: From victorkane at gmail.com Thu Mar 26 20:07:43 2009 From: victorkane at gmail.com (Victor Kane) Date: Thu, 26 Mar 2009 17:07:43 -0300 Subject: [support] Clean URL Problem with Drupal 5 In-Reply-To: <282ab6620903261300r3ddf903dm487c4f13ec3b370e@mail.gmail.com> References: <282ab6620903261300r3ddf903dm487c4f13ec3b370e@mail.gmail.com> Message-ID: The following is extracted from my online article "Drupal Develoipment Server" http://awebfactory.com.ar/node/345: Ubuntu: In order for clean URLs to work in Drupal, you need to enable .htaccess files and install mod rewrite. First I edited /etc/apache2/sites-enabled/000-default. Before (lines 10-18): Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all ... After: Options Indexes FollowSymLinks MultiViews AllowOverride All ... Then I executed the following in order to enable mod_rewrite and restart apache server: # a2enmod rewrite Module rewrite installed; run /etc/init.d/apache2 force-reload to enable. # apache2ctl restart The apache server restarted ok, but I got this pesky error: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName I edited /etc/apache2/apache2.conf and added a ServerName directive just under the ServerRoot directive: ServerRoot "/etc/apache2" ServerName hostname Where hostname should be whatever you get when you execute "hostname". You should get an error message free apache server restart now. Restart apache server: $ apache2ctl restart And you should be good to go for clean urls Victor Kane http://awebfactory.com.ar http://projectflowandtracker.com 2009/3/26 Vinay Yadav > Have you downloaded .htaccess file along with code? > > Do you have .htaccess support enabled in your web server (Allowoverride > All, check in httpd.conf) > > This should help > > Vinay > > > > 2009/3/27 Nikhil Kala > >> Hello All, >> >> I have couple of sites running fine on Drupal 5. I used clean URL and >> autopath module to seo friendly URL's. Now if I try to run same site (I have >> downloaded the exisitng on localhost) on localhost machine it is giving me >> error URL not found. >> >> I have configured LAMP server on Ubuntu Machine, whats other things I need >> to check with the LAMP server to get this project run without changing the >> URL settings? >> >> >> >> -- >> Thanks & Regards, >> Nikhil Kala >> >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > > -- > Drupal optimization, development, customization and consulting. > > VinayRas Infotech > Web Application Development > http://www.vinayras.com > > http://www.nagpurpulse.com - The Pulse of Nagpur > http://www.edrupal.com - Indian Drupal > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ramprasath_explicit at yahoo.co.in Fri Mar 27 07:14:19 2009 From: ramprasath_explicit at yahoo.co.in (ram prasath) Date: Fri, 27 Mar 2009 12:44:19 +0530 (IST) Subject: [support] SUB MENU ON MOUSE OVER Message-ID: <284513.73684.qm@web7605.mail.in.yahoo.com> HI , ?? I had created some MENUS using secondary links and I want to Add SUB MENU for those MENUS and tat sub menus? will be displayed on the mouse over? vertically..please tell me how to do that.. ? ?????????? THANKS IN ADVANCE Regards Ram Prasath Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From nikhilrkale at gmail.com Fri Mar 27 08:17:16 2009 From: nikhilrkale at gmail.com (Nikhil Kala) Date: Fri, 27 Mar 2009 13:47:16 +0530 Subject: [support] SUB MENU ON MOUSE OVER In-Reply-To: <284513.73684.qm@web7605.mail.in.yahoo.com> References: <284513.73684.qm@web7605.mail.in.yahoo.com> Message-ID: Hello, You can use Nice menu Module for mouse over effect. -- Thanks & Regards, Nikhil Kala Blogs @ http://www.nikhilkala.com 2009/3/27 ram prasath > HI , > > I had created some MENUS using secondary links and I want to Add SUB > MENU for those > > MENUS and tat sub menus will be displayed on the mouse over > vertically..please tell me > > how to do that.. > > THANKS IN ADVANCE > > Regards > > Ram Prasath > > ------------------------------ > Connect with friends all over the world. Get Yahoo! India Messenger. > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nikhilrkale at gmail.com Fri Mar 27 09:10:26 2009 From: nikhilrkale at gmail.com (Nikhil Kala) Date: Fri, 27 Mar 2009 14:40:26 +0530 Subject: [support] Clean URL Problem with Drupal 5 In-Reply-To: References: <282ab6620903261300r3ddf903dm487c4f13ec3b370e@mail.gmail.com> Message-ID: Hello Victor, Thanks. Clean URLs works with apache now. -- Thanks & Regards, Nikhil Kala http://www.nikhilkala.com 2009/3/27 Victor Kane > The following is extracted from my online article "Drupal Develoipment > Server" http://awebfactory.com.ar/node/345: > > Ubuntu: > > In order for clean URLs to work in Drupal, you need to enable .htaccess > files and install mod rewrite. First I edited > /etc/apache2/sites-enabled/000-default. > > Before (lines 10-18): > > > Options Indexes FollowSymLinks MultiViews > AllowOverride None > Order allow,deny > allow from all > ... > > After: > > > Options Indexes FollowSymLinks MultiViews > AllowOverride All > ... > > Then I executed the following in order to enable mod_rewrite and restart > apache server: > > # a2enmod rewrite > Module rewrite installed; run /etc/init.d/apache2 force-reload to enable. > > # apache2ctl restart > > The apache server restarted ok, but I got this pesky error: > > apache2: Could not reliably determine the server's fully qualified domain name, > using 127.0.1.1 for ServerName > > I edited /etc/apache2/apache2.conf and added a ServerName directive just > under the ServerRoot directive: > > ServerRoot "/etc/apache2" > ServerName hostname > > Where hostname should be whatever you get when you execute "hostname". You > should get an error message free apache server restart now. > Restart apache server: > > $ apache2ctl restart > > And you should be good to go for clean urls > > Victor Kane > http://awebfactory.com.ar > http://projectflowandtracker.com > > 2009/3/26 Vinay Yadav > >> Have you downloaded .htaccess file along with code? >> >> Do you have .htaccess support enabled in your web server (Allowoverride >> All, check in httpd.conf) >> >> This should help >> >> Vinay >> >> >> >> 2009/3/27 Nikhil Kala >> >>> Hello All, >>> >>> I have couple of sites running fine on Drupal 5. I used clean URL and >>> autopath module to seo friendly URL's. Now if I try to run same site (I have >>> downloaded the exisitng on localhost) on localhost machine it is giving me >>> error URL not found. >>> >>> I have configured LAMP server on Ubuntu Machine, whats other things I >>> need to check with the LAMP server to get this project run without changing >>> the URL settings? >>> >>> >>> >>> -- >>> Thanks & Regards, >>> Nikhil Kala >>> >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >> >> >> >> -- >> Drupal optimization, development, customization and consulting. >> >> VinayRas Infotech >> Web Application Development >> http://www.vinayras.com >> >> http://www.nagpurpulse.com - The Pulse of Nagpur >> http://www.edrupal.com - Indian Drupal >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From aldo at caonao.cu Fri Mar 27 11:29:55 2009 From: aldo at caonao.cu (Aldo Martinez Selleras) Date: Fri, 27 Mar 2009 07:29:55 -0400 Subject: [support] customize privatemsg In-Reply-To: References: <284513.73684.qm@web7605.mail.in.yahoo.com> Message-ID: <200903270729.55813.aldo@caonao.cu> i want to customize the privatemsg module view, how can i modify the tab menu for replace the texts for images?? there is some way for create a custom template for this module?? -- ---------------------- Aldo Martinez Selleras Especialista en Telematica CITMATEL GND Camaguey Tel: 53 32 291661 Linux User #364356 From drupallist at dirtsimple.net Fri Mar 27 14:56:06 2009 From: drupallist at dirtsimple.net (Cosmo) Date: Fri, 27 Mar 2009 09:56:06 -0500 Subject: [support] Drupal and SMTP In-Reply-To: <2240033d0903260642w1c465a15h737b3ba3947372a9@mail.gmail.com> Message-ID: <022501c9aeec$28514760$0701a8c0@inspiron> There is this article http://drupal.org/node/275774 But I don't know if anyone has actually done? I was looking to use it but couldn't figure out how or where to implement the suggested code change. -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org]On Behalf Of bharani kumar Sent: Thursday, March 26, 2009 8:43 AM To: support at drupal.org Subject: Re: [support] Drupal and SMTP Hi Rohan , Which module u r using , 2009/3/26 Brian Choc Google has limits too: http://mail.google.com/support/bin/answer.py?answer=22839 Brian 2009/3/25 Rohan Smith My webserver limits me to 1000 emails per hour, if I use the smtp module and connect to gmail, will it give me unlimited emails per hour? R.A.Smith Manager/Technical Lead Exterbox - "Thinking outside of the box" http://www.exterbox.com rohan at exterbox.com 1-876-449-7506 -- [ Drupal support list | http://lists.drupal.org/ ] -- [ Drupal support list | http://lists.drupal.org/ ] -- ?????? ?????? ???? ?????? Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyerphp.site88.net/bharanikumar/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From aldo at caonao.cu Fri Mar 27 19:19:26 2009 From: aldo at caonao.cu (Aldo Martinez Selleras) Date: Fri, 27 Mar 2009 15:19:26 -0400 Subject: [support] comment notify Message-ID: <200903271519.26843.aldo@caonao.cu> i need notify to user when somebody comment the post, how can i do that? -- ---------------------- Aldo Martinez Selleras Especialista en Telematica CITMATEL GND Camaguey Tel: 53 32 291661 Linux User #364356 From earnie at users.sourceforge.net Fri Mar 27 19:36:46 2009 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Fri, 27 Mar 2009 19:36:46 +0000 Subject: [support] comment notify In-Reply-To: <200903271519.26843.aldo@caonao.cu> References: <200903271519.26843.aldo@caonao.cu> Message-ID: <20090327193646.sl19n2wi2o8ks8c0@mail.siebunlimited.com> Quoting Aldo Martinez Selleras : > i need notify to user when somebody comment the post, how can i do that? http://www.google.com/search?q=comment+notify+site%3Adrupal.org%2Fproject -- Earnie http://r-feed.com Make a Drupal difference and review core patches. -- http://for-my-kids.com/ -- http://www.4offer.biz/ From shai at content2zero.com Fri Mar 27 19:34:51 2009 From: shai at content2zero.com (Shai Gluskin) Date: Fri, 27 Mar 2009 15:34:51 -0400 Subject: [support] comment notify In-Reply-To: <200903271519.26843.aldo@caonao.cu> References: <200903271519.26843.aldo@caonao.cu> Message-ID: <9f68efb70903271234q3b4c5cdscbe628739722bb1e@mail.gmail.com> Aldo, The comment notify module is good for that: http://drupal.org/project/comment_notify Were you looking for a module recommendation or specifics on how to set up comment notify. If you have questions about comment notify, asking a more specific question and describing any place you got stuck would be helpful. All the best, Shai On Fri, Mar 27, 2009 at 3:19 PM, Aldo Martinez Selleras wrote: > i need notify to user when somebody comment the post, how can i do that? > -- > ---------------------- > Aldo Martinez Selleras > Especialista en Telematica > CITMATEL GND Camaguey > Tel: 53 32 291661 > Linux User #364356 > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From brenda at alligatorsneeze.com Fri Mar 27 19:32:49 2009 From: brenda at alligatorsneeze.com (Brenda Boggs) Date: Fri, 27 Mar 2009 12:32:49 -0700 Subject: [support] comment notify In-Reply-To: <200903271519.26843.aldo@caonao.cu> References: <200903271519.26843.aldo@caonao.cu> Message-ID: Well... with the comment notify module. http://drupal.org/project/comment_notify ;) -- Brenda Boggs Drupal Support Specialist Acquia http://acquia.com e: brenda.boggs at acquia.com o: 978.289.4357 On Mar 27, 2009, at 12:19 PM, Aldo Martinez Selleras wrote: > i need notify to user when somebody comment the post, how can i do > that? > -- > ---------------------- > Aldo Martinez Selleras > Especialista en Telematica > CITMATEL GND Camaguey > Tel: 53 32 291661 > Linux User #364356 > -- > [ Drupal support list | http://lists.drupal.org/ ] From aldo at caonao.cu Fri Mar 27 19:59:01 2009 From: aldo at caonao.cu (Aldo Martinez Selleras) Date: Fri, 27 Mar 2009 15:59:01 -0400 Subject: [support] comment notify In-Reply-To: References: <200903271519.26843.aldo@caonao.cu> Message-ID: <200903271559.01575.aldo@caonao.cu> sorry, i found it, but i was thinking in some option just in drupal :D -- ---------------------- Aldo Martinez Selleras Especialista en Telematica CITMATEL GND Camaguey Tel: 53 32 291661 Linux User #364356 From greg.knaddison at gmail.com Fri Mar 27 20:49:58 2009 From: greg.knaddison at gmail.com (Greg Knaddison) Date: Fri, 27 Mar 2009 14:49:58 -0600 Subject: [support] comment notify In-Reply-To: <200903271559.01575.aldo@caonao.cu> References: <200903271519.26843.aldo@caonao.cu> <200903271559.01575.aldo@caonao.cu> Message-ID: <3861c6770903271349q29668a14t9f3d96c716432343@mail.gmail.com> On Fri, Mar 27, 2009 at 1:59 PM, Aldo Martinez Selleras wrote: > sorry, i found it, but i was thinking in some option just in drupal :D > There is a comparison of similar modules available at http://groups.drupal.org/node/15928 Regards, Greg -- Greg Knaddison http://knaddison.com | 303-800-5623 | http://growingventuresolutions.com From aldo at caonao.cu Fri Mar 27 20:50:43 2009 From: aldo at caonao.cu (Aldo Martinez Selleras) Date: Fri, 27 Mar 2009 16:50:43 -0400 Subject: [support] order comments Message-ID: <200903271650.43181.aldo@caonao.cu> i'm using bet reply module for select a reply in the post, i want this selected reply will be in top off all comments, how can i do this?? -- ---------------------- Aldo Martinez Selleras Especialista en Telematica CITMATEL GND Camaguey Tel: 53 32 291661 Linux User #364356 From nik at artofmultimedia.com.au Sat Mar 28 01:09:45 2009 From: nik at artofmultimedia.com.au (Nik Derewianka) Date: Sat, 28 Mar 2009 12:09:45 +1100 Subject: [support] Multiple site update and maintenance D6 Message-ID: <6A24DA19-32C3-40C5-A7F1-FEA056FDFB3A@artofmultimedia.com.au> Hi, After being spoilt by magento with it's './pear update all' mechanism to upgrade an entire site and its modules, I am trying to find a way to manage the updating of multiple drupal installs in as painless a manner as possible. My server is running plesk and each client will have their own install of Drupal. The suggestions of domain aliases for each site as per http://drupal.org/node/201322 is not applicable as it loses all the benefits of plesk (bandwidth monitoring, seperate client accounts, etc). Trying to script it all with something like drush would probably be great, but so far i have been unable to get the drush_extras (in particular pm) to work at all - i keep getting command not found even though i have the commands in a command folder in the drush doler as well as having it in a .drush folder in my home folder. I think this may be more due to the fact that drush for D6 is downloadable only as a HEAD snapshot rather than an actual release that has been tested ??? Another alternative is to look at symlinking the httpdocs folder for each account to a single drupal install and use drupal in a multi-site setup. There are still some drawbacks to this with regards to permissions and any non drupal files that a client may wish to put in their account (at say the root level). Right now, the only clear method seems to be maintaining a bunch of shell scripts that have to be tweaked every second day to keep up with the releases for modules. Even having a http://drupal.org/project/ /latest url scheme would greatly improve this approach. But overall this is far from ideal. But, I guess at the end of the day, how are people managing 10's/100's of drupal sites and keeping them regularly updated and maintained when the drupal multi-site functionality does not suit them ??? Thanks, Nik From me at saurocesaretti.com Sat Mar 28 11:31:24 2009 From: me at saurocesaretti.com (Sauro Cesaretti) Date: Sat, 28 Mar 2009 12:31:24 +0100 Subject: [support] Information about ubercart module Message-ID: Hi List! I'd need to add a textarea option for the attributes in uc_attributes.module, part of the Ubercart module. I would like to keep the textfield, select and radio buttons, too. I think I should add a condition at about line 1501 of the ac_attribute.module, but I don't have a clue on how to do that. Could you help me, please? Thanks in advance! Sauro -------------- next part -------------- An HTML attachment was scrubbed... URL: From earnie at users.sourceforge.net Sat Mar 28 13:30:35 2009 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Sat, 28 Mar 2009 13:30:35 +0000 Subject: [support] Information about ubercart module In-Reply-To: References: Message-ID: <20090328133035.zv5epy5owgckgwoc@mail.siebunlimited.com> Quoting Sauro Cesaretti : > Hi List! > I'd need to add a textarea option for the attributes in > uc_attributes.module, part of the Ubercart module. > I would like to keep the textfield, select and radio buttons, too. > I think I should add a condition at about line 1501 of the > ac_attribute.module, but I don't have a clue on how to do that. > Could you help me, please? > Thanks in advance! > Sauro > You probably need to ask at http://www.ubercart.org. -- Earnie http://r-feed.com Make a Drupal difference and review core patches. -- http://for-my-kids.com/ -- http://www.4offer.biz/ From bharanikumariyerphp at gmail.com Sat Mar 28 19:44:59 2009 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Sun, 29 Mar 2009 01:14:59 +0530 Subject: [support] Capcha in Webform module Message-ID: <2240033d0903281244r54b5c3e7x66f194a9266685cc@mail.gmail.com> Hi How to create capcha in webform am working on the drupal6.10 Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From sivaji2009 at gmail.com Sat Mar 28 19:48:35 2009 From: sivaji2009 at gmail.com (sivaji j.g) Date: Sun, 29 Mar 2009 01:18:35 +0530 Subject: [support] Capcha in Webform module In-Reply-To: <2240033d0903281244r54b5c3e7x66f194a9266685cc@mail.gmail.com> References: <2240033d0903281244r54b5c3e7x66f194a9266685cc@mail.gmail.com> Message-ID: 2009/3/29 bharani kumar > Hi > > How to create capcha in webform > > am working on the drupal6.10 > http://www.google.co.in/search?q=drupal+captcha -- Thanks a lot ----------------------------------------- http://ubuntuslave.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From development at standoutdesign.nl Sat Mar 28 19:50:03 2009 From: development at standoutdesign.nl (Stefan Nagtegaal) Date: Sat, 28 Mar 2009 20:50:03 +0100 Subject: [support] Capcha in Webform module In-Reply-To: <2240033d0903281244r54b5c3e7x66f194a9266685cc@mail.gmail.com> References: <2240033d0903281244r54b5c3e7x66f194a9266685cc@mail.gmail.com> Message-ID: - What have you tried yourself so far? - What exact errors did you get? - What code is not clear for you? Kind regards, Stefan Nagtegaal Op 28 mrt 2009, om 20:44 heeft bharani kumar het volgende geschreven: > Hi > > How to create capcha in webform > > am working on the drupal6.10 > > > Thanks > -- > [ Drupal support list | http://lists.drupal.org/ ] From bharanikumariyerphp at gmail.com Sat Mar 28 19:51:13 2009 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Sun, 29 Mar 2009 01:21:13 +0530 Subject: [support] webform in block Message-ID: <2240033d0903281251x725b1af2o876dd4c20e0cb876@mail.gmail.com> How to place webform in block , -- ?????? ?????? ???? ?????? Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyerphp.site88.net/bharanikumar/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From bharanikumariyerphp at gmail.com Sat Mar 28 19:52:53 2009 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Sun, 29 Mar 2009 01:22:53 +0530 Subject: [support] Capcha in Webform module In-Reply-To: References: <2240033d0903281244r54b5c3e7x66f194a9266685cc@mail.gmail.com> Message-ID: <2240033d0903281252o6e33918am398284f194741a53@mail.gmail.com> i have created the contact us for using webform module, i tried to add the capcha into contactus form, but its not added, Then any else u want from me, On Sun, Mar 29, 2009 at 1:20 AM, Stefan Nagtegaal < development at standoutdesign.nl> wrote: > - What have you tried yourself so far? > - What exact errors did you get? > - What code is not clear for you? > > Kind regards, > > > Stefan Nagtegaal > > > Op 28 mrt 2009, om 20:44 heeft bharani kumar het volgende geschreven: > > Hi >> >> How to create capcha in webform >> >> am working on the drupal6.10 >> >> >> Thanks >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- ?????? ?????? ???? ?????? Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyerphp.site88.net/bharanikumar/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From idan at arbel-designs.com Sat Mar 28 20:23:55 2009 From: idan at arbel-designs.com (Idan Arbel) Date: Sat, 28 Mar 2009 23:23:55 +0300 Subject: [support] webform in block In-Reply-To: <2240033d0903281251x725b1af2o876dd4c20e0cb876@mail.gmail.com> References: <2240033d0903281251x725b1af2o876dd4c20e0cb876@mail.gmail.com> Message-ID: <0bff01c9afe3$214a6350$6702a8c0@idan> Create a view with the webform nid as a filter. _____ From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of bharani kumar Sent: ? 28 ??? 2009 22:51 To: support at drupal.org Subject: [support] webform in block How to place webform in block , -- ?????? ?????? ???? ?????? Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyerphp.site88.net/bharanikumar/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From drupallist at dirtsimple.net Sun Mar 29 10:40:06 2009 From: drupallist at dirtsimple.net (Cosmo) Date: Sun, 29 Mar 2009 05:40:06 -0500 Subject: [support] Multiple site update and maintenance D6 In-Reply-To: <6A24DA19-32C3-40C5-A7F1-FEA056FDFB3A@artofmultimedia.com.au> Message-ID: <008801c9b05a$b9ba2860$0701a8c0@inspiron> Nik, The truth is, IMHO, keeping updated your Drupal site(s) is not for the faint of heart. I use Drush all the time and it works well, but still updates are tedious work. I'm not a coder myself and I so wish the Update process would get addressed, but it is what it is. I think it's coming though because D6 now includes the Update Status module in core. Here are the command lines that I use to run Drush (from within the Drush folder): On most servers: [./drush.php ] On my Dreamhost server I must specify the path to php5: [/usr/local/php5/bin/php drush.php] If you come up with any scripted means of keeping your sites updated I would surely like to know. The only good scripts that I've pushed myself to write/maintain (truthfully, the core scripts came from the drupal site) is a backup/restore script to backup all code and the associated database. These scripts also make it easy to move things in and out of my staging area. I'd be happy to share them if you need them. -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org]On Behalf Of Nik Derewianka Sent: Friday, March 27, 2009 8:10 PM To: support at drupal.org Subject: [support] Multiple site update and maintenance D6 Hi, After being spoilt by magento with it's './pear update all' mechanism to upgrade an entire site and its modules, I am trying to find a way to manage the updating of multiple drupal installs in as painless a manner as possible. My server is running plesk and each client will have their own install of Drupal. The suggestions of domain aliases for each site as per http://drupal.org/node/201322 is not applicable as it loses all the benefits of plesk (bandwidth monitoring, seperate client accounts, etc). Trying to script it all with something like drush would probably be great, but so far i have been unable to get the drush_extras (in particular pm) to work at all - i keep getting command not found even though i have the commands in a command folder in the drush doler as well as having it in a .drush folder in my home folder. I think this may be more due to the fact that drush for D6 is downloadable only as a HEAD snapshot rather than an actual release that has been tested ??? Another alternative is to look at symlinking the httpdocs folder for each account to a single drupal install and use drupal in a multi-site setup. There are still some drawbacks to this with regards to permissions and any non drupal files that a client may wish to put in their account (at say the root level). Right now, the only clear method seems to be maintaining a bunch of shell scripts that have to be tweaked every second day to keep up with the releases for modules. Even having a http://drupal.org/project/ /latest url scheme would greatly improve this approach. But overall this is far from ideal. But, I guess at the end of the day, how are people managing 10's/100's of drupal sites and keeping them regularly updated and maintained when the drupal multi-site functionality does not suit them ??? Thanks, Nik -- [ Drupal support list | http://lists.drupal.org/ ] From iom at netvision.net.il Sun Mar 29 12:21:45 2009 From: iom at netvision.net.il (Moses Elias) Date: Sun, 29 Mar 2009 15:21:45 +0300 Subject: [support] Organic Groups - Moderating Group Owner/Group Subscriber Roles In-Reply-To: <008801c9b05a$b9ba2860$0701a8c0@inspiron> Message-ID: <0KH9007GEPDHAC20@mxout3.netvision.net.il> I am using Organic Groups with Drupal 6. Any group can be created by authenticated users. How do you promote a group creator to "group owner" role, and how do you promote somebody who joins a group to "group subscriber" role (where they can post to groups). The fundamental difference between a "group owner" and a "group subscriber" role is that a group owners can edit/delete posts within his group (and possibly change workflow) - and I want this distinction maintained. Which module would most effectively achieve this? (I have tried Organic Groups User Roles module, but that doesn't seem to do the trick in a simple and effective manner.) Thanks for your help. From denis.lafont at gmail.com Sun Mar 29 21:40:16 2009 From: denis.lafont at gmail.com (Denis Lafont-Trevisan) Date: Sun, 29 Mar 2009 22:40:16 +0100 Subject: [support] javascriots/Ajax calls not working Message-ID: <51182f4c0903291440k6ecc70f0tce233fd33e4fb2cb@mail.gmail.com> Hi, I am working on http://www.opensource-it.com , site based on Drupal 6.10 . The site has been migrated from D5 and I've just changed of hosting company. Since these two moves all the javascript or ajax calls do not work anymore: fivestar ratings, node relationship, community tagging... So a problem with Javascript execution, but I can't find. Any clue? Thanks, Denis -------------- next part -------------- An HTML attachment was scrubbed... URL: From earnie at users.sourceforge.net Mon Mar 30 03:20:01 2009 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Mon, 30 Mar 2009 03:20:01 +0000 Subject: [support] javascriots/Ajax calls not working In-Reply-To: <51182f4c0903291440k6ecc70f0tce233fd33e4fb2cb@mail.gmail.com> References: <51182f4c0903291440k6ecc70f0tce233fd33e4fb2cb@mail.gmail.com> Message-ID: <20090330032001.1lz1rh6mrooo4okk@mail.siebunlimited.com> Quoting Denis Lafont-Trevisan : > Hi, > I am working on http://www.opensource-it.com , site based on Drupal 6.10 . > The site has been migrated from D5 and I've just changed of hosting company. > > Since these two moves all the javascript or ajax calls do not work anymore: > fivestar ratings, node relationship, community tagging... > > So a problem with Javascript execution, but I can't find. > > Any clue? > Make sure you clear the cache* and sessions tables. Make sure you clear the browser cookies for the site. -- Earnie http://r-feed.com Make a Drupal difference and review core patches. -- http://for-my-kids.com/ -- http://www.4offer.biz/ From victorkane at gmail.com Mon Mar 30 07:13:27 2009 From: victorkane at gmail.com (Victor Kane) Date: Mon, 30 Mar 2009 04:13:27 -0300 Subject: [support] javascriots/Ajax calls not working In-Reply-To: <51182f4c0903291440k6ecc70f0tce233fd33e4fb2cb@mail.gmail.com> References: <51182f4c0903291440k6ecc70f0tce233fd33e4fb2cb@mail.gmail.com> Message-ID: Just a shot in the dark, without knowing the setup: mime type on Apache configuration include javascript? Victor Kane http://awebfactory.com.ar http://projectflowandtracker 2009/3/29 Denis Lafont-Trevisan > Hi, > I am working on http://www.opensource-it.com , site based on Drupal 6.10 . > The site has been migrated from D5 and I've just changed of hosting company. > > Since these two moves all the javascript or ajax calls do not work anymore: > fivestar ratings, node relationship, community tagging... > > So a problem with Javascript execution, but I can't find. > > Any clue? > > > Thanks, > > Denis > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From iom at netvision.net.il Mon Mar 30 08:11:47 2009 From: iom at netvision.net.il (Moses Elias) Date: Mon, 30 Mar 2009 11:11:47 +0300 Subject: [support] Acquia Drupal - Cannot Remove Welcome Message In-Reply-To: Message-ID: <0KHB00EIE8GR1B30@mxout3.netvision.net.il> I downloaded and installed a copy of Acquia Drupal 6. In regular versions of Drupal the moment you promote a node to the front page, the default Welcome message defined in core gets removed. However, in Acquia Drupal this doesn't happen. Anybody know a way around this (which is not a kludge)? (I don't want to define a different node as the front page, as it means that I then can't promote multiple nodes to the same front page and I'm stuck with a single node.) Moses -------------- next part -------------- An HTML attachment was scrubbed... URL: From denis.lafont at gmail.com Mon Mar 30 08:29:32 2009 From: denis.lafont at gmail.com (Denis Lafont-Trevisan) Date: Mon, 30 Mar 2009 10:29:32 +0200 Subject: [support] javascriots/Ajax calls not working In-Reply-To: References: <51182f4c0903291440k6ecc70f0tce233fd33e4fb2cb@mail.gmail.com> Message-ID: <51182f4c0903300129l7bff3a23t6c40bd006fe87ea4@mail.gmail.com> Thanks all. The answer was: only jquery related javascript was not executed, and it was because the "jquery update" module was activated. I desactivated it and it works great. Cheers, Denis 2009/3/30 Victor Kane > Just a shot in the dark, without knowing the setup: mime type on Apache > configuration include javascript? > > Victor Kane > http://awebfactory.com.ar > http://projectflowandtracker > > 2009/3/29 Denis Lafont-Trevisan > >> Hi, >> I am working on http://www.opensource-it.com , site based on Drupal 6.10 >> . The site has been migrated from D5 and I've just changed of hosting >> company. >> >> Since these two moves all the javascript or ajax calls do not work >> anymore: fivestar ratings, node relationship, community tagging... >> >> So a problem with Javascript execution, but I can't find. >> >> Any clue? >> >> >> Thanks, >> >> Denis >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From michel at ziobudda.net Mon Mar 30 09:44:14 2009 From: michel at ziobudda.net (Davide Michel 'ZioBudda' Morelli) Date: Mon, 30 Mar 2009 11:44:14 +0200 Subject: [support] $script empty for anonymous users Message-ID: <49D0946E.2020400@ziobudda.net> Hi all, this is the first time that I see this thing: in my theme I have these lines: All works for loggedin users, but $scripts is empty for the anonymous users. Why this ? Why $scripts is empty for anonymous users ? Now, to resolve this problem I have delete the line from my page.tpl.php file, and I have create a template.php file with this code: and now all works. But why this ? If this is correct: how can I retrieve the values of my themes directory ($directory in the page.tpl.file) ? Tnx. -- Michel 'ZioBudda' Morelli michel at ziobudda.net Consulenza sistemistica in ambito OpenSource. Sviluppo applicazioni web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ziodrupal.net MSN: michel at ziobuddalabs.it JABBER: michel at ziobuddalabs.it From victorkane at gmail.com Mon Mar 30 10:39:30 2009 From: victorkane at gmail.com (Victor Kane) Date: Mon, 30 Mar 2009 07:39:30 -0300 Subject: [support] javascriots/Ajax calls not working In-Reply-To: <51182f4c0903300129l7bff3a23t6c40bd006fe87ea4@mail.gmail.com> References: <51182f4c0903291440k6ecc70f0tce233fd33e4fb2cb@mail.gmail.com> <51182f4c0903300129l7bff3a23t6c40bd006fe87ea4@mail.gmail.com> Message-ID: The jquery update module requires you to copy files into the Drupal core misc directory - that way you can keep up to date with jquery releases. Check out the README.txt file in the jquery update module 2009/3/30 Denis Lafont-Trevisan > Thanks all. > The answer was: only jquery related javascript was not executed, and it was > because the "jquery update" module was activated. I desactivated it and it > works great. > > Cheers, > > Denis > > 2009/3/30 Victor Kane > > Just a shot in the dark, without knowing the setup: mime type on Apache >> configuration include javascript? >> >> Victor Kane >> http://awebfactory.com.ar >> http://projectflowandtracker >> >> 2009/3/29 Denis Lafont-Trevisan >> >>> Hi, >>> I am working on http://www.opensource-it.com , site based on Drupal 6.10 >>> . The site has been migrated from D5 and I've just changed of hosting >>> company. >>> >>> Since these two moves all the javascript or ajax calls do not work >>> anymore: fivestar ratings, node relationship, community tagging... >>> >>> So a problem with Javascript execution, but I can't find. >>> >>> Any clue? >>> >>> >>> Thanks, >>> >>> Denis >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >> >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ramprasath_explicit at yahoo.co.in Mon Mar 30 10:54:23 2009 From: ramprasath_explicit at yahoo.co.in (ram prasath) Date: Mon, 30 Mar 2009 16:24:23 +0530 (IST) Subject: [support] Drupal 6 Event Module.. Message-ID: <894348.84950.qm@web7607.mail.in.yahoo.com> Hi, ? HI any One please tel me were I will found drupal 6 event module to download . I searched in google? I didnt found event module for drupal 6.But I. found only event module for drupal 5,, Thanks in ADVANCE FRIENDS regards Ram Prasath Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From shai at content2zero.com Mon Mar 30 11:12:14 2009 From: shai at content2zero.com (Shai Gluskin) Date: Mon, 30 Mar 2009 07:12:14 -0400 Subject: [support] Drupal 6 Event Module.. In-Reply-To: <894348.84950.qm@web7607.mail.in.yahoo.com> References: <894348.84950.qm@web7607.mail.in.yahoo.com> Message-ID: <9f68efb70903300412o34a2050cq51ae4ea1a85f09b6@mail.gmail.com> Ram, Go to http://drupal.org/project/event Only a dev version is available (see pink section below the green section). But at least it is recent which is a sign it is under active development and likely to come out with a stable version. You'd have to poke around in the issue queue, linked from the above page to determine just how far along the current dev version and how much risk you would be taking if you wanted to use it on a production site. best, Shai 2009/3/30 ram prasath > Hi, > > HI any One please tel me were I will found drupal 6 event module to > download . > > I searched in google I didnt found event module for drupal 6.But I. found > only event module for > > drupal 5,, > > Thanks in ADVANCE FRIENDS > > regards > Ram Prasath > > > ------------------------------ > Add more friends to your messenger and enjoy! Invite them now. > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ramprasath_explicit at yahoo.co.in Mon Mar 30 11:39:47 2009 From: ramprasath_explicit at yahoo.co.in (ram prasath) Date: Mon, 30 Mar 2009 17:09:47 +0530 (IST) Subject: [support] Drupal 6 Event Module.. Message-ID: <812148.75563.qm@web7606.mail.in.yahoo.com> Shai, ??? ?THANK YOU ,,,,Ya I had seen the dev version for that module..I will tri tat dev version,,thank you for your timely suggestions... --- On Mon, 30/3/09, Shai Gluskin wrote: From: Shai Gluskin Subject: Re: [support] Drupal 6 Event Module.. To: support at drupal.org Date: Monday, 30 March, 2009, 4:42 PM Ram, Go to http://drupal.org/project/event Only a dev version is available (see pink section below the green section). But at least it is recent which is a sign it is under active development and likely to come out with a stable version. You'd have to poke around in the issue queue, linked from the above page to determine just how far along the current dev version and how much risk you would be taking if you wanted to use it on a production site. best, Shai 2009/3/30 ram prasath Hi, ? HI any One please tel me were I will found drupal 6 event module to download . I searched in google? I didnt found event module for drupal 6.But I. found only event module for drupal 5,, Thanks in ADVANCE FRIENDS regards Ram Prasath Add more friends to your messenger and enjoy! Invite them now. -- [ Drupal support list | http://lists.drupal.org/ ] -----Inline Attachment Follows----- -- [ Drupal support list | http://lists.drupal.org/ ] Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From gordon at heydon.com.au Mon Mar 30 11:09:36 2009 From: gordon at heydon.com.au (Gordon Heydon) Date: Mon, 30 Mar 2009 22:09:36 +1100 Subject: [support] Drupal 6 Event Module.. In-Reply-To: <894348.84950.qm@web7607.mail.in.yahoo.com> References: <894348.84950.qm@web7607.mail.in.yahoo.com> Message-ID: <5C28DFD9-81F5-4A34-AAB1-EA2A54C21A51@heydon.com.au> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, The event module is quite old, and I would not recommend it. The best method of doing this is to use the cck http://drupal.org/project/cck , date http://drupal.org/project/date, calendar http://drupal.org/project/calendar and the views modules http://drupal.org/project/views to create an event node type and add the required fields. Then you can create the method of displaying the information with views. Gordon. On 30/03/2009, at 9:54 PM, ram prasath wrote: > Hi, > > HI any One please tel me were I will found drupal 6 event module > to download . > > I searched in google I didnt found event module for drupal 6.But I. > found only event module for > > drupal 5,, > > Thanks in ADVANCE FRIENDS > > regards > Ram Prasath > > > Add more friends to your messenger and enjoy! Invite them now.-- > [ Drupal support list | http://lists.drupal.org/ ] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAknQqHAACgkQngavurZvkrycUQCeI9uqu0luiPQ8GmIXRLVmpOvU VHwAmwaRW/lRLFpZYimT4QptXYCnv4qk =FG8H -----END PGP SIGNATURE----- From gordon at heydon.com.au Mon Mar 30 11:42:27 2009 From: gordon at heydon.com.au (Gordon Heydon) Date: Mon, 30 Mar 2009 22:42:27 +1100 Subject: [support] Drupal 6 Event Module.. In-Reply-To: <9f68efb70903300412o34a2050cq51ae4ea1a85f09b6@mail.gmail.com> References: <894348.84950.qm@web7607.mail.in.yahoo.com> <9f68efb70903300412o34a2050cq51ae4ea1a85f09b6@mail.gmail.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I would not use the event module. With the new methods that are coming in Drupal 7 it would be better to use the date module. Gordon. On 30/03/2009, at 10:12 PM, Shai Gluskin wrote: > Ram, > > Go to http://drupal.org/project/event > > Only a dev version is available (see pink section below the green > section). But at least it is recent which is a sign it is under > active development and likely to come out with a stable version. > You'd have to poke around in the issue queue, linked from the above > page to determine just how far along the current dev version and how > much risk you would be taking if you wanted to use it on a > production site. > > best, > > Shai > > 2009/3/30 ram prasath > Hi, > > HI any One please tel me were I will found drupal 6 event module > to download . > > I searched in google I didnt found event module for drupal 6.But I. > found only event module for > > drupal 5,, > > Thanks in ADVANCE FRIENDS > > regards > Ram Prasath > > > Add more friends to your messenger and enjoy! Invite them now. > -- > [ Drupal support list | http://lists.drupal.org/ ] > > -- > [ Drupal support list | http://lists.drupal.org/ ] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAknQsCMACgkQngavurZvkrwJOwCfYR2z5aUMKVayaQXOqKc+d2AR qU4AniRoUdGTJNXlCEbxFESv72VMcVX4 =19ZC -----END PGP SIGNATURE----- From earnie at users.sourceforge.net Mon Mar 30 11:42:59 2009 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Mon, 30 Mar 2009 11:42:59 +0000 Subject: [support] Acquia Drupal - Cannot Remove Welcome Message In-Reply-To: <0KHB00EIE8GR1B30@mxout3.netvision.net.il> References: <0KHB00EIE8GR1B30@mxout3.netvision.net.il> Message-ID: <20090330114259.e5r8cbzhs8840o88@mail.siebunlimited.com> Quoting Moses Elias : > I downloaded and installed a copy of Acquia Drupal 6. > > > > In regular versions of Drupal the moment you promote a node to the front > page, the default Welcome message defined in core gets removed. > > > > However, in Acquia Drupal this doesn't happen. Anybody know a way around > this (which is not a kludge)? > I have no reason to know why Acquia would have a different version of Drupal than a "regular version". Check the access permissions to the node. Empty the cache tables. Empty the sessions table. Empty your browser cookies for the site. -- Earnie http://r-feed.com Make a Drupal difference and review core patches. -- http://for-my-kids.com/ -- http://www.4offer.biz/ From luca.capra at gmail.com Mon Mar 30 12:04:44 2009 From: luca.capra at gmail.com (luca capra) Date: Mon, 30 Mar 2009 14:04:44 +0200 Subject: [support] $script empty for anonymous users In-Reply-To: <49D0946E.2020400@ziobudda.net> References: <49D0946E.2020400@ziobudda.net> Message-ID: <49D0B55C.5020601@gmail.com> hi, try path_to_theme() to get the path to current theme drupal_add_js( path_to_theme() ."/js/onebip.js"); try either creating a module with something like function mymodule_init(){ $theme = variable_get('theme_default', 'garland'); $theme_path = drupal_get_path("theme", $theme); || drupal_add_js("$theme_path/js/onebip.js"); } to use in more than one theme. Luca Davide Michel 'ZioBudda' Morelli ha scritto: > Hi all, this is the first time that I see this thing: in my theme I > have these lines: > > > > > All works for loggedin users, but $scripts is empty for the anonymous > users. Why this ? Why $scripts is empty for anonymous users ? > > Now, to resolve this problem I have delete the line > > > > from my page.tpl.php file, and I have create a template.php file with > this code: > > drupal_add_js("sites/all/themes/onebipv1/js/onebip.js"); > ?php> > > and now all works. But why this ? If this is correct: how can I > retrieve the values of my themes directory ($directory in the > page.tpl.file) ? > > Tnx. > From iom at netvision.net.il Mon Mar 30 12:01:46 2009 From: iom at netvision.net.il (Moses Elias) Date: Mon, 30 Mar 2009 15:01:46 +0300 Subject: [support] Acquia Drupal - Cannot Remove Welcome Message In-Reply-To: <20090330114259.e5r8cbzhs8840o88@mail.siebunlimited.com> Message-ID: <0KHB00D8YJ43ZLF0@mxout3.netvision.net.il> Earnie said: >> I have no reason to know why Acquia would have a different version of >> Drupal than a "regular version". Check the access permissions to the >> node. Empty the cache tables. Empty the sessions table. Empty your >> browser cookies for the site. Oh why didn't I notice! They do do it differently. The Welcome Message in Acquia Drupal is simply a Page, and all you have to do is remove the Promote to Frontpage checkbox to have it stop appearing on the frontpage. Thanks for the inspiration! From cjones at partialflow.com Mon Mar 30 16:55:16 2009 From: cjones at partialflow.com (Christopher M. Jones) Date: Mon, 30 Mar 2009 12:55:16 -0400 Subject: [support] views templates for all themes Message-ID: <49D0F974.4000800@partialflow.com> Is there a way to theme a view so that the views templates do not need to be in the theme directory? The templates I'm creating ought to be used regardless of which theme is selected, and I don't want to have to put them into every theme directory. From cimo75 at gmail.com Mon Mar 30 18:43:24 2009 From: cimo75 at gmail.com (simone-www.io-lab.org) Date: Mon, 30 Mar 2009 19:43:24 +0100 Subject: [support] views templates for all themes In-Reply-To: <49D0F974.4000800@partialflow.com> References: <49D0F974.4000800@partialflow.com> Message-ID: Hi the first and only idea I have at the moment is to create an "empty" theme and set all the themes you use to be sub-themes of the empty theme, then add the template to the empty theme. That should work, but there should be an easier and smarter way to do it. Simone On Mon, Mar 30, 2009 at 5:55 PM, Christopher M. Jones wrote: > Is there a way to theme a view so that the views templates do not need to be > in the theme directory? The templates I'm creating ought to be used > regardless of which theme is selected, and I don't want to have to put them > into every theme directory. > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- .wmv , .wma , .pps along with all proprietary Windows formats won t be accepted and/or viewed.... From rohanasmith at gmail.com Tue Mar 31 03:12:22 2009 From: rohanasmith at gmail.com (Rohan Smith) Date: Mon, 30 Mar 2009 22:12:22 -0500 Subject: [support] Drupal 6 Event Module.. In-Reply-To: References: <894348.84950.qm@web7607.mail.in.yahoo.com> <9f68efb70903300412o34a2050cq51ae4ea1a85f09b6@mail.gmail.com> Message-ID: <44659aeb0903302012s6afef73bg3fbe2a2f26ba2645@mail.gmail.com> the reason I like the event module is for the nifty little calendar block, also the graphical calendars in some of its views - is that offered with the date module. On Mon, Mar 30, 2009 at 6:42 AM, Gordon Heydon wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > I would not use the event module. With the new methods that are coming in > Drupal 7 it would be better to use the date module. > > Gordon. > > > On 30/03/2009, at 10:12 PM, Shai Gluskin wrote: > > Ram, >> >> Go to http://drupal.org/project/event >> >> Only a dev version is available (see pink section below the green >> section). But at least it is recent which is a sign it is under active >> development and likely to come out with a stable version. You'd have to poke >> around in the issue queue, linked from the above page to determine just how >> far along the current dev version and how much risk you would be taking if >> you wanted to use it on a production site. >> >> best, >> >> Shai >> >> 2009/3/30 ram prasath >> Hi, >> >> HI any One please tel me were I will found drupal 6 event module to >> download . >> >> I searched in google I didnt found event module for drupal 6.But I. found >> only event module for >> >> drupal 5,, >> >> Thanks in ADVANCE FRIENDS >> >> regards >> Ram Prasath >> >> >> Add more friends to your messenger and enjoy! Invite them now. >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.8 (Darwin) > > iEYEARECAAYFAknQsCMACgkQngavurZvkrwJOwCfYR2z5aUMKVayaQXOqKc+d2AR > qU4AniRoUdGTJNXlCEbxFESv72VMcVX4 > =19ZC > -----END PGP SIGNATURE----- > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gordon at heydon.com.au Tue Mar 31 03:16:13 2009 From: gordon at heydon.com.au (Gordon Heydon) Date: Tue, 31 Mar 2009 14:16:13 +1100 Subject: [support] Drupal 6 Event Module.. In-Reply-To: <44659aeb0903302012s6afef73bg3fbe2a2f26ba2645@mail.gmail.com> References: <894348.84950.qm@web7607.mail.in.yahoo.com> <9f68efb70903300412o34a2050cq51ae4ea1a85f09b6@mail.gmail.com> <44659aeb0903302012s6afef73bg3fbe2a2f26ba2645@mail.gmail.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Yes I am pretty sure that the calendar module provides this. Gordon. On 31/03/2009, at 2:12 PM, Rohan Smith wrote: > the reason I like the event module is for the nifty little calendar > block, also the graphical calendars in some of its views - is that > offered with the date module. > > > > On Mon, Mar 30, 2009 at 6:42 AM, Gordon Heydon > wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > I would not use the event module. With the new methods that are > coming in Drupal 7 it would be better to use the date module. > > Gordon. > > > On 30/03/2009, at 10:12 PM, Shai Gluskin wrote: > > Ram, > > Go to http://drupal.org/project/event > > Only a dev version is available (see pink section below the green > section). But at least it is recent which is a sign it is under > active development and likely to come out with a stable version. > You'd have to poke around in the issue queue, linked from the above > page to determine just how far along the current dev version and how > much risk you would be taking if you wanted to use it on a > production site. > > best, > > Shai > > 2009/3/30 ram prasath > Hi, > > HI any One please tel me were I will found drupal 6 event module to > download . > > I searched in google I didnt found event module for drupal 6.But I. > found only event module for > > drupal 5,, > > Thanks in ADVANCE FRIENDS > > regards > Ram Prasath > > > Add more friends to your messenger and enjoy! Invite them now. > -- > [ Drupal support list | http://lists.drupal.org/ ] > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.8 (Darwin) > > iEYEARECAAYFAknQsCMACgkQngavurZvkrwJOwCfYR2z5aUMKVayaQXOqKc+d2AR > qU4AniRoUdGTJNXlCEbxFESv72VMcVX4 > =19ZC > -----END PGP SIGNATURE----- > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > -- > [ Drupal support list | http://lists.drupal.org/ ] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAknRiv0ACgkQngavurZvkrw7LACgsUea2LuXpLr1ql8GiTlMUTGv 2ssAn1U83QGjJ/5R5NmoQndcfJtt9Xt/ =nP49 -----END PGP SIGNATURE----- From shai at content2zero.com Tue Mar 31 03:24:23 2009 From: shai at content2zero.com (Shai Gluskin) Date: Mon, 30 Mar 2009 23:24:23 -0400 Subject: [support] Drupal 6 Event Module.. In-Reply-To: <44659aeb0903302012s6afef73bg3fbe2a2f26ba2645@mail.gmail.com> References: <894348.84950.qm@web7607.mail.in.yahoo.com> <9f68efb70903300412o34a2050cq51ae4ea1a85f09b6@mail.gmail.com> <44659aeb0903302012s6afef73bg3fbe2a2f26ba2645@mail.gmail.com> Message-ID: <9f68efb70903302024u55ed8e8h6df7620499e768ed@mail.gmail.com> I can't compare precisely. But basically the answer is "yes" --> but you need to add the calendar module as well: http://drupal.org/project/calendar Shai 2009/3/30 Rohan Smith > the reason I like the event module is for the nifty little calendar block, > also the graphical calendars in some of its views - is that offered with the > date module. > > > > On Mon, Mar 30, 2009 at 6:42 AM, Gordon Heydon wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Hi, >> >> I would not use the event module. With the new methods that are coming in >> Drupal 7 it would be better to use the date module. >> >> Gordon. >> >> >> On 30/03/2009, at 10:12 PM, Shai Gluskin wrote: >> >> Ram, >>> >>> Go to http://drupal.org/project/event >>> >>> Only a dev version is available (see pink section below the green >>> section). But at least it is recent which is a sign it is under active >>> development and likely to come out with a stable version. You'd have to poke >>> around in the issue queue, linked from the above page to determine just how >>> far along the current dev version and how much risk you would be taking if >>> you wanted to use it on a production site. >>> >>> best, >>> >>> Shai >>> >>> 2009/3/30 ram prasath >>> Hi, >>> >>> HI any One please tel me were I will found drupal 6 event module to >>> download . >>> >>> I searched in google I didnt found event module for drupal 6.But I. >>> found only event module for >>> >>> drupal 5,, >>> >>> Thanks in ADVANCE FRIENDS >>> >>> regards >>> Ram Prasath >>> >>> >>> Add more friends to your messenger and enjoy! Invite them now. >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >> >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.8 (Darwin) >> >> iEYEARECAAYFAknQsCMACgkQngavurZvkrwJOwCfYR2z5aUMKVayaQXOqKc+d2AR >> qU4AniRoUdGTJNXlCEbxFESv72VMcVX4 >> =19ZC >> -----END PGP SIGNATURE----- >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From killshot91 at comcast.net Tue Mar 31 04:09:32 2009 From: killshot91 at comcast.net (Steve Edwards) Date: Mon, 30 Mar 2009 21:09:32 -0700 Subject: [support] Block Body text field too small with editor Message-ID: <49D1977C.6080703@comcast.net> I have a D5 Ubercart site that was working fine on my dev server, but now that's it's moved to the customer's hosting account I'm having some weird issues with blocks. I want to create a simple block from the block admin page where the customer can enter some text and a picture (using FCKEditor and IMCE). This worked perfectly fine on the dev server, but now when I go to create the block, I 'm seeing two problems. First, the body area is very small without the editor showing up, even though that page is not excluded in the FCKEditor visibilty settings, and second, When I save the block and add it to a sidebar, it is not displayed. If I disable FCKEditor, the Body field is regular size, and when the block is saved and configured to display in a sidebar, it actually shows up. When I enable FCKEditor again, the body text field is very small again. Why would I get these issues on one server, but not another, and what would cause them? Thanks. Steve From nikhilrkale at gmail.com Tue Mar 31 07:15:19 2009 From: nikhilrkale at gmail.com (Nikhil Kala) Date: Tue, 31 Mar 2009 12:45:19 +0530 Subject: [support] Image gallery problem with a particular theme Message-ID: Hello All, I have installed Image gallery in drupal 5. It was working fine. When I downloaded and installed the Bizcenter theme, the gallery is not working properly. After clicking on thumbnail, it is showing blank. Can any one tell how t troubleshoot this problem OR what things I should check? Thanks & Regards, Nikhil Kala http://www.nikhilkala.com Samuel Goldwyn - "I don't think anyone should write their autobiography until after they're dead." -------------- next part -------------- An HTML attachment was scrubbed... URL: From pierre.rineau at makina-corpus.com Tue Mar 31 08:07:37 2009 From: pierre.rineau at makina-corpus.com (Pierre Rineau) Date: Tue, 31 Mar 2009 10:07:37 +0200 Subject: [support] views templates for all themes In-Reply-To: <49D0F974.4000800@partialflow.com> References: <49D0F974.4000800@partialflow.com> Message-ID: <1238486857.10082.0.camel@guinevere.makina-nantes.net> May be the contemplate module could help you. Cheers, Pierre. Le lundi 30 mars 2009 ? 12:55 -0400, Christopher M. Jones a ?crit : > Is there a way to theme a view so that the views templates do not need > to be in the theme directory? The templates I'm creating ought to be > used regardless of which theme is selected, and I don't want to have to > put them into every theme directory. > -- > [ Drupal support list | http://lists.drupal.org/ ] From ramprasath_explicit at yahoo.co.in Tue Mar 31 09:10:12 2009 From: ramprasath_explicit at yahoo.co.in (ram prasath) Date: Tue, 31 Mar 2009 14:40:12 +0530 (IST) Subject: [support] EVENT CALENDER Message-ID: <399409.1921.qm@web7603.mail.in.yahoo.com> HI, ?? i HAD CREATED A EVENT USING VIEWS,CALENDER,CCK in DRUPAL 6 . I have my calender in my right side of my page.When I select the event date and i click the date my event get display in my content area,But the problem is the calender is goin back to the current date after clicking date..I want if i select the event date means my calender date to remain in d event after it got displayed event,, Can any ONE TEL ME HOW TO DO THIS thanks in advance,Friends . regards Ram Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From michel at ziobudda.net Tue Mar 31 09:14:03 2009 From: michel at ziobudda.net (Davide Michel 'ZioBudda' Morelli) Date: Tue, 31 Mar 2009 11:14:03 +0200 Subject: [support] views templates for all themes In-Reply-To: <1238486857.10082.0.camel@guinevere.makina-nantes.net> References: <49D0F974.4000800@partialflow.com> <1238486857.10082.0.camel@guinevere.makina-nantes.net> Message-ID: <49D1DEDB.6000601@ziobudda.net> Pierre Rineau ha scritto: > May be the contemplate module could help you. > This idea is correct, but how about performance ? contemplate is "another layer" before rendering (and PHP code that need to be read and validating and ...). Is more important that you do not copy some .tpl.php files or your site performance ? M. -- Michel 'ZioBudda' Morelli michel at ziobudda.net Consulenza sistemistica in ambito OpenSource. Sviluppo applicazioni web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ziodrupal.net MSN: michel at ziobuddalabs.it JABBER: michel at ziobuddalabs.it From pierre.rineau at makina-corpus.com Tue Mar 31 09:19:25 2009 From: pierre.rineau at makina-corpus.com (Pierre Rineau) Date: Tue, 31 Mar 2009 11:19:25 +0200 Subject: [support] views templates for all themes In-Reply-To: <49D1DEDB.6000601@ziobudda.net> References: <49D0F974.4000800@partialflow.com> <1238486857.10082.0.camel@guinevere.makina-nantes.net> <49D1DEDB.6000601@ziobudda.net> Message-ID: <1238491165.10082.1.camel@guinevere.makina-nantes.net> I don't know about performance, I think, if the module is smart enough, it should do caching somewhere. Try, you'll see! Le mardi 31 mars 2009 ? 11:14 +0200, Davide Michel 'ZioBudda' Morelli a ?crit : > Pierre Rineau ha scritto: > > May be the contemplate module could help you. > > > This idea is correct, but how about performance ? > > contemplate is "another layer" before rendering (and PHP code that need > to be read and validating and ...). > Is more important that you do not copy some .tpl.php files or your > site performance ? > > M. > From ramprasath_explicit at yahoo.co.in Tue Mar 31 10:20:13 2009 From: ramprasath_explicit at yahoo.co.in (ram prasath) Date: Tue, 31 Mar 2009 15:50:13 +0530 (IST) Subject: [support] Display select box depends on value selected in another select box in DRUPAL 6 Message-ID: <615043.34671.qm@web7602.mail.in.yahoo.com> HI, ?? Friends I have a select box in which I have some countries name,What I want was If any 1 of the country is selected I want to display their states in another select box How to do that in DRUPAL 6.. THANKS IN ADVANCE FRIENDS.. regards Ram Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From ramon.vilar at gmail.com Tue Mar 31 10:25:10 2009 From: ramon.vilar at gmail.com (=?ISO-8859-1?Q?Ramon_Vilar_Gavald=E0?=) Date: Tue, 31 Mar 2009 12:25:10 +0200 Subject: [support] Display select box depends on value selected in another select box in DRUPAL 6 In-Reply-To: <615043.34671.qm@web7602.mail.in.yahoo.com> References: <615043.34671.qm@web7602.mail.in.yahoo.com> Message-ID: Hi I think that Hierarchical Select module can help you. Check this link: http://drupal.org/project/hierarchical_select Regards Ramon 2009/3/31 ram prasath : > HI, > ?? Friends I have a select box in which I have some countries name,What I > want was If any 1 of the country is selected I want to display their states > in another select box > > How to do that in DRUPAL 6.. > > THANKS IN ADVANCE FRIENDS.. > > regards > Ram > > ________________________________ > Add more friends to your messenger and enjoy! Invite them now. > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Ramon Vilar Gavald? - http://ramonvilar.facil.cat - http://blog.facilitant.net Membre de F?CIL - http://www.facil.cat Membre de l'esplai SESA - http://www.esplaisesa.org From ramprasath_explicit at yahoo.co.in Tue Mar 31 10:35:57 2009 From: ramprasath_explicit at yahoo.co.in (ram prasath) Date: Tue, 31 Mar 2009 16:05:57 +0530 (IST) Subject: [support] Display select box depends on value selected in another select box in DRUPAL 6 Message-ID: <661294.29502.qm@web7604.mail.in.yahoo.com> Ramon, ?? Thank You for your timely help ... regrds Ram --- On Tue, 31/3/09, Ramon Vilar Gavald? wrote: From: Ramon Vilar Gavald? Subject: Re: [support] Display select box depends on value selected in another select box in DRUPAL 6 To: support at drupal.org Date: Tuesday, 31 March, 2009, 3:55 PM Hi I think that Hierarchical Select module can help you. Check this link: http://drupal.org/project/hierarchical_select Regards Ramon 2009/3/31 ram prasath : > HI, > ?? Friends I have a select box in which I have some countries name,What I > want was If any 1 of the country is selected I want to display their states > in another select box > > How to do that in DRUPAL 6.. > > THANKS IN ADVANCE FRIENDS.. > > regards > Ram > > ________________________________ > Add more friends to your messenger and enjoy! Invite them now. > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Ramon Vilar Gavald? - http://ramonvilar.facil.cat - http://blog.facilitant.net Membre de F?CIL - http://www.facil.cat Membre de l'esplai SESA - http://www.esplaisesa.org -- [ Drupal support list | http://lists.drupal.org/ ] Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From ramprasath_explicit at yahoo.co.in Tue Mar 31 11:50:01 2009 From: ramprasath_explicit at yahoo.co.in (ram prasath) Date: Tue, 31 Mar 2009 17:20:01 +0530 (IST) Subject: [support] Display select box depends on value selected in another select box in DRUPAL 6 Message-ID: <560252.787.qm@web7605.mail.in.yahoo.com> Hi Ramon, ?? ?I tried what you told but I cant? able to display a select box based on value selected on another selected box.Is any other way to display a select box based on value selected on another select box in dupal 6 thanks in advance friends, regards Ram Prasath --- On Tue, 31/3/09, Ramon Vilar Gavald? wrote: From: Ramon Vilar Gavald? Subject: Re: [support] Display select box depends on value selected in another select box in DRUPAL 6 To: support at drupal.org Date: Tuesday, 31 March, 2009, 3:55 PM Hi I think that Hierarchical Select module can help you. Check this link: http://drupal.org/project/hierarchical_select Regards Ramon 2009/3/31 ram prasath : > HI, > ?? Friends I have a select box in which I have some countries name,What I > want was If any 1 of the country is selected I want to display their states > in another select box > > How to do that in DRUPAL 6.. > > THANKS IN ADVANCE FRIENDS.. > > regards > Ram > > ________________________________ > Add more friends to your messenger and enjoy! Invite them now. > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Ramon Vilar Gavald? - http://ramonvilar.facil.cat - http://blog.facilitant.net Membre de F?CIL - http://www.facil.cat Membre de l'esplai SESA - http://www.esplaisesa.org -- [ Drupal support list | http://lists.drupal.org/ ] Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From aldo at caonao.cu Tue Mar 31 11:50:28 2009 From: aldo at caonao.cu (Aldo Martinez Selleras) Date: Tue, 31 Mar 2009 07:50:28 -0400 Subject: [support] l() function and javascript function Message-ID: <200903310750.28813.aldo@caonao.cu> how can i insert javascript functions in diferent events on my link created with l() function??? i have this l($picture, "blog/$row->uid", array('title' => t('View user profile.')) this create a html code like this username's profile and i need add some events... username's profile how can do this??? thks in advanced From fb at codicelibero.net Tue Mar 31 12:11:42 2009 From: fb at codicelibero.net (Francesco Baldini) Date: Tue, 31 Mar 2009 14:11:42 +0200 (CEST) Subject: [support] Access denied to Multiforms for all users Message-ID: <7ba7578c839711b03bab803d0286f5af.squirrel@webmail.codicelibero.net> Hi, I installed Multiforms module and everything works within Admin user, I gave other users (authenticated as well as anonymous) permission to access it but I get a "You are not authorized to access this page" message. I tried to give them access to "access multiform administration" (just to try) but anything change.. I deleted cache_* content too but no way.. any idea about where's the problem? :/ From earnie at users.sourceforge.net Tue Mar 31 13:46:37 2009 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Tue, 31 Mar 2009 13:46:37 +0000 Subject: [support] Access denied to Multiforms for all users In-Reply-To: <7ba7578c839711b03bab803d0286f5af.squirrel@webmail.codicelibero.net> References: <7ba7578c839711b03bab803d0286f5af.squirrel@webmail.codicelibero.net> Message-ID: <20090331134637.10544iq8fe49r8u8@mail.siebunlimited.com> Quoting Francesco Baldini : > > any idea about where's the problem? :/ > Not really any idea but did you give permission for "access content"? -- Earnie http://r-feed.com Make a Drupal difference and review core patches. -- http://for-my-kids.com/ -- http://www.4offer.biz/ From fb at codicelibero.net Tue Mar 31 14:56:16 2009 From: fb at codicelibero.net (Francesco Baldini) Date: Tue, 31 Mar 2009 16:56:16 +0200 (CEST) Subject: [support] Access denied to Multiforms for all users In-Reply-To: <20090331134637.10544iq8fe49r8u8@mail.siebunlimited.com> References: <7ba7578c839711b03bab803d0286f5af.squirrel@webmail.codicelibero.net> <20090331134637.10544iq8fe49r8u8@mail.siebunlimited.com> Message-ID: On Mar, 31 Marzo 2009 3:46 pm, Earnie Boyd wrote: > Quoting Francesco Baldini : > >> >> any idea about where's the problem? :/ >> > > Not really any idea but did you give permission for "access content"? yes I did From torelad at gmail.com Tue Mar 31 16:53:56 2009 From: torelad at gmail.com (Dale McGladdery) Date: Tue, 31 Mar 2009 09:53:56 -0700 Subject: [support] l() function and javascript function In-Reply-To: <200903310750.28813.aldo@caonao.cu> References: <200903310750.28813.aldo@caonao.cu> Message-ID: I'm by no means an expert in this area, but my understanding is that the current best practice is using JQuery. I certainly consider it best practice! You'd add a CSS class, id, or attribute to your link (which ever is most appropriate): l($picture, "blog/$row->uid", array('title' => t('View user profile.'), 'attributes' => array('class' =>'myclass')) Actually, since the "$text" parameter is HTML (an img tag), I think you'd need to set the html option true: l($picture, "blog/$row->uid", array('title' => t('View user profile.'), 'html' => TRUE, 'attributes' => array('class' =>'myclass')) Then you'd use JQuery along these lines: $(document).ready(function(){ $("a.myclass").click(function(event){ // Your code return false; }); }) Sorry, I don't have any good references handy. I'm sure it wouldn't take you long to find some good examples via Google. On Tue, Mar 31, 2009 at 4:50 AM, Aldo Martinez Selleras wrote: > how can i insert javascript functions in diferent events on my link created > with l() function??? > > i have this > > l($picture, "blog/$row->uid", array('title' => t('View user profile.')) > > this create a html code like this > > src="http://URL_DOMAIN/files/avatar_selection/batman_1.jpg" > alt="username's profile" title="username's profile" ?/> > > and i need add some events... > > > onclick="get_show('+SOME_VAR+')" > onmouseout="usercardget_hide()" > > > > alt="username's profile" title="username's profile" ?/> > > how can do this??? > > thks in advanced > -- > [ Drupal support list | http://lists.drupal.org/ ] > From hovercrafter at earthlink.net Tue Mar 31 17:04:36 2009 From: hovercrafter at earthlink.net (Jamie Holly) Date: Tue, 31 Mar 2009 13:04:36 -0400 Subject: [support] l() function and javascript function In-Reply-To: References: <200903310750.28813.aldo@caonao.cu> Message-ID: <49D24D24.7050307@earthlink.net> You can also do 'attributes'=>array('onclick'=>'functionaname(arguments)'). That works better if you have a bunch of links that will get the function. Jamie Holly http://www.intoxination.net http://www.hollyit.net Dale McGladdery wrote: > I'm by no means an expert in this area, but my understanding is that > the current best practice is using JQuery. I certainly consider it > best practice! > > You'd add a CSS class, id, or attribute to your link (which ever is > most appropriate): > l($picture, "blog/$row->uid", array('title' => t('View user > profile.'), 'attributes' => array('class' =>'myclass')) > > Actually, since the "$text" parameter is HTML (an img tag), I think > you'd need to set the html option true: > l($picture, "blog/$row->uid", array('title' => t('View user > profile.'), 'html' => TRUE, 'attributes' => array('class' > =>'myclass')) > > Then you'd use JQuery along these lines: > > $(document).ready(function(){ > $("a.myclass").click(function(event){ > // Your code > return false; > }); > }) > > Sorry, I don't have any good references handy. I'm sure it wouldn't > take you long to find some good examples via Google. > > > On Tue, Mar 31, 2009 at 4:50 AM, Aldo Martinez Selleras wrote: > > how can i insert javascript functions in diferent events on my link created > > with l() function??? > > > > i have this > > > > l($picture, "blog/$row->uid", array('title' => t('View user profile.')) > > > > this create a html code like this > > > > > src="http://URL_DOMAIN/files/avatar_selection/batman_1.jpg" > > alt="username's profile" title="username's profile" /> > > > > and i need add some events... > > > > > > > onclick="get_show('+SOME_VAR+')" > > onmouseout="usercardget_hide()" > > > > > > > > alt="username's profile" title="username's profile" /> > > > > how can do this??? > > > > thks in advanced > > -- > > [ Drupal support list | http://lists.drupal.org/ ] > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > From fredthejonester at gmail.com Tue Mar 31 17:19:04 2009 From: fredthejonester at gmail.com (Fred Jones) Date: Tue, 31 Mar 2009 19:19:04 +0200 Subject: [support] l() function and javascript function In-Reply-To: References: <200903310750.28813.aldo@caonao.cu> Message-ID: <177c0a10903311019m437fb1f2ma3105d0d7e5dc52d@mail.gmail.com> > I'm by no means an expert in this area, but my understanding is that > the current best practice is using JQuery. I certainly consider it > best practice! That's certainly how I would do it. F From nick at thewebtailor.co.uk Tue Mar 31 18:35:49 2009 From: nick at thewebtailor.co.uk (Nick Holden) Date: Tue, 31 Mar 2009 19:35:49 +0100 Subject: [support] Problem with 6.10 and file upload Message-ID: <1238524549.14717.3.camel@nick.4glengate.home> I'd appreciate some help getting to grips with an odd behaviour we've found since upgrading a site to 6.10 - the file attachments (using the drupal core upload module) are either not working properly, or not working as we expect... There are two issues: 1. When creating or editing a node you can only add one file attachment. If you put a second filename into the 'attach new file' box and click 'attach' it overwites the one already in the list. Never more than one file can be displayed in the list. This is not the behaviour exhibited by drupal.org and is not what we expect. 2. Once the content is saved, although the uploaded file is saved in the /sites/default/files/ directory, it is not attached in the content of the page or story. The uploaded files can be subsequently linked to or embedded in content, but they do not display as attached or uploaded content in the node in which they were created. This behaviour is new on the site since upgrade to 6.10 - so are we failing to complete some part of the upgrade process, or is there an error? Thanks for any suggestions or comments people can offer. Nick