From ratadi2 at gmail.com Mon Dec 1 03:41:45 2008 From: ratadi2 at gmail.com (geniekids) Date: Sun, 30 Nov 2008 19:41:45 -0800 (PST) Subject: [support] Post upgrade forum block shows CCk content Message-ID: <20765600.post@talk.nabble.com> I upgraded from Drupal 5.1 to 6.6 and while everything else is fine the forum block (both latest topics and most discussed topics shows a cck content rather than forum topics. When i go to admin>content and filter by forum topics - i get the forum topics list alright. But its the blocks that are listing the wrong content. I need to mention that i was using in 5.1 the forum taxonomy for categorizing some other cck content also (including the one that is now showing up) For other CCk content i was using views. Any idea how to set the forum blocks right. pl see www.geniekids.com -- View this message in context: http://www.nabble.com/Post-upgrade-forum-block-shows-CCk-content-tp20765600p20765600.html Sent from the Drupal - Support mailing list archive at Nabble.com. From sivaji2009 at gmail.com Mon Dec 1 07:00:12 2008 From: sivaji2009 at gmail.com (sivaji j.g) Date: Mon, 1 Dec 2008 12:30:12 +0530 Subject: [support] chat module for drupal 5 Message-ID: hi drupal gusy, I am looking for drupal 5 chat module, my requirement is like - it should allow site registered user to chat themselves - no additional registration - must be free software - optimal bandwidth consumption - must run from our server not an external sever. please give me your suggestions . -- Thanks a lot ----------------------------------------- http://ubuntuslave.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081201/4a9a53a7/attachment.htm From xavier.bestel at free.fr Mon Dec 1 10:10:44 2008 From: xavier.bestel at free.fr (Xavier Bestel) Date: Mon, 01 Dec 2008 11:10:44 +0100 Subject: [support] chat module for drupal 5 In-Reply-To: References: Message-ID: <1228126244.21628.77.camel@skunk> On Mon, 2008-12-01 at 12:30 +0530, sivaji j.g wrote: > hi drupal gusy, > > I am looking for drupal 5 chat module, my requirement is > like > > - it should allow site registered user to chat > themselves > - no additional registration > - must be free software > - optimal bandwidth consumption > - must run from our server not an external sever. > > please give me your suggestions . chatroom From daniel.carrera at zmsl.com Mon Dec 1 13:16:36 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Mon, 01 Dec 2008 14:16:36 +0100 Subject: [support] Users can't access content Message-ID: <4933E3B4.2020305@zmsl.com> Hello, I was using the "taxonomy access" module but I decided that it doesn't do what I want, so got rid of it. That is to say, I didn't delete the categories, but I set them to not be used for "Pages". Here is my problem: Some pages are now inaccessible to anonymous users. When you go to the page you get an access denied error. I'm getting stressed about this because my users are mad and they want to show their pages to other people. I have gone to the regular permissions page (admin/user/access) and under "node module" the permission "access content" is activated for anonymous users. I don't know what to do and I was hoping someone here had an idea. I'm using Drupal 5 btw. I would welcome any help. Daniel. From daniel.carrera at zmsl.com Mon Dec 1 13:42:09 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Mon, 01 Dec 2008 14:42:09 +0100 Subject: [support] Users can't access content In-Reply-To: <4933E3B4.2020305@zmsl.com> References: <4933E3B4.2020305@zmsl.com> Message-ID: <4933E9B1.9030607@zmsl.com> Shit. It's worse than I thought. It looks like only users that have a role with the "administer nodes" permission can view these pages. In other words, only site administrators can view these pages. This is horrible. Help! :( Daniel Carrera wrote: > Hello, > > I was using the "taxonomy access" module but I decided that it doesn't > do what I want, so got rid of it. That is to say, I didn't delete the > categories, but I set them to not be used for "Pages". > > Here is my problem: Some pages are now inaccessible to anonymous users. > When you go to the page you get an access denied error. I'm getting > stressed about this because my users are mad and they want to show their > pages to other people. > > I have gone to the regular permissions page (admin/user/access) and > under "node module" the permission "access content" is activated for > anonymous users. > > I don't know what to do and I was hoping someone here had an idea. I'm > using Drupal 5 btw. > > I would welcome any help. > > Daniel. From bill at funnymonkey.com Mon Dec 1 13:53:03 2008 From: bill at funnymonkey.com (Bill Fitzgerald) Date: Mon, 01 Dec 2008 05:53:03 -0800 Subject: [support] Users can't access content In-Reply-To: <4933E9B1.9030607@zmsl.com> References: <4933E3B4.2020305@zmsl.com> <4933E9B1.9030607@zmsl.com> Message-ID: <4933EC3F.9040806@funnymonkey.com> Try rebuilding your permissions table at admin/content/node-settings Daniel Carrera wrote: > Shit. It's worse than I thought. It looks like only users that have a > role with the "administer nodes" permission can view these pages. In > other words, only site administrators can view these pages. This is > horrible. > > Help! :( > > Daniel Carrera wrote: > >> Hello, >> >> I was using the "taxonomy access" module but I decided that it doesn't >> do what I want, so got rid of it. That is to say, I didn't delete the >> categories, but I set them to not be used for "Pages". >> >> Here is my problem: Some pages are now inaccessible to anonymous users. >> When you go to the page you get an access denied error. I'm getting >> stressed about this because my users are mad and they want to show their >> pages to other people. >> >> I have gone to the regular permissions page (admin/user/access) and >> under "node module" the permission "access content" is activated for >> anonymous users. >> >> I don't know what to do and I was hoping someone here had an idea. I'm >> using Drupal 5 btw. >> >> I would welcome any help. >> >> Daniel. >> > > -- Bill Fitzgerald http://funnymonkey.com FunnyMonkey -- Tools for Teachers ph. 503 897 7160 From victorkane at gmail.com Mon Dec 1 13:53:12 2008 From: victorkane at gmail.com (Victor Kane) Date: Mon, 1 Dec 2008 11:53:12 -0200 Subject: [support] Users can't access content In-Reply-To: <4933E9B1.9030607@zmsl.com> References: <4933E3B4.2020305@zmsl.com> <4933E9B1.9030607@zmsl.com> Message-ID: You have to reset the access control settings table in the database. See http://drupal.org/node/326143 and elsewhere in the Drupal Handbook. Victor Kane http://awebfactory.com.ar On Mon, Dec 1, 2008 at 11:42 AM, Daniel Carrera wrote: > Shit. It's worse than I thought. It looks like only users that have a > role with the "administer nodes" permission can view these pages. In > other words, only site administrators can view these pages. This is > horrible. > > Help! :( > > Daniel Carrera wrote: >> Hello, >> >> I was using the "taxonomy access" module but I decided that it doesn't >> do what I want, so got rid of it. That is to say, I didn't delete the >> categories, but I set them to not be used for "Pages". >> >> Here is my problem: Some pages are now inaccessible to anonymous users. >> When you go to the page you get an access denied error. I'm getting >> stressed about this because my users are mad and they want to show their >> pages to other people. >> >> I have gone to the regular permissions page (admin/user/access) and >> under "node module" the permission "access content" is activated for >> anonymous users. >> >> I don't know what to do and I was hoping someone here had an idea. I'm >> using Drupal 5 btw. >> >> I would welcome any help. >> >> Daniel. > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From daniel.carrera at zmsl.com Mon Dec 1 14:15:14 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Mon, 01 Dec 2008 15:15:14 +0100 Subject: [support] Users can't access content In-Reply-To: <4933EC3F.9040806@funnymonkey.com> References: <4933E3B4.2020305@zmsl.com> <4933E9B1.9030607@zmsl.com> <4933EC3F.9040806@funnymonkey.com> Message-ID: <4933F172.6010600@zmsl.com> Hmm... it doesn't seem to help. Maybe I have the wrong permissions set in the access control page (admin/user/access) but I don't think I do. Under "node module" I have the "access content" permission set for anonymous users. That's all I need, right? All the other permissions in this section are "administer" this, "create" that, and "edit" the other. Is there some other permission I should check? Is it possible that the Drupal cache is acting up? I see five cache* tables in the database (cache, cache_filter, cache_menu, cache_page, cache_views). Is it safe to delete everything from these tables? Might that help? Daniel. Bill Fitzgerald wrote: > Try rebuilding your permissions table at admin/content/node-settings > > Daniel Carrera wrote: >> Shit. It's worse than I thought. It looks like only users that have a >> role with the "administer nodes" permission can view these pages. In >> other words, only site administrators can view these pages. This is >> horrible. >> >> Help! :( >> >> Daniel Carrera wrote: >> >>> Hello, >>> >>> I was using the "taxonomy access" module but I decided that it doesn't >>> do what I want, so got rid of it. That is to say, I didn't delete the >>> categories, but I set them to not be used for "Pages". >>> >>> Here is my problem: Some pages are now inaccessible to anonymous users. >>> When you go to the page you get an access denied error. I'm getting >>> stressed about this because my users are mad and they want to show their >>> pages to other people. >>> >>> I have gone to the regular permissions page (admin/user/access) and >>> under "node module" the permission "access content" is activated for >>> anonymous users. >>> >>> I don't know what to do and I was hoping someone here had an idea. I'm >>> using Drupal 5 btw. >>> >>> I would welcome any help. >>> >>> Daniel. >>> >> > > From william.darren at gmail.com Mon Dec 1 14:17:59 2008 From: william.darren at gmail.com (William Smith) Date: Mon, 1 Dec 2008 09:17:59 -0500 Subject: [support] Users can't access content In-Reply-To: <4933F172.6010600@zmsl.com> References: <4933E3B4.2020305@zmsl.com> <4933E9B1.9030607@zmsl.com> <4933EC3F.9040806@funnymonkey.com> <4933F172.6010600@zmsl.com> Message-ID: <74630ca20812010617v51b0e980q796c6f3ee7bd71fa@mail.gmail.com> Clearing the cache is worth a shot, and yes it is safe to delete everything from the cache* tables On Mon, Dec 1, 2008 at 9:15 AM, Daniel Carrera wrote: > Hmm... it doesn't seem to help. > > Maybe I have the wrong permissions set in the access control page > (admin/user/access) but I don't think I do. Under "node module" I have > the "access content" permission set for anonymous users. That's all I > need, right? All the other permissions in this section are "administer" > this, "create" that, and "edit" the other. > > Is there some other permission I should check? > > Is it possible that the Drupal cache is acting up? I see five cache* > tables in the database (cache, cache_filter, cache_menu, cache_page, > cache_views). Is it safe to delete everything from these tables? Might > that help? > > Daniel. > > > Bill Fitzgerald wrote: > > Try rebuilding your permissions table at admin/content/node-settings > > > > Daniel Carrera wrote: > >> Shit. It's worse than I thought. It looks like only users that have a > >> role with the "administer nodes" permission can view these pages. In > >> other words, only site administrators can view these pages. This is > >> horrible. > >> > >> Help! :( > >> > >> Daniel Carrera wrote: > >> > >>> Hello, > >>> > >>> I was using the "taxonomy access" module but I decided that it doesn't > >>> do what I want, so got rid of it. That is to say, I didn't delete the > >>> categories, but I set them to not be used for "Pages". > >>> > >>> Here is my problem: Some pages are now inaccessible to anonymous users. > >>> When you go to the page you get an access denied error. I'm getting > >>> stressed about this because my users are mad and they want to show > their > >>> pages to other people. > >>> > >>> I have gone to the regular permissions page (admin/user/access) and > >>> under "node module" the permission "access content" is activated for > >>> anonymous users. > >>> > >>> I don't know what to do and I was hoping someone here had an idea. I'm > >>> using Drupal 5 btw. > >>> > >>> I would welcome any help. > >>> > >>> Daniel. > >>> > >> > > > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081201/573a8a52/attachment.htm From daniel.carrera at zmsl.com Mon Dec 1 14:34:29 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Mon, 01 Dec 2008 15:34:29 +0100 Subject: [support] Users can't access content In-Reply-To: <74630ca20812010617v51b0e980q796c6f3ee7bd71fa@mail.gmail.com> References: <4933E3B4.2020305@zmsl.com> <4933E9B1.9030607@zmsl.com> <4933EC3F.9040806@funnymonkey.com> <4933F172.6010600@zmsl.com> <74630ca20812010617v51b0e980q796c6f3ee7bd71fa@mail.gmail.com> Message-ID: <4933F5F5.4050401@zmsl.com> Ok, I'll do that in 2 hours. Right now a customer is demo-ing the website to his boss and the last thing I want is to break something mid-way through the demo (I gave the customer admin rights just for today so he could do the demo). Daniel. William Smith wrote: > Clearing the cache is worth a shot, and yes it is safe to delete > everything from the cache* tables > > On Mon, Dec 1, 2008 at 9:15 AM, Daniel Carrera > wrote: > > Hmm... it doesn't seem to help. > > Maybe I have the wrong permissions set in the access control page > (admin/user/access) but I don't think I do. Under "node module" I have > the "access content" permission set for anonymous users. That's all I > need, right? All the other permissions in this section are "administer" > this, "create" that, and "edit" the other. > > Is there some other permission I should check? > > Is it possible that the Drupal cache is acting up? I see five cache* > tables in the database (cache, cache_filter, cache_menu, cache_page, > cache_views). Is it safe to delete everything from these tables? Might > that help? > > Daniel. > > > Bill Fitzgerald wrote: > > Try rebuilding your permissions table at admin/content/node-settings > > > > Daniel Carrera wrote: > >> Shit. It's worse than I thought. It looks like only users that > have a > >> role with the "administer nodes" permission can view these pages. In > >> other words, only site administrators can view these pages. This is > >> horrible. > >> > >> Help! :( > >> > >> Daniel Carrera wrote: > >> > >>> Hello, > >>> > >>> I was using the "taxonomy access" module but I decided that it > doesn't > >>> do what I want, so got rid of it. That is to say, I didn't > delete the > >>> categories, but I set them to not be used for "Pages". > >>> > >>> Here is my problem: Some pages are now inaccessible to > anonymous users. > >>> When you go to the page you get an access denied error. I'm getting > >>> stressed about this because my users are mad and they want to > show their > >>> pages to other people. > >>> > >>> I have gone to the regular permissions page (admin/user/access) and > >>> under "node module" the permission "access content" is > activated for > >>> anonymous users. > >>> > >>> I don't know what to do and I was hoping someone here had an > idea. I'm > >>> using Drupal 5 btw. > >>> > >>> I would welcome any help. > >>> > >>> Daniel. > >>> > >> > > > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > From victorkane at gmail.com Mon Dec 1 14:42:53 2008 From: victorkane at gmail.com (Victor Kane) Date: Mon, 1 Dec 2008 12:42:53 -0200 Subject: [support] Users can't access content In-Reply-To: <4933F5F5.4050401@zmsl.com> References: <4933E3B4.2020305@zmsl.com> <4933E9B1.9030607@zmsl.com> <4933EC3F.9040806@funnymonkey.com> <4933F172.6010600@zmsl.com> <74630ca20812010617v51b0e980q796c6f3ee7bd71fa@mail.gmail.com> <4933F5F5.4050401@zmsl.com> Message-ID: Here is a silver bullet for this problem (backup your database first). Assuming you want to return to a state in which no access modules are at work, in which everything is like a regular, normal, fresh Drupal install, you: 1. Delete all rows from the node_access table. 2. Perform this command: db_query("INSERT INTO {node_access} VALUES (0, 0, 'all', 1, 0, 0)"); That should leave your table looking like this: nid gid realm grant_view grant_update grant_delete 0 0 all 1 0 0 Then things should be right as rain. Victor Kane http://awebfactory.com.ar On Mon, Dec 1, 2008 at 12:34 PM, Daniel Carrera wrote: > Ok, I'll do that in 2 hours. Right now a customer is demo-ing the > website to his boss and the last thing I want is to break something > mid-way through the demo (I gave the customer admin rights just for > today so he could do the demo). > > Daniel. > > William Smith wrote: >> Clearing the cache is worth a shot, and yes it is safe to delete >> everything from the cache* tables >> >> On Mon, Dec 1, 2008 at 9:15 AM, Daniel Carrera > > wrote: >> >> Hmm... it doesn't seem to help. >> >> Maybe I have the wrong permissions set in the access control page >> (admin/user/access) but I don't think I do. Under "node module" I have >> the "access content" permission set for anonymous users. That's all I >> need, right? All the other permissions in this section are "administer" >> this, "create" that, and "edit" the other. >> >> Is there some other permission I should check? >> >> Is it possible that the Drupal cache is acting up? I see five cache* >> tables in the database (cache, cache_filter, cache_menu, cache_page, >> cache_views). Is it safe to delete everything from these tables? Might >> that help? >> >> Daniel. >> >> >> Bill Fitzgerald wrote: >> > Try rebuilding your permissions table at admin/content/node-settings >> > >> > Daniel Carrera wrote: >> >> Shit. It's worse than I thought. It looks like only users that >> have a >> >> role with the "administer nodes" permission can view these pages. In >> >> other words, only site administrators can view these pages. This is >> >> horrible. >> >> >> >> Help! :( >> >> >> >> Daniel Carrera wrote: >> >> >> >>> Hello, >> >>> >> >>> I was using the "taxonomy access" module but I decided that it >> doesn't >> >>> do what I want, so got rid of it. That is to say, I didn't >> delete the >> >>> categories, but I set them to not be used for "Pages". >> >>> >> >>> Here is my problem: Some pages are now inaccessible to >> anonymous users. >> >>> When you go to the page you get an access denied error. I'm getting >> >>> stressed about this because my users are mad and they want to >> show their >> >>> pages to other people. >> >>> >> >>> I have gone to the regular permissions page (admin/user/access) and >> >>> under "node module" the permission "access content" is >> activated for >> >>> anonymous users. >> >>> >> >>> I don't know what to do and I was hoping someone here had an >> idea. I'm >> >>> using Drupal 5 btw. >> >>> >> >>> I would welcome any help. >> >>> >> >>> Daniel. >> >>> >> >> >> > >> > >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> >> > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From daniel.carrera at zmsl.com Mon Dec 1 15:00:40 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Mon, 01 Dec 2008 16:00:40 +0100 Subject: [support] Users can't access content In-Reply-To: References: <4933E3B4.2020305@zmsl.com> <4933E9B1.9030607@zmsl.com> <4933EC3F.9040806@funnymonkey.com> <4933F172.6010600@zmsl.com> <74630ca20812010617v51b0e980q796c6f3ee7bd71fa@mail.gmail.com> <4933F5F5.4050401@zmsl.com> Message-ID: <4933FC18.2080905@zmsl.com> Hi Victor, Thanks, I'll definitely try that. I'll wait until after business hours, just in case something goes wrong. In any case, what you describe ("regular, normal, fresh Drupal install") sounds like exactly what I want. Thanks. I'll write back in a couple of hours and report on whether these ideas worked or not. Cheers, Daniel. Victor Kane wrote: > Here is a silver bullet for this problem (backup your database first). > > Assuming you want to return to a state in which no access modules are > at work, in which everything is like a regular, normal, fresh Drupal > install, you: > > 1. Delete all rows from the node_access table. > 2. Perform this command: > > db_query("INSERT INTO {node_access} VALUES (0, 0, 'all', 1, 0, 0)"); > > That should leave your table looking like this: > > nid gid realm grant_view grant_update grant_delete > 0 0 all 1 0 0 > > Then things should be right as rain. > > Victor Kane > http://awebfactory.com.ar > > On Mon, Dec 1, 2008 at 12:34 PM, Daniel Carrera wrote: >> Ok, I'll do that in 2 hours. Right now a customer is demo-ing the >> website to his boss and the last thing I want is to break something >> mid-way through the demo (I gave the customer admin rights just for >> today so he could do the demo). >> >> Daniel. >> >> William Smith wrote: >>> Clearing the cache is worth a shot, and yes it is safe to delete >>> everything from the cache* tables >>> >>> On Mon, Dec 1, 2008 at 9:15 AM, Daniel Carrera >> > wrote: >>> >>> Hmm... it doesn't seem to help. >>> >>> Maybe I have the wrong permissions set in the access control page >>> (admin/user/access) but I don't think I do. Under "node module" I have >>> the "access content" permission set for anonymous users. That's all I >>> need, right? All the other permissions in this section are "administer" >>> this, "create" that, and "edit" the other. >>> >>> Is there some other permission I should check? >>> >>> Is it possible that the Drupal cache is acting up? I see five cache* >>> tables in the database (cache, cache_filter, cache_menu, cache_page, >>> cache_views). Is it safe to delete everything from these tables? Might >>> that help? >>> >>> Daniel. >>> >>> >>> Bill Fitzgerald wrote: >>> > Try rebuilding your permissions table at admin/content/node-settings >>> > >>> > Daniel Carrera wrote: >>> >> Shit. It's worse than I thought. It looks like only users that >>> have a >>> >> role with the "administer nodes" permission can view these pages. In >>> >> other words, only site administrators can view these pages. This is >>> >> horrible. >>> >> >>> >> Help! :( >>> >> >>> >> Daniel Carrera wrote: >>> >> >>> >>> Hello, >>> >>> >>> >>> I was using the "taxonomy access" module but I decided that it >>> doesn't >>> >>> do what I want, so got rid of it. That is to say, I didn't >>> delete the >>> >>> categories, but I set them to not be used for "Pages". >>> >>> >>> >>> Here is my problem: Some pages are now inaccessible to >>> anonymous users. >>> >>> When you go to the page you get an access denied error. I'm getting >>> >>> stressed about this because my users are mad and they want to >>> show their >>> >>> pages to other people. >>> >>> >>> >>> I have gone to the regular permissions page (admin/user/access) and >>> >>> under "node module" the permission "access content" is >>> activated for >>> >>> anonymous users. >>> >>> >>> >>> I don't know what to do and I was hoping someone here had an >>> idea. I'm >>> >>> using Drupal 5 btw. >>> >>> >>> >>> I would welcome any help. >>> >>> >>> >>> Daniel. >>> >>> >>> >> >>> > >>> > >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >>> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> From victorkane at gmail.com Mon Dec 1 15:08:32 2008 From: victorkane at gmail.com (Victor Kane) Date: Mon, 1 Dec 2008 13:08:32 -0200 Subject: [support] Users can't access content In-Reply-To: <4933FC18.2080905@zmsl.com> References: <4933E3B4.2020305@zmsl.com> <4933E9B1.9030607@zmsl.com> <4933EC3F.9040806@funnymonkey.com> <4933F172.6010600@zmsl.com> <74630ca20812010617v51b0e980q796c6f3ee7bd71fa@mail.gmail.com> <4933F5F5.4050401@zmsl.com> <4933FC18.2080905@zmsl.com> Message-ID: Remember to back up your database first! Also, you might consider working with a development/test setup and then deploying tyhe last stable version from there to production site in future. Victor Kane http://awebfactory.com.ar On Mon, Dec 1, 2008 at 1:00 PM, Daniel Carrera wrote: > Hi Victor, > > Thanks, I'll definitely try that. I'll wait until after business hours, > just in case something goes wrong. In any case, what you describe > ("regular, normal, fresh Drupal install") sounds like exactly what I want. > > Thanks. I'll write back in a couple of hours and report on whether these > ideas worked or not. > > Cheers, > Daniel. > > Victor Kane wrote: >> Here is a silver bullet for this problem (backup your database first). >> >> Assuming you want to return to a state in which no access modules are >> at work, in which everything is like a regular, normal, fresh Drupal >> install, you: >> >> 1. Delete all rows from the node_access table. >> 2. Perform this command: >> >> db_query("INSERT INTO {node_access} VALUES (0, 0, 'all', 1, 0, 0)"); >> >> That should leave your table looking like this: >> >> nid gid realm grant_view grant_update grant_delete >> 0 0 all 1 0 0 >> >> Then things should be right as rain. >> >> Victor Kane >> http://awebfactory.com.ar >> >> On Mon, Dec 1, 2008 at 12:34 PM, Daniel Carrera wrote: >>> Ok, I'll do that in 2 hours. Right now a customer is demo-ing the >>> website to his boss and the last thing I want is to break something >>> mid-way through the demo (I gave the customer admin rights just for >>> today so he could do the demo). >>> >>> Daniel. >>> >>> William Smith wrote: >>>> Clearing the cache is worth a shot, and yes it is safe to delete >>>> everything from the cache* tables >>>> >>>> On Mon, Dec 1, 2008 at 9:15 AM, Daniel Carrera >>> > wrote: >>>> >>>> Hmm... it doesn't seem to help. >>>> >>>> Maybe I have the wrong permissions set in the access control page >>>> (admin/user/access) but I don't think I do. Under "node module" I have >>>> the "access content" permission set for anonymous users. That's all I >>>> need, right? All the other permissions in this section are "administer" >>>> this, "create" that, and "edit" the other. >>>> >>>> Is there some other permission I should check? >>>> >>>> Is it possible that the Drupal cache is acting up? I see five cache* >>>> tables in the database (cache, cache_filter, cache_menu, cache_page, >>>> cache_views). Is it safe to delete everything from these tables? Might >>>> that help? >>>> >>>> Daniel. >>>> >>>> >>>> Bill Fitzgerald wrote: >>>> > Try rebuilding your permissions table at admin/content/node-settings >>>> > >>>> > Daniel Carrera wrote: >>>> >> Shit. It's worse than I thought. It looks like only users that >>>> have a >>>> >> role with the "administer nodes" permission can view these pages. In >>>> >> other words, only site administrators can view these pages. This is >>>> >> horrible. >>>> >> >>>> >> Help! :( >>>> >> >>>> >> Daniel Carrera wrote: >>>> >> >>>> >>> Hello, >>>> >>> >>>> >>> I was using the "taxonomy access" module but I decided that it >>>> doesn't >>>> >>> do what I want, so got rid of it. That is to say, I didn't >>>> delete the >>>> >>> categories, but I set them to not be used for "Pages". >>>> >>> >>>> >>> Here is my problem: Some pages are now inaccessible to >>>> anonymous users. >>>> >>> When you go to the page you get an access denied error. I'm getting >>>> >>> stressed about this because my users are mad and they want to >>>> show their >>>> >>> pages to other people. >>>> >>> >>>> >>> I have gone to the regular permissions page (admin/user/access) and >>>> >>> under "node module" the permission "access content" is >>>> activated for >>>> >>> anonymous users. >>>> >>> >>>> >>> I don't know what to do and I was hoping someone here had an >>>> idea. I'm >>>> >>> using Drupal 5 btw. >>>> >>> >>>> >>> I would welcome any help. >>>> >>> >>>> >>> Daniel. >>>> >>> >>>> >> >>>> > >>>> > >>>> >>>> -- >>>> [ Drupal support list | http://lists.drupal.org/ ] >>>> >>>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From metzlerd at evergreen.edu Mon Dec 1 16:11:06 2008 From: metzlerd at evergreen.edu (Metzler, David) Date: Mon, 1 Dec 2008 08:11:06 -0800 Subject: [support] College Website Migrating to Drupal In-Reply-To: <1456fc8b0811261718x28abfb34md446be2702e708d9@mail.gmail.com> References: <9ea8d6030811260710k7196e018me808a14699e254c0@mail.gmail.com><20081126152904.4EAFA10A370@whitealder.osuosl.org> <1456fc8b0811261718x28abfb34md446be2702e708d9@mail.gmail.com> Message-ID: <384BE444EEC12143B241C72BCD7E9BA8016BC65F@birch.evergreen.edu> Many schools, including ours use Yale's Central Authentication Services (CAS) server to provide single sign-on between drupal sites and moodle sites. There is a CAS module that can help but you'd still need to implement a CAS server. Current versions of Moodle support CAS out of the box IIRC. Dave -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Jai Sent: Wednesday, November 26, 2008 5:18 PM To: support at drupal.org Subject: Re: [support] College Website Migrating to Drupal Even I completely agree with you people. I don't have anything like Drupal Vs. Moodle. While one is a completely generic solution and provides a tool box and basic building material for making something, Moodle is a specific solution to Learning Management Task ONLY. Definitely I don't have any doubts in the capabilities of Drupal over here. It must be possible to implement everything we can do using Moodle (And I am a big fan of Drupal for not being a system geared towards a specific work, that's why I am here ! ), but that needs work-arounds. Where Moodle already presents itself as an out-of-the-box solution for specifically Learning Management Tasks. I am not talking about making an informative website for the college using Moodle. It's just the Learning Management part of it, where teachers can assign student with some work, different kinds of evaluation schemes, quizes etc. and similarly students can join some courses, discuss upon some topics. submit assignments given to them etc. That's the only reason I am thinking about a solution where Drupal and Moodle are integrated, having a student sign in only once to get authenticated on both the systems, where I could have Moodle as an LMS and Drupal for all other functional requirements. -Jai 2008/11/26 Shyamala Rajaram > > Totally agree. Nothing can beat the flexibility of Drupal. We too have > integrated Drupal and Moodle, Used Drupal for all the content and > business rules and ecom, Moodle for rendering SCORM courses and the > brilliant Quiz engine. > > Shyamala > > -----Original Message----- > From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] > On Behalf Of Chris Johnson > Sent: Wednesday, November 26, 2008 8:41 PM > To: support at drupal.org > Subject: Re: [support] College Website Migrating to Drupal > > It depends on what you want to do. Moodle is not a "content > management system" (CMS), if one can consider Drupal to be that. > Moodle is a "course management system" (unfortunately, the same 3 > initials CMS). Moodle handles courses, assignments, grading, etc. > Moodle does have some more generic features, but Drupal is far more > flexible. > > So if you want a content management system, Drupal is the obvious > choice. If you want a system that has some more specific educational > capabilities, but has some very simple forum and blog features, Moodle > might work for you. > > I'm working on a bunch of Moodle / Drupal integration stuff right now. > We have clients who want to use both together. It's all built on D6, > and should be in the drupal.org CVS repository in the next month or > two. > > On the other hand, one could develop the necessary additional features > supported by Moodle right in Drupal. That just hasn't been done yet. > > ..chris > > On Wed, Nov 26, 2008 at 3:45 AM, sivaji j.g wrote: > >> I find moodle to be a good out-of-the-box solution. I was > >> searching for the ways so that moodle and drupal could be integrated in some way. > > > > lol, i dont think that other CMS will be as flexible as drupal :P. > > > > > > > > -- > > Thanks a lot > > ----------------------------------------- > > http://ubuntuslave.blogspot.com/ > > > > > > -- > > [ Drupal support list | http://lists.drupal.org/ ] > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > -- > [ Drupal support list | http://lists.drupal.org/ ] -- [ Drupal support list | http://lists.drupal.org/ ] From cxjohnson at gmail.com Mon Dec 1 16:38:29 2008 From: cxjohnson at gmail.com (Chris Johnson) Date: Mon, 1 Dec 2008 10:38:29 -0600 Subject: [support] College Website Migrating to Drupal In-Reply-To: <384BE444EEC12143B241C72BCD7E9BA8016BC65F@birch.evergreen.edu> References: <9ea8d6030811260710k7196e018me808a14699e254c0@mail.gmail.com> <20081126152904.4EAFA10A370@whitealder.osuosl.org> <1456fc8b0811261718x28abfb34md446be2702e708d9@mail.gmail.com> <384BE444EEC12143B241C72BCD7E9BA8016BC65F@birch.evergreen.edu> Message-ID: <9ea8d6030812010838s722b59b7j7f54c88b6f717ec5@mail.gmail.com> The OpenID plugin/module for Moodle also supports single sign-on, although if one wants to use the Drupal OpenID provider module, it needs a few patches to work correctly. Yes, Moodle 1.9 support CAS out of the box, although you will still need a CAS server. -- ..chris On Mon, Dec 1, 2008 at 10:11 AM, Metzler, David wrote: > Many schools, including ours use Yale's Central Authentication Services > (CAS) server to provide single sign-on between drupal sites and moodle > sites. There is a CAS module that can help but you'd still need to > implement a CAS server. Current versions of Moodle support CAS out of > the box IIRC. > > Dave > > -----Original Message----- > From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On > Behalf Of Jai > Sent: Wednesday, November 26, 2008 5:18 PM > To: support at drupal.org > Subject: Re: [support] College Website Migrating to Drupal > > Even I completely agree with you people. I don't have anything like > Drupal Vs. Moodle. While one is a completely generic solution and > provides a tool box and basic building material for making something, > Moodle is a specific solution to Learning Management Task ONLY. > > Definitely I don't have any doubts in the capabilities of Drupal over > here. It must be possible to implement everything we can do using Moodle > (And I am a big fan of Drupal for not being a system geared towards a > specific work, that's why I am here ! ), but that needs work-arounds. > Where Moodle already presents itself as an out-of-the-box solution for > specifically Learning Management Tasks. I am not talking about making an > informative website for the college using Moodle. It's just the Learning > Management part of it, where teachers can assign student with some work, > different kinds of evaluation schemes, quizes etc. and similarly > students can join some courses, discuss upon some topics. submit > assignments given to them etc. > > That's the only reason I am thinking about a solution where Drupal and > Moodle are integrated, having a student sign in only once to get > authenticated on both the systems, where I could have Moodle as an LMS > and Drupal for all other functional requirements. > > -Jai > > 2008/11/26 Shyamala Rajaram >> >> Totally agree. Nothing can beat the flexibility of Drupal. We too have > >> integrated Drupal and Moodle, Used Drupal for all the content and >> business rules and ecom, Moodle for rendering SCORM courses and the >> brilliant Quiz engine. >> >> Shyamala >> >> -----Original Message----- >> From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] >> On Behalf Of Chris Johnson >> Sent: Wednesday, November 26, 2008 8:41 PM >> To: support at drupal.org >> Subject: Re: [support] College Website Migrating to Drupal >> >> It depends on what you want to do. Moodle is not a "content >> management system" (CMS), if one can consider Drupal to be that. >> Moodle is a "course management system" (unfortunately, the same 3 >> initials CMS). Moodle handles courses, assignments, grading, etc. >> Moodle does have some more generic features, but Drupal is far more >> flexible. >> >> So if you want a content management system, Drupal is the obvious >> choice. If you want a system that has some more specific educational >> capabilities, but has some very simple forum and blog features, Moodle > >> might work for you. >> >> I'm working on a bunch of Moodle / Drupal integration stuff right now. >> We have clients who want to use both together. It's all built on D6, > >> and should be in the drupal.org CVS repository in the next month or >> two. >> >> On the other hand, one could develop the necessary additional features > >> supported by Moodle right in Drupal. That just hasn't been done yet. >> >> ..chris >> >> On Wed, Nov 26, 2008 at 3:45 AM, sivaji j.g > wrote: >> >> I find moodle to be a good out-of-the-box solution. I was >> >> searching for the ways so that moodle and drupal could be > integrated in some way. >> > >> > lol, i dont think that other CMS will be as flexible as drupal :P. >> > >> > >> > >> > -- >> > Thanks a lot >> > ----------------------------------------- >> > http://ubuntuslave.blogspot.com/ >> > >> > >> > -- >> > [ Drupal support list | http://lists.drupal.org/ ] >> > >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- > [ Drupal support list | http://lists.drupal.org/ ] > From emma.badger at chocolateteapot.net Mon Dec 1 16:39:04 2008 From: emma.badger at chocolateteapot.net (Emma Badger) Date: Mon, 1 Dec 2008 16:39:04 +0000 Subject: [support] Image in block Message-ID: I've created a new block and assigned it to the left side bar. This is the code in the block body Badger Accounting Services Lechlade This is how it appears in the HTML

I'm using the Garland theme. I'd be grateful for any help, thanks. From aleagi at gmail.com Mon Dec 1 16:42:07 2008 From: aleagi at gmail.com (aleagi) Date: Mon, 1 Dec 2008 13:42:07 -0300 Subject: [support] Image in block In-Reply-To: References: Message-ID: Hello, It could be the HTML input format, change it to Full HTML. Best Regards, ????`????,? ,??,????`????,?? ????,??,????`????,??,????` Luiz Gustavo Aleagi Nunes `????,?? http://sapiensdc.com.br Desenvolvedor Web On Mon, Dec 1, 2008 at 13:39, Emma Badger wrote: > I've created a new block and assigned it to the left side bar. > > This is the code in the block body > > src="themes/garland/badger-accounting-lechlade.png" width="200" > height="175" alt="Badger Accounting Services Lechlade" /> > > This is how it appears in the HTML > > > > I'm using the Garland theme. > > I'd be grateful for any help, thanks. > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From emma.badger at chocolateteapot.net Mon Dec 1 16:46:48 2008 From: emma.badger at chocolateteapot.net (Emma Badger) Date: Mon, 1 Dec 2008 16:46:48 +0000 Subject: [support] Image in block In-Reply-To: References: Message-ID: <2C1578DE-4DAB-42F1-BE50-3E0D7C3958B8@chocolateteapot.net> Perfect, thanks for your help. On 1 Dec 2008, at 16:42, aleagi wrote: > Hello, > > It could be the HTML input format, change it to Full HTML. > > Best Regards, > ????`????,? > ,??,????`????,?? > ????,??,????`????,??,????` > Luiz Gustavo Aleagi Nunes `????,?? > http://sapiensdc.com.br > Desenvolvedor Web > > > > On Mon, Dec 1, 2008 at 13:39, Emma Badger > wrote: >> I've created a new block and assigned it to the left side bar. >> >> This is the code in the block body >> >> > src="themes/garland/badger-accounting-lechlade.png" width="200" >> height="175" alt="Badger Accounting Services Lechlade" /> >> >> This is how it appears in the HTML >> >> >> >> I'm using the Garland theme. >> >> I'd be grateful for any help, thanks. >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > -- > [ Drupal support list | http://lists.drupal.org/ ] From aleagi at gmail.com Mon Dec 1 16:47:52 2008 From: aleagi at gmail.com (aleagi) Date: Mon, 1 Dec 2008 13:47:52 -0300 Subject: [support] Image in block In-Reply-To: <2C1578DE-4DAB-42F1-BE50-3E0D7C3958B8@chocolateteapot.net> References: <2C1578DE-4DAB-42F1-BE50-3E0D7C3958B8@chocolateteapot.net> Message-ID: @;) ????`????,? ,??,????`????,?? ????,??,????`????,??,????` Luiz Gustavo Aleagi Nunes `????,?? http://sapiensdc.com.br Desenvolvedor Web On Mon, Dec 1, 2008 at 13:46, Emma Badger wrote: > Perfect, thanks for your help. > > > On 1 Dec 2008, at 16:42, aleagi wrote: > >> Hello, >> >> It could be the HTML input format, change it to Full HTML. >> >> Best Regards, >> ????`????,? >> ,??,????`????,?? >> ????,??,????`????,??,????` >> Luiz Gustavo Aleagi Nunes `????,?? >> http://sapiensdc.com.br >> Desenvolvedor Web >> >> >> >> On Mon, Dec 1, 2008 at 13:39, Emma Badger >> wrote: >>> I've created a new block and assigned it to the left side bar. >>> >>> This is the code in the block body >>> >>> >> src="themes/garland/badger-accounting-lechlade.png" width="200" >>> height="175" alt="Badger Accounting Services Lechlade" /> >>> >>> This is how it appears in the HTML >>> >>> >>> >>> I'm using the Garland theme. >>> >>> I'd be grateful for any help, thanks. >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From daniel.carrera at zmsl.com Mon Dec 1 17:33:09 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Mon, 01 Dec 2008 18:33:09 +0100 Subject: [support] Users can't access content In-Reply-To: References: <4933E3B4.2020305@zmsl.com> <4933E9B1.9030607@zmsl.com> <4933EC3F.9040806@funnymonkey.com> <4933F172.6010600@zmsl.com> <74630ca20812010617v51b0e980q796c6f3ee7bd71fa@mail.gmail.com> <4933F5F5.4050401@zmsl.com> Message-ID: <49341FD5.8080304@zmsl.com> WHOO HOO!!!! Thanks Victor, your solution worked. As far as I can tell, all pages are visible to all users (as it should be). I still have a problem with permissions, but a less pressing one. I have a role called "site developer" that should be able to edit any page, but for some reason they can't. I'll write a separate post about that. Thanks again. Victor Kane wrote: > Here is a silver bullet for this problem (backup your database first). > > Assuming you want to return to a state in which no access modules are > at work, in which everything is like a regular, normal, fresh Drupal > install, you: > > 1. Delete all rows from the node_access table. > 2. Perform this command: > > db_query("INSERT INTO {node_access} VALUES (0, 0, 'all', 1, 0, 0)"); > > That should leave your table looking like this: > > nid gid realm grant_view grant_update grant_delete > 0 0 all 1 0 0 > > Then things should be right as rain. > > Victor Kane > http://awebfactory.com.ar > > On Mon, Dec 1, 2008 at 12:34 PM, Daniel Carrera wrote: >> Ok, I'll do that in 2 hours. Right now a customer is demo-ing the >> website to his boss and the last thing I want is to break something >> mid-way through the demo (I gave the customer admin rights just for >> today so he could do the demo). >> >> Daniel. >> >> William Smith wrote: >>> Clearing the cache is worth a shot, and yes it is safe to delete >>> everything from the cache* tables >>> >>> On Mon, Dec 1, 2008 at 9:15 AM, Daniel Carrera >> > wrote: >>> >>> Hmm... it doesn't seem to help. >>> >>> Maybe I have the wrong permissions set in the access control page >>> (admin/user/access) but I don't think I do. Under "node module" I have >>> the "access content" permission set for anonymous users. That's all I >>> need, right? All the other permissions in this section are "administer" >>> this, "create" that, and "edit" the other. >>> >>> Is there some other permission I should check? >>> >>> Is it possible that the Drupal cache is acting up? I see five cache* >>> tables in the database (cache, cache_filter, cache_menu, cache_page, >>> cache_views). Is it safe to delete everything from these tables? Might >>> that help? >>> >>> Daniel. >>> >>> >>> Bill Fitzgerald wrote: >>> > Try rebuilding your permissions table at admin/content/node-settings >>> > >>> > Daniel Carrera wrote: >>> >> Shit. It's worse than I thought. It looks like only users that >>> have a >>> >> role with the "administer nodes" permission can view these pages. In >>> >> other words, only site administrators can view these pages. This is >>> >> horrible. >>> >> >>> >> Help! :( >>> >> >>> >> Daniel Carrera wrote: >>> >> >>> >>> Hello, >>> >>> >>> >>> I was using the "taxonomy access" module but I decided that it >>> doesn't >>> >>> do what I want, so got rid of it. That is to say, I didn't >>> delete the >>> >>> categories, but I set them to not be used for "Pages". >>> >>> >>> >>> Here is my problem: Some pages are now inaccessible to >>> anonymous users. >>> >>> When you go to the page you get an access denied error. I'm getting >>> >>> stressed about this because my users are mad and they want to >>> show their >>> >>> pages to other people. >>> >>> >>> >>> I have gone to the regular permissions page (admin/user/access) and >>> >>> under "node module" the permission "access content" is >>> activated for >>> >>> anonymous users. >>> >>> >>> >>> I don't know what to do and I was hoping someone here had an >>> idea. I'm >>> >>> using Drupal 5 btw. >>> >>> >>> >>> I would welcome any help. >>> >>> >>> >>> Daniel. >>> >>> >>> >> >>> > >>> > >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >>> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> From daniel.carrera at zmsl.com Mon Dec 1 17:38:33 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Mon, 01 Dec 2008 18:38:33 +0100 Subject: [support] Permissions problem: edit page content Message-ID: <49342119.6060002@zmsl.com> Hello, I have a role called "site developer" that should be able to edit any page, but for some reason they can't. On the access-control page (admin/user/access), this role has the permissions "administer nodes" and "edit page content". So users with this role should be able to edit any page, right? I am running Drupal 5. Ten minutes ago I deleted everything in the node_access table and inserted the following line: INSERT INTO {node_access} VALUES (0, 0, 'all', 1, 0, 0) I have the taxonomy-access module installed, but I'm not using it for page nodes. Any ideas? Is it safe to run "rebuild-permissions"? I don't want to lose what I just gained by editing the node_access table. Thanks for the help. Daniel. From victorkane at gmail.com Mon Dec 1 17:42:01 2008 From: victorkane at gmail.com (Victor Kane) Date: Mon, 1 Dec 2008 15:42:01 -0200 Subject: [support] Permissions problem: edit page content In-Reply-To: <49342119.6060002@zmsl.com> References: <49342119.6060002@zmsl.com> Message-ID: Perhaps check out the permissions for input filters... All permissions that might have any bearing on the content type and its permissions... On Mon, Dec 1, 2008 at 3:38 PM, Daniel Carrera wrote: > Hello, > > I have a role called "site developer" that should be able to edit any > page, but for some reason they can't. On the access-control page > (admin/user/access), this role has the permissions "administer nodes" > and "edit page content". So users with this role should be able to edit > any page, right? > > > I am running Drupal 5. Ten minutes ago I deleted everything in the > node_access table and inserted the following line: > > INSERT INTO {node_access} VALUES (0, 0, 'all', 1, 0, 0) > > > I have the taxonomy-access module installed, but I'm not using it for > page nodes. > > Any ideas? Is it safe to run "rebuild-permissions"? I don't want to lose > what I just gained by editing the node_access table. > > Thanks for the help. > > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] > From william.darren at gmail.com Mon Dec 1 17:52:45 2008 From: william.darren at gmail.com (William Smith) Date: Mon, 1 Dec 2008 12:52:45 -0500 Subject: [support] Permissions problem: edit page content In-Reply-To: References: <49342119.6060002@zmsl.com> Message-ID: <74630ca20812010952m32b010b6x7bf6473ea409b44b@mail.gmail.com> Daniel, are they getting 'access denied' errors, or something else? On Mon, Dec 1, 2008 at 12:42 PM, Victor Kane wrote: > Perhaps check out the permissions for input filters... All permissions > that might have any bearing on the content type and its permissions... > > On Mon, Dec 1, 2008 at 3:38 PM, Daniel Carrera > wrote: > > Hello, > > > > I have a role called "site developer" that should be able to edit any > > page, but for some reason they can't. On the access-control page > > (admin/user/access), this role has the permissions "administer nodes" > > and "edit page content". So users with this role should be able to edit > > any page, right? > > > > > > I am running Drupal 5. Ten minutes ago I deleted everything in the > > node_access table and inserted the following line: > > > > INSERT INTO {node_access} VALUES (0, 0, 'all', 1, 0, 0) > > > > > > I have the taxonomy-access module installed, but I'm not using it for > > page nodes. > > > > Any ideas? Is it safe to run "rebuild-permissions"? I don't want to lose > > what I just gained by editing the node_access table. > > > > Thanks for the help. > > > > Daniel. > > -- > > [ Drupal support list | http://lists.drupal.org/ ] > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081201/e7af4932/attachment.htm From govivasanth at gmail.com Mon Dec 1 18:01:43 2008 From: govivasanth at gmail.com (Vasanth Govind) Date: Mon, 1 Dec 2008 23:31:43 +0530 Subject: [support] Need a module for user blocking other user. Message-ID: I am in need of a Drupal module which will enable all authenticated users to block other users. Like the feature in Facebook and Orkut.This feature is required for a social community networking website which all content (audio video photo document) uploads. Please help me with a module or a easier way to start a custom module with out extra load on MySQL query. Thanks in advance. Thanks & Regards Vasanth Govind -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081201/c9a28e1a/attachment.htm From cjones at partialflow.com Mon Dec 1 18:13:57 2008 From: cjones at partialflow.com (Christopher M. Jones) Date: Mon, 01 Dec 2008 13:13:57 -0500 Subject: [support] getting rid of "soandso's picture" text Message-ID: <49342965.4000600@partialflow.com> I'm using Drupal five, building a theme off of Zen. I want to optionally display a user's picture in posts, so that if the user has uploaded a picture then it is displayed, and if not then the teaser view shifts left to occupy that space. So I turned on pictures in the theme configuration. But now, where there is no picture available, I have a "soandso's picture" link. Specifically: I want if( $picture ){...} in the .tpl.php file to evaluate to FALSE if there is no picture, TRUE if there is one. How can I get this behavior? Is there a theme override that I'm missing? From william.darren at gmail.com Mon Dec 1 18:25:25 2008 From: william.darren at gmail.com (William Smith) Date: Mon, 1 Dec 2008 13:25:25 -0500 Subject: [support] Need a module for user blocking other user. In-Reply-To: References: Message-ID: <74630ca20812011025r31feb9a8p127c91217ff98557@mail.gmail.com> I'm not sure if a module already exists to do this, but regarding the "extra load" whether you use an existing module or code your own, it is going to have to hit the database. If you do end up needing to code this, it should be pretty straightforward. A table to hold users ignore preferences, and probably a db_rewrite_sql to make sure that node queries don't retrieve results authored by users who are in the current user's ignore list. Actually, just googled "Drupal ignore module" and this came up: http://drupal.org/project/ignore_user Looks like what you want On Mon, Dec 1, 2008 at 1:01 PM, Vasanth Govind wrote: > I am in need of a Drupal module which will enable all authenticated users > to block other users. Like the feature in Facebook and Orkut.This feature > is required for a social community networking website which all content > (audio video photo document) uploads. > > > Please help me with a module or a easier way to start a custom module with > out extra load on MySQL query. > > Thanks in advance. > > > > Thanks & Regards > Vasanth Govind > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081201/8e6ca576/attachment-0001.htm From govivasanth at gmail.com Mon Dec 1 18:57:42 2008 From: govivasanth at gmail.com (Vasanth Govind) Date: Tue, 2 Dec 2008 00:27:42 +0530 Subject: [support] Need a module for user blocking other user. In-Reply-To: <74630ca20812011025r31feb9a8p127c91217ff98557@mail.gmail.com> References: <74630ca20812011025r31feb9a8p127c91217ff98557@mail.gmail.com> Message-ID: Thanks William Smith for your help, I am concerned about rewriting all the queries which involves selecting data ;- ( I need to revisit all the modules involved and recode it ? On Mon, Dec 1, 2008 at 11:55 PM, William Smith wrote: > I'm not sure if a module already exists to do this, but regarding the > "extra load" whether you use an existing module or code your own, it is > going to have to hit the database. > > If you do end up needing to code this, it should be pretty > straightforward. A table to hold users ignore preferences, and probably a > db_rewrite_sql to make sure that node queries don't retrieve results > authored by users who are in the current user's ignore list. > > Actually, just googled "Drupal ignore module" and this came up: > http://drupal.org/project/ignore_user > Looks like what you want > > On Mon, Dec 1, 2008 at 1:01 PM, Vasanth Govind wrote: > >> I am in need of a Drupal module which will enable all authenticated users >> to block other users. Like the feature in Facebook and Orkut.This feature >> is required for a social community networking website which all content >> (audio video photo document) uploads. >> >> >> Please help me with a module or a easier way to start a custom module with >> out extra load on MySQL query. >> >> Thanks in advance. >> >> >> >> Thanks & Regards >> Vasanth Govind >> >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081202/ba7a88bd/attachment.htm From tyfong919 at gmail.com Mon Dec 1 19:23:16 2008 From: tyfong919 at gmail.com (tim fong) Date: Mon, 1 Dec 2008 11:23:16 -0800 Subject: [support] Getting to the Base URL Message-ID: Hi Derek, I had to step away for a few days, am back now. > 1. Copy the generic apache2 index.html (or whichever test html page you > say you were able to access) file into the drupal directory. Make sure > you chown it to apache:apache and then see if you can browse to it with > the explicit URL ".../drupal/index.html". Tried this and it still didn't work. > 2. Did you create an apache2 virtual host for your drupal site? Could > you post the relevant config snippet you're using for that? DocumentRoot "/var/www/html/drupal" ServerName drupal.localhost ServerAlias drupal Funny thing happened-- when I just added this snippet, it now prevents me from seing localhost/test.html at all. When I comment the snippet out, I can at least see the test.html page. Thanks, Tim From daniel.carrera at zmsl.com Mon Dec 1 19:25:39 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Mon, 01 Dec 2008 20:25:39 +0100 Subject: [support] Permissions problem: edit page content In-Reply-To: <74630ca20812010952m32b010b6x7bf6473ea409b44b@mail.gmail.com> References: <49342119.6060002@zmsl.com> <74630ca20812010952m32b010b6x7bf6473ea409b44b@mail.gmail.com> Message-ID: <49343A33.4090506@zmsl.com> If you are a user with the "site developer" role, an visit a page that is not yours, you don't see the "edit" link that would allow you to edit the page. There is no "access denied" error, or any error at all. Just an inability to edit the page. William Smith wrote: > Daniel, are they getting 'access denied' errors, or something else? > > On Mon, Dec 1, 2008 at 12:42 PM, Victor Kane > wrote: > > Perhaps check out the permissions for input filters... All permissions > that might have any bearing on the content type and its permissions... > > On Mon, Dec 1, 2008 at 3:38 PM, Daniel Carrera > > wrote: > > Hello, > > > > I have a role called "site developer" that should be able to edit any > > page, but for some reason they can't. On the access-control page > > (admin/user/access), this role has the permissions "administer nodes" > > and "edit page content". So users with this role should be able > to edit > > any page, right? > > > > > > I am running Drupal 5. Ten minutes ago I deleted everything in the > > node_access table and inserted the following line: > > > > INSERT INTO {node_access} VALUES (0, 0, 'all', 1, 0, 0) > > > > > > I have the taxonomy-access module installed, but I'm not using it for > > page nodes. > > > > Any ideas? Is it safe to run "rebuild-permissions"? I don't want > to lose > > what I just gained by editing the node_access table. > > > > Thanks for the help. > > > > Daniel. > > -- > > [ Drupal support list | http://lists.drupal.org/ ] > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > From daniel.carrera at zmsl.com Mon Dec 1 19:51:03 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Mon, 01 Dec 2008 20:51:03 +0100 Subject: [support] Permissions problem: edit page content In-Reply-To: References: <49342119.6060002@zmsl.com> Message-ID: <49344027.4090008@zmsl.com> What are input filters? Victor Kane wrote: > Perhaps check out the permissions for input filters... All permissions > that might have any bearing on the content type and its permissions... > > On Mon, Dec 1, 2008 at 3:38 PM, Daniel Carrera wrote: >> Hello, >> >> I have a role called "site developer" that should be able to edit any >> page, but for some reason they can't. On the access-control page >> (admin/user/access), this role has the permissions "administer nodes" >> and "edit page content". So users with this role should be able to edit >> any page, right? >> >> >> I am running Drupal 5. Ten minutes ago I deleted everything in the >> node_access table and inserted the following line: >> >> INSERT INTO {node_access} VALUES (0, 0, 'all', 1, 0, 0) >> >> >> I have the taxonomy-access module installed, but I'm not using it for >> page nodes. >> >> Any ideas? Is it safe to run "rebuild-permissions"? I don't want to lose >> what I just gained by editing the node_access table. >> >> Thanks for the help. >> >> Daniel. >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> From william.darren at gmail.com Mon Dec 1 19:54:01 2008 From: william.darren at gmail.com (William Smith) Date: Mon, 1 Dec 2008 14:54:01 -0500 Subject: [support] Need a module for user blocking other user. In-Reply-To: References: <74630ca20812011025r31feb9a8p127c91217ff98557@mail.gmail.com> Message-ID: <74630ca20812011154x30d91935jc175bf86854cff25@mail.gmail.com> No, you wouldn't need to recode all the modules that you use. db_rewrite_sql appends conditions to queries, so it would apply to everything and you would only need to put in one place. But did you try the ignore_user module that I linked to? It seems like it would do exactly what you want. Here's the link again, just in case: http://drupal.org/project/ignore_user On Mon, Dec 1, 2008 at 1:57 PM, Vasanth Govind wrote: > Thanks William Smith for your help, I am concerned about rewriting all the > queries which involves selecting data ;- ( > I need to revisit all the modules involved and recode it ? > > > > On Mon, Dec 1, 2008 at 11:55 PM, William Smith wrote: > >> I'm not sure if a module already exists to do this, but regarding the >> "extra load" whether you use an existing module or code your own, it is >> going to have to hit the database. >> >> If you do end up needing to code this, it should be pretty >> straightforward. A table to hold users ignore preferences, and probably a >> db_rewrite_sql to make sure that node queries don't retrieve results >> authored by users who are in the current user's ignore list. >> >> Actually, just googled "Drupal ignore module" and this came up: >> http://drupal.org/project/ignore_user >> Looks like what you want >> >> On Mon, Dec 1, 2008 at 1:01 PM, Vasanth Govind wrote: >> >>> I am in need of a Drupal module which will enable >>> all authenticated users to block other users. Like the feature in Facebook >>> and Orkut.This feature is required for a social community networking >>> website which all content (audio video photo document) uploads. >>> >>> >>> Please help me with a module or a easier way to start a custom module >>> with out extra load on MySQL query. >>> >>> Thanks in advance. >>> >>> >>> >>> Thanks & Regards >>> Vasanth Govind >>> >>> >>> -- >>> [ 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: http://lists.drupal.org/pipermail/support/attachments/20081201/6af9e25a/attachment.htm From kris at melon.org Mon Dec 1 20:25:20 2008 From: kris at melon.org (Kris Coward) Date: Mon, 1 Dec 2008 15:25:20 -0500 Subject: [support] Front page showing up where it shouldn't. Message-ID: <20081201202520.GQ9548@melon.org> Hi, I've been putting together a drupal site, and have got it pretty much working, but I've decided to add an Ubercart store to it, and the images aren't working. I've got all the appropriate modules installed (and have used the old versions that are listed in the documentation just to make sure that I wasn't choking on some sort of version incompatibility), and when I go to upload an image for a product, completion of the upload produced a PHP error popping up in a dialog box. The text of the error is exactly the HTML source of the front page of the website. On top of this, I get a little grey rectangle where the image should be when I look at the product, and attempts to open the "image" in a new tab, or copy the location and download it (e.g. with wget) simply produce the front page (or a copy of it). All that said, the file does seem to have uploaded, since I can find it in the files/ sudirectory of my drupal directory when logged into the server (and downloading that file with scp shows me that it's actually the image, and not a copy of the front page). There are no entries in the webserver logs relating to any attempt to get this file (attempts to get it just seem to get logged as successful attempts to get "/"), and Clean URLs are enabled. Possibly (but not likely) relevant is that when I was originally putting the site together at http://test.domain.com/ , quite a few queries got redirected to the appropriate page on www.domain.com. This problem went away when the site was finished, and got moved onto www.domain.com to replace the old site, but not the sort of finished that leaves me feeling very comfortable. Also, I don't know if this is normal behaviour, or if it's buggy (and possibly connected to my main problem again), but when I make changes to the site, I tend to get dropped onto the front page instead of where I might logically expect to end up (e.g. when I submit changes to a node, I'd expect the page I see after pressing the "Submit" button to either be the node in question, or some sort of success message, or perhaps the node being edited with the success message bolted to the top). Anyhow, I'm hoping that someone here knows what's going on here and can suggest a fix. Thanks, Kris -- Kris Coward http://unripe.melon.org/ GPG Fingerprint: 2BF3 957D 310A FEEC 4733 830E 21A4 05C7 1FEB 12B3 From govivasanth at gmail.com Tue Dec 2 11:57:48 2008 From: govivasanth at gmail.com (Vasanth Govind) Date: Tue, 2 Dec 2008 17:27:48 +0530 Subject: [support] Need a module for user blocking other user. In-Reply-To: <74630ca20812011154x30d91935jc175bf86854cff25@mail.gmail.com> References: <74630ca20812011025r31feb9a8p127c91217ff98557@mail.gmail.com> <74630ca20812011154x30d91935jc175bf86854cff25@mail.gmail.com> Message-ID: Ok Thanks, Trying to use the ignore_user module. Thanks & Regards Vasanth Govind On Tue, Dec 2, 2008 at 1:24 AM, William Smith wrote: > No, you wouldn't need to recode all the modules that you use. > db_rewrite_sql appends conditions to queries, so it would apply to > everything and you would only need to put in one place. > > But did you try the ignore_user module that I linked to? It seems like it > would do exactly what you want. > Here's the link again, just in case: http://drupal.org/project/ignore_user > > > On Mon, Dec 1, 2008 at 1:57 PM, Vasanth Govind wrote: > >> Thanks William Smith for your help, I am concerned about rewriting all >> the queries which involves selecting data ;- ( >> I need to revisit all the modules involved and recode it ? >> >> >> >> On Mon, Dec 1, 2008 at 11:55 PM, William Smith wrote: >> >>> I'm not sure if a module already exists to do this, but regarding the >>> "extra load" whether you use an existing module or code your own, it is >>> going to have to hit the database. >>> >>> If you do end up needing to code this, it should be pretty >>> straightforward. A table to hold users ignore preferences, and probably a >>> db_rewrite_sql to make sure that node queries don't retrieve results >>> authored by users who are in the current user's ignore list. >>> >>> Actually, just googled "Drupal ignore module" and this came up: >>> http://drupal.org/project/ignore_user >>> Looks like what you want >>> >>> On Mon, Dec 1, 2008 at 1:01 PM, Vasanth Govind wrote: >>> >>>> I am in need of a Drupal module which will enable >>>> all authenticated users to block other users. Like the feature in Facebook >>>> and Orkut.This feature is required for a social community networking >>>> website which all content (audio video photo document) uploads. >>>> >>>> >>>> Please help me with a module or a easier way to start a custom module >>>> with out extra load on MySQL query. >>>> >>>> Thanks in advance. >>>> >>>> >>>> >>>> Thanks & Regards >>>> Vasanth Govind >>>> >>>> >>>> -- >>>> [ Drupal support list | http://lists.drupal.org/ ] >>>> >>> >>> >>> -- >>> [ 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: http://lists.drupal.org/pipermail/support/attachments/20081202/cc2be1b0/attachment.htm From jhedstrom at opensourcery.com Tue Dec 2 17:21:59 2008 From: jhedstrom at opensourcery.com (Jonathan Hedstrom) Date: Tue, 02 Dec 2008 09:21:59 -0800 Subject: [support] Permissions problem: edit page content In-Reply-To: <49344027.4090008@zmsl.com> References: <49342119.6060002@zmsl.com> <49344027.4090008@zmsl.com> Message-ID: <49356EB7.4090504@opensourcery.com> Daniel Carrera wrote: > What are input filters? > > If the "site developers" don't have, for example, permission to use the full HTML, and the pages in question are written in full HTML, they won't be able to edit them. All this is controlled at {site}/admin/settings/filters Cheers, Jonathan -- Jonathan Hedstrom OpenSourcery http://opensourcery.com Technology for Good -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature Url : http://lists.drupal.org/pipermail/support/attachments/20081202/2ca11ae9/attachment.pgp From derek at dgtlife.com Tue Dec 2 18:24:15 2008 From: derek at dgtlife.com (Derek Gransaull) Date: Tue, 02 Dec 2008 13:24:15 -0500 Subject: [support] Getting to the Base URL In-Reply-To: References: Message-ID: <49357D4F.1070300@dgtlife.com> Tim: Try a virtual host block that looks like this: DocumentRoot "/var/www/html/drupal" ServerName drupal.localhost ServerAlias drupal Options Indexes FollowSymLinks MultiViews AllowOverride FileInfo Limit Options Indexes Order allow,deny Allow from all Regards, Derek tim fong wrote: > Hi Derek, > I had to step away for a few days, am back now. > > >> 1. Copy the generic apache2 index.html (or whichever test html page you >> say you were able to access) file into the drupal directory. Make sure >> you chown it to apache:apache and then see if you can browse to it with >> the explicit URL ".../drupal/index.html". >> > Tried this and it still didn't work. > > >> 2. Did you create an apache2 virtual host for your drupal site? Could >> you post the relevant config snippet you're using for that? >> > > > DocumentRoot "/var/www/html/drupal" > ServerName drupal.localhost > ServerAlias drupal > > > Funny thing happened-- when I just added this snippet, it now prevents > me from seing localhost/test.html at all. When I comment the snippet > out, I can at least see the test.html page. > > Thanks, > Tim > From johnny.xiao at Q1Labs.com Tue Dec 2 19:18:32 2008 From: johnny.xiao at Q1Labs.com (Johnny Xiao) Date: Tue, 2 Dec 2008 15:18:32 -0400 Subject: [support] searching phrase "admin" and phrase "administrator" yeild two different search results In-Reply-To: <005401c94b29$6c80ea20$4582be60$@co.uk> References: <006101c94563$e0288300$06000a0a@csa><20081114083540.d5ptamf8byo8g840@mail.progw.org> <1C1A072023EE4E098C2303AF831D6AB0@Neil> <4922201D.80806@opensourcery.com> <4922F2B1.2080303@opensourcery.com> <005401c94b29$6c80ea20$4582be60$@co.uk> Message-ID: when I search for "admin", it only returns content with "admin" in it. if I search for "administrator", results only have "administrator" in it. Is there code I need to modify to get this fixed? From daniel.carrera at zmsl.com Tue Dec 2 19:30:53 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Tue, 02 Dec 2008 20:30:53 +0100 Subject: [support] Permissions problem: edit page content In-Reply-To: <49356EB7.4090504@opensourcery.com> References: <49342119.6060002@zmsl.com> <49344027.4090008@zmsl.com> <49356EB7.4090504@opensourcery.com> Message-ID: <49358CED.8080508@zmsl.com> Jonathan Hedstrom wrote: > Daniel Carrera wrote: >> What are input filters? >> > If the "site developers" don't have, for example, permission to use the > full HTML, and the pages in question are written in full HTML, they > won't be able to edit them. Ah, thanks. Anyways, the input filters were not the problem. I don't know what the problem was, but whatever it is, it's gone now. This is what I did: 1. I ran "rebuild permissions" again. This broke the permissions and made the "access denied" error come back. 2. But no worries, I implemented Victor's solution again. I cleared node_access and inserted the one row Victor said. Then, like magic, all the permissions seem to work right. Cheers, Daniel. From earnie at users.sourceforge.net Tue Dec 2 20:05:14 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Tue, 02 Dec 2008 15:05:14 -0500 Subject: [support] searching phrase "admin" and phrase "administrator" yeild two different search results In-Reply-To: References: <006101c94563$e0288300$06000a0a@csa><20081114083540.d5ptamf8byo8g840@mail.progw.org> <1C1A072023EE4E098C2303AF831D6AB0@Neil> <4922201D.80806@opensourcery.com> <4922F2B1.2080303@opensourcery.com> <005401c94b29$6c80ea20$4582be60$@co.uk> Message-ID: <20081202150514.xpfb88oqyxskogs0@mail.progw.org> Quoting Johnny Xiao : > > when I search for "admin", it only returns content with "admin" in it. > if I search for "administrator", results only have "administrator" in > it. > > Is there code I need to modify to get this fixed? I don't see anything wrong; they are different searches and you indicate that the search results are correct. -- Earnie http://r-feed.com Make a Drupal difference and review core patches. -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From kris at melon.org Tue Dec 2 20:28:06 2008 From: kris at melon.org (Kris Coward) Date: Tue, 2 Dec 2008 15:28:06 -0500 Subject: [support] Front page showing up where it shouldn't. In-Reply-To: <20081201202520.GQ9548@melon.org> References: <20081201202520.GQ9548@melon.org> Message-ID: <20081202202806.GT9548@melon.org> In case someone else has the same problem, another day or so of wrestling with this got me a fix. The solution turns out to have been that the $base_url in settings.php was http://domain.com/ ; switching it to http://www.domain.com/ fixed everything. Cheers, Kris On Mon, Dec 01, 2008 at 03:25:20PM -0500, Kris Coward wrote: > Hi, > > I've been putting together a drupal site, and have got it pretty much > working, but I've decided to add an Ubercart store to it, and the images > aren't working. > > I've got all the appropriate modules installed (and have used the old > versions that are listed in the documentation just to make sure that I > wasn't choking on some sort of version incompatibility), and when I go > to upload an image for a product, completion of the upload produced a > PHP error popping up in a dialog box. > > The text of the error is exactly the HTML source of the front page of > the website. > > On top of this, I get a little grey rectangle where the image should be > when I look at the product, and attempts to open the "image" in a new > tab, or copy the location and download it (e.g. with wget) simply > produce the front page (or a copy of it). > > > All that said, the file does seem to have uploaded, since I can find it > in the files/ sudirectory of my drupal directory when logged into the > server (and downloading that file with scp shows me that it's actually > the image, and not a copy of the front page). > > There are no entries in the webserver logs relating to any attempt to > get this file (attempts to get it just seem to get logged as successful > attempts to get "/"), and Clean URLs are enabled. > > > Possibly (but not likely) relevant is that when I was originally putting > the site together at http://test.domain.com/ , quite a few queries got > redirected to the appropriate page on www.domain.com. This problem went > away when the site was finished, and got moved onto www.domain.com to > replace the old site, but not the sort of finished that leaves me > feeling very comfortable. > > Also, I don't know if this is normal behaviour, or if it's buggy (and > possibly connected to my main problem again), but when I make changes to > the site, I tend to get dropped onto the front page instead of where I > might logically expect to end up (e.g. when I submit changes to a node, > I'd expect the page I see after pressing the "Submit" button to either > be the node in question, or some sort of success message, or perhaps the > node being edited with the success message bolted to the top). > > Anyhow, I'm hoping that someone here knows what's going on here and can > suggest a fix. > > Thanks, > Kris > > > -- > Kris Coward http://unripe.melon.org/ > GPG Fingerprint: 2BF3 957D 310A FEEC 4733 830E 21A4 05C7 1FEB 12B3 > -- > [ Drupal support list | http://lists.drupal.org/ ] -- Kris Coward http://unripe.melon.org/ GPG Fingerprint: 2BF3 957D 310A FEEC 4733 830E 21A4 05C7 1FEB 12B3 From torelad at gmail.com Tue Dec 2 20:29:54 2008 From: torelad at gmail.com (Dale McGladdery) Date: Tue, 2 Dec 2008 12:29:54 -0800 Subject: [support] getting rid of "soandso's picture" text In-Reply-To: <49342965.4000600@partialflow.com> References: <49342965.4000600@partialflow.com> Message-ID: You didn't mention turning on Picture Support in user settings. To do so go to Adminster | User management | User settings (/admin/user/settings) and scroll down to the "Picture support" section. This is where you select you default picture, as well. On Mon, Dec 1, 2008 at 10:13 AM, Christopher M. Jones wrote: > I'm using Drupal five, building a theme off of Zen. I want to optionally > display a user's picture in posts, so that if the user has uploaded a > picture then it is displayed, and if not then the teaser view shifts > left to occupy that space. > > So I turned on pictures in the theme configuration. But now, where there > is no picture available, I have a "soandso's picture" link. > > Specifically: I want if( $picture ){...} in the .tpl.php file to > evaluate to FALSE if there is no picture, TRUE if there is one. How can > I get this behavior? Is there a theme override that I'm missing? > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From challinan at gmail.com Tue Dec 2 20:44:51 2008 From: challinan at gmail.com (Chris Hallinan) Date: Tue, 2 Dec 2008 15:44:51 -0500 Subject: [support] continuous trigger on comment being viewed by authenticated user Message-ID: I recently upgraded my site to Drupal 6-6. I am seeing a strange behavior with triggers, for the event "Trigger: When a comment is being viewed by an authenticated user". I have created an e-mail action and assigned it to this trigger event. Now I'm getting dozens of these events in a 24 hour period reporting myself as the %username, even when I have not been on the site in quite a long time. So it appears it's reporting events that do not happen. Has anyone seen this? Is this /op error or a bug, or worse, someone else hijacking the site, etc? Any ideas how to track it down? Many thanks, Chris -- Life is like Linux - it never stands still. http://www.embeddedlinuxprimer.com From cjones at partialflow.com Tue Dec 2 21:23:32 2008 From: cjones at partialflow.com (Christopher M. Jones) Date: Tue, 02 Dec 2008 16:23:32 -0500 Subject: [support] getting rid of "soandso's picture" text In-Reply-To: References: <49342965.4000600@partialflow.com> Message-ID: <4935A754.4050101@partialflow.com> Thanks, yes. I assumed that step. To clarify: I have pictures enabled and they show in my templates. But where no picture exists, because the user has not uploaded one, I have a link that reads "username's picture". I not only want to remove that link but I want to adjust the layout to compensate for the lack of a picture. Dale McGladdery wrote: > You didn't mention turning on Picture Support in user settings. To do > so go to Adminster | User management | User settings > (/admin/user/settings) and scroll down to the "Picture support" > section. This is where you select you default picture, as well. > > > > > > On Mon, Dec 1, 2008 at 10:13 AM, Christopher M. Jones > wrote: >> I'm using Drupal five, building a theme off of Zen. I want to optionally >> display a user's picture in posts, so that if the user has uploaded a >> picture then it is displayed, and if not then the teaser view shifts >> left to occupy that space. >> >> So I turned on pictures in the theme configuration. But now, where there >> is no picture available, I have a "soandso's picture" link. >> >> Specifically: I want if( $picture ){...} in the .tpl.php file to >> evaluate to FALSE if there is no picture, TRUE if there is one. How can >> I get this behavior? Is there a theme override that I'm missing? >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> From neil at esl-lounge.com Tue Dec 2 21:30:36 2008 From: neil at esl-lounge.com (Neil Coghlan) Date: Tue, 2 Dec 2008 22:30:36 +0100 Subject: [support] getting rid of "soandso's picture" text References: <49342965.4000600@partialflow.com> <4935A754.4050101@partialflow.com> Message-ID: I know this might seem like a silly question but can you just confirm that text shows up in both FF and IE. ----- Original Message ----- From: "Christopher M. Jones" To: Sent: Tuesday, December 02, 2008 10:23 PM Subject: Re: [support] getting rid of "soandso's picture" text > Thanks, yes. I assumed that step. To clarify: I have pictures enabled > and they show in my templates. But where no picture exists, because the > user has not uploaded one, I have a link that reads "username's > picture". I not only want to remove that link but I want to adjust the > layout to compensate for the lack of a picture. > > Dale McGladdery wrote: >> You didn't mention turning on Picture Support in user settings. To do >> so go to Adminster | User management | User settings >> (/admin/user/settings) and scroll down to the "Picture support" >> section. This is where you select you default picture, as well. >> >> >> >> >> >> On Mon, Dec 1, 2008 at 10:13 AM, Christopher M. Jones >> wrote: >>> I'm using Drupal five, building a theme off of Zen. I want to optionally >>> display a user's picture in posts, so that if the user has uploaded a >>> picture then it is displayed, and if not then the teaser view shifts >>> left to occupy that space. >>> >>> So I turned on pictures in the theme configuration. But now, where there >>> is no picture available, I have a "soandso's picture" link. >>> >>> Specifically: I want if( $picture ){...} in the .tpl.php file to >>> evaluate to FALSE if there is no picture, TRUE if there is one. How can >>> I get this behavior? Is there a theme override that I'm missing? >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> > -- > [ Drupal support list | http://lists.drupal.org/ ] > From killshot91 at comcast.net Tue Dec 2 21:33:02 2008 From: killshot91 at comcast.net (Steve Edwards) Date: Tue, 02 Dec 2008 13:33:02 -0800 Subject: [support] getting rid of "soandso's picture" text In-Reply-To: <4935A754.4050101@partialflow.com> References: <49342965.4000600@partialflow.com> <4935A754.4050101@partialflow.com> Message-ID: <4935A98E.8090104@comcast.net> The variable in node.tpl.php that stores the user picture is (aptly named) $picture. In the template file, just put a conditional statement that uses $picture only if it contains something:
That way. the user_picture div only exists if there is actually a picture. This is the way that regions are commonly laid out in a page so that they don't show up if they don't contain any content. Steve Christopher M. Jones wrote: > Thanks, yes. I assumed that step. To clarify: I have pictures enabled > and they show in my templates. But where no picture exists, because the > user has not uploaded one, I have a link that reads "username's > picture". I not only want to remove that link but I want to adjust the > layout to compensate for the lack of a picture. > > Dale McGladdery wrote: > >> You didn't mention turning on Picture Support in user settings. To do >> so go to Adminster | User management | User settings >> (/admin/user/settings) and scroll down to the "Picture support" >> section. This is where you select you default picture, as well. >> >> >> >> >> >> On Mon, Dec 1, 2008 at 10:13 AM, Christopher M. Jones >> wrote: >> >>> I'm using Drupal five, building a theme off of Zen. I want to optionally >>> display a user's picture in posts, so that if the user has uploaded a >>> picture then it is displayed, and if not then the teaser view shifts >>> left to occupy that space. >>> >>> So I turned on pictures in the theme configuration. But now, where there >>> is no picture available, I have a "soandso's picture" link. >>> >>> Specifically: I want if( $picture ){...} in the .tpl.php file to >>> evaluate to FALSE if there is no picture, TRUE if there is one. How can >>> I get this behavior? Is there a theme override that I'm missing? >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >>> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081202/d94c6921/attachment.htm From torelad at gmail.com Tue Dec 2 21:53:03 2008 From: torelad at gmail.com (Dale McGladdery) Date: Tue, 2 Dec 2008 13:53:03 -0800 Subject: [support] getting rid of "soandso's picture" text In-Reply-To: <4935A754.4050101@partialflow.com> References: <49342965.4000600@partialflow.com> <4935A754.4050101@partialflow.com> Message-ID: Take a look at theme_user_picture (http://api.drupal.org/api/function/theme_user_picture/5). Overriding it may be your answer. Changing it will change the way the user picture is output everywhere on your site, it may not be exactly what you need. Another potential strategy is doing something like as follows (warning, I haven't thought this completely through and I haven't used Zen): In the Zen template preprocessor function, put in something like this: global $user: if ($user->picture) { $vars['width-css-class'] = 'has-picture'; } else { $vars['width-css-class'] = 'no-picture'; $vars['picture'] = ''; // This is example and might not be the correct value for the picture } The in your template.php you can do something like:
The content stuff
On Tue, Dec 2, 2008 at 1:23 PM, Christopher M. Jones wrote: > Thanks, yes. I assumed that step. To clarify: I have pictures enabled > and they show in my templates. But where no picture exists, because the > user has not uploaded one, I have a link that reads "username's > picture". I not only want to remove that link but I want to adjust the > layout to compensate for the lack of a picture. > > Dale McGladdery wrote: >> You didn't mention turning on Picture Support in user settings. To do >> so go to Adminster | User management | User settings >> (/admin/user/settings) and scroll down to the "Picture support" >> section. This is where you select you default picture, as well. >> >> >> >> >> >> On Mon, Dec 1, 2008 at 10:13 AM, Christopher M. Jones >> wrote: >>> I'm using Drupal five, building a theme off of Zen. I want to optionally >>> display a user's picture in posts, so that if the user has uploaded a >>> picture then it is displayed, and if not then the teaser view shifts >>> left to occupy that space. >>> >>> So I turned on pictures in the theme configuration. But now, where there >>> is no picture available, I have a "soandso's picture" link. >>> >>> Specifically: I want if( $picture ){...} in the .tpl.php file to >>> evaluate to FALSE if there is no picture, TRUE if there is one. How can >>> I get this behavior? Is there a theme override that I'm missing? >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> > -- > [ Drupal support list | http://lists.drupal.org/ ] > From cjones at partialflow.com Tue Dec 2 22:10:35 2008 From: cjones at partialflow.com (Christopher M. Jones) Date: Tue, 02 Dec 2008 17:10:35 -0500 Subject: [support] [SOLVED] getting rid of "soandso's picture" text In-Reply-To: References: <49342965.4000600@partialflow.com> <4935A754.4050101@partialflow.com> Message-ID: <4935B25B.1060302@partialflow.com> Thanks, all. I forgot that I had set a default picture, which no longer exists in the original location. Where I was getting the "username's picture' it was because of an empty tag. FF just displayed the link, but I finally saw in IE the broken img icon. So I was right the first time: I test on $picture, and it works when there -really- isn't a picture. Sorry to waste your time. Dale McGladdery wrote: > Take a look at theme_user_picture > (http://api.drupal.org/api/function/theme_user_picture/5). > > Overriding it may be your answer. Changing it will change the way the > user picture is output everywhere on your site, it may not be exactly > what you need. > > Another potential strategy is doing something like as follows > (warning, I haven't thought this completely through and I haven't used > Zen): > In the Zen template preprocessor function, put in something like this: > global $user: > if ($user->picture) { > $vars['width-css-class'] = 'has-picture'; > } > else { > $vars['width-css-class'] = 'no-picture'; > $vars['picture'] = ''; // This is example and might not be the > correct value for the picture > } > > The in your template.php you can do something like: > >
> >
> The content stuff >
> > > On Tue, Dec 2, 2008 at 1:23 PM, Christopher M. Jones > wrote: >> Thanks, yes. I assumed that step. To clarify: I have pictures enabled >> and they show in my templates. But where no picture exists, because the >> user has not uploaded one, I have a link that reads "username's >> picture". I not only want to remove that link but I want to adjust the >> layout to compensate for the lack of a picture. >> >> Dale McGladdery wrote: >>> You didn't mention turning on Picture Support in user settings. To do >>> so go to Adminster | User management | User settings >>> (/admin/user/settings) and scroll down to the "Picture support" >>> section. This is where you select you default picture, as well. >>> >>> >>> >>> >>> >>> On Mon, Dec 1, 2008 at 10:13 AM, Christopher M. Jones >>> wrote: >>>> I'm using Drupal five, building a theme off of Zen. I want to optionally >>>> display a user's picture in posts, so that if the user has uploaded a >>>> picture then it is displayed, and if not then the teaser view shifts >>>> left to occupy that space. >>>> >>>> So I turned on pictures in the theme configuration. But now, where there >>>> is no picture available, I have a "soandso's picture" link. >>>> >>>> Specifically: I want if( $picture ){...} in the .tpl.php file to >>>> evaluate to FALSE if there is no picture, TRUE if there is one. How can >>>> I get this behavior? Is there a theme override that I'm missing? >>>> >>>> -- >>>> [ Drupal support list | http://lists.drupal.org/ ] >>>> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> From marc at funnymonkey.com Tue Dec 2 22:18:19 2008 From: marc at funnymonkey.com (Marc Poris) Date: Tue, 02 Dec 2008 14:18:19 -0800 Subject: [support] continuous trigger on comment being viewed by authenticated user In-Reply-To: References: Message-ID: <4935B42B.70901@funnymonkey.com> Chris, I'm not sure how you have the email action configured, but using the "When a comment is being viewed..." trigger is going to flood "someone" with email whenever someone views a node with comments attached. I tried using that a while back and stopped pretty quickly because of the email flood. I suspect there are reported issues that pertain to this... The emails are either being sent immediately or when cron runs, so, if they're not being sent immediately you should be able to test things by running cron. Marc Chris Hallinan wrote: > I recently upgraded my site to Drupal 6-6. I am seeing a strange > behavior with triggers, for the event "Trigger: When a comment is > being viewed by an authenticated user". I have created an e-mail > action and assigned it to this trigger event. > > Now I'm getting dozens of these events in a 24 hour period reporting > myself as the %username, even when I have not been on the site in > quite a long time. So it appears it's reporting events that do not > happen. > > Has anyone seen this? Is this /op error or a bug, or worse, someone > else hijacking the site, etc? > > Any ideas how to track it down? > > Many thanks, > > Chris > > From challinan at gmail.com Wed Dec 3 00:21:52 2008 From: challinan at gmail.com (Chris Hallinan) Date: Tue, 2 Dec 2008 19:21:52 -0500 Subject: [support] continuous trigger on comment being viewed by authenticated user In-Reply-To: <4935B42B.70901@funnymonkey.com> References: <4935B42B.70901@funnymonkey.com> Message-ID: On Tue, Dec 2, 2008 at 5:18 PM, Marc Poris wrote: > Chris, > > I'm not sure how you have the email action configured, but using the > "When a comment is being viewed..." trigger is going to flood "someone" > with email whenever someone views a node with comments attached. I > tried using that a while back and stopped pretty quickly because of the > email flood. I suspect there are reported issues that pertain to this... Hmm, I am the recipient of the e-mail flood, basically I was trying to use this mechanism to understand the traffic patterns to the site. The interesting thing here is that using the %username in my e-mail action (to myself) it always reports me as the username viewing the comment. Unless I misunderstand the mechanism, that's the confusion. I'm not looking at those comments, but it still triggers the action. I had assumed that the %username reported in the e-mail would be the authenticated user that is viewing the content. Regards, Chris > > The emails are either being sent immediately or when cron runs, so, if > they're not being sent immediately you should be able to test things by > running cron. > > Marc > > > Chris Hallinan wrote: >> I recently upgraded my site to Drupal 6-6. I am seeing a strange >> behavior with triggers, for the event "Trigger: When a comment is >> being viewed by an authenticated user". I have created an e-mail >> action and assigned it to this trigger event. >> >> Now I'm getting dozens of these events in a 24 hour period reporting >> myself as the %username, even when I have not been on the site in >> quite a long time. So it appears it's reporting events that do not >> happen. >> >> Has anyone seen this? Is this /op error or a bug, or worse, someone >> else hijacking the site, etc? >> >> Any ideas how to track it down? >> >> Many thanks, >> >> Chris >> >> > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Life is like Linux - it never stands still. From neil at esl-lounge.com Wed Dec 3 08:34:19 2008 From: neil at esl-lounge.com (Neil Coghlan) Date: Wed, 3 Dec 2008 09:34:19 +0100 Subject: [support] [SOLVED] getting rid of "soandso's picture" text References: <49342965.4000600@partialflow.com><4935A754.4050101@partialflow.com> <4935B25B.1060302@partialflow.com> Message-ID: Ah OK, that's where I was going (slowly!) with my "is it FF or IE?" question. :-) same thing happened to me a year back. Neil ----- Original Message ----- From: "Christopher M. Jones" To: Sent: Tuesday, December 02, 2008 11:10 PM Subject: Re: [support] [SOLVED] getting rid of "soandso's picture" text > Thanks, all. I forgot that I had set a default picture, which no longer > exists in the original location. Where I was getting the "username's > picture' it was because of an empty tag. FF just displayed the > link, but I finally saw in IE the broken img icon. So I was right the > first time: I test on $picture, and it works when there -really- isn't a > picture. > > Sorry to waste your time. > > Dale McGladdery wrote: >> Take a look at theme_user_picture >> (http://api.drupal.org/api/function/theme_user_picture/5). >> >> Overriding it may be your answer. Changing it will change the way the >> user picture is output everywhere on your site, it may not be exactly >> what you need. >> >> Another potential strategy is doing something like as follows >> (warning, I haven't thought this completely through and I haven't used >> Zen): >> In the Zen template preprocessor function, put in something like this: >> global $user: >> if ($user->picture) { >> $vars['width-css-class'] = 'has-picture'; >> } >> else { >> $vars['width-css-class'] = 'no-picture'; >> $vars['picture'] = ''; // This is example and might not be the >> correct value for the picture >> } >> >> The in your template.php you can do something like: >> >>
>> >>
>> The content stuff >>
>> >> >> On Tue, Dec 2, 2008 at 1:23 PM, Christopher M. Jones >> wrote: >>> Thanks, yes. I assumed that step. To clarify: I have pictures enabled >>> and they show in my templates. But where no picture exists, because the >>> user has not uploaded one, I have a link that reads "username's >>> picture". I not only want to remove that link but I want to adjust the >>> layout to compensate for the lack of a picture. >>> >>> Dale McGladdery wrote: >>>> You didn't mention turning on Picture Support in user settings. To do >>>> so go to Adminster | User management | User settings >>>> (/admin/user/settings) and scroll down to the "Picture support" >>>> section. This is where you select you default picture, as well. >>>> >>>> >>>> >>>> >>>> >>>> On Mon, Dec 1, 2008 at 10:13 AM, Christopher M. Jones >>>> wrote: >>>>> I'm using Drupal five, building a theme off of Zen. I want to >>>>> optionally >>>>> display a user's picture in posts, so that if the user has uploaded a >>>>> picture then it is displayed, and if not then the teaser view shifts >>>>> left to occupy that space. >>>>> >>>>> So I turned on pictures in the theme configuration. But now, where >>>>> there >>>>> is no picture available, I have a "soandso's picture" link. >>>>> >>>>> Specifically: I want if( $picture ){...} in the .tpl.php file to >>>>> evaluate to FALSE if there is no picture, TRUE if there is one. How >>>>> can >>>>> I get this behavior? Is there a theme override that I'm missing? >>>>> >>>>> -- >>>>> [ Drupal support list | http://lists.drupal.org/ ] >>>>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> > -- > [ Drupal support list | http://lists.drupal.org/ ] > From joinkemel at yahoo.de Wed Dec 3 09:31:03 2008 From: joinkemel at yahoo.de (jo) Date: Wed, 3 Dec 2008 09:31:03 +0000 (GMT) Subject: [support] site down after i deactivated views via phpmyadmin Message-ID: <288117.89594.qm@web28607.mail.ukl.yahoo.com> dear list, as i am quite new to mysql-issues and the database, i don't know how to put my site to life again.. as i had troubles with the installation of the views-module (all the other first 7 modules did install with no problems) i wanted to deactivate it. because i couldn't access my /admin/modules-frontend anymore, i used instructions on http://www.drupalcenter.de/handbuch/11551 (german language) to deactivate the views-module(s) in the database using phpmyadmin. (open phpmyadmin, select system, find the views-moulde-entries, deactivate it with setting status to 0) after that, the site is down completely (drupal error-site is showing "site down" 'because of technical issues - please check your database settings in the settings.php file and ensure that your hosting provider's database server is running') so, what to do now? i already posted a forum-topic and followed the hint of one member with no results and even a complete confixx-restore with a backup of all files and the database i did one week ago when all was running well doesn't change anything. could it be, i should have taken the site down with my admin-frontend, before changing something in the database? thank you for reading anyhow :-jo From victorkane at gmail.com Wed Dec 3 10:05:01 2008 From: victorkane at gmail.com (Victor Kane) Date: Wed, 3 Dec 2008 08:05:01 -0200 Subject: [support] site down after i deactivated views via phpmyadmin In-Reply-To: <288117.89594.qm@web28607.mail.ukl.yahoo.com> References: <288117.89594.qm@web28607.mail.ukl.yahoo.com> Message-ID: On Wed, Dec 3, 2008 at 7:31 AM, jo wrote: > dear list, > > as i am quite new to mysql-issues and the database, i don't know how to put my site to life again.. > > as i had troubles with the installation of the views-module (all the other first 7 modules did install with no problems) i wanted to deactivate it. > > because i couldn't access my /admin/modules-frontend anymore, i used instructions on > > http://www.drupalcenter.de/handbuch/11551 (german language) > > to deactivate the views-module(s) in the database using phpmyadmin. (open phpmyadmin, select system, find the views-moulde-entries, deactivate it with setting status to 0) Let's assume for the moment that the implementation of this advanced admin procedure did something wrong to the database, and that that left Drupal in an undefined state. But a restore to the database should have left things as they were. Try this: 1. Drop all the tables in the database. 2. Then restore from last week. If that doesn't work then something is amiss in the file system or on the server configuration. In that case, try a fresh Drupal install on the same database. If that works then restore again. Victor Kane http://awebfactory.com.ar > > after that, the site is down completely > (drupal error-site is showing "site down" > 'because of technical issues - please check your database settings in the settings.php file and ensure that your hosting provider's database server is running') > > so, what to do now? > > i already posted a forum-topic and followed the hint of one member with no results and even a complete confixx-restore with a backup of all files and the database i did one week ago when all was running well doesn't change anything. > > could it be, i should have taken the site down with my admin-frontend, before changing something in the database? > > thank you for reading anyhow > > :-jo > > > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From bo at bolaurent.com Wed Dec 3 16:13:50 2008 From: bo at bolaurent.com (Bo Laurent) Date: Wed, 3 Dec 2008 08:13:50 -0800 Subject: [support] Can't edit nodes (clicking 'save' just redisplays edit page) Message-ID: <727b1dcc0812030813t350403e9rb91c1c5a80541704@mail.gmail.com> I am running a newly installed D6.6. Suddenly, and suddenly I can't edit any nodes. I am running as admin (user 1). When I click edit, I see the edit screen, but when I click save, the edit screen is merely redisplayed. I've tried disabling YUI wysiwyg editor, to no avail. I tried different browsers, to no avail. I tried logging out and back in, and I tried emptying the sessions table. I installed devel module, but still wasn't able to discern the cause of the problem. Any advice about what might be happening? Thanks, Bo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081203/326f97f5/attachment.htm From cjones at partialflow.com Wed Dec 3 18:06:48 2008 From: cjones at partialflow.com (Christopher M. Jones) Date: Wed, 03 Dec 2008 13:06:48 -0500 Subject: [support] managing other users' profiles Message-ID: <4936CAB8.7010500@partialflow.com> I am building an informational site with a community component. One of the components is a directory of service providers. We want it to work like this: We compile a list of service providers and enter them into the database. A service provider may request an account, at which time they are permitted to edit their record in the database. They should not be able to edit any other content but the specific record that belongs to them. This is how I set it up: I created a cck type for the record. Each service provider has an account on the system, to which they can request access. Then I used nodeprofile, pageroute, and registration account types to set up the permissions and the workflow. On the whole, everything seems to function as expected. When someone registers for an account, they are passed along to their account, where they have a link allowing them to create their profile. If their profile already was created for them, then they can edit it. The problem is, I want users in an 'editor' role to be able to create these profiles and assign them to users. But I don't want "Create your..." links to show up in their account. That is to say, I have to give the editor create and edit permission on the profile type, but I don't want the editor to be able to create a node of this type for themselves. I'd be content just to have the link removed from their account page, but I don't see a way to do that -per role-. As it is, everyone with create permission on that type gets it listed in their account page. Is there some other way I should have gone about this? From sivaji2009 at gmail.com Wed Dec 3 18:26:38 2008 From: sivaji2009 at gmail.com (sivaji j.g) Date: Wed, 3 Dec 2008 23:56:38 +0530 Subject: [support] Can't edit nodes (clicking 'save' just redisplays edit page) In-Reply-To: <727b1dcc0812030813t350403e9rb91c1c5a80541704@mail.gmail.com> References: <727b1dcc0812030813t350403e9rb91c1c5a80541704@mail.gmail.com> Message-ID: > > Any advice about what might be happening? > Clear the cache table, browser cache . Also disable the options in http://yoursite.com?q=admin/settings/performance if it is your testing site delete from cache; delete from cache_advcache_block; delete from cache_block; delete from cache_browse; delete from cache_comment; delete from cache_edusearch; delete from cache_filter; delete from cache_forum; delete from cache_menu; delete from cache_node; delete from cache_page; delete from cache_path; delete from cache_search; delete from cache_session; delete from cache_taxonomy; delete from cache_users; > > Thanks, > > Bo > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Thanks a lot ----------------------------------------- http://ubuntuslave.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081203/cb86bf2c/attachment-0001.htm From johnny.xiao at Q1Labs.com Wed Dec 3 19:14:01 2008 From: johnny.xiao at Q1Labs.com (Johnny Xiao) Date: Wed, 3 Dec 2008 15:14:01 -0400 Subject: [support] Replace username in search result with user alias In-Reply-To: <20081202150514.xpfb88oqyxskogs0@mail.progw.org> References: <006101c94563$e0288300$06000a0a@csa><20081114083540.d5ptamf8byo8g840@mail.progw.org><1C1A072023EE4E098C2303AF831D6AB0@Neil><4922201D.80806@opensourcery.com><4922F2B1.2080303@opensourcery.com><005401c94b29$6c80ea20$4582be60$@co.uk> <20081202150514.xpfb88oqyxskogs0@mail.progw.org> Message-ID: I like to replace username in search result with user alias which I added to user table. I know that $result['user'] in function mytheme_search_result(&$variables) { contains the username, but I am not sure where I should go to change it to user alias. Kewei From joinkemel at yahoo.de Wed Dec 3 19:54:51 2008 From: joinkemel at yahoo.de (jo) Date: Wed, 3 Dec 2008 19:54:51 +0000 (GMT) Subject: [support] site down after i deactivated views via phpmyadmin In-Reply-To: Message-ID: <821024.60448.qm@web28604.mail.ukl.yahoo.com> thank you very much for your hints, now i am at least stuck at another point ;-) i tried your option 1 (deleting all tables and restore) with no positive results. then i tried option 2 (reinstalling drupal by replacing all files with fresh drupal 6.6 files and a databank-restore, but also there was the same 'site down' errorpage. which i read again and remembered that it says i should have a look at settings.php. so next thing i did was renaming the settings.php with uglysettings.php and renaming default.settings.php with settings.php, so i would use the default settings from a fresh install - now i really was able to see the drupal installation-page where now i have problems with the database-configuration-step: with the name of my existing database and the user and password i enter in phpmyadmin to come in, drupal doesn't go to the next step, but also it doesn't create any errormessage, just all fields are empty again. when i enter any adequate fantasy-names, it tells that this is the wrong password or username..why is that? and what should i do now, especially in case i would love to avoid creating all nodes again - is there any possibility to recreate the nodes from the old database when i do a fresh-install and the backup is faulty? :-jo --- Victor Kane schrieb am Mi, 3.12.2008: > Von: Victor Kane > Betreff: Re: [support] site down after i deactivated views via phpmyadmin > An: support at drupal.org > Datum: Mittwoch, 3. Dezember 2008, 11:05 > On Wed, Dec 3, 2008 at 7:31 AM, jo > wrote: > > dear list, > > > > as i am quite new to mysql-issues and the database, i > don't know how to put my site to life again.. > > > > as i had troubles with the installation of the > views-module (all the other first 7 modules did install with > no problems) i wanted to deactivate it. > > > > because i couldn't access my > /admin/modules-frontend anymore, i used instructions on > > > > http://www.drupalcenter.de/handbuch/11551 (german > language) > > > > to deactivate the views-module(s) in the database > using phpmyadmin. (open phpmyadmin, select system, find the > views-moulde-entries, deactivate it with setting status to > 0) > > Let's assume for the moment that the implementation of > this advanced > admin procedure did something wrong to the database, and > that that > left Drupal in an undefined state. > > But a restore to the database should have left things as > they were. > > Try this: > > 1. Drop all the tables in the database. > 2. Then restore from last week. > > If that doesn't work then something is amiss in the > file system or on > the server configuration. In that case, try a fresh Drupal > install on > the same database. If that works then restore again. > > Victor Kane > http://awebfactory.com.ar > > > > > after that, the site is down completely > > (drupal error-site is showing "site down" > > 'because of technical issues - please check your > database settings in the settings.php file and ensure that > your hosting provider's database server is running') > > > > so, what to do now? > > > > i already posted a forum-topic and followed the hint > of one member with no results and even a complete > confixx-restore with a backup of all files and the database > i did one week ago when all was running well doesn't > change anything. > > > > could it be, i should have taken the site down with my > admin-frontend, before changing something in the database? > > > > thank you for reading anyhow > > > > :-jo > > > > > > > > > > > > -- > > [ Drupal support list | http://lists.drupal.org/ ] > > > -- > [ Drupal support list | http://lists.drupal.org/ ] From johnny.xiao at Q1Labs.com Wed Dec 3 20:03:34 2008 From: johnny.xiao at Q1Labs.com (Johnny Xiao) Date: Wed, 3 Dec 2008 16:03:34 -0400 Subject: [support] [resolved] Replace username in search result with user alias Message-ID: I have fixed this by adding a customized sql statement -----Original Message----- To: 'support at drupal.org' Subject: [support] Replace username in search result with user alias I like to replace username in search result with user alias which I added to user table. I know that $result['user'] in function mytheme_search_result(&$variables) { contains the username, but I am not sure where I should go to change it to user alias. Kewei From fredthejonester at gmail.com Wed Dec 3 20:07:56 2008 From: fredthejonester at gmail.com (Fred Jones) Date: Wed, 3 Dec 2008 22:07:56 +0200 Subject: [support] site down after i deactivated views via phpmyadmin In-Reply-To: <821024.60448.qm@web28604.mail.ukl.yahoo.com> References: <821024.60448.qm@web28604.mail.ukl.yahoo.com> Message-ID: <177c0a10812031207y150b7ee2o3361bb213faff235@mail.gmail.com> > with the name of my existing database and the user and password i enter in phpmyadmin to come in, drupal doesn't go to the next step, but also it doesn't create any errormessage, just all fields are empty again. > when i enter any adequate fantasy-names, it tells that this is the wrong password or username..why is that? Hard to say. Can you ask your host support? Is there an error log to look at? > and what should i do now, especially in case i would love to avoid creating all nodes again - is there any possibility to recreate the nodes from the old database when i do a fresh-install and the backup is faulty? Depends on the backup--if the data is there, then it's probably possible to re-instate it. May have to do it manually however, which can be difficult. From victorkane at gmail.com Wed Dec 3 20:00:59 2008 From: victorkane at gmail.com (Victor Kane) Date: Wed, 3 Dec 2008 18:00:59 -0200 Subject: [support] site down after i deactivated views via phpmyadmin In-Reply-To: <821024.60448.qm@web28604.mail.ukl.yahoo.com> References: <821024.60448.qm@web28604.mail.ukl.yahoo.com> Message-ID: Once settings.php is pointed to the correct database with the correct username and password, and your fresh install is working, you can restore the database with your previous version, and you should be good to go. You can do this either by installing Drupal anew, and filling in the correct database and user info during the installation, or else by directly editing settings.php. The line you need to edit is the following (about half-way down): $db_url = 'mysql://your-real-db-user-name:your-real-db-user-password at localhost/your-real-databasename'; Hope that helps, Victor Kane http://awebfactory.com.ar On Wed, Dec 3, 2008 at 5:54 PM, jo wrote: > thank you very much for your hints, now i am at least stuck at another point ;-) > > i tried your option 1 (deleting all tables and restore) with no positive results. > > then i tried option 2 (reinstalling drupal by replacing all files with fresh drupal 6.6 files and a databank-restore, but also there was the same 'site down' errorpage. > > which i read again and remembered that it says i should have a look at settings.php. > > so next thing i did was renaming the settings.php with uglysettings.php and renaming default.settings.php with settings.php, so i would use the default settings from a fresh install - now i really was able to see the drupal installation-page where now i have problems with the database-configuration-step: > > with the name of my existing database and the user and password i enter in phpmyadmin to come in, drupal doesn't go to the next step, but also it doesn't create any errormessage, just all fields are empty again. > when i enter any adequate fantasy-names, it tells that this is the wrong password or username..why is that? > > and what should i do now, especially in case i would love to avoid creating all nodes again - is there any possibility to recreate the nodes from the old database when i do a fresh-install and the backup is faulty? > > :-jo > > > > > --- Victor Kane schrieb am Mi, 3.12.2008: > >> Von: Victor Kane >> Betreff: Re: [support] site down after i deactivated views via phpmyadmin >> An: support at drupal.org >> Datum: Mittwoch, 3. Dezember 2008, 11:05 >> On Wed, Dec 3, 2008 at 7:31 AM, jo >> wrote: >> > dear list, >> > >> > as i am quite new to mysql-issues and the database, i >> don't know how to put my site to life again.. >> > >> > as i had troubles with the installation of the >> views-module (all the other first 7 modules did install with >> no problems) i wanted to deactivate it. >> > >> > because i couldn't access my >> /admin/modules-frontend anymore, i used instructions on >> > >> > http://www.drupalcenter.de/handbuch/11551 (german >> language) >> > >> > to deactivate the views-module(s) in the database >> using phpmyadmin. (open phpmyadmin, select system, find the >> views-moulde-entries, deactivate it with setting status to >> 0) >> >> Let's assume for the moment that the implementation of >> this advanced >> admin procedure did something wrong to the database, and >> that that >> left Drupal in an undefined state. >> >> But a restore to the database should have left things as >> they were. >> >> Try this: >> >> 1. Drop all the tables in the database. >> 2. Then restore from last week. >> >> If that doesn't work then something is amiss in the >> file system or on >> the server configuration. In that case, try a fresh Drupal >> install on >> the same database. If that works then restore again. >> >> Victor Kane >> http://awebfactory.com.ar >> >> > >> > after that, the site is down completely >> > (drupal error-site is showing "site down" >> > 'because of technical issues - please check your >> database settings in the settings.php file and ensure that >> your hosting provider's database server is running') >> > >> > so, what to do now? >> > >> > i already posted a forum-topic and followed the hint >> of one member with no results and even a complete >> confixx-restore with a backup of all files and the database >> i did one week ago when all was running well doesn't >> change anything. >> > >> > could it be, i should have taken the site down with my >> admin-frontend, before changing something in the database? >> > >> > thank you for reading anyhow >> > >> > :-jo >> > >> > >> > >> > >> > >> > -- >> > [ Drupal support list | http://lists.drupal.org/ ] >> > >> -- >> [ Drupal support list | http://lists.drupal.org/ ] > > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From fredthejonester at gmail.com Wed Dec 3 20:16:38 2008 From: fredthejonester at gmail.com (Fred Jones) Date: Wed, 3 Dec 2008 22:16:38 +0200 Subject: [support] Paid for Memberships for Drupal 4.7 Message-ID: <177c0a10812031216w6cb10571u14dcbe918cb4c318@mail.gmail.com> I have someone with a 4.7 site. He wants to add to it paid-for memberships. I explained to him that were we to upgrade to D 5.x then that is already available in either ecommerce or ubercart--it's a snap. He claims that he invested a lot in custom development for 4.7 and doesn't have the budget right now to rebuild all of that. I am still trying to clarify what exactly IS this custom work, but in the event that there is a difficult path for him to upgrade right now, is there any way to do paid-for memberships in 4.7? I barely even have worked with 4.7. Thanks. From rafyven at yahoo.fr Wed Dec 3 20:15:19 2008 From: rafyven at yahoo.fr (Raf Raf) Date: Wed, 3 Dec 2008 20:15:19 +0000 (GMT) Subject: [support] function for a view Message-ID: <967782.52401.qm@web25408.mail.ukl.yahoo.com> Hello all, I want to know how to "insert" a function in a view ? And to adapt it for a particular view ? I don't find the way by the drupal's interface and in the template.php It's exactly what I need, please see http://drupalworx.com/links and the function : http://drupalworx.com/node/28 thank's raf -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081203/85de20d0/attachment.htm From bsisok at gmail.com Wed Dec 3 21:06:59 2008 From: bsisok at gmail.com (Bob Salsburg) Date: Wed, 3 Dec 2008 16:06:59 -0500 Subject: [support] Version confusion Message-ID: I am using Drupal 5.12. It is the version available on the Download page. Lately, I have seen reference to a 5.2 version at various places on the Drupal site. Is this a typo? Or are their updates that I am missing? Bob -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081203/5a7467ad/attachment-0001.htm From Greg at growingventuresolutions.com Wed Dec 3 21:56:45 2008 From: Greg at growingventuresolutions.com (Greg Knaddison) Date: Wed, 3 Dec 2008 14:56:45 -0700 Subject: [support] Version confusion In-Reply-To: References: Message-ID: <3861c6770812031356v61af9979g9f732754c1910970@mail.gmail.com> On Wed, Dec 3, 2008 at 2:06 PM, Bob Salsburg wrote: > I am using Drupal 5.12. It is the version available on the Download page. > Lately, I have seen reference to a 5.2 version at various places on the > Drupal site. Is this a typo? Or are their updates that I am missing? Hi Bob, That is a tricky thing. Version numbers use the decimal as a separator, not an indication of a fraction of a unit. It's more "Version 5 Subversion 2" than it is "Version 5 and 2/10ths." So, "Version 5 Subversion 12" is greater than "Version 5 Subversion 2." Maybe you could add something about this to http://drupal.org/handbook/version-info Regards, Greg -- Greg Knaddison http://knaddison.com | 303-800-5623 | http://growingventuresolutions.com From bsisok at gmail.com Wed Dec 3 22:51:22 2008 From: bsisok at gmail.com (Bob Salsburg) Date: Wed, 3 Dec 2008 17:51:22 -0500 Subject: [support] Version confusion In-Reply-To: <3861c6770812031356v61af9979g9f732754c1910970@mail.gmail.com> References: <3861c6770812031356v61af9979g9f732754c1910970@mail.gmail.com> Message-ID: Ah! Enlightenment! In some quarters, where the convention is used,5.1.2 would the lesser version. On Wed, Dec 3, 2008 at 4:56 PM, Greg Knaddison < Greg at growingventuresolutions.com> wrote: > On Wed, Dec 3, 2008 at 2:06 PM, Bob Salsburg wrote: > > I am using Drupal 5.12. It is the version available on the Download page. > > Lately, I have seen reference to a 5.2 version at various places on the > > Drupal site. Is this a typo? Or are their updates that I am missing? > > Hi Bob, > > That is a tricky thing. > > Version numbers use the decimal as a separator, not an indication of a > fraction of a unit. > > It's more "Version 5 Subversion 2" than it is "Version 5 and 2/10ths." > > So, "Version 5 Subversion 12" is greater than "Version 5 Subversion 2." > > Maybe you could add something about this to > http://drupal.org/handbook/version-info > > Regards, > Greg > > -- > Greg Knaddison > http://knaddison.com | 303-800-5623 | http://growingventuresolutions.com > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081203/8cc3e6e2/attachment.htm From joinkemel at yahoo.de Wed Dec 3 23:22:47 2008 From: joinkemel at yahoo.de (jo) Date: Wed, 3 Dec 2008 23:22:47 +0000 (GMT) Subject: [support] site down after i CHANGED the database password! In-Reply-To: Message-ID: <600456.65171.qm@web28609.mail.ukl.yahoo.com> success! thank you so much for your clear and great support! now i know what happenend: i simply changed passwords in confixx without knowing that it would also change the database-password.. what i do not understand yet: why is it secure to have the mysql-password stored in plaintext? many greetings from the snowy winterhills of the taunus :-jo --- Victor Kane schrieb am Mi, 3.12.2008: > Von: Victor Kane > Betreff: Re: [support] site down after i deactivated views via phpmyadmin > An: support at drupal.org > Datum: Mittwoch, 3. Dezember 2008, 21:00 > Once settings.php is pointed to the correct database with > the correct > username and password, and your fresh install is working, > you can > restore the database with your previous version, and you > should be > good to go. > > You can do this either by installing Drupal anew, and > filling in the > correct database and user info during the installation, or > else by > directly editing settings.php. > > The line you need to edit is the following (about half-way > down): > > $db_url = > 'mysql://your-real-db-user-name:your-real-db-user-password at localhost/your-real-databasename'; > > Hope that helps, > > Victor Kane > http://awebfactory.com.ar > > On Wed, Dec 3, 2008 at 5:54 PM, jo > wrote: > > thank you very much for your hints, now i am at least > stuck at another point ;-) > > > > i tried your option 1 (deleting all tables and > restore) with no positive results. > > > > then i tried option 2 (reinstalling drupal by > replacing all files with fresh drupal 6.6 files and a > databank-restore, but also there was the same 'site > down' errorpage. > > > > which i read again and remembered that it says i > should have a look at settings.php. > > > > so next thing i did was renaming the settings.php with > uglysettings.php and renaming default.settings.php with > settings.php, so i would use the default settings from a > fresh install - now i really was able to see the drupal > installation-page where now i have problems with the > database-configuration-step: > > > > with the name of my existing database and the user and > password i enter in phpmyadmin to come in, drupal > doesn't go to the next step, but also it doesn't > create any errormessage, just all fields are empty again. > > when i enter any adequate fantasy-names, it tells that > this is the wrong password or username..why is that? > > > > and what should i do now, especially in case i would > love to avoid creating all nodes again - is there any > possibility to recreate the nodes from the old database when > i do a fresh-install and the backup is faulty? > > > > :-jo > > > > > > > > > > --- Victor Kane schrieb > am Mi, 3.12.2008: > > > >> Von: Victor Kane > >> Betreff: Re: [support] site down after i > deactivated views via phpmyadmin > >> An: support at drupal.org > >> Datum: Mittwoch, 3. Dezember 2008, 11:05 > >> On Wed, Dec 3, 2008 at 7:31 AM, jo > >> wrote: > >> > dear list, > >> > > >> > as i am quite new to mysql-issues and the > database, i > >> don't know how to put my site to life again.. > >> > > >> > as i had troubles with the installation of > the > >> views-module (all the other first 7 modules did > install with > >> no problems) i wanted to deactivate it. > >> > > >> > because i couldn't access my > >> /admin/modules-frontend anymore, i used > instructions on > >> > > >> > http://www.drupalcenter.de/handbuch/11551 > (german > >> language) > >> > > >> > to deactivate the views-module(s) in the > database > >> using phpmyadmin. (open phpmyadmin, select system, > find the > >> views-moulde-entries, deactivate it with setting > status to > >> 0) > >> > >> Let's assume for the moment that the > implementation of > >> this advanced > >> admin procedure did something wrong to the > database, and > >> that that > >> left Drupal in an undefined state. > >> > >> But a restore to the database should have left > things as > >> they were. > >> > >> Try this: > >> > >> 1. Drop all the tables in the database. > >> 2. Then restore from last week. > >> > >> If that doesn't work then something is amiss > in the > >> file system or on > >> the server configuration. In that case, try a > fresh Drupal > >> install on > >> the same database. If that works then restore > again. > >> > >> Victor Kane > >> http://awebfactory.com.ar > >> > >> > > >> > after that, the site is down completely > >> > (drupal error-site is showing "site > down" > >> > 'because of technical issues - please > check your > >> database settings in the settings.php file and > ensure that > >> your hosting provider's database server is > running') > >> > > >> > so, what to do now? > >> > > >> > i already posted a forum-topic and followed > the hint > >> of one member with no results and even a complete > >> confixx-restore with a backup of all files and the > database > >> i did one week ago when all was running well > doesn't > >> change anything. > >> > > >> > could it be, i should have taken the site > down with my > >> admin-frontend, before changing something in the > database? > >> > > >> > thank you for reading anyhow > >> > > >> > :-jo > >> > > >> > > >> > > >> > > >> > > >> > -- > >> > [ Drupal support list | > http://lists.drupal.org/ ] > >> > > >> -- > >> [ Drupal support list | http://lists.drupal.org/ ] > > > > > > > > > > -- > > [ Drupal support list | http://lists.drupal.org/ ] > > > -- > [ Drupal support list | http://lists.drupal.org/ ] From pinglaura at gmail.com Wed Dec 3 23:47:20 2008 From: pinglaura at gmail.com (Laura Scott) Date: Wed, 3 Dec 2008 16:47:20 -0700 Subject: [support] Version confusion In-Reply-To: References: <3861c6770812031356v61af9979g9f732754c1910970@mail.gmail.com> Message-ID: <38FD5369-37F5-4280-8422-2F343F97475C@gmail.com> 5.1.2 < 5.2 < 5.12 ... afaik. Laura On Dec 3, 2008, at 3:51 PM, Bob Salsburg wrote: > Ah! Enlightenment! > > In some quarters, where the convention is used,5.1.2 would the > lesser version. > > On Wed, Dec 3, 2008 at 4:56 PM, Greg Knaddison > wrote: > On Wed, Dec 3, 2008 at 2:06 PM, Bob Salsburg wrote: > > I am using Drupal 5.12. It is the version available on the > Download page. > > Lately, I have seen reference to a 5.2 version at various places > on the > > Drupal site. Is this a typo? Or are their updates that I am missing? > > Hi Bob, > > That is a tricky thing. > > Version numbers use the decimal as a separator, not an indication of a > fraction of a unit. > > It's more "Version 5 Subversion 2" than it is "Version 5 and 2/10ths." > > So, "Version 5 Subversion 12" is greater than "Version 5 Subversion > 2." > > Maybe you could add something about this to > http://drupal.org/handbook/version-info > > Regards, > Greg > > -- > Greg Knaddison > http://knaddison.com | 303-800-5623 | http://growingventuresolutions.com > -- > [ Drupal support list | http://lists.drupal.org/ ] > > -- > [ Drupal support list | http://lists.drupal.org/ ] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081203/d0754f33/attachment.htm From tinytina at UDel.Edu Thu Dec 4 00:57:50 2008 From: tinytina at UDel.Edu (Tina Callahan) Date: Wed, 03 Dec 2008 19:57:50 -0500 Subject: [support] Help with implementing drupal for a large organization Message-ID: <49372B0E.7030609@udel.edu> I'm looking for any assistance, suggestions or contact information that might help me direct the implementation of Drupal as a University-wide web solution. Please read below to see more details about what I'm looking for. Any information would be greatly appreciated. _*About Us*_ The University of Delaware (UD), located in Newark, Delaware, is now committed to rolling out Drupal as the primary web solution for the entire University. We currently have 7 colleges, 50 research centers, 23 intercollegiate athletic programs, numerous student organizations, and a long list of units that currently manage their current static html sites. _*The Plan*_ We plan to offer drupal-based web hosting to any and all units, colleges, and organizations within the University community. Let's just say that we expect to run drupal as a multiple "multi-site" installs and are expecting 100+ sites. At this point the plan is to run a production box with a mirrored development box for site modifications. We are building the servers on the UNIX environment using Drupal 6. We need help in best practices for our user community. More explicitly: * We expect to set up a standard drupal install and add UD "vetted" modules. As new modules or updates become available, we expect that we will need to add these to the "core" set of modules that we will make available to all sites. (ie. sites/all/modules folder) Any suggestions on how to update modules and theme for a large number of sites? * To start with, we see three drupal core installs: the first for low-profile or non-aggressive site development, the second for moderate development, and the third for aggressive development. The thought behind this is to reduce the number of sites that we need to review for conflicts with newly added or modified modules. Any thoughts on this? * We are trying to develop a policy on user access to the file system. We understand that there are users that won't want access, but there will also be others that want to tweak modules and themeing directories. Are there any suggestions on best practices for allowing our users access to the files system? My systems folks do not want to have the nightmare of granting access, but as a developer myself, I think this is a must. * URL domains are also an issue. We have some sites that are subdomains (mysite.udel.edu), other sites are directory-based sites under the hosted domain (udel.edu/mysite). Udel.edu is running on another server. I feel confident that we can run the subdomains without much a problem, however, I am interested to see if there is a suggestion on what to do with the latter issue of udel.edu/mysite. I don't want to rewrite the URL or redirect. Any thoughts or comments on this? Please note, I recently joined the Drupal in Ed group and plan to submit these questions more explicitly to them. I am also aware of the case studies on http://groups.drupal.org/taxonomy/term/4339. Sorry for the length of the message, please contact me if you have questions, comments, or suggestions. Thanks! -Tina ********************************** Tina Callahan 014 Smith Hall, Newark, DE 19716 University of Delaware 302-831-1982 tina.callahan at udel.edu ********************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081203/965756fe/attachment-0001.htm From shai at content2zero.com Thu Dec 4 01:34:21 2008 From: shai at content2zero.com (Shai Gluskin) Date: Wed, 3 Dec 2008 20:34:21 -0500 Subject: [support] Help with implementing drupal for a large organization In-Reply-To: <49372B0E.7030609@udel.edu> References: <49372B0E.7030609@udel.edu> Message-ID: <9f68efb70812031734s44cca5eei89ce51f1da311ee@mail.gmail.com> Tina, I'm just making a small comment here that certainly doesn't respond at all to the breadth of your question... I think you guys might be a great case for using the Acquia distribution, and likely some of their other services. It would bring some stability and coherence to what could be an incredibly complex set of installations. I don't mean to be glib or suggest this is an all-encompassing solution in any way, but it seems like just vetting modules on it's own could use up a bunch of your resources and the Acquia installation does that for you. That's all I have time for now, Good luck. It's awesome that UD is going Drupal! Shai Content2zero On Wed, Dec 3, 2008 at 7:57 PM, Tina Callahan wrote: > I'm looking for any assistance, suggestions or contact information that > might help me direct the implementation of Drupal as a University-wide web > solution. Please read below to see more details about what I'm looking for. > Any information would be greatly appreciated. > > *About Us* > The University of Delaware (UD), located in Newark, Delaware, is now > committed to rolling out Drupal as the primary web solution for the entire > University. We currently have 7 colleges, 50 research centers, 23 > intercollegiate athletic programs, numerous student organizations, and a > long list of units that currently manage their current static html sites. > > *The Plan* > We plan to offer drupal-based web hosting to any and all units, colleges, > and organizations within the University community. Let's just say that we > expect to run drupal as a multiple "multi-site" installs and are expecting > 100+ sites. > > At this point the plan is to run a production box with a mirrored > development box for site modifications. We are building the servers on the > UNIX environment using Drupal 6. > > We need help in best practices for our user community. More explicitly: > > - We expect to set up a standard drupal install and add UD "vetted" > modules. As new modules or updates become available, we expect that we will > need to add these to the "core" set of modules that we will make available > to all sites. (ie. sites/all/modules folder) Any suggestions on how to > update modules and theme for a large number of sites? > - To start with, we see three drupal core installs: the first for > low-profile or non-aggressive site development, the second for moderate > development, and the third for aggressive development. The thought behind > this is to reduce the number of sites that we need to review for conflicts > with newly added or modified modules. Any thoughts on this? > - We are trying to develop a policy on user access to the file system. > We understand that there are users that won't want access, but there will > also be others that want to tweak modules and themeing directories. Are > there any suggestions on best practices for allowing our users access to the > files system? My systems folks do not want to have the nightmare of granting > access, but as a developer myself, I think this is a must. > - URL domains are also an issue. We have some sites that are subdomains > (mysite.udel.edu), other sites are directory-based sites under the > hosted domain (udel.edu/mysite). Udel.edu is running on another server. > I feel confident that we can run the subdomains without much a problem, > however, I am interested to see if there is a suggestion on what to do with > the latter issue of udel.edu/mysite. I don't want to rewrite the URL or > redirect. Any thoughts or comments on this? > > Please note, I recently joined the Drupal in Ed group and plan to submit > these questions more explicitly to them. I am also aware of the case studies > on http://groups.drupal.org/taxonomy/term/4339. Sorry for the length of > the message, please contact me if you have questions, comments, or > suggestions. > > Thanks! > -Tina > > ********************************** > Tina Callahan > 014 Smith Hall, Newark, DE 19716 > University of Delaware > 302-831-1982tina.callahan at udel.edu > ********************************** > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081203/fbb0a580/attachment.htm From mike at mikeyp.net Thu Dec 4 01:36:49 2008 From: mike at mikeyp.net (Michael Prasuhn) Date: Wed, 3 Dec 2008 17:36:49 -0800 Subject: [support] Help with implementing drupal for a large organization In-Reply-To: <49372B0E.7030609@udel.edu> References: <49372B0E.7030609@udel.edu> Message-ID: <00DF9EC5-4B5F-465E-9B22-D9D448DBA3BF@mikeyp.net> One thing I would consider On Dec 3, 2008, at 4:57 PM, Tina Callahan wrote: > ? To start with, we see three drupal core installs: the first for > low-profile or non-aggressive site development, the second for > moderate development, and the third for aggressive development. The > thought behind this is to reduce the number of sites that we need to > review for conflicts with newly added or modified modules. Any > thoughts on this? > I would try to get as many of the simple generic sites as possible on a multi-site install, but don't be afraid to pull these out to their own codebase when they require a module that won't be used by other sites. Don't be afraid to migrate into a custom codebase when necessary, but use smart tools to keep the management to a minimum. Whether that is just a series of shell scripts, svn:externals, or even a distributed version control system > ? We are trying to develop a policy on user access to the file > system. We understand that there are users that won't want access, > but there will also be others that want to tweak modules and > themeing directories. Are there any suggestions on best practices > for allowing our users access to the files system? My systems folks > do not want to have the nightmare of granting access, but as a > developer myself, I think this is a must. One technique here, might be to create an account for each group corresponding to their site's name, and give them a public_html folder within their home directory, that is in turn symlinked to public or something similar in the drupal root of their site, so that they can access it at example.com/public/FOO. Allowing the user FTP access to their own home directory would allow them simple file uploads or static files if necessary. Since these would be found under the root for their site, they could easily link to them from within their site as well. -Mike __________________ Michael Prasuhn mike at mikeyp.net http://mikeyp.net From earnie at users.sourceforge.net Thu Dec 4 04:02:55 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Wed, 03 Dec 2008 23:02:55 -0500 Subject: [support] site down after i CHANGED the database password! In-Reply-To: <600456.65171.qm@web28609.mail.ukl.yahoo.com> References: <600456.65171.qm@web28609.mail.ukl.yahoo.com> Message-ID: <20081203230255.su8ummun994ccc4k@mail.progw.org> Quoting jo : > what i do not understand yet: why is it secure to have the > mysql-password stored in plaintext? > Hopefully you're using a user for the DB that can only affect the site DB and you have regular backups. -- Earnie http://r-feed.com Make a Drupal difference and review core patches. -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From earnie at users.sourceforge.net Thu Dec 4 04:09:32 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Wed, 03 Dec 2008 23:09:32 -0500 Subject: [support] Paid for Memberships for Drupal 4.7 In-Reply-To: <177c0a10812031216w6cb10571u14dcbe918cb4c318@mail.gmail.com> References: <177c0a10812031216w6cb10571u14dcbe918cb4c318@mail.gmail.com> Message-ID: <20081203230932.w4glx0lg6oxs0gkw@mail.progw.org> Quoting Fred Jones : > I have someone with a 4.7 site. He wants to add to it paid-for > memberships. I explained to him that were we to upgrade to D 5.x then > that is already available in either ecommerce or ubercart--it's a > snap. > > He claims that he invested a lot in custom development for 4.7 and > doesn't have the budget right now to rebuild all of that. I am still > trying to clarify what exactly IS this custom work, but in the event > that there is a difficult path for him to upgrade right now, is there > any way to do paid-for memberships in 4.7? I barely even have worked > with 4.7. > I remember a paypal module that would allow for subscriptions and one that allows for a one time fee. -- Earnie http://r-feed.com Make a Drupal difference and review core patches. -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From fredthejonester at gmail.com Thu Dec 4 08:34:33 2008 From: fredthejonester at gmail.com (Fred Jones) Date: Thu, 4 Dec 2008 10:34:33 +0200 Subject: [support] Paid for Memberships for Drupal 4.7 In-Reply-To: <20081203230932.w4glx0lg6oxs0gkw@mail.progw.org> References: <177c0a10812031216w6cb10571u14dcbe918cb4c318@mail.gmail.com> <20081203230932.w4glx0lg6oxs0gkw@mail.progw.org> Message-ID: <177c0a10812040034l4edb0039wb174a1817c14e7c0@mail.gmail.com> > I remember a paypal module that would allow for subscriptions and one > that allows for a one time fee. This one has no releases: http://drupal.org/project/paypal_subscription but it seems that this one has what you say: http://drupal.org/project/lm_paypal Says there "It currently supports paid memberships (subscriptions), donations (tip jar) and paid adverts (classified ads)." Thank you! From michel at ziobudda.net Thu Dec 4 09:05:29 2008 From: michel at ziobudda.net (Davide Michel 'ZioBudda' Morelli) Date: Thu, 04 Dec 2008 10:05:29 +0100 Subject: [support] function for a view In-Reply-To: <967782.52401.qm@web25408.mail.ukl.yahoo.com> References: <967782.52401.qm@web25408.mail.ukl.yahoo.com> Message-ID: <49379D59.4010000@ziobudda.net> Raf Raf ha scritto: > Hello all, > > I want to know how to "insert" a function in a view ? And to adapt it > for a particular view ? > I don't find the way by the drupal's interface and in the template.php > > It's exactly what I need, please see > http://drupalworx.com/links > and the function : > > http://drupalworx.com/node/28 > > thank's > raf > > Create a file called template.php in the template's directory and insert that function in this file. 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081204/ee5cb9ec/attachment-0001.htm From ratadi2 at gmail.com Thu Dec 4 15:35:57 2008 From: ratadi2 at gmail.com (geniekids) Date: Thu, 4 Dec 2008 07:35:57 -0800 (PST) Subject: [support] Views2 - filter by "user ref field" = "current logged user" Message-ID: <20835876.post@talk.nabble.com> I have a cck where one of the field is the user referenced filed (of a particular role) - the filed name is kids_name In D5 i had a view where the filter was set to kids_name = is one of = "currently logged in user" This meant that when the user logged in - he or she could only see records pertaining to him or her (as the view filtered it matching the kids_name filed with currently logged in user field) Now i am in Drupal6.6 with Views2 and i can;t find a way to do it. If in filter i select the [content] = "kids_name" - then i only get the list of names to filter by - i do not get the option of filter by currently logged in user. I am sure this must be a simple thing to do - pl guide me how to? -- View this message in context: http://www.nabble.com/Views2---filter-by-%22user-ref-field%22-%3D-%22current-logged-user%22-tp20835876p20835876.html Sent from the Drupal - Support mailing list archive at Nabble.com. From michel at ziobudda.net Thu Dec 4 16:49:55 2008 From: michel at ziobudda.net (Davide Michel 'ZioBudda' Morelli) Date: Thu, 04 Dec 2008 17:49:55 +0100 Subject: [support] Views2 - filter by "user ref field" = "current logged user" In-Reply-To: <20835876.post@talk.nabble.com> References: <20835876.post@talk.nabble.com> Message-ID: <49380A33.5020403@ziobudda.net> geniekids ha scritto: > I have a cck where one of the field is the user referenced filed (of a > particular role) - the filed name is kids_name > > In D5 i had a view where the filter was set to > kids_name = is one of = "currently logged in user" > > This meant that when the user logged in - he or she could only see records > pertaining to him or her (as the view filtered it matching the kids_name > filed with currently logged in user field) > > Now i am in Drupal6.6 with Views2 and i can;t find a way to do it. > If in filter i select the [content] = "kids_name" - then i only get the list > of names to filter by - i do not get the option of filter by currently > logged in user. > User: Current Filter the view to the currently logged in user. 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 ratadi2 at gmail.com Thu Dec 4 17:24:49 2008 From: ratadi2 at gmail.com (geniekids) Date: Thu, 4 Dec 2008 09:24:49 -0800 (PST) Subject: [support] Views2 - filter by "user ref field" = "current logged user" In-Reply-To: <49380A33.5020403@ziobudda.net> References: <20835876.post@talk.nabble.com> <49380A33.5020403@ziobudda.net> Message-ID: <20838186.post@talk.nabble.com> Hi I am not sure i understood your guidelines or you understood my requirement. Davide Michel wrote: > User: Current > Filter the view to the currently logged in user. This setting is supposed to show the nodes created by the user (which is not my case). The user is NOT creating any nodes. This CCK node has one field where somebody is entering one of the user name Let e explain the scenario. we are a school. so the teacher goes into this cck called kids_observations. She chooses the Kids_name (from a list of users) and enters her observation about that kids. She does it for all the kids in her class. The kid (as a user) is now supposed to log in - and i want the view to automatically FILTER the observations by his or her (user) name. So the kids_name field should match the currently user. By using "User: Current" filter i only get the option of getting nodes created by that user. How do i match a user referenced field (in CCK) to match with currently logged in user_name i used to get this option in drupal5 with views1 can;t locate in Views2 pl help ratnesh Davide Michel 'ZioBudda' Morelli wrote: > > geniekids ha scritto: >> I have a cck where one of the field is the user referenced filed (of a >> particular role) - the filed name is kids_name >> >> In D5 i had a view where the filter was set to >> kids_name = is one of = "currently logged in user" >> >> This meant that when the user logged in - he or she could only see >> records >> pertaining to him or her (as the view filtered it matching the kids_name >> filed with currently logged in user field) >> >> Now i am in Drupal6.6 with Views2 and i can;t find a way to do it. >> If in filter i select the [content] = "kids_name" - then i only get the >> list >> of names to filter by - i do not get the option of filter by currently >> logged in user. >> > User: Current > Filter the view to the currently logged in user. > > > 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 > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > -- View this message in context: http://www.nabble.com/Views2---filter-by-%22user-ref-field%22-%3D-%22current-logged-user%22-tp20835876p20838186.html Sent from the Drupal - Support mailing list archive at Nabble.com. From michel at ziobudda.net Fri Dec 5 09:11:10 2008 From: michel at ziobudda.net (Davide Michel 'ZioBudda' Morelli) Date: Fri, 05 Dec 2008 10:11:10 +0100 Subject: [support] D6: Anonimous comment are not displaied Message-ID: <4938F02E.50709@ziobudda.net> Hi all. I have this strange problem with my drupal 6 installation (www.ziodrupal.net): anonymous comment are not displayed. Anonymous can send comment and comment are writer to DB (I can see it in the comments and node_comment_statistics tables), but not displayed in the node's page. I have checked the permission and seems correct to me. If you see this page: http://www.ziodrupal.net/links/prova-di-inserimento.html You can see "2 comments in reply to prova di inserimento" and infact in the db there are 2 comments, but only the one of "admin" user is displayed. I have tried with my theme and with "garland" theme, but the results is the same. Any help is welcome. 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 michel at ziobudda.net Fri Dec 5 09:14:55 2008 From: michel at ziobudda.net (Davide Michel 'ZioBudda' Morelli) Date: Fri, 05 Dec 2008 10:14:55 +0100 Subject: [support] D6: Anonimous comment are not displaied In-Reply-To: <4938F02E.50709@ziobudda.net> References: <4938F02E.50709@ziobudda.net> Message-ID: <4938F10F.5040600@ziobudda.net> Davide Michel 'ZioBudda' Morelli ha scritto: > Hi all. I have this strange problem with my drupal 6 installation > (www.ziodrupal.net): anonymous comment are not displayed. > Anonymous can send comment and comment are writer to DB (I can see it in > the comments and node_comment_statistics tables), but not displayed in > the node's page. > I have checked the permission and seems correct to me. If you see this > page: > > http://www.ziodrupal.net/links/prova-di-inserimento.html > > You can see "2 comments in reply to prova di inserimento" and infact in > the db there are 2 comments, but only the one of "admin" user is > displayed. I have tried with my theme and with "garland" theme, but the > results is the same. > > Any help is welcome. > > M. > > One more thing: this site is an upgrade from D5.11 to D6. 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 simone.dalmaso at juvox.it Fri Dec 5 09:31:07 2008 From: simone.dalmaso at juvox.it (Simone Dal Maso) Date: Fri, 5 Dec 2008 10:31:07 +0100 Subject: [support] D6: Anonimous comment are not displaied References: <4938F02E.50709@ziobudda.net> Message-ID: <002f01c956bc$33ea4000$06000a0a@csa> but anything I write I receive the "comment field is required"... and that is very strange. ----- Original Message ----- From: "Davide Michel 'ZioBudda' Morelli" To: Sent: Friday, December 05, 2008 10:11 AM Subject: [support] D6: Anonimous comment are not displaied > Hi all. I have this strange problem with my drupal 6 installation > (www.ziodrupal.net): anonymous comment are not displayed. > Anonymous can send comment and comment are writer to DB (I can see it in > the comments and node_comment_statistics tables), but not displayed in > the node's page. > I have checked the permission and seems correct to me. If you see this > page: > > http://www.ziodrupal.net/links/prova-di-inserimento.html > > You can see "2 comments in reply to prova di inserimento" and infact in > the db there are 2 comments, but only the one of "admin" user is > displayed. I have tried with my theme and with "garland" theme, but the > results is the same. > > Any help is welcome. > > 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 > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From michel at ziobudda.net Fri Dec 5 09:55:28 2008 From: michel at ziobudda.net (Davide Michel 'ZioBudda' Morelli) Date: Fri, 05 Dec 2008 10:55:28 +0100 Subject: [support] D6: Anonimous comment are not displaied In-Reply-To: <002f01c956bc$33ea4000$06000a0a@csa> References: <4938F02E.50709@ziobudda.net> <002f01c956bc$33ea4000$06000a0a@csa> Message-ID: <4938FA90.7070201@ziobudda.net> Simone Dal Maso ha scritto: > but anything I write I receive the "comment field is required"... > and that is very strange. > > I have disabled all not necessary module (fck, blog, devel, admin menu, ...) but nothing has changed. Any help ? 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 shai at content2zero.com Fri Dec 5 15:02:40 2008 From: shai at content2zero.com (Shai Gluskin) Date: Fri, 5 Dec 2008 10:02:40 -0500 Subject: [support] D6: Anonimous comment are not displaied In-Reply-To: <4938FA90.7070201@ziobudda.net> References: <4938F02E.50709@ziobudda.net> <002f01c956bc$33ea4000$06000a0a@csa> <4938FA90.7070201@ziobudda.net> Message-ID: <9f68efb70812050702l67bf85e4hef8ca00b6a88f924@mail.gmail.com> Have you: Rebuilt permissions at: example/admin/content/node-settings I know this probably isn't it but, in case you missed noticing that viewing comments and posting them are two different permissions... example.com/admin/user/permissions Seems like something is weird... have you done stuff at he db level like "repairing database" and "optimizing" tables. Also, when I run into "weird" stuff, I always empty out ("truncate") all the rows in the "sessions" table in addition to emptying all cache tables. I'm definitely shooting darts in the dark, maybe someone else can think of better stuff, but... Shai On Fri, Dec 5, 2008 at 4:55 AM, Davide Michel 'ZioBudda' Morelli < michel at ziobudda.net> wrote: > Simone Dal Maso ha scritto: > > but anything I write I receive the "comment field is required"... > > and that is very strange. > > > > > I have disabled all not necessary module (fck, blog, devel, admin menu, > ...) but nothing has changed. > Any help ? > > 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 > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081205/46432c2b/attachment-0001.htm From killshot91 at comcast.net Fri Dec 5 21:24:38 2008 From: killshot91 at comcast.net (Steve Edwards) Date: Fri, 05 Dec 2008 13:24:38 -0800 Subject: [support] Unable to login to site or add products to cart in IE6 Message-ID: <49399C16.4060501@comcast.net> As do most of you, I have a deep and abiding love for IE6, and this issue just deepens that love. For some reason, I am unable to add products to my cart (using Ubercart) or even sign in to my account in IE6 (all things I can do just fine in IE7, FF, Safari, Opera, and any other browser known to man). When I try to log in, I just get the "Access denied - You are not authorized to access this page" message. When I try to add a product to my cart, it just displays the "There are no products in your shopping cart" message. I've looked at settings in IE6 and can't see anything that would prohibit this, such as cookies being blocked. Based on some suggestions from IRC last night, I tried using a different theme and enabling CSS aggregation, but that didn't make a difference. Does anybody have any idea as to what would cause this? Thanks. From thummel at email.arizona.edu Fri Dec 5 21:29:43 2008 From: thummel at email.arizona.edu (Tracey Hummel) Date: Fri, 5 Dec 2008 14:29:43 -0700 Subject: [support] Unable to login to site or add products to cart in IE6 In-Reply-To: <49399C16.4060501@comcast.net> References: <49399C16.4060501@comcast.net> Message-ID: <20081205142943.juu8ksgccs0oosg4@www.email.arizona.edu> I had problems logging in using IE6 (but no other type of browser) when my domain name contained an underscore character. I got rid of the underscore and it worked. I did not know that underscores where not supposed to be used in a domain name but all browser allow it except IE. Tracey Quoting Steve Edwards : > As do most of you, I have a deep and abiding love for IE6, and this > issue just deepens that love. For some reason, I am unable to add > products to my cart (using Ubercart) or even sign in to my account in > IE6 (all things I can do just fine in IE7, FF, Safari, Opera, and any > other browser known to man). When I try to log in, I just get the > "Access denied - You are not authorized to access this page" message. > When I try to add a product to my cart, it just displays the "There are > no products in your shopping cart" message. I've looked at settings in > IE6 and can't see anything that would prohibit this, such as cookies > being blocked. Based on some suggestions from IRC last night, I tried > using a different theme and enabling CSS aggregation, but that didn't > make a difference. > > Does anybody have any idea as to what would cause this? > > Thanks. > > -- > [ Drupal support list | http://lists.drupal.org/ ] From cjones at partialflow.com Fri Dec 5 21:43:27 2008 From: cjones at partialflow.com (Christopher M. Jones) Date: Fri, 05 Dec 2008 16:43:27 -0500 Subject: [support] Drupal sudo Message-ID: <4939A07F.1040603@partialflow.com> Is there a module that enables me to switch user and / or role without logging out and back in? The one aspect of D development that bugs me most is logging in and out to test permissions settings and whatnot. I looked on drupal.org and didn't see anything. Maybe I missed it. From killshot91 at comcast.net Fri Dec 5 21:50:17 2008 From: killshot91 at comcast.net (Steve Edwards) Date: Fri, 05 Dec 2008 13:50:17 -0800 Subject: [support] Drupal sudo In-Reply-To: <4939A07F.1040603@partialflow.com> References: <4939A07F.1040603@partialflow.com> Message-ID: <4939A219.3050802@comcast.net> Check out the Administration Menu module (http://drupal.org/project/admin_menu). It allows you to switch users without logging out. Steve Christopher M. Jones wrote: > Is there a module that enables me to switch user and / or role without > logging out and back in? The one aspect of D development that bugs me > most is logging in and out to test permissions settings and whatnot. > > I looked on drupal.org and didn't see anything. Maybe I missed it. > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081205/e9a614d6/attachment.htm From nicolast at logis.com.mx Fri Dec 5 21:52:00 2008 From: nicolast at logis.com.mx (Nicolas Tostin) Date: Fri, 5 Dec 2008 15:52:00 -0600 Subject: [support] Drupal sudo References: <4939A07F.1040603@partialflow.com> <4939A219.3050802@comcast.net> Message-ID: <005801c95723$b3e8cc60$b400a8c0@Nikko> http://drupal.org/project/devel also has a block to do this if I remember correctly ----- Original Message ----- From: Steve Edwards To: support at drupal.org Sent: Friday, December 05, 2008 3:50 PM Subject: Re: [support] Drupal sudo Check out the Administration Menu module (http://drupal.org/project/admin_menu). It allows you to switch users without logging out. Steve Christopher M. Jones wrote: Is there a module that enables me to switch user and / or role without logging out and back in? The one aspect of D development that bugs me most is logging in and out to test permissions settings and whatnot. I looked on drupal.org and didn't see anything. Maybe I missed it. ------------------------------------------------------------------------------ -- [ Drupal support list | http://lists.drupal.org/ ] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081205/88191d6d/attachment.htm From mike at mikeyp.net Fri Dec 5 22:10:15 2008 From: mike at mikeyp.net (Michael Prasuhn) Date: Fri, 5 Dec 2008 14:10:15 -0800 Subject: [support] Drupal sudo In-Reply-To: <4939A07F.1040603@partialflow.com> References: <4939A07F.1040603@partialflow.com> Message-ID: The Devel module lets you do that. http://drupal.org/project/devel -Mike On Dec 5, 2008, at 1:43 PM, Christopher M. Jones wrote: > Is there a module that enables me to switch user and / or role without > logging out and back in? The one aspect of D development that bugs me > most is logging in and out to test permissions settings and whatnot. > > I looked on drupal.org and didn't see anything. Maybe I missed it. > -- > [ Drupal support list | http://lists.drupal.org/ ] __________________ Michael Prasuhn mike at mikeyp.net http://mikeyp.net From greg at t2media.com Fri Dec 5 22:16:30 2008 From: greg at t2media.com (Greg Holsclaw) Date: Fri, 5 Dec 2008 14:16:30 -0800 Subject: [support] Drupal sudo In-Reply-To: <005801c95723$b3e8cc60$b400a8c0@Nikko> References: <4939A07F.1040603@partialflow.com> <4939A219.3050802@comcast.net> <005801c95723$b3e8cc60$b400a8c0@Nikko> Message-ID: <003e01c95727$20949800$61bdc800$@com> And lastly, there is http://drupal.org/project/masquerade From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Nicolas Tostin Sent: Friday, December 05, 2008 1:52 PM To: support at drupal.org Subject: Re: [support] Drupal sudo http://drupal.org/project/devel also has a block to do this if I remember correctly ----- Original Message ----- From: Steve Edwards To: support at drupal.org Sent: Friday, December 05, 2008 3:50 PM Subject: Re: [support] Drupal sudo Check out the Administration Menu module (http://drupal.org/project/admin_menu). It allows you to switch users without logging out. Steve Christopher M. Jones wrote: Is there a module that enables me to switch user and / or role without logging out and back in? The one aspect of D development that bugs me most is logging in and out to test permissions settings and whatnot. I looked on drupal.org and didn't see anything. Maybe I missed it. _____ -- [ Drupal support list | http://lists.drupal.org/ ] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081205/dc9780e6/attachment-0001.htm From cpforbes at gmail.com Fri Dec 5 22:50:03 2008 From: cpforbes at gmail.com (Craig Forbes) Date: Fri, 5 Dec 2008 16:50:03 -0600 Subject: [support] Drupal sudo In-Reply-To: <4939A07F.1040603@partialflow.com> References: <4939A07F.1040603@partialflow.com> Message-ID: My decidedly low-tech and non-dupal way of handling this is to use 2 browsers -- Firefox for my admin and Opera or Chrome for my test user. I find this much easier. It also means my admin login doesn't have to leave the admin page to test the results. As an added bonus it works with any web app/framework. -Craig On Fri, Dec 5, 2008 at 3:43 PM, Christopher M. Jones wrote: > Is there a module that enables me to switch user and / or role without > logging out and back in? The one aspect of D development that bugs me > most is logging in and out to test permissions settings and whatnot. > > I looked on drupal.org and didn't see anything. Maybe I missed it. > -- > [ Drupal support list | http://lists.drupal.org/ ] > From georger at depiction.com Fri Dec 5 22:54:04 2008 From: georger at depiction.com (George Rodgers-Clark) Date: Fri, 5 Dec 2008 14:54:04 -0800 Subject: [support] Drupal sudo In-Reply-To: References: <4939A07F.1040603@partialflow.com> Message-ID: <3E34DF2D43A0AA47828FCCC0AC9C579B16D42C@simioserver.Simio.local> I do this, too. Works with any two browsers (I often use IE to see that user experience). :-) George -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Craig Forbes Sent: Friday, December 05, 2008 2:50 PM To: support at drupal.org Subject: Re: [support] Drupal sudo My decidedly low-tech and non-dupal way of handling this is to use 2 browsers -- Firefox for my admin and Opera or Chrome for my test user. I find this much easier. It also means my admin login doesn't have to leave the admin page to test the results. As an added bonus it works with any web app/framework. -Craig On Fri, Dec 5, 2008 at 3:43 PM, Christopher M. Jones wrote: > Is there a module that enables me to switch user and / or role without > logging out and back in? The one aspect of D development that bugs me > most is logging in and out to test permissions settings and whatnot. > > I looked on drupal.org and didn't see anything. Maybe I missed it. > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- [ Drupal support list | http://lists.drupal.org/ ] From pkim at reachlocal.com Fri Dec 5 22:59:45 2008 From: pkim at reachlocal.com (Paul Kim) Date: Fri, 05 Dec 2008 14:59:45 -0800 Subject: [support] Drupal sudo In-Reply-To: <3E34DF2D43A0AA47828FCCC0AC9C579B16D42C@simioserver.Simio.local> References: <4939A07F.1040603@partialflow.com> <3E34DF2D43A0AA47828FCCC0AC9C579B16D42C@simioserver.Simio.local> Message-ID: <4939B261.6020605@reachlocal.com> But sometimes you want to log into that user, without having to know the password. This works especially well when you have a dev->qa->prod workflow environment and you don't want dev accounts on prod. George Rodgers-Clark wrote: > I do this, too. Works with any two browsers (I often use IE to see that > user experience). > :-) George > > -----Original Message----- > From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On > Behalf Of Craig Forbes > Sent: Friday, December 05, 2008 2:50 PM > To: support at drupal.org > Subject: Re: [support] Drupal sudo > > My decidedly low-tech and non-dupal way of handling this is to use 2 > browsers -- Firefox for my admin and Opera or Chrome for my test user. > > I find this much easier. It also means my admin login doesn't have to > leave the admin page to test the results. > > As an added bonus it works with any web app/framework. > > -Craig > > > On Fri, Dec 5, 2008 at 3:43 PM, Christopher M. Jones > wrote: > >> Is there a module that enables me to switch user and / or role without >> logging out and back in? The one aspect of D development that bugs me >> most is logging in and out to test permissions settings and whatnot. >> >> I looked on drupal.org and didn't see anything. Maybe I missed it. >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> >> From michel at ziobudda.net Sat Dec 6 01:02:22 2008 From: michel at ziobudda.net (Davide Michel 'ZioBudda' Morelli) Date: Sat, 06 Dec 2008 02:02:22 +0100 Subject: [support] D6: Anonimous comment are not displaied In-Reply-To: <9f68efb70812050702l67bf85e4hef8ca00b6a88f924@mail.gmail.com> References: <4938F02E.50709@ziobudda.net> <002f01c956bc$33ea4000$06000a0a@csa> <4938FA90.7070201@ziobudda.net> <9f68efb70812050702l67bf85e4hef8ca00b6a88f924@mail.gmail.com> Message-ID: <4939CF1E.2000708@ziobudda.net> Shai Gluskin ha scritto: > Have you: > > Rebuilt permissions at: > example/admin/content/node-settings > > I know this probably isn't it but, in case you missed noticing that > viewing comments and posting them are two different permissions... > example.com/admin/user/permissions > > > Seems like something is weird... have you done stuff at he db level > like "repairing database" and "optimizing" tables. > > Also, when I run into "weird" stuff, I always empty out ("truncate") > all the rows in the "sessions" table in addition to emptying all cache > tables. > > I'm definitely shooting darts in the dark, maybe someone else can > think of better stuff, but... Nope. I have truncated all cache* table and session table without success. Uff... 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081206/50e630a3/attachment.htm From michel at ziobudda.net Sat Dec 6 01:28:21 2008 From: michel at ziobudda.net (Davide Michel 'ZioBudda' Morelli) Date: Sat, 06 Dec 2008 02:28:21 +0100 Subject: [support] SOLVED!!!!!!!!!!!!!!!!!!!! Re: D6: Anonimous comment are not displaied In-Reply-To: <4939CF1E.2000708@ziobudda.net> References: <4938F02E.50709@ziobudda.net> <002f01c956bc$33ea4000$06000a0a@csa> <4938FA90.7070201@ziobudda.net> <9f68efb70812050702l67bf85e4hef8ca00b6a88f924@mail.gmail.com> <4939CF1E.2000708@ziobudda.net> Message-ID: <4939D535.3040904@ziobudda.net> SOLVED SOLVED SOLVED!!!! Do not ask me why but when I upgrade drupal from 5.x to 6.6 the anonimous users go away. Disappared. Vanished. I have found this because I have see the query that extract the comment from db and I have noticed that there is a JOIN on table "users", so I have checked table "users" and ta da.... Tnx to all however. Now I need to setup an antispam module. Mollom ? Correct ? 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 tyfong919 at gmail.com Sat Dec 6 01:39:14 2008 From: tyfong919 at gmail.com (tim fong) Date: Fri, 5 Dec 2008 17:39:14 -0800 Subject: [support] Getting to the Base URL Message-ID: Hi Derek, I posted the code block in. Upon restart of httpd, it returns: Warning: DocumentRoot [/var/www/html/drupal] does not exist Once I have done this, I can no longer see test.html, test.php. It returns a 403/forbidden. Also, /drupal/index.php gives a 403/Forbidden as well. I know that /var/www/html/drupal does exist because I can go there in the terminal window. Thanks, Tim > Message: 3 > Date: Tue, 02 Dec 2008 13:24:15 -0500 > From: Derek Gransaull > Subject: Re: [support] Getting to the Base URL > To: support at drupal.org > Message-ID: <49357D4F.1070300 at dgtlife.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Tim: > > Try a virtual host block that looks like this: > > > DocumentRoot "/var/www/html/drupal" > ServerName drupal.localhost > ServerAlias drupal > > Options Indexes FollowSymLinks MultiViews > AllowOverride FileInfo Limit Options Indexes > Order allow,deny > Allow from all > > > > > Regards, > > Derek > From michel at ziobudda.net Sat Dec 6 02:05:41 2008 From: michel at ziobudda.net (Davide Michel 'ZioBudda' Morelli) Date: Sat, 06 Dec 2008 03:05:41 +0100 Subject: [support] Drupal sudo In-Reply-To: <4939A07F.1040603@partialflow.com> References: <4939A07F.1040603@partialflow.com> Message-ID: <4939DDF5.4040502@ziobudda.net> Christopher M. Jones ha scritto: > Is there a module that enables me to switch user and / or role without > logging out and back in? The one aspect of D development that bugs me > most is logging in and out to test permissions settings and whatnot. > > I looked on drupal.org and didn't see anything. Maybe I missed it. > Only for D5: http://drupal.org/project/join_role_with_password I hope for a Drupal 6 version. 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 derek at dgtlife.com Sat Dec 6 04:24:34 2008 From: derek at dgtlife.com (Derek Gransaull) Date: Fri, 05 Dec 2008 23:24:34 -0500 Subject: [support] Getting to the Base URL In-Reply-To: References: Message-ID: <4939FE82.5050706@dgtlife.com> Tim: Well, a couple of pokes at what seemed obvious did not work. So, I think it would be best if you attached your essential apache config file(s) so they can be analysed in more depth. Strictly speaking, this is not a Drupal issue, but an Apache configuration issue. So it may be somewhat misplaced in this mailing list. Nevertheless, we can continue the indulgence. :-) Regards, Derek tim fong wrote: > Hi Derek, > > I posted the code block in. Upon restart of httpd, it returns: > Warning: DocumentRoot [/var/www/html/drupal] does not exist > > Once I have done this, I can no longer see test.html, test.php. It > returns a 403/forbidden. Also, /drupal/index.php gives a > 403/Forbidden as well. > I know that /var/www/html/drupal does exist because I can go there in > the terminal window. > > Thanks, > Tim > > >> Message: 3 >> Date: Tue, 02 Dec 2008 13:24:15 -0500 >> From: Derek Gransaull >> Subject: Re: [support] Getting to the Base URL >> To: support at drupal.org >> Message-ID: <49357D4F.1070300 at dgtlife.com> >> Content-Type: text/plain; charset=ISO-8859-1 >> >> Tim: >> >> Try a virtual host block that looks like this: >> >> >> DocumentRoot "/var/www/html/drupal" >> ServerName drupal.localhost >> ServerAlias drupal >> >> Options Indexes FollowSymLinks MultiViews >> AllowOverride FileInfo Limit Options Indexes >> Order allow,deny >> Allow from all >> >> >> >> >> Regards, >> >> Derek >> >> From tonyc at boldfish.co.uk Sat Dec 6 10:49:41 2008 From: tonyc at boldfish.co.uk (Tony Crockford) Date: Sat, 6 Dec 2008 10:49:41 +0000 Subject: [support] spam? Message-ID: I regularly get these: zlmafgbcfa sent a message using the contact form at http://www.workalone.co.uk/contact . UPg7R6 uhduypepbxzs, [url=http://vqzynqgrgnym.com/ ]vqzynqgrgnym[/url], [link=http://xnxxterbeogm.com/]xnxxterbeogm[/ link], http://jopblpdvuamw.com/ obviously the random letters change. is it a spam bot? or something broken? TIA for your thoughts From simone.dalmaso at juvox.it Sat Dec 6 10:57:43 2008 From: simone.dalmaso at juvox.it (Simone Dal Maso) Date: Sat, 6 Dec 2008 11:57:43 +0100 Subject: [support] spam? References: Message-ID: in my opinion it is spam. use the captcha module and you are ok. ----- Original Message ----- From: "Tony Crockford" To: Sent: Saturday, December 06, 2008 11:49 AM Subject: [support] spam? >I regularly get these: > > zlmafgbcfa sent a message using the contact form at > http://www.workalone.co.uk/contact > . > > UPg7R6 uhduypepbxzs, > [url=http://vqzynqgrgnym.com/ > ]vqzynqgrgnym[/url], [link=http://xnxxterbeogm.com/]xnxxterbeogm[/ > link], http://jopblpdvuamw.com/ > > obviously the random letters change. > > is it a spam bot? > > or something broken? > > TIA for your thoughts > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From forums at ipwa.net Sat Dec 6 11:06:56 2008 From: forums at ipwa.net (Nicolas Borda) Date: Sat, 6 Dec 2008 11:06:56 +0000 Subject: [support] spam? In-Reply-To: References: Message-ID: <7A68F358-2A82-4EB1-AB0A-3E19D0F0C550@ipwa.net> On 6 Dec 2008, at 10:49, Tony Crockford wrote: > I regularly get these: > > zlmafgbcfa sent a message using the contact form at http:// > www.workalone.co.uk/contact > . > > UPg7R6 uhduypepbxzs, > [url=http://vqzynqgrgnym.com/ > ]vqzynqgrgnym[/url], [link=http://xnxxterbeogm.com/]xnxxterbeogm[/ > link], http://jopblpdvuamw.com/ > > obviously the random letters change. > > is it a spam bot? > > or something broken? > > TIA for your thoughts I'd suggest using Mollom: http://drupal.org/project/mollom I used to get so many spam messages in my comments approval list, using Mollom I get none. Nicolas From sivaji2009 at gmail.com Sat Dec 6 11:18:25 2008 From: sivaji2009 at gmail.com (sivaji j.g) Date: Sat, 6 Dec 2008 16:48:25 +0530 Subject: [support] spam? In-Reply-To: <7A68F358-2A82-4EB1-AB0A-3E19D0F0C550@ipwa.net> References: <7A68F358-2A82-4EB1-AB0A-3E19D0F0C550@ipwa.net> Message-ID: > I used to get so many spam messages in my comments > approval list, using Mollom I get none. but make sure that it does not irritates genuine users by blocking their features/privillages , i hate writing posts on groups.drupal.org because it often triggers spam controller and blocks me from submitting my posts there. -- Thanks a lot ----------------------------------------- http://ubuntuslave.blogspot.com/ From joinkemel at yahoo.de Sat Dec 6 13:30:19 2008 From: joinkemel at yahoo.de (jo) Date: Sat, 6 Dec 2008 13:30:19 +0000 (GMT) Subject: [support] unable to install views properly Message-ID: <881491.67408.qm@web28601.mail.ukl.yahoo.com> hello again, next problem, next chance :-) i had now a dozen tries to install and deinstall the views-module in drupal 6.6 with many different ways - just deleting the folder (maybe not that good..), deactivating it and deleting the folder, removing it in the databse, installing it again and deinstall it with the deinstalltion-routine in the modules-area - but everytime i end up with these problems: - activating the views-module hangs indefinitly at "import of the surface-translation" <--(which is a direct translation from german to english, i don't know how this is called in the original english-surface) refreshing the site brings me back to the homepage and i have to log-in again. the views-module is now activated, but it is impossible to activate views_UI: trying it with /admin/build/modules says "site not reachable" and doesn't activate it, and when i activate it with phpmyadmin, i am no longer possible to reach /admin/build/modules.. any ideas? :-jo From 54teaman at gmail.com Sat Dec 6 14:27:07 2008 From: 54teaman at gmail.com (chen teaman) Date: Sat, 6 Dec 2008 22:27:07 +0800 Subject: [support] what will return of node_get_types('type', $node) Message-ID: <7efcad5a0812060627t943d4a0mf33e622e70b393bf@mail.gmail.com> what`s the return value of the funaction node_get_types('type', $node)? an object ,array or string? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081206/c6739b63/attachment.htm From emma.badger at chocolateteapot.net Sat Dec 6 14:38:56 2008 From: emma.badger at chocolateteapot.net (Emma Badger) Date: Sat, 6 Dec 2008 14:38:56 +0000 Subject: [support] Drupal 6 admin menus not saving Message-ID: <201C041A-051B-4C95-88E8-286BD40DE32A@chocolateteapot.net> I have a copy of Drupal on the web and a local copy which is a copy of the code and the database. The local copy seems ok, but the web copy won't save changes to menus. There are no error messages, nothing in the log, the menu just reloads as it was, without the changes. This is the first time I've made changes to the menu, so I don't know if it every worked. I'm new to Drupal so I don't even know where to start looking. Any help would be appreciated. Thanks From emma.badger at chocolateteapot.net Sat Dec 6 15:09:40 2008 From: emma.badger at chocolateteapot.net (Emma Badger) Date: Sat, 6 Dec 2008 15:09:40 +0000 Subject: [support] Limit a sidebar menu to appearing on certain pages Message-ID: I've created a custom content (business directory) that utilises the taxonomy menu and I've created a page called Business Directory which is in the primary menu. I'd like the business directory taxonomy menu only to appear on the new business directory page and of course the pages that display the business directory entries. http://lechladeonline.co.uk/ Can someone point me in the right direction please? Thanks. From skessler at denverdataman.com Sat Dec 6 15:19:18 2008 From: skessler at denverdataman.com (Steve Kessler) Date: Sat, 6 Dec 2008 08:19:18 -0700 Subject: [support] Limit a sidebar menu to appearing on certain pages In-Reply-To: References: Message-ID: <000001c957b6$0291be20$07b53a60$@com> If you go to the Blocks Admin (/admin/build/block) then you can press the configure button for the specific block. You will see display settings and you can set it to only display for and then give it a path. For example biz_directory/*. I use the Pathauto module (http://www.drupal.org/project/pathauto) to give specific content types specific paths so I can use them for block visibility. I hope this helps. -Steve Steve Kessler Denver DataMan 303-587-4428 -----Original Message----- From: Emma Badger [mailto:emma.badger at chocolateteapot.net] Sent: Saturday, December 06, 2008 8:10 AM To: support at drupal.org Subject: [support] Limit a sidebar menu to appearing on certain pages I've created a custom content (business directory) that utilises the taxonomy menu and I've created a page called Business Directory which is in the primary menu. I'd like the business directory taxonomy menu only to appear on the new business directory page and of course the pages that display the business directory entries. http://lechladeonline.co.uk/ Can someone point me in the right direction please? Thanks. -- [ Drupal support list | http://lists.drupal.org/ ] From emma.badger at chocolateteapot.net Sat Dec 6 17:51:18 2008 From: emma.badger at chocolateteapot.net (Emma Badger) Date: Sat, 6 Dec 2008 17:51:18 +0000 Subject: [support] Limit a sidebar menu to appearing on certain pages In-Reply-To: <000001c957b6$0291be20$07b53a60$@com> References: <000001c957b6$0291be20$07b53a60$@com> Message-ID: Thanks very much, I'll try that. On 6 Dec 2008, at 15:19, Steve Kessler wrote: > If you go to the Blocks Admin (/admin/build/block) then you can > press the > configure button for the specific block. You will see display > settings and > you can set it to only display for and then give it a path. For > example > biz_directory/*. I use the Pathauto module > (http://www.drupal.org/project/pathauto) to give specific content > types > specific paths so I can use them for block visibility. I hope this > helps. > > -Steve > > Steve Kessler > Denver DataMan > 303-587-4428 > > > > -----Original Message----- > From: Emma Badger [mailto:emma.badger at chocolateteapot.net] > Sent: Saturday, December 06, 2008 8:10 AM > To: support at drupal.org > Subject: [support] Limit a sidebar menu to appearing on certain pages > > I've created a custom content (business directory) that utilises the > taxonomy menu and I've created a page called Business Directory which > is in the primary menu. > > I'd like the business directory taxonomy menu only to appear on the > new business directory page and of course the pages that display the > business directory entries. > > http://lechladeonline.co.uk/ > > Can someone point me in the right direction please? > > Thanks. > -- > [ Drupal support list | http://lists.drupal.org/ ] > > -- > [ Drupal support list | http://lists.drupal.org/ ] From dan at karran.net Sat Dec 6 18:44:12 2008 From: dan at karran.net (Dan Karran) Date: Sat, 6 Dec 2008 13:44:12 -0500 Subject: [support] what will return of node_get_types('type', $node) In-Reply-To: <7efcad5a0812060627t943d4a0mf33e622e70b393bf@mail.gmail.com> References: <7efcad5a0812060627t943d4a0mf33e622e70b393bf@mail.gmail.com> Message-ID: <37d514850812061044i2b339972s1ef7947e7a4068f@mail.gmail.com> On Sat, Dec 6, 2008 at 9:27 AM, chen teaman <54teaman at gmail.com> wrote: > what`s the return value of the funaction node_get_types('type', $node)? > an object ,array or string? According to the API documentation, it returns either an array or a string, but with the 'type' parameter specified for $op as you have, then it'd be a string. See http://api.drupal.org/api/function/node_get_types for more information. The API site is a great reference for this kind of thing. Regards, Dan -- Dan Karran dan at karran.net www.dankarran.com From sivaji2009 at gmail.com Sat Dec 6 18:48:43 2008 From: sivaji2009 at gmail.com (sivaji j.g) Date: Sun, 7 Dec 2008 00:18:43 +0530 Subject: [support] what will return of node_get_types('type', $node) In-Reply-To: <7efcad5a0812060627t943d4a0mf33e622e70b393bf@mail.gmail.com> References: <7efcad5a0812060627t943d4a0mf33e622e70b393bf@mail.gmail.com> Message-ID: On Sat, Dec 6, 2008 at 7:57 PM, chen teaman <54teaman at gmail.com> wrote: > what`s the return value of the funaction node_get_types('type', $node)? > an object ,array or string? it will return an array of content/node types like blog,page,story > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Thanks a lot ----------------------------------------- http://ubuntuslave.blogspot.com/ From earnie at users.sourceforge.net Sun Dec 7 01:40:21 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Sat, 06 Dec 2008 20:40:21 -0500 Subject: [support] Drupal sudo In-Reply-To: <4939B261.6020605@reachlocal.com> References: <4939A07F.1040603@partialflow.com> <3E34DF2D43A0AA47828FCCC0AC9C579B16D42C@simioserver.Simio.local> <4939B261.6020605@reachlocal.com> Message-ID: <20081206204021.vq3oodoys1b4ocso@mail.progw.org> Quoting Paul Kim : > But sometimes you want to log into that user, without having to know the > password. > > This works especially well when you have a dev->qa->prod workflow > environment and you don't want dev accounts on prod. > > George Rodgers-Clark wrote: >> I do this, too. Works with any two browsers (I often use IE to see that >> user experience). >> :-) George >> >> -----Original Message----- >> From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On >> Behalf Of Craig Forbes >> Sent: Friday, December 05, 2008 2:50 PM >> To: support at drupal.org >> Subject: Re: [support] Drupal sudo >> >> My decidedly low-tech and non-dupal way of handling this is to use 2 >> browsers -- Firefox for my admin and Opera or Chrome for my test user. >> >> I find this much easier. It also means my admin login doesn't have to >> leave the admin page to test the results. >> >> As an added bonus it works with any web app/framework. >> >> -Craig >> You can use the same browser as long as you have two paths to the same Drupal instance with different cookies. I often do that in development just to have an anonymous, an authenticated and an admin open at once. -- Earnie http://r-feed.com Make a Drupal difference and review core patches. -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From georgedamonkey at gmail.com Sun Dec 7 14:12:37 2008 From: georgedamonkey at gmail.com (Jody Cleveland) Date: Sun, 7 Dec 2008 08:12:37 -0600 Subject: [support] can't reorder blocks after upgrade from 5 to 6 Message-ID: I recently upgraded from Drupal 5.12 to 6.6 and now I'm unable to rearrange block order. I click and drag blocks to where I want them, and as soon as I save it reverts back to the way it was. I tried a new site within drupal 6, and that works fine so I'm pretty sure it has something to do with the upgrade. Any ideas what may be wrong? - jody From shai at content2zero.com Sun Dec 7 14:50:44 2008 From: shai at content2zero.com (Shai Gluskin) Date: Sun, 7 Dec 2008 09:50:44 -0500 Subject: [support] can't reorder blocks after upgrade from 5 to 6 In-Reply-To: References: Message-ID: <9f68efb70812070650hfba2d67md71d7c68414c129e@mail.gmail.com> Jody and gang, I'd recommend going into the db itself (via phpMyAdmin or the command line or another tool, whatever) and check on the weight field in the blocks table. >From what I understand, the sort order of blocks on the back end hasn't really changed with 6; it's only the front end that has changed. You might want to truncate (delete) all the data in that table and start over. Since that is a required field that doesn't except "NULL" and has a default of "0," it will reset all the weights for all blocks to 0. If you've got a gazillion blocks and maybe different settings for different themes, you might not want to do that. In that case, I'd try just changing the weights of just the blocks you want to re-order directly in the db and see if you get the results you want. Of course, you should back up your db before fussing like this. Report back, Shai On Sun, Dec 7, 2008 at 9:12 AM, Jody Cleveland wrote: > I recently upgraded from Drupal 5.12 to 6.6 and now I'm unable to > rearrange block order. I click and drag blocks to where I want them, > and as soon as I save it reverts back to the way it was. I tried a new > site within drupal 6, and that works fine so I'm pretty sure it has > something to do with the upgrade. > > Any ideas what may be wrong? > > - jody > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081207/8b3cd871/attachment.htm From earnie at users.sourceforge.net Sun Dec 7 17:35:04 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Sun, 07 Dec 2008 12:35:04 -0500 Subject: [support] can't reorder blocks after upgrade from 5 to 6 In-Reply-To: References: Message-ID: <20081207123504.92l87rrtuogssc0w@mail.progw.org> Quoting Jody Cleveland : > I recently upgraded from Drupal 5.12 to 6.6 and now I'm unable to > rearrange block order. I click and drag blocks to where I want them, > and as soon as I save it reverts back to the way it was. I tried a new > site within drupal 6, and that works fine so I'm pretty sure it has > something to do with the upgrade. > > Any ideas what may be wrong? > Data caches? Try truncating the cache and session tables. Try looking at the result in a different browser. -- Earnie http://r-feed.com Make a Drupal difference and review core patches. -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From jp.stacey at torchbox.com Mon Dec 8 09:54:19 2008 From: jp.stacey at torchbox.com (J-P Stacey) Date: Mon, 08 Dec 2008 09:54:19 +0000 Subject: [support] can't reorder blocks after upgrade from 5 to 6 In-Reply-To: References: Message-ID: <493CEECB.1020807@torchbox.com> Hi, > I recently upgraded from Drupal 5.12 to 6.6 and now I'm unable to > rearrange block order. I click and drag blocks to where I want them, > and as soon as I save it reverts back to the way it was. We've had some problems with the themes not being explicitly enabled on (among others) D5->D6 sites: when you go into themes, the radio button for the current one is selected, but none of the checkboxes are! However, this gives us a weird perms error on the Blocks page, rather than simply failing silently. But check the theme you want to use is definitely enabled. Cheers, J-P From georgedamonkey at gmail.com Mon Dec 8 13:46:26 2008 From: georgedamonkey at gmail.com (Jody Cleveland) Date: Mon, 8 Dec 2008 07:46:26 -0600 Subject: [support] can't reorder blocks after upgrade from 5 to 6 In-Reply-To: <9f68efb70812070650hfba2d67md71d7c68414c129e@mail.gmail.com> References: <9f68efb70812070650hfba2d67md71d7c68414c129e@mail.gmail.com> Message-ID: Thanks! That worked perfectly. Far from ideal, but doable. I had cleared all caches after the upgrade, made sure my theme was enabled, and most blocks were behaving. But, a few weren't. When looking in the database, I noticed that a bunch were at '10' which I'm guessing the ones I was having problems with were reverting to alphabetical since they were all ten. So, I manually put in numbers that were higher and that took. - jody On Dec 7, 2008, at 8:50 AM, Shai Gluskin wrote: > Jody and gang, > > I'd recommend going into the db itself (via phpMyAdmin or the > command line or another tool, whatever) and check on the weight > field in the blocks table. > > From what I understand, the sort order of blocks on the back end > hasn't really changed with 6; it's only the front end that has > changed. > > You might want to truncate (delete) all the data in that table and > start over. Since that is a required field that doesn't except > "NULL" and has a default of "0," it will reset all the weights for > all blocks to 0. If you've got a gazillion blocks and maybe > different settings for different themes, you might not want to do > that. > > In that case, I'd try just changing the weights of just the blocks > you want to re-order directly in the db and see if you get the > results you want. > > Of course, you should back up your db before fussing like this. > > Report back, > > Shai > > > > On Sun, Dec 7, 2008 at 9:12 AM, Jody Cleveland > wrote: > I recently upgraded from Drupal 5.12 to 6.6 and now I'm unable to > rearrange block order. I click and drag blocks to where I want them, > and as soon as I save it reverts back to the way it was. I tried a new > site within drupal 6, and that works fine so I'm pretty sure it has > something to do with the upgrade. > > Any ideas what may be wrong? > > - jody > -- > [ Drupal support list | http://lists.drupal.org/ ] > > -- > [ Drupal support list | http://lists.drupal.org/ ] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081208/a2fd6a9b/attachment-0001.htm From sales at idealcctv.co.uk Mon Dec 8 14:10:12 2008 From: sales at idealcctv.co.uk (Torben Vanselow) Date: Mon, 8 Dec 2008 14:10:12 -0000 Subject: [support] spam? In-Reply-To: References: Message-ID: <001501c9593e$b1270a60$13751f20$@co.uk> Dear Tony, I get very similar fake submissions from my enquiry form, Additionally I had very similar forum postings, which I had to delete hourly until I finally changed the permissions. I am suspecting some competitor. Or have you ever used a link-building service and not paid them due to violation of terms? I am trying to find out who they are - Any hints welcome! Kind Regards, Mr. Torben C.F. Vanselow Executive Sales Manager - Ideal CCTV T: 0800 043 27 40 F: 0800 066 40 49 E: management at idealcctv.co.uk W: http://www.idealcctv.co.uk -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Tony Crockford Sent: 06 December 2008 10:50 To: support at drupal.org Subject: [support] spam? I regularly get these: zlmafgbcfa sent a message using the contact form at http://www.workalone.co.uk/contact . UPg7R6 uhduypepbxzs, [url=http://vqzynqgrgnym.com/ ]vqzynqgrgnym[/url], [link=http://xnxxterbeogm.com/]xnxxterbeogm[/ link], http://jopblpdvuamw.com/ obviously the random letters change. is it a spam bot? or something broken? TIA for your thoughts -- [ Drupal support list | http://lists.drupal.org/ ] From william.darren at gmail.com Mon Dec 8 14:09:49 2008 From: william.darren at gmail.com (William Smith) Date: Mon, 8 Dec 2008 09:09:49 -0500 Subject: [support] spam? In-Reply-To: <001501c9593e$b1270a60$13751f20$@co.uk> References: <001501c9593e$b1270a60$13751f20$@co.uk> Message-ID: <74630ca20812080609y26ca7174rb185d43e82b3cec6@mail.gmail.com> Everyone gets these, and the volume gets worse as time goes on and botnets and such grow larger. They are just spambots, it is not anyone targetting you. Without adding CAPTCHA, or Mollum, or Akismet, or any of the other tools available to block automated submissions, you will eventually drown in the spam. On Mon, Dec 8, 2008 at 9:10 AM, Torben Vanselow wrote: > Dear Tony, > > I get very similar fake submissions from my enquiry form, > > Additionally I had very similar forum postings, which I had to delete > hourly > until I finally changed the permissions. > > I am suspecting some competitor. Or have you ever used a link-building > service and not paid them due to violation of terms? > > I am trying to find out who they are - Any hints welcome! > > Kind Regards, > > Mr. Torben C.F. Vanselow > Executive Sales Manager - Ideal CCTV > > T: 0800 043 27 40 > F: 0800 066 40 49 > E: management at idealcctv.co.uk > W: http://www.idealcctv.co.uk > > -----Original Message----- > From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On > Behalf Of Tony Crockford > Sent: 06 December 2008 10:50 > To: support at drupal.org > Subject: [support] spam? > > I regularly get these: > > zlmafgbcfa sent a message using the contact form at > http://www.workalone.co.uk/contact > . > > UPg7R6 uhduypepbxzs, > [url=http://vqzynqgrgnym.com/ > ]vqzynqgrgnym[/url], [link=http://xnxxterbeogm.com/]xnxxterbeogm[/ > link], http://jopblpdvuamw.com/ > > obviously the random letters change. > > is it a spam bot? > > or something broken? > > TIA for your thoughts > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081208/440d28c4/attachment.htm From allen at centernetworks.com Mon Dec 8 14:10:22 2008 From: allen at centernetworks.com (Allen Stern) Date: Mon, 08 Dec 2008 09:10:22 -0500 Subject: [support] spam? In-Reply-To: <001501c9593e$b1270a60$13751f20$@co.uk> References: <001501c9593e$b1270a60$13751f20$@co.uk> Message-ID: <493D2ACE.8070806@centernetworks.com> I get hundreds of these a day - i cant tell if its a bot because they choose different categories in the subject each time. It's too bad Mollom can't tie into this form. Torben Vanselow wrote: > Dear Tony, > > I get very similar fake submissions from my enquiry form, > > Additionally I had very similar forum postings, which I had to delete hourly > until I finally changed the permissions. > > I am suspecting some competitor. Or have you ever used a link-building > service and not paid them due to violation of terms? > > I am trying to find out who they are - Any hints welcome! > > Kind Regards, > > Mr. Torben C.F. Vanselow > Executive Sales Manager - Ideal CCTV > > T: 0800 043 27 40 > F: 0800 066 40 49 > E: management at idealcctv.co.uk > W: http://www.idealcctv.co.uk > > -----Original Message----- > From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On > Behalf Of Tony Crockford > Sent: 06 December 2008 10:50 > To: support at drupal.org > Subject: [support] spam? > > I regularly get these: > > zlmafgbcfa sent a message using the contact form at > http://www.workalone.co.uk/contact > . > > UPg7R6 uhduypepbxzs, > [url=http://vqzynqgrgnym.com/ > ]vqzynqgrgnym[/url], [link=http://xnxxterbeogm.com/]xnxxterbeogm[/ > link], http://jopblpdvuamw.com/ > > obviously the random letters change. > > is it a spam bot? > > or something broken? > > TIA for your thoughts > > -- Allen Stern - CenterNetworks http://www.centernetworks.com Have you subscribed to our RSS Feed? http://feeds.feedburner.com/Centernetworks- Press release service: http://www.centernetworks.com/pressreleases Post your job openings: http://www.centernetworks.com/job-posting-info From sales at idealcctv.co.uk Mon Dec 8 14:31:24 2008 From: sales at idealcctv.co.uk (Torben Vanselow) Date: Mon, 8 Dec 2008 14:31:24 -0000 Subject: [support] spam? In-Reply-To: <74630ca20812080609y26ca7174rb185d43e82b3cec6@mail.gmail.com> References: <001501c9593e$b1270a60$13751f20$@co.uk> <74630ca20812080609y26ca7174rb185d43e82b3cec6@mail.gmail.com> Message-ID: <001f01c95941$a76ec2d0$f64c4870$@co.uk> Many thanks! Kind Regards, Mr. Torben C.F. Vanselow Executive Sales Manager - Ideal CCTV T: 0800 043 27 40 F: 0800 066 40 49 E: management at idealcctv.co.uk W: http://www.idealcctv.co.uk From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of William Smith Sent: 08 December 2008 14:10 To: support at drupal.org Subject: Re: [support] spam? Everyone gets these, and the volume gets worse as time goes on and botnets and such grow larger. They are just spambots, it is not anyone targetting you. Without adding CAPTCHA, or Mollum, or Akismet, or any of the other tools available to block automated submissions, you will eventually drown in the spam. On Mon, Dec 8, 2008 at 9:10 AM, Torben Vanselow wrote: Dear Tony, I get very similar fake submissions from my enquiry form, Additionally I had very similar forum postings, which I had to delete hourly until I finally changed the permissions. I am suspecting some competitor. Or have you ever used a link-building service and not paid them due to violation of terms? I am trying to find out who they are - Any hints welcome! Kind Regards, Mr. Torben C.F. Vanselow Executive Sales Manager - Ideal CCTV T: 0800 043 27 40 F: 0800 066 40 49 E: management at idealcctv.co.uk W: http://www.idealcctv.co.uk -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Tony Crockford Sent: 06 December 2008 10:50 To: support at drupal.org Subject: [support] spam? I regularly get these: zlmafgbcfa sent a message using the contact form at http://www.workalone.co.uk/contact . UPg7R6 uhduypepbxzs, [url=http://vqzynqgrgnym.com/ ]vqzynqgrgnym[/url], [link=http://xnxxterbeogm.com/]xnxxterbeogm[/ link], http://jopblpdvuamw.com/ obviously the random letters change. is it a spam bot? or something broken? TIA for your thoughts -- [ Drupal support list | http://lists.drupal.org/ ] -- [ Drupal support list | http://lists.drupal.org/ ] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081208/e2cab55d/attachment.htm From roy at panix.com Mon Dec 8 15:11:23 2008 From: roy at panix.com (Roy Smith) Date: Mon, 8 Dec 2008 10:11:23 -0500 Subject: [support] Turning off automatic line breaking Message-ID: <1D0D0BD0-BC37-41DC-93EC-0CBFA97B6546@panix.com> Is there any way to turn off the line-breaking part of the "Lines and paragraphs break automatically" feature? I often copy-and-paste text from sources which into drupal edit boxes and having it turn all the returns into br tags is a pain. Most of the time, what I'd like to see is all single returns turned into a single space and all multiple returns (i.e. blank lines) turned into paragraph breaks. ---------------- Roy Smith roy at panix.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081208/68c0f9fe/attachment-0001.htm From fredthejonester at gmail.com Mon Dec 8 15:22:10 2008 From: fredthejonester at gmail.com (Fred Jones) Date: Mon, 8 Dec 2008 17:22:10 +0200 Subject: [support] Turning off automatic line breaking In-Reply-To: <1D0D0BD0-BC37-41DC-93EC-0CBFA97B6546@panix.com> References: <1D0D0BD0-BC37-41DC-93EC-0CBFA97B6546@panix.com> Message-ID: <177c0a10812080722l56e35c43yfcd7a59b91178956@mail.gmail.com> > Is there any way to turn off the line-breaking part of the "Lines and > paragraphs break automatically" feature? I often copy-and-paste text from > sources which into drupal edit boxes and having it turn all the returns into > br tags is a pain. Site COnfiguration--Input Formats Click configure next to the one you want to edit. You will then see this option From cjones at partialflow.com Mon Dec 8 15:22:40 2008 From: cjones at partialflow.com (Christopher M. Jones) Date: Mon, 08 Dec 2008 10:22:40 -0500 Subject: [support] Domain Access uninstalling OG Message-ID: <493D3BC0.6010701@partialflow.com> I'm having some difficulty with Domain Access after removing OG. Before I installed OG, I had content displaying on only the selected subdomains. I applied the multiple node access patch, and then I enabled OG. As soon as og was enabled, content was getting displayed on -all- subdomains. Try as I might, I could not correct this. So, deciding that I did not need OG after all, I decided to uninstall it and put everything back. Problem is, I can't seem get it back the way it was. I tried: Clearing page cache Removing all OG tables Rebuilding node access permissions in post settings. I'm using D5. I'd appreciate some help troubleshooting this. Am I missing any steps? From forums at ipwa.net Mon Dec 8 15:24:50 2008 From: forums at ipwa.net (Nicolas Borda) Date: Mon, 8 Dec 2008 15:24:50 +0000 Subject: [support] Turning off automatic line breaking In-Reply-To: <1D0D0BD0-BC37-41DC-93EC-0CBFA97B6546@panix.com> References: <1D0D0BD0-BC37-41DC-93EC-0CBFA97B6546@panix.com> Message-ID: <33D3875B-B798-4D6E-81AB-FDD38FD9AFE9@ipwa.net> On 8 Dec 2008, at 15:11, Roy Smith wrote: > Is there any way to turn off the line-breaking part of the "Lines > and paragraphs break automatically" feature? I often copy-and- > paste text from sources which into drupal edit boxes and having it > turn all the returns into br tags is a pain. What I do, is make a new input format (admin/settings/filters/add) and call it Raw HTML or Full HTML - No Markdown, and I don't assign any filters to it, or just the URL filter. To make it quicker to add html tags like paragraphs and lists sometimes I use BUEditor: http://drupal.org/project/bueditor HTH, -- Nicolas http://nic.ipwa.net/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081208/d8b51bbb/attachment.htm From roy at panix.com Mon Dec 8 15:36:23 2008 From: roy at panix.com (Roy Smith) Date: Mon, 8 Dec 2008 10:36:23 -0500 Subject: [support] Turning off automatic line breaking In-Reply-To: <177c0a10812080722l56e35c43yfcd7a59b91178956@mail.gmail.com> References: <1D0D0BD0-BC37-41DC-93EC-0CBFA97B6546@panix.com> <177c0a10812080722l56e35c43yfcd7a59b91178956@mail.gmail.com> Message-ID: <05101DFD-A7C4-4994-9B8E-696B7B8A1C9A@panix.com> On Dec 8, 2008, at 10:22 AM, Fred Jones wrote: >> Is there any way to turn off the line-breaking part of the "Lines >> and >> paragraphs break automatically" feature? I often copy-and-paste >> text from >> sources which into drupal edit boxes and having it turn all the >> returns into >> br tags is a pain. > > Site COnfiguration--Input Formats > > Click configure next to the one you want to edit. You will then see > this option It looks like you can only turn break and paragraph filtering on and off together. What I want is to disable mapping a single return to a break, but keep mapping a double return to a new paragraph. ---------------- Roy Smith roy at panix.com From bsisok at gmail.com Mon Dec 8 22:08:16 2008 From: bsisok at gmail.com (Bob Salsburg) Date: Mon, 8 Dec 2008 17:08:16 -0500 Subject: [support] Ical feed from Google Calendar really wonky Message-ID: Nothing fancy. One Google calendar. Copied feed URL from Google & entered the feed URL in appropriate field. Result: 1) Not all events appear; actually less than half. Some recurring, some not. Some in a recurring sequence appear while others don't. No rhyme or reason. 2) Most, but not all (?) events are 5 hours ahead. 3) most, but not all, events are displayed in 24 hour time. I prefer AM/PM. History: The original Google Calendar was populated with an ICS file created from Macintosh iCal. I guess my question is: Is there more to this than described above? Drupal is 5.12, PHP is 5.0.97 Community. SQL, I am not sure, but it is recent if not latest and greatest. Hosted solution. Necessary modules were downloaded from the links on http://drupal.org/node/133341. Bob -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081208/cb1207a6/attachment.htm From me at saurocesaretti.com Tue Dec 9 07:45:27 2008 From: me at saurocesaretti.com (Sauro Cesaretti) Date: Tue, 9 Dec 2008 08:45:27 +0100 Subject: [support] Information about urls traslation Message-ID: Hello, I'd like to ask you how can I set a clean traslation of the urls instead of using the names node/. I saw the option clean urls but it only change the form of the traslation, how can I gave a clean name to those addresses? thank you in advance for all the information regards, Sauro -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081209/f7205e4a/attachment.htm From heshan at heidisoft.com Tue Dec 9 07:52:11 2008 From: heshan at heidisoft.com (Heshan) Date: Tue, 9 Dec 2008 13:22:11 +0530 Subject: [support] Information about urls traslation In-Reply-To: References: Message-ID: use the path auto module. - Heshan \\\/// / \ | \\ // | ( | (.) (.) | ) --------o00o--(_)--o00o------- ------ooo0----------------------------- ( ) 0ooo \ ( ( ) \_) ) / (_/ 2008/12/9 Sauro Cesaretti > Hello, > > I'd like to ask you how can I set a clean traslation of the urls instead of > using the names node/. > I saw the option clean urls but it only change the form of the traslation, > how can I gave a clean name to those addresses? > thank you in advance for all the information > regards, Sauro > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081209/34a59968/attachment.htm From 54teaman at gmail.com Tue Dec 9 10:33:04 2008 From: 54teaman at gmail.com (chen teaman) Date: Tue, 9 Dec 2008 18:33:04 +0800 Subject: [support] what will return of node_get_types('type', $node) In-Reply-To: References: <7efcad5a0812060627t943d4a0mf33e622e70b393bf@mail.gmail.com> Message-ID: <7efcad5a0812090233o5f6b00e8p3e7834cab6af128@mail.gmail.com> Thank Dan and Sivaji I know of what you said, but i still can`t understand the code below: function node_example_form (&$node) { $type = node_get_types ('type', $node); if ($type->has_title) { $form['title'] = array( '#type' => 'textfield', '#title' => check_plain ($type->title_label), '#required' => TRUE, '#default_value' => $node->title, '#weight' => -5 ); } see http://api.drupal.org/api/file/developer/examples/node_example.module/6/source there $type is a object, how to explain it,how to understand it -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081209/5bc0da0f/attachment-0001.htm From emma.badger at chocolateteapot.net Tue Dec 9 12:37:35 2008 From: emma.badger at chocolateteapot.net (Emma Badger) Date: Tue, 9 Dec 2008 12:37:35 +0000 Subject: [support] Disable 'Read more...' Message-ID: <54284004-69A4-48C1-85AF-AF55302F120B@chocolateteapot.net> With some of my pages I always want to show the whole content, with no summary. I've worked out that I can use the 'split at cursor' to define where the summary ends (i.e. at the end of the page) but is there a way of not displaying 'read more' if there is no more? Thanks. From cjones at partialflow.com Tue Dec 9 22:35:37 2008 From: cjones at partialflow.com (Christopher M. Jones) Date: Tue, 09 Dec 2008 17:35:37 -0500 Subject: [support] 404 blank page Message-ID: <493EF2B9.7050409@partialflow.com> When I visit a nonexistent page, I loose a good portion of my site template. Before I installed search404, I would get just the header, with nothing but a logo, and my footer. Nothing else of page.tpl.php displays. Since I added search404, I now get the 404 page surrounded by the same nothing. See http://dev.fertilityauthority.com to see the behavior. What's wrong? From drothstein at gmail.com Tue Dec 9 23:19:27 2008 From: drothstein at gmail.com (David Rothstein) Date: Tue, 9 Dec 2008 18:19:27 -0500 Subject: [support] 404 blank page In-Reply-To: <493EF2B9.7050409@partialflow.com> References: <493EF2B9.7050409@partialflow.com> Message-ID: <27ad04850812091519v29452d45xe7b64924478c7cce@mail.gmail.com> Not sure how your site is set up exactly, but blocks in Drupal do not show up on 404 pages, and this is by design (for performance reasons). It's either a feature or a bug, depending on who you talk to :) So if you have lots of your content in blocks, that would explain it. There's a lot of discussion here (http://drupal.org/node/129762) and here (http://drupal.org/node/116895)... you might be able to find a solution that would work for you in those threads. Hope this helps, David Rothstein On Tue, Dec 9, 2008 at 5:35 PM, Christopher M. Jones wrote: > When I visit a nonexistent page, I loose a good portion of my site > template. Before I installed search404, I would get just the header, > with nothing but a logo, and my footer. Nothing else of page.tpl.php > displays. Since I added search404, I now get the 404 page surrounded by > the same nothing. See > > http://dev.fertilityauthority.com > > to see the behavior. What's wrong? > -- > [ Drupal support list | http://lists.drupal.org/ ] > From joinkemel at yahoo.de Wed Dec 10 02:49:50 2008 From: joinkemel at yahoo.de (jo) Date: Wed, 10 Dec 2008 02:49:50 +0000 (GMT) Subject: [support] unable to install some modules properly Message-ID: <729576.82168.qm@web28607.mail.ukl.yahoo.com> dear list, as there was no reply for my last issue i posted i hope i do not ask too-easy-to-solve-on-your-own-issues..because -at least to me- it seems i cannot find very much about this: after i put the project of the views-installation in a future-holding-queue, i thought, all other modules would install without any problems, but then i found the pathauto-module and tried to install, but it didn't work, too - it depends on the token-module, but if i copy the token-folder in sites/all/modules, there is no entry in /admin/build/modules, and when i set the status of all two token-entries in phpmyadmin to 1, there is no chance to get in /admin/build/modules again.. i must admit that i really deleted a lot of folders of modules (especially views and the image-modules) and copied them in again and again, did some update.phps with and without success, but that was because views wouldn't install and so i don't think views doesn't install because i deleted it often.. so, to put it in a few words: what could be the reason, my drupal-install doesn't like all modules (yes, they are the right ones for 6.6) and how can i change this? thank you for reading and regards :-jo --- jo schrieb am Sa, 6.12.2008: > Von: jo > Betreff: unable to install views properly > An: support at drupal.org > Datum: Samstag, 6. Dezember 2008, 14:30 > hello again, > > next problem, next chance :-) > > i had now a dozen tries to install and deinstall the > views-module in drupal 6.6 with many different ways - > just deleting the folder (maybe not that good..), > deactivating it and deleting the folder, > removing it in the databse, installing it again and > deinstall it with the deinstalltion-routine in the > modules-area - > > but everytime i end up with these problems: > > - activating the views-module hangs indefinitly at > "import of the surface-translation" <--(which > is a direct translation from german to english, i don't > know how this is called in the original english-surface) > > refreshing the site brings me back to the homepage and i > have to log-in again. > the views-module is now activated, but it is impossible to > activate views_UI: > trying it with /admin/build/modules says "site not > reachable" and doesn't activate it, and when i > activate it with phpmyadmin, i am no longer possible to > reach /admin/build/modules.. > > any ideas? > > :-jo From bsisok at gmail.com Wed Dec 10 03:36:32 2008 From: bsisok at gmail.com (Bob Salsburg) Date: Tue, 9 Dec 2008 22:36:32 -0500 Subject: [support] Ical feed from Google Calendar really wonky Message-ID: [Resend since I didn't see the first in my inbox] Nothing fancy: One Google calendar. Copied feed URL from Google & entered the feed URL in appropriate field. Result: 1) Not all events appear; actually less than half. Some recurring, some not. Some in a recurring sequence appear while others don't. No rhyme or reason. 2) Most, but not all (?) events are 5 hours ahead. 3) most, but not all, events are displayed in 24 hour time. I prefer AM/PM. History: The original Google Calendar was populated with an ICS file created from Macintosh iCal. I guess my question is: Is there more to this than described above? Drupal is 5.12, PHP is 5.0.97 Community. SQL, I am not sure, but it is recent if not latest and greatest. Necessary modules were downloaded from the links above. Bob -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081209/7282223e/attachment.htm From simone.dalmaso at juvox.it Wed Dec 10 10:10:35 2008 From: simone.dalmaso at juvox.it (Simone Dal Maso) Date: Wed, 10 Dec 2008 11:10:35 +0100 Subject: [support] sql query and other Message-ID: <733D2EE4B452471D890DE8120BD78B56@data> Hi, I have a big problem. I have a ejournal in my website and I have about 1000 articles. Unfortunately, some of these are token from a website that has changed its policy and don't allow us to publish its material: only the 25% of articles can be published. We can distinguish these articles because there is always the original link that obviously starts with the same strings. We must select all the articles containing these strings in their body, and tells drupal to take the first 4 5 lines and delete the rest of contents. I have 2 ideas, but I' not able to make it: 1. with a sql query, I think all contents are in the node_revisions table. 2. publishing only the teaser of the article. I think the second method is easier, but have you got some ideas how publish only a teaser and hide the entire body of some nodes? thanks for your attention and patience. Bye. From bharanikumariyerphp at gmail.com Wed Dec 10 12:23:44 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Wed, 10 Dec 2008 17:53:44 +0530 Subject: [support] Add more fileds Message-ID: <2240033d0812100423m6f8c553gbe3feafa50071e9a@mail.gmail.com> Hi, How to create the fields dynamically,Using Js , in Drupal for example like this manner : http://bharanikumariyerphp.site88.net/ This is my sample code not an drupal code, i want to convert this to Drupal5 , tell me how can i do , -- ?????? ?????? ???? ?????? Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ http://bharanikumariyerphp.site88.net/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081210/5fb7abdc/attachment.htm From earnie at users.sourceforge.net Wed Dec 10 12:56:00 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Wed, 10 Dec 2008 07:56:00 -0500 Subject: [support] unable to install some modules properly In-Reply-To: <729576.82168.qm@web28607.mail.ukl.yahoo.com> References: <729576.82168.qm@web28607.mail.ukl.yahoo.com> Message-ID: <20081210075600.k682tq7oir4sw0ws@mail.progw.org> Quoting jo : > dear list, > > as there was no reply for my last issue i posted i hope i do not ask > too-easy-to-solve-on-your-own-issues..because -at least to me- it > seems i cannot find very much about this: > I think we're just too dumbfounded with your actions. My guess is that you need to create a backup of the data, install a fresh Drupal and import your data to resolve your issues. -- Earnie http://r-feed.com Make a Drupal difference and review core patches. -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From earnie at users.sourceforge.net Wed Dec 10 12:59:35 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Wed, 10 Dec 2008 07:59:35 -0500 Subject: [support] 404 blank page In-Reply-To: <27ad04850812091519v29452d45xe7b64924478c7cce@mail.gmail.com> References: <493EF2B9.7050409@partialflow.com> <27ad04850812091519v29452d45xe7b64924478c7cce@mail.gmail.com> Message-ID: <20081210075935.rwpwbg0rvfok04k4@mail.progw.org> Quoting David Rothstein : > Not sure how your site is set up exactly, but blocks in Drupal do not > show up on 404 pages, and this is by design (for performance reasons). > It's either a feature or a bug, depending on who you talk to :) > > So if you have lots of your content in blocks, that would explain it. > > There's a lot of discussion here (http://drupal.org/node/129762) and > here (http://drupal.org/node/116895)... you might be able to find a > solution that would work for you in those threads. > And as has been discussed, should be an option the admin can either turn on or off. The problem I found with no blocks is the user is left feeling helpless at trying to figure out what to do next. With the blocks the user has a menu of options. -- Earnie http://r-feed.com Make a Drupal difference and review core patches. -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From neil at esl-lounge.com Wed Dec 10 14:21:18 2008 From: neil at esl-lounge.com (Neil Coghlan) Date: Wed, 10 Dec 2008 15:21:18 +0100 Subject: [support] 404 blank page References: <493EF2B9.7050409@partialflow.com><27ad04850812091519v29452d45xe7b64924478c7cce@mail.gmail.com> <20081210075935.rwpwbg0rvfok04k4@mail.progw.org> Message-ID: <4321DBD9913444D1B91056DB6FE3F463@Neil> Am I right in thinking this was a change not between major versions but from, for example, 5.5 and 5.6? I just remember doing an upgrade and suddenly my 404 pages were coming out 95% blank as I use blocks for all menus. Neil ----- Original Message ----- From: "Earnie Boyd" To: Sent: Wednesday, December 10, 2008 1:59 PM Subject: Re: [support] 404 blank page > Quoting David Rothstein : > >> Not sure how your site is set up exactly, but blocks in Drupal do not >> show up on 404 pages, and this is by design (for performance reasons). >> It's either a feature or a bug, depending on who you talk to :) >> >> So if you have lots of your content in blocks, that would explain it. >> >> There's a lot of discussion here (http://drupal.org/node/129762) and >> here (http://drupal.org/node/116895)... you might be able to find a >> solution that would work for you in those threads. >> > > And as has been discussed, should be an option the admin can either > turn on or off. The problem I found with no blocks is the user is left > feeling helpless at trying to figure out what to do next. With the > blocks the user has a menu of options. > > -- > Earnie http://r-feed.com > Make a Drupal difference and review core patches. > > -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From daniel.carrera at zmsl.com Wed Dec 10 15:32:50 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Wed, 10 Dec 2008 16:32:50 +0100 Subject: [support] Users without email addresses? Message-ID: <493FE122.5060800@zmsl.com> Hello, I have an unusual problem: We provide a service for schools. Students make Drupal accounts and use it to do a school project. Problem is, many students don't have email and indeed, the school doesn't *want* the students to have email. Worse, they want the teacher to create the student accounts. I don't like this, yes it's stupid, but there is no chance of me changing their mind about this. I'm hoping that someone here might help me find a good solution for this problem. As part of the service, we have a custom web application that I wrote. This application already has a record of all the students and teachers and schools. So, for example, I could consider using this application to insert new users into the Drupal database. The teacher clicks a button that says "make Drupal accounts for all my students" and a PHP script makes the accounts. Could that work? Personally, I am afraid of editing the Drupal database directly, but perhaps there is a safe API I can use? Or is it reasonably safe to insert records into the Drupal database by hand? I can see problems with this idea (e.g. what do I use as user names? Student names are not unique). But I can't think of anything better. Does anyone have a better idea? I don't really know any good way to solve this problem. The problem is not urgent. For the time being we can get a staff member with admin access to create student accounts using fake email addresses. But I hope to find a better long-term solution. Thanks for the help. Daniel. From marc at funnymonkey.com Wed Dec 10 15:42:59 2008 From: marc at funnymonkey.com (Marc Poris) Date: Wed, 10 Dec 2008 07:42:59 -0800 Subject: [support] Users without email addresses? In-Reply-To: <493FE122.5060800@zmsl.com> References: <493FE122.5060800@zmsl.com> Message-ID: <493FE383.5080903@funnymonkey.com> Daniel, Take a look at http://drupal.org/project/user_import and http://drupal.org/project/userplus -- they will either provide something good enough for your purposes or they'll give you a nice head start on writing your own code. Marc Daniel Carrera wrote: > Hello, > > I have an unusual problem: > > We provide a service for schools. Students make Drupal accounts and use > it to do a school project. Problem is, many students don't have email > and indeed, the school doesn't *want* the students to have email. Worse, > they want the teacher to create the student accounts. > > I don't like this, yes it's stupid, but there is no chance of me > changing their mind about this. I'm hoping that someone here might help > me find a good solution for this problem. > > As part of the service, we have a custom web application that I wrote. > This application already has a record of all the students and teachers > and schools. So, for example, I could consider using this application to > insert new users into the Drupal database. The teacher clicks a button > that says "make Drupal accounts for all my students" and a PHP script > makes the accounts. > > Could that work? > > Personally, I am afraid of editing the Drupal database directly, but > perhaps there is a safe API I can use? Or is it reasonably safe to > insert records into the Drupal database by hand? > > I can see problems with this idea (e.g. what do I use as user names? > Student names are not unique). But I can't think of anything better. > Does anyone have a better idea? > > > I don't really know any good way to solve this problem. The problem is > not urgent. For the time being we can get a staff member with admin > access to create student accounts using fake email addresses. But I hope > to find a better long-term solution. > > Thanks for the help. > > Daniel. > From daniel.carrera at zmsl.com Wed Dec 10 15:53:55 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Wed, 10 Dec 2008 16:53:55 +0100 Subject: [support] Users without email addresses? In-Reply-To: <493FE383.5080903@funnymonkey.com> References: <493FE122.5060800@zmsl.com> <493FE383.5080903@funnymonkey.com> Message-ID: <493FE613.2010307@zmsl.com> Thanks! Both of these options are better than what we are doing now. The first one (user_import) seems to be the closest to what I need. I hope that they make a Drupal 6 version before I migrate to Drupal 6. Daniel. Marc Poris wrote: > Daniel, > > Take a look at http://drupal.org/project/user_import and > http://drupal.org/project/userplus -- they will either provide something > good enough for your purposes or they'll give you a nice head start on > writing your own code. > > Marc > > > Daniel Carrera wrote: >> Hello, >> >> I have an unusual problem: >> >> We provide a service for schools. Students make Drupal accounts and use >> it to do a school project. Problem is, many students don't have email >> and indeed, the school doesn't *want* the students to have email. Worse, >> they want the teacher to create the student accounts. >> >> I don't like this, yes it's stupid, but there is no chance of me >> changing their mind about this. I'm hoping that someone here might help >> me find a good solution for this problem. >> >> As part of the service, we have a custom web application that I wrote. >> This application already has a record of all the students and teachers >> and schools. So, for example, I could consider using this application to >> insert new users into the Drupal database. The teacher clicks a button >> that says "make Drupal accounts for all my students" and a PHP script >> makes the accounts. >> >> Could that work? >> >> Personally, I am afraid of editing the Drupal database directly, but >> perhaps there is a safe API I can use? Or is it reasonably safe to >> insert records into the Drupal database by hand? >> >> I can see problems with this idea (e.g. what do I use as user names? >> Student names are not unique). But I can't think of anything better. >> Does anyone have a better idea? >> >> >> I don't really know any good way to solve this problem. The problem is >> not urgent. For the time being we can get a staff member with admin >> access to create student accounts using fake email addresses. But I hope >> to find a better long-term solution. >> >> Thanks for the help. >> >> Daniel. >> > > From cjones at partialflow.com Wed Dec 10 15:59:48 2008 From: cjones at partialflow.com (Christopher M. Jones) Date: Wed, 10 Dec 2008 10:59:48 -0500 Subject: [support] Users without email addresses? In-Reply-To: <493FE383.5080903@funnymonkey.com> References: <493FE122.5060800@zmsl.com> <493FE383.5080903@funnymonkey.com> Message-ID: <493FE774.6060607@partialflow.com> As for the email address issue, I ran into a similar problem, where I was batch creating users for whom I had no email address. What I did was to generate a csv of all relevant user data, where the email address was calculated. It was something like dummy01 at nowhere.com. Everybody had a unique email, even though it wasn't a real one. And as far as I can tell, this doesn't matter, except that the user cannot retrieve their password, since this works by sending a link to the user's email address. In your case you could make the address from their student ids, again ensuring they are unique. Marc Poris wrote: > Daniel, > > Take a look at http://drupal.org/project/user_import and > http://drupal.org/project/userplus -- they will either provide something > good enough for your purposes or they'll give you a nice head start on > writing your own code. > > Marc > > > Daniel Carrera wrote: >> Hello, >> >> I have an unusual problem: >> >> We provide a service for schools. Students make Drupal accounts and use >> it to do a school project. Problem is, many students don't have email >> and indeed, the school doesn't *want* the students to have email. Worse, >> they want the teacher to create the student accounts. >> >> I don't like this, yes it's stupid, but there is no chance of me >> changing their mind about this. I'm hoping that someone here might help >> me find a good solution for this problem. >> >> As part of the service, we have a custom web application that I wrote. >> This application already has a record of all the students and teachers >> and schools. So, for example, I could consider using this application to >> insert new users into the Drupal database. The teacher clicks a button >> that says "make Drupal accounts for all my students" and a PHP script >> makes the accounts. >> >> Could that work? >> >> Personally, I am afraid of editing the Drupal database directly, but >> perhaps there is a safe API I can use? Or is it reasonably safe to >> insert records into the Drupal database by hand? >> >> I can see problems with this idea (e.g. what do I use as user names? >> Student names are not unique). But I can't think of anything better. >> Does anyone have a better idea? >> >> >> I don't really know any good way to solve this problem. The problem is >> not urgent. For the time being we can get a staff member with admin >> access to create student accounts using fake email addresses. But I hope >> to find a better long-term solution. >> >> Thanks for the help. >> >> Daniel. >> > > From daniel.carrera at zmsl.com Wed Dec 10 16:07:30 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Wed, 10 Dec 2008 17:07:30 +0100 Subject: [support] Users without email addresses? In-Reply-To: <493FE774.6060607@partialflow.com> References: <493FE122.5060800@zmsl.com> <493FE383.5080903@funnymonkey.com> <493FE774.6060607@partialflow.com> Message-ID: <493FE942.3090302@zmsl.com> Yeah, that sounds like it should work - @foo.com And I could even use that to help me match a Drupal account with a student in my custom application. Thanks. Christopher M. Jones wrote: > As for the email address issue, I ran into a similar problem, where I > was batch creating users for whom I had no email address. What I did was > to generate a csv of all relevant user data, where the email address was > calculated. It was something like dummy01 at nowhere.com. Everybody had a > unique email, even though it wasn't a real one. And as far as I can > tell, this doesn't matter, except that the user cannot retrieve their > password, since this works by sending a link to the user's email > address. In your case you could make the address from their student ids, > again ensuring they are unique. > > > > Marc Poris wrote: >> Daniel, >> >> Take a look at http://drupal.org/project/user_import and >> http://drupal.org/project/userplus -- they will either provide something >> good enough for your purposes or they'll give you a nice head start on >> writing your own code. >> >> Marc >> >> >> Daniel Carrera wrote: >>> Hello, >>> >>> I have an unusual problem: >>> >>> We provide a service for schools. Students make Drupal accounts and use >>> it to do a school project. Problem is, many students don't have email >>> and indeed, the school doesn't *want* the students to have email. Worse, >>> they want the teacher to create the student accounts. >>> >>> I don't like this, yes it's stupid, but there is no chance of me >>> changing their mind about this. I'm hoping that someone here might help >>> me find a good solution for this problem. >>> >>> As part of the service, we have a custom web application that I wrote. >>> This application already has a record of all the students and teachers >>> and schools. So, for example, I could consider using this application to >>> insert new users into the Drupal database. The teacher clicks a button >>> that says "make Drupal accounts for all my students" and a PHP script >>> makes the accounts. >>> >>> Could that work? >>> >>> Personally, I am afraid of editing the Drupal database directly, but >>> perhaps there is a safe API I can use? Or is it reasonably safe to >>> insert records into the Drupal database by hand? >>> >>> I can see problems with this idea (e.g. what do I use as user names? >>> Student names are not unique). But I can't think of anything better. >>> Does anyone have a better idea? >>> >>> >>> I don't really know any good way to solve this problem. The problem is >>> not urgent. For the time being we can get a staff member with admin >>> access to create student accounts using fake email addresses. But I hope >>> to find a better long-term solution. >>> >>> Thanks for the help. >>> >>> Daniel. >>> >> From metzlerd at evergreen.edu Wed Dec 10 16:10:19 2008 From: metzlerd at evergreen.edu (Metzler, David) Date: Wed, 10 Dec 2008 08:10:19 -0800 Subject: [support] Users without email addresses? In-Reply-To: <493FE613.2010307@zmsl.com> References: <493FE122.5060800@zmsl.com> <493FE383.5080903@funnymonkey.com> <493FE613.2010307@zmsl.com> Message-ID: <384BE444EEC12143B241C72BCD7E9BA8016BC686@birch.evergreen.edu> If you end up writing your own module, then you also want to look at: http://api.drupal.org/api/function/user_save/ Which is the function that these modules should use for createing new users. Dave -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Daniel Carrera Sent: Wednesday, December 10, 2008 7:54 AM To: support at drupal.org Subject: Re: [support] Users without email addresses? Thanks! Both of these options are better than what we are doing now. The first one (user_import) seems to be the closest to what I need. I hope that they make a Drupal 6 version before I migrate to Drupal 6. Daniel. Marc Poris wrote: > Daniel, > > Take a look at http://drupal.org/project/user_import and > http://drupal.org/project/userplus -- they will either provide > something good enough for your purposes or they'll give you a nice > head start on writing your own code. > > Marc > > > Daniel Carrera wrote: >> Hello, >> >> I have an unusual problem: >> >> We provide a service for schools. Students make Drupal accounts and >> use it to do a school project. Problem is, many students don't have >> email and indeed, the school doesn't *want* the students to have >> email. Worse, they want the teacher to create the student accounts. >> >> I don't like this, yes it's stupid, but there is no chance of me >> changing their mind about this. I'm hoping that someone here might >> help me find a good solution for this problem. >> >> As part of the service, we have a custom web application that I wrote. >> This application already has a record of all the students and >> teachers and schools. So, for example, I could consider using this >> application to insert new users into the Drupal database. The teacher >> clicks a button that says "make Drupal accounts for all my students" >> and a PHP script makes the accounts. >> >> Could that work? >> >> Personally, I am afraid of editing the Drupal database directly, but >> perhaps there is a safe API I can use? Or is it reasonably safe to >> insert records into the Drupal database by hand? >> >> I can see problems with this idea (e.g. what do I use as user names? >> Student names are not unique). But I can't think of anything better. >> Does anyone have a better idea? >> >> >> I don't really know any good way to solve this problem. The problem >> is not urgent. For the time being we can get a staff member with >> admin access to create student accounts using fake email addresses. >> But I hope to find a better long-term solution. >> >> Thanks for the help. >> >> Daniel. >> > > -- [ Drupal support list | http://lists.drupal.org/ ] From michel at ziobudda.net Wed Dec 10 16:12:31 2008 From: michel at ziobudda.net (Davide Michel 'ZioBudda' Morelli) Date: Wed, 10 Dec 2008 17:12:31 +0100 Subject: [support] Explain of drupal_execute(). Someone ? Message-ID: <493FEA6F.3070404@ziobudda.net> Hi all. I need to import some blog's node from another site. I have tried this: $form_id = 'blog_node_form'; $form['values'] = array( 'title' => 'pippo', 'taxonomy[tags][3]' => 'prova', 'body' => 'Io sono il corpo del messaggio', 'format' => 1, 'field_old_id[0][value]' => '11', 'name' => 'wheel' ); $k = drupal_execute($form_id,$form); Field_old_id is a cck's field. When I try to run this code Drupal return me this error: warning: call_user_func_array() [function.call-user-func-array ]: First argument is expected to be a valid callback, 'node_form' was given in /home/michel/LAVORI_ZB/www/distrofici/includes/form.inc on line 366. Where is my error ? 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081210/34a59a91/attachment.htm From shai at content2zero.com Wed Dec 10 16:14:49 2008 From: shai at content2zero.com (Shai Gluskin) Date: Wed, 10 Dec 2008 11:14:49 -0500 Subject: [support] sql query and other In-Reply-To: <733D2EE4B452471D890DE8120BD78B56@data> References: <733D2EE4B452471D890DE8120BD78B56@data> Message-ID: <9f68efb70812100814y6b91d366n42c6909524062ad3@mail.gmail.com> Simone, My opinion (which is not authoritative) regarding the easiest strategy to solve your problem would be to write a query which would select the contents of the teaser field and put it into a variable (remember to include the write the "WHERE" clause in the query to only pull the nodes you want to affect). Then you write another query which replaces the current content of the body field with the content of the teaser field that is in the variable that you stored. The snippet you write can be run using Devel module's "drupal execute" tool. That way you would avoid having to write a module to implement a one-time task. f you are not experienced writing code like this I'll give you this unsolicited advice to help get you started... The first thing you need to do is to write your SELECT query and make sure it works and pulls in only the right rows from the node revisions table. The good part about this part is that you don't need to mess with PHP at this stage. You just query the database directly, using a tool like phpMyAdmin or the command line, whatever. When doing SELECT queries your blood preassure stays low because SELECT queries don't change the DB. [But still, back up the db before you even start, because you might forget after you start working.] Next you write the query for replacing the body field with the teaser field contents. Again, no PHP, you just copy teaser contents from one node and hard code that into your query. (Be careful to add a clause "WHERE nid=25" --- where "25" is the node id where you copied the teaser from. This part raises your blood pressure a bit, since the test query actually does change the database. But by cleary limiting the query to one row, you keep things under good control.) Once you have tested that the second query works, you can build the PHP snippet to cycle through each record creating new body fields using the variable which will have stored the results of the first query. By having tested that your queries are correct first, you'll have much greater confidence building and then debugging the PHP snippet. As an alternative to this whole approach to your problem, you might be able to write complicated custom views which would sometimes display the teaser field and sometimes display the full node based on taxonomy, url strings, or whatever. But I think it is cleaner to simply change the body field by putting in the data there that you actually want. Good luck, report back, Shai On Wed, Dec 10, 2008 at 5:10 AM, Simone Dal Maso wrote: > Hi, > I have a big problem. > I have a ejournal in my website and I have about 1000 articles. > Unfortunately, some of these are token from a website that has changed its > policy and don't allow us to publish its material: only the 25% of articles > can be published. > We can distinguish these articles because there is always the original link > that obviously starts with the same strings. > We must select all the articles containing these strings in their body, and > tells drupal to take the first 4 5 lines and delete the rest of contents. > I have 2 ideas, but I' not able to make it: > 1. with a sql query, I think all contents are in the node_revisions table. > 2. publishing only the teaser of the article. > I think the second method is easier, but have you got some ideas how > publish > only a teaser and hide the entire body of some nodes? > > thanks for your attention and patience. > Bye. > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081210/4805138e/attachment.htm From jp.stacey at torchbox.com Wed Dec 10 16:21:56 2008 From: jp.stacey at torchbox.com (J-P Stacey) Date: Wed, 10 Dec 2008 16:21:56 +0000 Subject: [support] Users without email addresses? In-Reply-To: <493FE942.3090302@zmsl.com> References: <493FE122.5060800@zmsl.com> <493FE383.5080903@funnymonkey.com> <493FE774.6060607@partialflow.com> <493FE942.3090302@zmsl.com> Message-ID: <493FECA4.8050900@torchbox.com> > Yeah, that sounds like it should work - @foo.com If I were a hacker, I'd sit at foo.com or nowhere.com, and wait for the emails to come rolling in. For fake emails, always use @example.com: http://www.rfc-editor.org/rfc/rfc2606.txt To keep student emails properly fake, you could also create a stub module with hook_form_alter to add a validate method to the user-edit forms. That could check that the user was either (a) a teacher or (b) their email was of the format firstname.lastname at example.com . J-P From cjones at partialflow.com Wed Dec 10 16:26:56 2008 From: cjones at partialflow.com (Christopher M. Jones) Date: Wed, 10 Dec 2008 11:26:56 -0500 Subject: [support] voting more than once on polls Message-ID: <493FEDD0.8020005@partialflow.com> I need to allow users to vote more than once on the same poll. Sensibly, both the poll and advanced poll modules seem to assume that the user can vote only one time, and don't appear to offer an option to make it otherwise. As far as I can tell, these are the only two polling modules out there, amidst the slew of voting modules. 1. How easy would it be to hack one of the two extant poll modules to permit multiple votes per user? 2. Is there another option? Say, another module that could be adapted for poll-like behavior, that would allow multiple votes? From daniel.carrera at zmsl.com Wed Dec 10 16:35:33 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Wed, 10 Dec 2008 17:35:33 +0100 Subject: [support] Users without email addresses? In-Reply-To: <493FECA4.8050900@torchbox.com> References: <493FE122.5060800@zmsl.com> <493FE383.5080903@funnymonkey.com> <493FE774.6060607@partialflow.com> <493FE942.3090302@zmsl.com> <493FECA4.8050900@torchbox.com> Message-ID: <493FEFD5.6010905@zmsl.com> J-P Stacey wrote: >> Yeah, that sounds like it should work - @foo.com > > If I were a hacker, I'd sit at foo.com or nowhere.com, and wait for the > emails to come rolling in. Unless foo.com is my own domain. That's what I was planning to do. Daniel. From skessler at denverdataman.com Wed Dec 10 16:37:02 2008 From: skessler at denverdataman.com (Steve Kessler) Date: Wed, 10 Dec 2008 09:37:02 -0700 Subject: [support] Users without email addresses? In-Reply-To: <493FECA4.8050900@torchbox.com> References: <493FE122.5060800@zmsl.com> <493FE383.5080903@funnymonkey.com> <493FE774.6060607@partialflow.com> <493FE942.3090302@zmsl.com> <493FECA4.8050900@torchbox.com> Message-ID: <007901c95ae5$88141d40$983c57c0$@com> A non-Drupal but educational response might be to use the free - student emails from Gaggle.net (http://www.gaggle.net/gen?_template=/templates/gaggle/html/index.jsp) - I used these for students when I worked for Los Angeles Unified School District. The free version has ads but teachers can monitor traffic and there is extensive filtering. Steve Kessler Denver DataMan 303-587-4428 -----Original Message----- From: J-P Stacey [mailto:jp.stacey at torchbox.com] Sent: Wednesday, December 10, 2008 9:22 AM To: support at drupal.org Subject: Re: [support] Users without email addresses? > Yeah, that sounds like it should work - @foo.com If I were a hacker, I'd sit at foo.com or nowhere.com, and wait for the emails to come rolling in. For fake emails, always use @example.com: http://www.rfc-editor.org/rfc/rfc2606.txt To keep student emails properly fake, you could also create a stub module with hook_form_alter to add a validate method to the user-edit forms. That could check that the user was either (a) a teacher or (b) their email was of the format firstname.lastname at example.com . J-P -- [ Drupal support list | http://lists.drupal.org/ ] From jasondbecker at gmail.com Wed Dec 10 16:37:28 2008 From: jasondbecker at gmail.com (Jason Becker) Date: Wed, 10 Dec 2008 09:37:28 -0700 Subject: [support] support Digest, Vol 72, Issue 20 In-Reply-To: References: Message-ID: <9406ee920812100837p69bf4fd5k6481e2d41487cb08@mail.gmail.com> > Hello, > > I have an unusual problem: > > We provide a service for schools. Students make Drupal accounts and use > it to do a school project. Problem is, many students don't have email > and indeed, the school doesn't *want* the students to have email. Worse, > they want the teacher to create the student accounts. > I can see problems with this idea (e.g. what do I use as user names? > Student names are not unique). But I can't think of anything better. > Does anyone have a better idea? Perhaps you could use OpenID and identify the students by URL. Cheers Jason From mangg at yahoo.com Wed Dec 10 16:45:19 2008 From: mangg at yahoo.com (Joseph) Date: Wed, 10 Dec 2008 08:45:19 -0800 (PST) Subject: [support] Redirect with .htaccess not working Message-ID: <370756.83192.qm@web56108.mail.re3.yahoo.com> Hello, I have used Drupal for over a year and a half. Sometime around last year I moved to "clean urls" and then I deleted a page /?q=node/1 I have been trying to set up a .htaccess file to redirect this page and I can't seem to do it like this: RewriteRule ^/?q=node/1$ http://www.example.com/node/34 [R=301,L] Other than the redirect above and a few others my .htaccess is the same as the default. It doesn't work and I don't quit know enough about .htaccess to solve it. Any idea of what I am doing wrong? Should this be done another way? Links or suggestions are appreciated. =) Thanks, J From daniel.carrera at zmsl.com Wed Dec 10 16:55:16 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Wed, 10 Dec 2008 17:55:16 +0100 Subject: [support] Users without email addresses? In-Reply-To: <007901c95ae5$88141d40$983c57c0$@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> Message-ID: <493FF474.9070808@zmsl.com> That's an interesting idea. Thanks. Steve Kessler wrote: > A non-Drupal but educational response might be to use the free - student > emails from Gaggle.net > (http://www.gaggle.net/gen?_template=/templates/gaggle/html/index.jsp) - I > used these for students when I worked for Los Angeles Unified School > District. The free version has ads but teachers can monitor traffic and > there is extensive filtering. > > > Steve Kessler > Denver DataMan > 303-587-4428 > > > > -----Original Message----- > From: J-P Stacey [mailto:jp.stacey at torchbox.com] > Sent: Wednesday, December 10, 2008 9:22 AM > To: support at drupal.org > Subject: Re: [support] Users without email addresses? > > >> Yeah, that sounds like it should work - @foo.com > > If I were a hacker, I'd sit at foo.com or nowhere.com, and wait for the > emails to come rolling in. > > For fake emails, always use @example.com: > > http://www.rfc-editor.org/rfc/rfc2606.txt > > To keep student emails properly fake, you could also create a stub > module with hook_form_alter to add a validate method to the user-edit > forms. That could check that the user was either (a) a teacher or (b) > their email was of the format firstname.lastname at example.com . > > J-P From nicolast at logis.com.mx Wed Dec 10 17:01:56 2008 From: nicolast at logis.com.mx (Nicolas Tostin) Date: Wed, 10 Dec 2008 11:01:56 -0600 Subject: [support] Users without email addresses? References: <493FE122.5060800@zmsl.com> <493FE383.5080903@funnymonkey.com> <493FE774.6060607@partialflow.com> <493FE942.3090302@zmsl.com><493FECA4.8050900@torchbox.com> <493FEFD5.6010905@zmsl.com> Message-ID: <00c201c95ae9$0209b440$b400a8c0@Nikko> Or you can simply use the module http://drupal.org/project/reroute_email ----- Original Message ----- From: "Daniel Carrera" To: Sent: Wednesday, December 10, 2008 10:35 AM Subject: Re: [support] Users without email addresses? > J-P Stacey wrote: > >> Yeah, that sounds like it should work - @foo.com > > > > If I were a hacker, I'd sit at foo.com or nowhere.com, and wait for the > > emails to come rolling in. > > Unless foo.com is my own domain. That's what I was planning to do. > > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] From brettev at gmail.com Wed Dec 10 17:02:30 2008 From: brettev at gmail.com (Brett Evanson) Date: Wed, 10 Dec 2008 10:02:30 -0700 Subject: [support] voting more than once on polls In-Reply-To: <493FEDD0.8020005@partialflow.com> References: <493FEDD0.8020005@partialflow.com> Message-ID: <972255370812100902j1f1c6296m863029e1cc957e7d@mail.gmail.com> You might look at webform, and the webform results module for displaying the results. I've never used it for that, but it would make sense that it could. You have the option of setting a number of times, or a frequency they can submit. On Wed, Dec 10, 2008 at 9:26 AM, Christopher M. Jones wrote: > I need to allow users to vote more than once on the same poll. Sensibly, > both the poll and advanced poll modules seem to assume that the user can > vote only one time, and don't appear to offer an option to make it > otherwise. > > As far as I can tell, these are the only two polling modules out there, > amidst the slew of voting modules. > > 1. How easy would it be to hack one of the two extant poll modules to > permit multiple votes per user? > > 2. Is there another option? Say, another module that could be adapted > for poll-like behavior, that would allow multiple votes? > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Brett Evanson brettev at gmail.com From cimo75 at gmail.com Wed Dec 10 17:03:44 2008 From: cimo75 at gmail.com (simone-www.io-lab.org) Date: Wed, 10 Dec 2008 17:03:44 +0000 Subject: [support] Adding link to image (logo style) Message-ID: hi I decided to remove the logo php code and go for a region that will host the image of my logo/name. I can easily add an image via css to the region class but to have a link bringing back to "home" i have to use html code in a block added to that region.That works but i d like, if possible to use php page.tpl.php and/or css to place the linked image, how can i accomplish that? thanks Simone -- .wmv , .wma , .pps along with all proprietary Windows formats won t be accepted and/or viewed.... From earnie at users.sourceforge.net Wed Dec 10 17:12:15 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Wed, 10 Dec 2008 12:12:15 -0500 Subject: [support] 404 blank page In-Reply-To: <4321DBD9913444D1B91056DB6FE3F463@Neil> References: <493EF2B9.7050409@partialflow.com><27ad04850812091519v29452d45xe7b64924478c7cce@mail.gmail.com> <20081210075935.rwpwbg0rvfok04k4@mail.progw.org> <4321DBD9913444D1B91056DB6FE3F463@Neil> Message-ID: <20081210121215.pzh907h94yo0s8w8@mail.progw.org> Quoting Neil Coghlan : > Am I right in thinking this was a change not between major versions but > from, for example, 5.5 and 5.6? > > I just remember doing an upgrade and suddenly my 404 pages were coming out > 95% blank as I use blocks for all menus. > Yes, it is one of the things I dislike most about Drupal release management. Once a major version is set these types of changes should not happen at that release. It means I have to keep a bastard forked copy of Drupal core to maintain consistency with releases. -- Earnie http://r-feed.com Make a Drupal difference and review core patches. -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From heshan at heidisoft.com Wed Dec 10 17:16:03 2008 From: heshan at heidisoft.com (Heshan) Date: Wed, 10 Dec 2008 22:46:03 +0530 Subject: [support] Redirect with .htaccess not working In-Reply-To: <370756.83192.qm@web56108.mail.re3.yahoo.com> References: <370756.83192.qm@web56108.mail.re3.yahoo.com> Message-ID: check the right commands just have a look http://heidisoft.com/blog/how-redirect-web-page-12-ways - Heshan \\\/// / \ | \\ // | ( | (.) (.) | ) --------o00o--(_)--o00o------- ------ooo0----------------------------- ( ) 0ooo \ ( ( ) \_) ) / (_/ 2008/12/10 Joseph > Hello, > > I have used Drupal for over a year and a half. Sometime around last > year I moved to "clean urls" and then I deleted a page /?q=node/1 I > have been trying to set up a .htaccess file to redirect this page and I > can't seem to do it like this: > > RewriteRule ^/?q=node/1$ http://www.example.com/node/34 [R=301,L] > > > Other than the redirect above and a few others my .htaccess is the same as > the default. It doesn't work and I don't quit know enough about .htaccess > to solve it. Any idea of what I am doing wrong? Should this be done > another way? Links or suggestions are appreciated. =) > > > Thanks, > J > > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081210/9288da58/attachment.htm From mauricemengel at gmail.com Wed Dec 10 17:16:53 2008 From: mauricemengel at gmail.com (Maurice Mengel) Date: Wed, 10 Dec 2008 18:16:53 +0100 Subject: [support] Redirect with .htaccess not working In-Reply-To: <370756.83192.qm@web56108.mail.re3.yahoo.com> References: <370756.83192.qm@web56108.mail.re3.yahoo.com> Message-ID: Hi, don't you wanna solve this with Site Building >> URL aliases from inside Drupal 6.x? I am new to apache's rewrite, too, but just experimented with it over the weekend. I think, if you have a http:// in the beginning the R=302 will not work best mau On Wed, Dec 10, 2008 at 5:45 PM, Joseph wrote: > Hello, > > I have used Drupal for over a year and a half. Sometime around last > year I moved to "clean urls" and then I deleted a page /?q=node/1 I > have been trying to set up a .htaccess file to redirect this page and I > can't seem to do it like this: > > RewriteRule ^/?q=node/1$ http://www.example.com/node/34 [R=301,L] > > > Other than the redirect above and a few others my .htaccess is the same as the default. It doesn't work and I don't quit know enough about .htaccess to solve it. Any idea of what I am doing wrong? Should this be done another way? Links or suggestions are appreciated. =) > > > Thanks, > J > > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From jp.stacey at torchbox.com Wed Dec 10 17:18:28 2008 From: jp.stacey at torchbox.com (J-P Stacey) Date: Wed, 10 Dec 2008 17:18:28 +0000 Subject: [support] Users without email addresses? In-Reply-To: <493FEFD5.6010905@zmsl.com> References: <493FE122.5060800@zmsl.com> <493FE383.5080903@funnymonkey.com> <493FE774.6060607@partialflow.com> <493FE942.3090302@zmsl.com> <493FECA4.8050900@torchbox.com> <493FEFD5.6010905@zmsl.com> Message-ID: <493FF9E4.3090006@torchbox.com> > Unless foo.com is my own domain. That's what I was planning to do. Wow: you own foo.com ? Can I buy it off you? :) (It does depend on your relationship with the school, as to whether they'd be happy with that solution going forwards. You're best placed to answer that, of course!) Cheers, J-P From metzlerd at evergreen.edu Wed Dec 10 17:25:42 2008 From: metzlerd at evergreen.edu (Metzler, David) Date: Wed, 10 Dec 2008 09:25:42 -0800 Subject: [support] Redirect with .htaccess not working In-Reply-To: <370756.83192.qm@web56108.mail.re3.yahoo.com> References: <370756.83192.qm@web56108.mail.re3.yahoo.com> Message-ID: <384BE444EEC12143B241C72BCD7E9BA8016BC687@birch.evergreen.edu> I would not do this with .htaccess. Simply create a url alias in drupal (assuming you have the path module enabled) to redirect node/34 to any page you'd like to. You should find this on admin/build/path Dave -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Joseph Sent: Wednesday, December 10, 2008 8:45 AM To: support at drupal.org Subject: [support] Redirect with .htaccess not working Hello, I have used Drupal for over a year and a half. Sometime around last year I moved to "clean urls" and then I deleted a page /?q=node/1 I have been trying to set up a .htaccess file to redirect this page and I can't seem to do it like this: RewriteRule ^/?q=node/1$ http://www.example.com/node/34 [R=301,L] Other than the redirect above and a few others my .htaccess is the same as the default. It doesn't work and I don't quit know enough about .htaccess to solve it. Any idea of what I am doing wrong? Should this be done another way? Links or suggestions are appreciated. =) Thanks, J -- [ Drupal support list | http://lists.drupal.org/ ] From luca.capra at gmail.com Wed Dec 10 22:10:07 2008 From: luca.capra at gmail.com (luca capra) Date: Wed, 10 Dec 2008 23:10:07 +0100 Subject: [support] Explain of drupal_execute(). Someone ? In-Reply-To: <493FEA6F.3070404@ziobudda.net> References: <493FEA6F.3070404@ziobudda.net> Message-ID: <49403E3F.7010905@gmail.com> Hi. You have to pass another variable to drupal_execute, with node information. If I remember well it should be like this: $form_id = 'blog_node_form'; $form['values'] = array( 'title' => 'pippo', 'taxonomy[tags][3]' => 'prova', 'body' => 'Io sono il corpo del messaggio', 'format' => 1, 'field_old_id[0][value]' => '11', 'name' => 'wheel', 'type' =>"your-type" // eg. story ); $k = drupal_execute($form_id,$form, $form); Hope it works. Saluti, Luca Davide Michel 'ZioBudda' Morelli ha scritto: > Hi all. I need to import some blog's node from another site. I have > tried this: > > $form_id = 'blog_node_form'; > $form['values'] = array( > 'title' => 'pippo', > 'taxonomy[tags][3]' => 'prova', > 'body' => 'Io sono il corpo del messaggio', > 'format' => 1, > 'field_old_id[0][value]' => '11', > 'name' => 'wheel' > ); > > $k = drupal_execute($form_id,$form); > > Field_old_id is a cck's field. > > When I try to run this code Drupal return me this error: > warning: call_user_func_array() [function.call-user-func-array > ]: First > argument is expected to be a valid callback, 'node_form' was given in > /home/michel/LAVORI_ZB/www/distrofici/includes/form.inc on line 366. > > Where is my error ? > > 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 william.darren at gmail.com Thu Dec 11 00:36:56 2008 From: william.darren at gmail.com (William Smith) Date: Wed, 10 Dec 2008 19:36:56 -0500 Subject: [support] Explain of drupal_execute(). Someone ? In-Reply-To: <49403E3F.7010905@gmail.com> References: <493FEA6F.3070404@ziobudda.net> <49403E3F.7010905@gmail.com> Message-ID: <74630ca20812101636y731f3a57jd321b2e7140f6277@mail.gmail.com> > Hi. You have to pass another variable to drupal_execute, with node > information. If I remember well it should be like this: [snip] > > $k = drupal_execute($form_id,$form, $form); > Hmm, I'm not so sure. drupal_execute expects exactly two parameters, not three. (API definition for Drupal 5: http://api.drupal.org/api/function/drupal_execute/5 API definition for Drupal 6: http://api.drupal.org/api/function/drupal_execute/5) One thing that I can see wrong in the code that that the original poster quoted is that he is submitting an array of arrays, when only an array is called for. $form['value'] = array( // stuff ); should actually probably be $form_values = array( // stuff ); Best, William -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081210/5351d345/attachment.htm From bchoc at t4tcolorado.org Thu Dec 11 00:44:29 2008 From: bchoc at t4tcolorado.org (Brian Choc) Date: Wed, 10 Dec 2008 17:44:29 -0700 Subject: [support] Adding link to image (logo style) In-Reply-To: References: Message-ID: <507b282e0812101644m444a4706q6fe15f3885006418@mail.gmail.com> I'm a little confused by what you're asking. I don't think you really need a region unless you plan to put blocks in it. You can just link to $front_page in your theme's page.tpl.php using whatever image or text you like.Brian On Wed, Dec 10, 2008 at 10:03 AM, simone-www. io-lab. org wrote: > hi > I decided to remove the logo php code and go for a region that will > host the image of my logo/name. > I can easily add an image via css to the region class but to have a > link bringing back to "home" i have to use html code in a block added > to that region.That works but i d like, if possible to use php > page.tpl.php and/or css to place the linked image, how can i > accomplish that? > thanks > Simone > > -- > .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: http://lists.drupal.org/pipermail/support/attachments/20081210/2c1fc102/attachment.htm From cimo75 at gmail.com Thu Dec 11 03:17:46 2008 From: cimo75 at gmail.com (simone-www.io-lab.org) Date: Thu, 11 Dec 2008 03:17:46 +0000 Subject: [support] Adding link to image (logo style) In-Reply-To: <507b282e0812101644m444a4706q6fe15f3885006418@mail.gmail.com> References: <507b282e0812101644m444a4706q6fe15f3885006418@mail.gmail.com> Message-ID: On Thu, Dec 11, 2008 at 12:44 AM, Brian Choc wrote: > I'm a little confused by what you're asking. I don't think you really need > a region unless you plan to put blocks in it. You can just link to > $front_page in your theme's page.tpl.php using whatever image or text you > like. > Brian hi Brian I ve tried to mangle with php code (i am quite new to it) but i can t find out the right syntax (i copied the code from the original logo and adapted it but with no luck) Can you point me out to an example? Thanks Simone > > > > On Wed, Dec 10, 2008 at 10:03 AM, simone-www. io-lab. org > wrote: >> >> hi >> I decided to remove the logo php code and go for a region that will >> host the image of my logo/name. >> I can easily add an image via css to the region class but to have a >> link bringing back to "home" i have to use html code in a block added >> to that region.That works but i d like, if possible to use php >> page.tpl.php and/or css to place the linked image, how can i >> accomplish that? >> thanks >> Simone >> >> -- >> .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/ ] > -- .wmv , .wma , .pps along with all proprietary Windows formats won t be accepted and/or viewed.... From Michael.Zoet at zoet.de Thu Dec 11 09:13:15 2008 From: Michael.Zoet at zoet.de (Michael Zoet) Date: Thu, 11 Dec 2008 10:13:15 +0100 Subject: [support] extended upload modul? Message-ID: <4940D9AB.4060109@zoet.de> Hello all, I'm fairly new to this mailinglist and Drupal. I administer a community website where we need advanced functionality with file uploads: 1. we want to have a possiblity for easy uploading files, without creating content. 2. allowed user should be able to browse the content of the upload folder. 3. it would be nice to have the possibility to create a folder hirachy to sort the files into categories 4. a interface with the version control system bazaar? would be nice to have :-). I'm not sure if the normal upload modul can do all of this? Are there some other moduls that extend the upload functionality of Drupal? Michael From luca.capra at gmail.com Thu Dec 11 10:08:30 2008 From: luca.capra at gmail.com (luca capra) Date: Thu, 11 Dec 2008 11:08:30 +0100 Subject: [support] Explain of drupal_execute(). Someone ? In-Reply-To: <74630ca20812101636y731f3a57jd321b2e7140f6277@mail.gmail.com> References: <493FEA6F.3070404@ziobudda.net> <49403E3F.7010905@gmail.com> <74630ca20812101636y731f3a57jd321b2e7140f6277@mail.gmail.com> Message-ID: <4940E69E.1010601@gmail.com> There is an interesting discussion about drupal_execute here: http://drupal.org/node/131704 || I followed this to get node submitted properly. bye luca William Smith ha scritto: > > Hi. You have to pass another variable to drupal_execute, with node > information. If I remember well it should be like this: > > [snip] > > > $k = drupal_execute($form_id,$form, $form); > > > Hmm, I'm not so sure. drupal_execute expects exactly two parameters, > not three. > (API definition for Drupal 5: > http://api.drupal.org/api/function/drupal_execute/5 > API definition for Drupal 6: > http://api.drupal.org/api/function/drupal_execute/5) > > One thing that I can see wrong in the code that that the original > poster quoted is that he is submitting an array of arrays, when only > an array is called for. > > $form['value'] = array( > // stuff > ); > > should actually probably be > > $form_values = array( > // stuff > ); > > Best, > William > > From gavin.henry at gmail.com Thu Dec 11 10:50:59 2008 From: gavin.henry at gmail.com (Gavin Henry) Date: Thu, 11 Dec 2008 10:50:59 +0000 Subject: [support] Drupal 6.7 - warning: Wrong parameter count for session_set_cookie_params() in session.inc on line 103. Message-ID: <13ca621c0812110250s769cc3a0h1f0301d104bda559@mail.gmail.com> Hi All, We've just installed Drupal 6.7 for our new site with php 4.4 and MySQL 5 and sessions don't work. We were on postgres 7.4 and sessions worked, switching to MySQL (can't go back) and sessions broke. What info can we provide? mysql -v mysql Ver 14.12 Distrib 5.0.70, for pc-linux-gnu (i686) using readline 5.2 php -v PHP 4.4.8-pl0-gentoo with Suhosin-Patch 0.9.6 (cli) (built: Aug 9 2008 09:12:56) Copyright (c) 1997-2008 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies with Suhosin v0.9.18, Copyright (c) 2002-2006, by Hardened-PHP Project Thanks. -- http://www.suretecsystems.com/services/openldap/ From gavin.henry at gmail.com Thu Dec 11 10:55:46 2008 From: gavin.henry at gmail.com (Gavin Henry) Date: Thu, 11 Dec 2008 10:55:46 +0000 Subject: [support] Drupal 6.7 - warning: Wrong parameter count for session_set_cookie_params() in session.inc on line 103. In-Reply-To: <13ca621c0812110250s769cc3a0h1f0301d104bda559@mail.gmail.com> References: <13ca621c0812110250s769cc3a0h1f0301d104bda559@mail.gmail.com> Message-ID: <13ca621c0812110255h2b2c8fcata637f8af5ca22a4b@mail.gmail.com> Hi All, We've just installed Drupal 6.7 for our new site with php 4.4 and MySQL 5 and sessions don't work. We were on postgres 7.4 and sessions worked, switching to MySQL (can't go back) and sessions broke. What info can we provide? mysql -v mysql Ver 14.12 Distrib 5.0.70, for pc-linux-gnu (i686) using readline 5.2 php -v PHP 4.4.8-pl0-gentoo with Suhosin-Patch 0.9.6 (cli) (built: Aug 9 2008 09:12:56) Copyright (c) 1997-2008 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies with Suhosin v0.9.18, Copyright (c) 2002-2006, by Hardened-PHP Project Thanks. -- http://www.suretecsystems.com/services/openldap/ -- http://www.suretecsystems.com/services/openldap/ From genevieve.romier at urec.cnrs.fr Thu Dec 11 11:40:06 2008 From: genevieve.romier at urec.cnrs.fr (Genevieve Romier) Date: Thu, 11 Dec 2008 12:40:06 +0100 Subject: [support] Drupal 5-13 - warning: Wrong parameter count for session_set_cookie_params() in session.inc on line 102. In-Reply-To: <13ca621c0812110250s769cc3a0h1f0301d104bda559@mail.gmail.com> References: <13ca621c0812110250s769cc3a0h1f0301d104bda559@mail.gmail.com> Message-ID: <4940FC16.20803@urec.cnrs.fr> Hello all, I've just installed the last 5.13 Drupal core version on my test platform and I get a similar message at each connexion for each user I can login for. It is probably similar as the Gavin Henry described in his email The message is "warning: Wrong parameter count for session_set_cookie_params() in /..../drupal/includes/session.inc on line 102." That seems to be the only bad thing I get. I currently wonder if it is careful to deploy it on my production site without understanding this issue. I used the UPGRADE.txt document to upgrade my site. I would be interested to know if other people got the same problem. Thanks for your help, Genevi?ve Romier www.projet-plume.org Gavin Henry wrote: > Hi All, > > We've just installed Drupal 6.7 for our new site with php 4.4 and > MySQL 5 and sessions don't work. > > We were on postgres 7.4 and sessions worked, switching to MySQL (can't > go back) and sessions broke. > > What info can we provide? > > mysql -v > mysql Ver 14.12 Distrib 5.0.70, for pc-linux-gnu (i686) using readline 5.2 > > php -v > PHP 4.4.8-pl0-gentoo with Suhosin-Patch 0.9.6 (cli) (built: Aug 9 > 2008 09:12:56) > Copyright (c) 1997-2008 The PHP Group > Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies > with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies > with Suhosin v0.9.18, Copyright (c) 2002-2006, by Hardened-PHP Project > > Thanks. > -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 4063 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.drupal.org/pipermail/support/attachments/20081211/683c3b48/attachment.bin From m.kruisselbrink at student.tue.nl Thu Dec 11 11:58:08 2008 From: m.kruisselbrink at student.tue.nl (Marijn Kruisselbrink) Date: Thu, 11 Dec 2008 12:58:08 +0100 Subject: [support] Drupal 5-13 - warning: Wrong parameter count for session_set_cookie_params() in session.inc on line 102. In-Reply-To: <4940FC16.20803@urec.cnrs.fr> References: <13ca621c0812110250s769cc3a0h1f0301d104bda559@mail.gmail.com> <4940FC16.20803@urec.cnrs.fr> Message-ID: <200812111258.08646.m.kruisselbrink@student.tue.nl> It seems the latest drupal 6.7/5.13 releases (probably unintentionally) introduced a dependency on php5, by calling a function with an extra parameter that did not exist in earlier versions of php. Marijn On Thursday 11 December 2008 12:40:06 Genevieve Romier wrote: > Hello all, > > I've just installed the last 5.13 Drupal core version on my test > platform and I get a similar message at each connexion for each user I > can login for. > > It is probably similar as the Gavin Henry described in his email > > The message is "warning: Wrong parameter count for > session_set_cookie_params() in /..../drupal/includes/session.inc on line > 102." > > That seems to be the only bad thing I get. > > I currently wonder if it is careful to deploy it on my production site > without understanding this issue. I used the UPGRADE.txt document to > upgrade my site. > > I would be interested to know if other people got the same problem. > > Thanks for your help, > > Genevi?ve Romier > www.projet-plume.org > > Gavin Henry wrote: > > Hi All, > > > > We've just installed Drupal 6.7 for our new site with php 4.4 and > > MySQL 5 and sessions don't work. > > > > We were on postgres 7.4 and sessions worked, switching to MySQL (can't > > go back) and sessions broke. > > > > What info can we provide? > > > > mysql -v > > mysql Ver 14.12 Distrib 5.0.70, for pc-linux-gnu (i686) using readline > > 5.2 > > > > php -v > > PHP 4.4.8-pl0-gentoo with Suhosin-Patch 0.9.6 (cli) (built: Aug 9 > > 2008 09:12:56) > > Copyright (c) 1997-2008 The PHP Group > > Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies > > with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend > > Technologies with Suhosin v0.9.18, Copyright (c) 2002-2006, by > > Hardened-PHP Project > > > > Thanks. From genevieve.romier at urec.cnrs.fr Thu Dec 11 12:04:48 2008 From: genevieve.romier at urec.cnrs.fr (Genevieve Romier) Date: Thu, 11 Dec 2008 13:04:48 +0100 Subject: [support] Drupal 5-13 - warning: Wrong parameter count for session_set_cookie_params() in session.inc on line 102. In-Reply-To: <200812111258.08646.m.kruisselbrink@student.tue.nl> References: <13ca621c0812110250s769cc3a0h1f0301d104bda559@mail.gmail.com> <4940FC16.20803@urec.cnrs.fr> <200812111258.08646.m.kruisselbrink@student.tue.nl> Message-ID: <494101E0.50300@urec.cnrs.fr> Hi, Thanks a lot! I use php 5.1.2. It is not the last version. That could be the reason. Genevi?ve Romier Marijn Kruisselbrink wrote: > It seems the latest drupal 6.7/5.13 releases (probably unintentionally) > introduced a dependency on php5, by calling a function with an extra > parameter that did not exist in earlier versions of php. > > Marijn > > On Thursday 11 December 2008 12:40:06 Genevieve Romier wrote: >> Hello all, >> >> I've just installed the last 5.13 Drupal core version on my test >> platform and I get a similar message at each connexion for each user I >> can login for. >> >> It is probably similar as the Gavin Henry described in his email >> >> The message is "warning: Wrong parameter count for >> session_set_cookie_params() in /..../drupal/includes/session.inc on line >> 102." >> >> That seems to be the only bad thing I get. >> >> I currently wonder if it is careful to deploy it on my production site >> without understanding this issue. I used the UPGRADE.txt document to >> upgrade my site. >> >> I would be interested to know if other people got the same problem. >> >> Thanks for your help, >> >> Genevi?ve Romier >> www.projet-plume.org >> >> Gavin Henry wrote: >>> Hi All, >>> >>> We've just installed Drupal 6.7 for our new site with php 4.4 and >>> MySQL 5 and sessions don't work. >>> >>> We were on postgres 7.4 and sessions worked, switching to MySQL (can't >>> go back) and sessions broke. >>> >>> What info can we provide? >>> >>> mysql -v >>> mysql Ver 14.12 Distrib 5.0.70, for pc-linux-gnu (i686) using readline >>> 5.2 >>> >>> php -v >>> PHP 4.4.8-pl0-gentoo with Suhosin-Patch 0.9.6 (cli) (built: Aug 9 >>> 2008 09:12:56) >>> Copyright (c) 1997-2008 The PHP Group >>> Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies >>> with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend >>> Technologies with Suhosin v0.9.18, Copyright (c) 2002-2006, by >>> Hardened-PHP Project >>> >>> Thanks. > > -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 4063 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.drupal.org/pipermail/support/attachments/20081211/7f11149b/attachment.bin From cimo75 at gmail.com Thu Dec 11 12:55:46 2008 From: cimo75 at gmail.com (simone-www.io-lab.org) Date: Thu, 11 Dec 2008 12:55:46 +0000 Subject: [support] Double site Message-ID: Hi I ve read a bit about multi site installation, but still i am not so sure about how to go: I ll have basically 2 "twin sites" each referring to a different island in the same archipelago, the structure both on content management and on the theme graphic will be the same but all content will be different and i d like to have the 2 sites on 2 different databases. first site: www.mysite.com/islandx second site: www.mysite.com/islandy of course at www.mysite.com there will be an island chooser considering i ll have to change details on the future i d like to have the 2 sites using the same theme and the same module folder although i think i need 2 different installations (to get the 2 contents on 2 different databases) It s clear to me how to have a site using different themes but not really the other way round.. Any hint is welcome Simone -- .wmv , .wma , .pps along with all proprietary Windows formats won t be accepted and/or viewed.... From cjones at partialflow.com Thu Dec 11 13:09:33 2008 From: cjones at partialflow.com (Christopher M. Jones) Date: Thu, 11 Dec 2008 08:09:33 -0500 Subject: [support] Double site In-Reply-To: References: Message-ID: <4941110D.6090901@partialflow.com> You don't need two installations if you go multisite. That's the whole point of multisite: you have one installation using different databases per domain. Essentially, multisite is just a way to simplify maintenance by consolidating multiple sites into one codebase. Sites can share some or all modules, some or all themes. You need to read up on this at http://drupal.org/node/43816 simone-www.io-lab.org wrote: > Hi > I ve read a bit about multi site installation, but still i am not so > sure about how to go: > I ll have basically 2 "twin sites" each referring to a different > island in the same archipelago, the structure both on content > management and on the theme graphic will be the same but all content > will be different and i d like to have the 2 sites on 2 different > databases. > first site: www.mysite.com/islandx > second site: www.mysite.com/islandy > of course at www.mysite.com there will be an island chooser > considering i ll have to change details on the future i d like to have > the 2 sites using the same theme and the same module folder although i > think i need 2 different installations (to get the 2 contents on 2 > different databases) > It s clear to me how to have a site using different themes but not > really the other way round.. > Any hint is welcome > Simone From daniel.carrera at zmsl.com Thu Dec 11 13:27:09 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Thu, 11 Dec 2008 14:27:09 +0100 Subject: [support] Drupal API - Create user Message-ID: <4941152D.5080701@zmsl.com> Hello, I'm reading the Drupal API for creating a new user: http://api.drupal.org/api/function/user_save/5 I have a few questions: 1) If I'm creating a new user, can I just set $account to be an empty array? 2) Which fields do I have to put in $array? Which fields are optional? I ran user_fields() to figure out what fields are available for $array. This is what I got: User fields: uid, name, pass, mail, mode, sort, threshold, theme, signature, created, access, login, status, timezone, language, picture, init, data I plan to include only name, pass, mail and login. Is it ok to exclude the others? I don't even know what some of the other fields are. 3) If I want to make a custom script that uses the Drupal API, which file do I need to include? I can't just include "user.module", clearly that file depends on others. Thanks, Daniel. From mauricemengel at gmail.com Thu Dec 11 13:55:30 2008 From: mauricemengel at gmail.com (Maurice Mengel) Date: Thu, 11 Dec 2008 14:55:30 +0100 Subject: [support] Drupal 5-13 - warning: Wrong parameter count for session_set_cookie_params() in session.inc on line 102. In-Reply-To: <494101E0.50300@urec.cnrs.fr> References: <13ca621c0812110250s769cc3a0h1f0301d104bda559@mail.gmail.com> <4940FC16.20803@urec.cnrs.fr> <200812111258.08646.m.kruisselbrink@student.tue.nl> <494101E0.50300@urec.cnrs.fr> Message-ID: I get the warning to warning: Wrong parameter count for session_set_cookie_params() in /home/mauricemengel-de/htdocs/includes/session.inc on line 103. I have that, too with in Drupal 6.7 Apache/1.3.39 (Unix) mod_gzip/1.3.19.1a PHP/4.4.8. PHP says that this features was added in version 5.2.0 (see http://de.php.net/session_set_cookie_params) includes/session.inc does use it and the Drupal 6.7 release notes says that's a feature and not a bug, see http://drupal.org/node/345462 I guess I will change the line in session.inc until my provider upgrades php... best Maurice On Thu, Dec 11, 2008 at 1:04 PM, Genevieve Romier wrote: > Hi, > > Thanks a lot! > I use php 5.1.2. It is not the last version. That could be the reason. > > Genevi?ve Romier > > Marijn Kruisselbrink wrote: >> >> It seems the latest drupal 6.7/5.13 releases (probably unintentionally) >> introduced a dependency on php5, by calling a function with an extra >> parameter that did not exist in earlier versions of php. >> >> Marijn >> >> On Thursday 11 December 2008 12:40:06 Genevieve Romier wrote: >>> >>> Hello all, >>> >>> I've just installed the last 5.13 Drupal core version on my test >>> platform and I get a similar message at each connexion for each user I >>> can login for. >>> >>> It is probably similar as the Gavin Henry described in his email >>> >>> The message is "warning: Wrong parameter count for >>> session_set_cookie_params() in /..../drupal/includes/session.inc on line >>> 102." >>> >>> That seems to be the only bad thing I get. >>> >>> I currently wonder if it is careful to deploy it on my production site >>> without understanding this issue. I used the UPGRADE.txt document to >>> upgrade my site. >>> >>> I would be interested to know if other people got the same problem. >>> >>> Thanks for your help, >>> >>> Genevi?ve Romier >>> www.projet-plume.org >>> >>> Gavin Henry wrote: >>>> >>>> Hi All, >>>> >>>> We've just installed Drupal 6.7 for our new site with php 4.4 and >>>> MySQL 5 and sessions don't work. >>>> >>>> We were on postgres 7.4 and sessions worked, switching to MySQL (can't >>>> go back) and sessions broke. >>>> >>>> What info can we provide? >>>> >>>> mysql -v >>>> mysql Ver 14.12 Distrib 5.0.70, for pc-linux-gnu (i686) using readline >>>> 5.2 >>>> >>>> php -v >>>> PHP 4.4.8-pl0-gentoo with Suhosin-Patch 0.9.6 (cli) (built: Aug 9 >>>> 2008 09:12:56) >>>> Copyright (c) 1997-2008 The PHP Group >>>> Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies >>>> with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend >>>> Technologies with Suhosin v0.9.18, Copyright (c) 2002-2006, by >>>> Hardened-PHP Project >>>> >>>> Thanks. >> >> > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From shai at content2zero.com Thu Dec 11 14:05:15 2008 From: shai at content2zero.com (Shai Gluskin) Date: Thu, 11 Dec 2008 09:05:15 -0500 Subject: [support] Drupal 5-13 - warning: Wrong parameter count for session_set_cookie_params() in session.inc on line 102. In-Reply-To: References: <13ca621c0812110250s769cc3a0h1f0301d104bda559@mail.gmail.com> <4940FC16.20803@urec.cnrs.fr> <200812111258.08646.m.kruisselbrink@student.tue.nl> <494101E0.50300@urec.cnrs.fr> Message-ID: <9f68efb70812110605n32175b8dmedfb20e5d42c5dee@mail.gmail.com> I believe that Drupal is going to come out with 5.14 today and fix this problem so that you won't have to hack core to use the most secure version of Drupal. I always wait 48 hours before installing a new version of core. Shai On 12/11/08, Maurice Mengel wrote: > I get the warning to > warning: Wrong parameter count for session_set_cookie_params() in > /home/mauricemengel-de/htdocs/includes/session.inc on line 103. > > I have that, too with in Drupal 6.7 Apache/1.3.39 (Unix) > mod_gzip/1.3.19.1a PHP/4.4.8. > > PHP says that this features was added in version 5.2.0 (see > http://de.php.net/session_set_cookie_params) > > includes/session.inc does use it and the Drupal 6.7 release notes says > that's a feature and not a bug, see http://drupal.org/node/345462 > > I guess I will change the line in session.inc until my provider upgrades > php... > > best > Maurice > > > > On Thu, Dec 11, 2008 at 1:04 PM, Genevieve Romier > wrote: >> Hi, >> >> Thanks a lot! >> I use php 5.1.2. It is not the last version. That could be the reason. >> >> Genevi?ve Romier >> >> Marijn Kruisselbrink wrote: >>> >>> It seems the latest drupal 6.7/5.13 releases (probably unintentionally) >>> introduced a dependency on php5, by calling a function with an extra >>> parameter that did not exist in earlier versions of php. >>> >>> Marijn >>> >>> On Thursday 11 December 2008 12:40:06 Genevieve Romier wrote: >>>> >>>> Hello all, >>>> >>>> I've just installed the last 5.13 Drupal core version on my test >>>> platform and I get a similar message at each connexion for each user I >>>> can login for. >>>> >>>> It is probably similar as the Gavin Henry described in his email >>>> >>>> The message is "warning: Wrong parameter count for >>>> session_set_cookie_params() in /..../drupal/includes/session.inc on line >>>> 102." >>>> >>>> That seems to be the only bad thing I get. >>>> >>>> I currently wonder if it is careful to deploy it on my production site >>>> without understanding this issue. I used the UPGRADE.txt document to >>>> upgrade my site. >>>> >>>> I would be interested to know if other people got the same problem. >>>> >>>> Thanks for your help, >>>> >>>> Genevi?ve Romier >>>> www.projet-plume.org >>>> >>>> Gavin Henry wrote: >>>>> >>>>> Hi All, >>>>> >>>>> We've just installed Drupal 6.7 for our new site with php 4.4 and >>>>> MySQL 5 and sessions don't work. >>>>> >>>>> We were on postgres 7.4 and sessions worked, switching to MySQL (can't >>>>> go back) and sessions broke. >>>>> >>>>> What info can we provide? >>>>> >>>>> mysql -v >>>>> mysql Ver 14.12 Distrib 5.0.70, for pc-linux-gnu (i686) using readline >>>>> 5.2 >>>>> >>>>> php -v >>>>> PHP 4.4.8-pl0-gentoo with Suhosin-Patch 0.9.6 (cli) (built: Aug 9 >>>>> 2008 09:12:56) >>>>> Copyright (c) 1997-2008 The PHP Group >>>>> Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies >>>>> with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend >>>>> Technologies with Suhosin v0.9.18, Copyright (c) 2002-2006, by >>>>> Hardened-PHP Project >>>>> >>>>> Thanks. >>> >>> >> >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > -- > [ Drupal support list | http://lists.drupal.org/ ] From mail at webthatworks.it Thu Dec 11 14:46:19 2008 From: mail at webthatworks.it (Ivan Sergio Borgonovo) Date: Thu, 11 Dec 2008 15:46:19 +0100 Subject: [support] security and upgrading Re: Drupal 5-13 - warning: Wrong parameter count for session_set_cookie_params() in session.inc on line 102. In-Reply-To: <9f68efb70812110605n32175b8dmedfb20e5d42c5dee@mail.gmail.com> References: <13ca621c0812110250s769cc3a0h1f0301d104bda559@mail.gmail.com> <4940FC16.20803@urec.cnrs.fr> <200812111258.08646.m.kruisselbrink@student.tue.nl> <494101E0.50300@urec.cnrs.fr> <9f68efb70812110605n32175b8dmedfb20e5d42c5dee@mail.gmail.com> Message-ID: <20081211154619.099d2f78@dawn.webthatworks.it> On Thu, 11 Dec 2008 09:05:15 -0500 "Shai Gluskin" wrote: > I always wait 48 hours before installing a new version of core. I just read people are still using Drupal 5.X where X<10 and I was wondering why being drupal so popular they don't get pwned by bots. I'll have to look at previous sec advisories and build up some signatures to see if anyone is actually targeting Drupal with bots. I generally upgrade ASAP. I find a bit annoying (but maybe someone can suggest how to overcome this) that the packaging system modify a lot of files just to add version info, so that it is a bit annoying to examine the diff. -- Ivan Sergio Borgonovo http://www.webthatworks.it From Greg at growingventuresolutions.com Thu Dec 11 15:09:26 2008 From: Greg at growingventuresolutions.com (Greg Knaddison) Date: Thu, 11 Dec 2008 07:09:26 -0800 Subject: [support] security and upgrading Re: Drupal 5-13 - warning: Wrong parameter count for session_set_cookie_params() in session.inc on line 102. In-Reply-To: <20081211154619.099d2f78@dawn.webthatworks.it> References: <13ca621c0812110250s769cc3a0h1f0301d104bda559@mail.gmail.com> <4940FC16.20803@urec.cnrs.fr> <200812111258.08646.m.kruisselbrink@student.tue.nl> <494101E0.50300@urec.cnrs.fr> <9f68efb70812110605n32175b8dmedfb20e5d42c5dee@mail.gmail.com> <20081211154619.099d2f78@dawn.webthatworks.it> Message-ID: <3861c6770812110709h588aa195g55609db6b5ef258e@mail.gmail.com> On Thu, Dec 11, 2008 at 6:46 AM, Ivan Sergio Borgonovo wrote: > I find a bit annoying (but maybe someone can suggest how to overcome > this) that the packaging system modify a lot of files just to add > version info, so that it is a bit annoying to examine the diff. I believe the packaging system only modifies the .info files and adds a LICENSE.txt. Though perhaps you are referring not to the packaging system but to the CVS $Id$ value. Something like: diff -r drupal-6.6/ drupal-6.7 | grep -v Id: Of course, if you want to see just the security changes you can look at just the commit that changed files for security reasons. Those are always small changesets right before the release http://drupal.org/cvs?commit=158200 Regards, Greg -- Greg Knaddison http://knaddison.com | 303-800-5623 | http://growingventuresolutions.com From net at twoedged.org Thu Dec 11 16:19:46 2008 From: net at twoedged.org (John Fletcher) Date: Thu, 11 Dec 2008 17:19:46 +0100 Subject: [support] Multiple sites using subfolders Message-ID: <000001c95bac$4bc62870$e3527950$@org> Hi everyone, I'd like to set up multiple sites using subfolders. Basically the client wants their site in multiple languages, but doesn't want to attempt to synchronise the various sites and pages between the languages or do anything that the content translation/i18n modules offer. So I want a bunch of independent sites in a multi-site setup. This could easily be achieved using domains like www.example.com, de.example.com, fr.example.com etc. The question is, can I do the same thing putting the sites at: www.example.com, www.example.com/de, www.example.com/fr. This guy explains the same problem quite well http://drupal.org/node/30857, but then the rest of the thread seems to lose track of the task and not give a decent answer. (it might be easier to understand the question if you forget about i18n altogether and just consider the question of putting multiple sites in subfolders). Thanks, John -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081211/0f6ad44a/attachment-0001.htm From earnie at users.sourceforge.net Thu Dec 11 19:45:31 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Thu, 11 Dec 2008 14:45:31 -0500 Subject: [support] Multiple sites using subfolders In-Reply-To: <000001c95bac$4bc62870$e3527950$@org> References: <000001c95bac$4bc62870$e3527950$@org> Message-ID: <20081211144531.3a8m0bv56v7l28c8@mail.progw.org> Quoting John Fletcher : > Hi everyone, > > > > I'd like to set up multiple sites using subfolders. Basically the client > wants their site in multiple languages, but doesn't want to attempt to > synchronise the various sites and pages between the languages or do anything > that the content translation/i18n modules offer. > > > > So I want a bunch of independent sites in a multi-site setup. This could > easily be achieved using domains like www.example.com, de.example.com, > fr.example.com etc. > > Possible > > The question is, can I do the same thing putting the sites at: > www.example.com, www.example.com/de, www.example.com/fr. > Possible Have a look at the examples in the comments of the settings.php file. > > > This guy explains the same problem quite well http://drupal.org/node/30857, > but then the rest of the thread seems to lose track of the task and not give > a decent answer. > The first comment of that issue explains what to do. Make a directory sites/www.example.com.fr, another sites/www.example.com.en and another sites/www.example.com.de. Then copy the pristine version of the settings.php file from the sites/default folder to each of these or if you're using version 6 you copy the default.settings.php. > > > (it might be easier to understand the question if you forget about i18n > altogether and just consider the question of putting multiple sites in > subfolders). > The question becomes what data should be shared? Or are they independent? If each site shares the same database be sure to set a db_prefix for each site (something like fr_ or de_). -- Earnie http://r-feed.com Make a Drupal difference and review core patches. -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From fredthejonester at gmail.com Thu Dec 11 19:54:08 2008 From: fredthejonester at gmail.com (Fred Jones) Date: Thu, 11 Dec 2008 21:54:08 +0200 Subject: [support] PayPal Gone Haywire? Message-ID: <177c0a10812111154u24a9cf19vc5216066486c0f6b@mail.gmail.com> I have a Drupal 5 site with E-Commerce 5.x-3.3 which has been up and working for while, like a year maybe. Today they write me and say people can't pay. I checked it out and the site is fine, BUT when I click to pay and it sends me to paypal.com, I get a blank page. IE and FF. I asked them to send me the password for their account so I can call PayPal and TRY to speak to a human, but do any humans here know anything about this? Seems to me that something happened at PayPal. Maybe it's just temporary? Thanks. From earnie at users.sourceforge.net Thu Dec 11 20:06:48 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Thu, 11 Dec 2008 15:06:48 -0500 Subject: [support] Drupal API - Create user In-Reply-To: <4941152D.5080701@zmsl.com> References: <4941152D.5080701@zmsl.com> Message-ID: <20081211150648.1pnkm3quh5kc8s0o@mail.progw.org> Quoting Daniel Carrera : > Hello, > > I'm reading the Drupal API for creating a new user: > > http://api.drupal.org/api/function/user_save/5 > > I have a few questions: > > 1) If I'm creating a new user, can I just set $account to be an empty array? > > 2) Which fields do I have to put in $array? Which fields are optional? I > ran user_fields() to figure out what fields are available for $array. > This is what I got: > > User fields: uid, name, pass, mail, mode, sort, threshold, theme, > signature, created, access, login, status, timezone, language, picture, > init, data > > I plan to include only name, pass, mail and login. Is it ok to exclude > the others? I don't even know what some of the other fields are. > Sounds correct to me. I think you just need name, pass and mail. > 3) If I want to make a custom script that uses the Drupal API, which > file do I need to include? I can't just include "user.module", clearly > that file depends on others. > You need to include "./includes/bootstrap.inc" and then execute drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL). The Drupal root directory must be your working directory before doing this. -- Earnie http://r-feed.com Make a Drupal difference and review core patches. -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From daniel.carrera at zmsl.com Thu Dec 11 21:15:12 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Thu, 11 Dec 2008 22:15:12 +0100 Subject: [support] Drupal API - Create user In-Reply-To: <20081211150648.1pnkm3quh5kc8s0o@mail.progw.org> References: <4941152D.5080701@zmsl.com> <20081211150648.1pnkm3quh5kc8s0o@mail.progw.org> Message-ID: <494182E0.7020208@zmsl.com> Earnie Boyd wrote: >> 3) If I want to make a custom script that uses the Drupal API, which >> file do I need to include? I can't just include "user.module", clearly >> that file depends on others. > > You need to include "./includes/bootstrap.inc" and then execute > drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL). The Drupal root directory > must be your working directory before doing this. Ok, thanks. Can I put the program in a different directory and chdir() to the Drupal root? Thanks Daniel. From mauricemengel at gmail.com Thu Dec 11 21:39:33 2008 From: mauricemengel at gmail.com (Maurice Mengel) Date: Thu, 11 Dec 2008 22:39:33 +0100 Subject: [support] Multiple sites using subfolders In-Reply-To: <000001c95bac$4bc62870$e3527950$@org> References: <000001c95bac$4bc62870$e3527950$@org> Message-ID: Hi, i use multisite to set up my sites www.mysite.de/one www.mysite.de/two www.mysite.de/three in sites dir I have www.mysite.de.one, i think. I don't see what's stopping you. I use 6.x and it seems that the thread you mention is much older. Maurice On Thu, Dec 11, 2008 at 5:19 PM, John Fletcher wrote: > Hi everyone, > > > > I'd like to set up multiple sites using subfolders. Basically the client > wants their site in multiple languages, but doesn't want to attempt to > synchronise the various sites and pages between the languages or do anything > that the content translation/i18n modules offer. > > > > So I want a bunch of independent sites in a multi-site setup. This could > easily be achieved using domains like www.example.com, de.example.com, > fr.example.com etc. > > > > The question is, can I do the same thing putting the sites at: > www.example.com, www.example.com/de, www.example.com/fr. > > > > This guy explains the same problem quite well http://drupal.org/node/30857, > but then the rest of the thread seems to lose track of the task and not give > a decent answer. > > > > (it might be easier to understand the question if you forget about i18n > altogether and just consider the question of putting multiple sites in > subfolders). > > > > Thanks, > > John > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From bchoc at t4tcolorado.org Thu Dec 11 22:14:18 2008 From: bchoc at t4tcolorado.org (Brian Choc) Date: Thu, 11 Dec 2008 15:14:18 -0700 Subject: [support] Adding link to image (logo style) In-Reply-To: References: <507b282e0812101644m444a4706q6fe15f3885006418@mail.gmail.com> Message-ID: <507b282e0812111414y2870911bme8dfeb01a116bf2b@mail.gmail.com> You could do something as simple as: Your text or picture here You may want to add check_url to the php, or rel or title attributes to the link tag, but I think that's the most simple link back to home page. Alternatively, here's the code from the core theme Garland. if ($logo || $site_title) { print '

'; if ($logo) { print ''; } print $site_html .'

'; } Here they've done basically the same thing but are including variables for the logo and site title and also checked to make sure the title and logo are present before trying to display them. Also, Garland puts the HTML inside the PHP, where my example put the PHP inside the HTML. That said, there are lots of themes you can check to see different approaches to how it's done. Brian On Wed, Dec 10, 2008 at 8:17 PM, simone-www. io-lab. org wrote: > On Thu, Dec 11, 2008 at 12:44 AM, Brian Choc > wrote: > > I'm a little confused by what you're asking. I don't think you really > need > > a region unless you plan to put blocks in it. You can just link to > > $front_page in your theme's page.tpl.php using whatever image or text you > > like. > > Brian > hi Brian > I ve tried to mangle with php code (i am quite new to it) but i can t > find out the right syntax (i copied the code from the original logo > and adapted it but with no luck) > Can you point me out to an example? > Thanks > Simone > > > > > > > > On Wed, Dec 10, 2008 at 10:03 AM, simone-www. io-lab. org < > cimo75 at gmail.com> > > wrote: > >> > >> hi > >> I decided to remove the logo php code and go for a region that will > >> host the image of my logo/name. > >> I can easily add an image via css to the region class but to have a > >> link bringing back to "home" i have to use html code in a block added > >> to that region.That works but i d like, if possible to use php > >> page.tpl.php and/or css to place the linked image, how can i > >> accomplish that? > >> thanks > >> Simone > >> > >> -- > >> .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/ ] > > > > > > -- > .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: http://lists.drupal.org/pipermail/support/attachments/20081211/34ba8ad9/attachment.htm From earnie at users.sourceforge.net Thu Dec 11 22:52:10 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Thu, 11 Dec 2008 17:52:10 -0500 Subject: [support] Drupal API - Create user In-Reply-To: <494182E0.7020208@zmsl.com> References: <4941152D.5080701@zmsl.com> <20081211150648.1pnkm3quh5kc8s0o@mail.progw.org> <494182E0.7020208@zmsl.com> Message-ID: <20081211175210.74tou7c3muck0ko8@mail.progw.org> Quoting Daniel Carrera : > Earnie Boyd wrote: >>> 3) If I want to make a custom script that uses the Drupal API, which >>> file do I need to include? I can't just include "user.module", clearly >>> that file depends on others. >> >> You need to include "./includes/bootstrap.inc" and then execute >> drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL). The Drupal root directory >> must be your working directory before doing this. > > Ok, thanks. Can I put the program in a different directory and chdir() > to the Drupal root? > Yes. I created a function for this I called drupalize that checks for the includes/bootstrap.php file else backs up another directory. I then know I'm in the root directory. -- Earnie http://r-feed.com Make a Drupal difference and review core patches. -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From earnie at users.sourceforge.net Thu Dec 11 22:59:00 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Thu, 11 Dec 2008 17:59:00 -0500 Subject: [support] PayPal Gone Haywire? In-Reply-To: <177c0a10812111154u24a9cf19vc5216066486c0f6b@mail.gmail.com> References: <177c0a10812111154u24a9cf19vc5216066486c0f6b@mail.gmail.com> Message-ID: <20081211175900.udhnw1gj4z0oc8g0@mail.progw.org> Quoting Fred Jones : > I have a Drupal 5 site with E-Commerce 5.x-3.3 which has been up and > working for while, like a year maybe. > > Today they write me and say people can't pay. I checked it out and the > site is fine, BUT when I click to pay and it sends me to paypal.com, I > get a blank page. IE and FF. I asked them to send me the password for > their account so I can call PayPal and TRY to speak to a human, but do > any humans here know anything about this? > > Seems to me that something happened at PayPal. Maybe it's just temporary? > Does it make it to the paypal site (url address in the input bar)? If not maybe you're blowing memory and need to set a new memory_limit value. -- Earnie http://r-feed.com Make a Drupal difference and review core patches. -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From gordon at heydon.com.au Thu Dec 11 22:59:37 2008 From: gordon at heydon.com.au (Gordon Heydon) Date: Fri, 12 Dec 2008 09:59:37 +1100 Subject: [support] PayPal Gone Haywire? In-Reply-To: <177c0a10812111154u24a9cf19vc5216066486c0f6b@mail.gmail.com> References: <177c0a10812111154u24a9cf19vc5216066486c0f6b@mail.gmail.com> Message-ID: Hi, It is most likely the URL which you are being redirected to on Paypal. The old method which 3.x uses has been removed from use on PayPal. You will need to update the url to https://www.paypal.com/cgi-bin/ webscr which should fix the problem Gordon. On 12/12/2008, at 6:54 AM, Fred Jones wrote: > I have a Drupal 5 site with E-Commerce 5.x-3.3 which has been up and > working for while, like a year maybe. > > Today they write me and say people can't pay. I checked it out and the > site is fine, BUT when I click to pay and it sends me to paypal.com, I > get a blank page. IE and FF. I asked them to send me the password for > their account so I can call PayPal and TRY to speak to a human, but do > any humans here know anything about this? > > Seems to me that something happened at PayPal. Maybe it's just > temporary? > > Thanks. > -- > [ Drupal support list | http://lists.drupal.org/ ] From shyamala at netlinkindia.com Fri Dec 12 00:27:56 2008 From: shyamala at netlinkindia.com (Shyamala Rajaram) Date: Fri, 12 Dec 2008 05:57:56 +0530 Subject: [support] Multiple sites using subfolders In-Reply-To: Message-ID: <20081212002700.BCFD310AB58@whitealder.osuosl.org> We have sites running as multisites, it works just fine! For multisite on windows: http://drupal.org/node/32715 Read 'settings.php', in the sites/default folder, to understand how drupal searches it's folder to locate the file storing a particular domain's settings.php. Drupal by default reads the settings.php file in the default folder. You can configure the main portal settings in the default directory. The subdomains a.com and b.com can be configured by creating two new folders under the sites directory called yourdomain.a.com and yourdomain.b.com. Each of these folders should have it's own settings.php. In the settings.php of each site you have to name the database to be used. If you want some settings to be shared between the sites you could go in for a shared database configuration. refer: http://drupal.org/node/147828 for Multi-Site, Single Codebase, Shared Database, Shared Sign-on 5.x Shyamala Netlink Technologies Ltd http://shyamala-drupal.blogspot.com/ -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Maurice Mengel Sent: Friday, December 12, 2008 3:10 AM To: support at drupal.org Subject: Re: [support] Multiple sites using subfolders Hi, i use multisite to set up my sites www.mysite.de/one www.mysite.de/two www.mysite.de/three in sites dir I have www.mysite.de.one, i think. I don't see what's stopping you. I use 6.x and it seems that the thread you mention is much older. Maurice On Thu, Dec 11, 2008 at 5:19 PM, John Fletcher wrote: > Hi everyone, > > > > I'd like to set up multiple sites using subfolders. Basically the client > wants their site in multiple languages, but doesn't want to attempt to > synchronise the various sites and pages between the languages or do anything > that the content translation/i18n modules offer. > > > > So I want a bunch of independent sites in a multi-site setup. This could > easily be achieved using domains like www.example.com, de.example.com, > fr.example.com etc. > > > > The question is, can I do the same thing putting the sites at: > www.example.com, www.example.com/de, www.example.com/fr. > > > > This guy explains the same problem quite well http://drupal.org/node/30857, > but then the rest of the thread seems to lose track of the task and not give > a decent answer. > > > > (it might be easier to understand the question if you forget about i18n > altogether and just consider the question of putting multiple sites in > subfolders). > > > > Thanks, > > John > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- [ Drupal support list | http://lists.drupal.org/ ] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081212/6343fc1e/attachment.htm From shyamala at netlinkindia.com Fri Dec 12 00:29:18 2008 From: shyamala at netlinkindia.com (Shyamala Rajaram) Date: Fri, 12 Dec 2008 05:59:18 +0530 Subject: [support] Double site In-Reply-To: Message-ID: <20081212002819.BCB1F3EDD1@fraxinus.osuosl.org> We have sites running as multisites, it works just fine! For multisite on windows: http://drupal.org/node/32715 Read 'settings.php', in the sites/default folder, to understand how drupal searches it's folder to locate the file storing a particular domain's settings.php. Drupal by default reads the settings.php file in the default folder. You can configure the main portal settings in the default directory. The subdomains a.com and b.com can be configured by creating two new folders under the sites directory called yourdomain.a.com and yourdomain.b.com. Each of these folders should have it's own settings.php. In the settings.php of each site you have to name the database to be used. If you want some settings to be shared between the sites you could go in for a shared database configuration. refer: http://drupal.org/node/147828 for Multi-Site, Single Codebase, Shared Database, Shared Sign-on 5.x Shyamala Netlink Technologies Ltd http://shyamala-drupal.blogspot.com/ -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of simone-www.io-lab.org Sent: Thursday, December 11, 2008 6:26 PM To: support at drupal.org Subject: [support] Double site Hi I ve read a bit about multi site installation, but still i am not so sure about how to go: I ll have basically 2 "twin sites" each referring to a different island in the same archipelago, the structure both on content management and on the theme graphic will be the same but all content will be different and i d like to have the 2 sites on 2 different databases. first site: www.mysite.com/islandx second site: www.mysite.com/islandy of course at www.mysite.com there will be an island chooser considering i ll have to change details on the future i d like to have the 2 sites using the same theme and the same module folder although i think i need 2 different installations (to get the 2 contents on 2 different databases) It s clear to me how to have a site using different themes but not really the other way round.. Any hint is welcome Simone -- .wmv , .wma , .pps along with all proprietary Windows formats won t be accepted and/or viewed.... -- [ Drupal support list | http://lists.drupal.org/ ] From cimo75 at gmail.com Fri Dec 12 02:48:16 2008 From: cimo75 at gmail.com (simone-www.io-lab.org) Date: Fri, 12 Dec 2008 02:48:16 +0000 Subject: [support] Double site In-Reply-To: <20081212002819.BCB1F3EDD1@fraxinus.osuosl.org> References: <20081212002819.BCB1F3EDD1@fraxinus.osuosl.org> Message-ID: Ok thanks, i am trying to figure out all the details: there will be a button in each page that will link to the other one, that sounds a bit tricky since i plan to share the same theme but i am sure there is common way to go... Simone On Fri, Dec 12, 2008 at 12:29 AM, Shyamala Rajaram wrote: > We have sites running as multisites, it works just fine! > > > > For multisite on windows: > > http://drupal.org/node/32715 > > > > Read 'settings.php', in the sites/default folder, to understand how drupal > searches it's folder to locate the file storing a particular domain's > settings.php. > > > > Drupal by default reads the settings.php file in the default folder. You can > configure the main portal settings in the default directory. The subdomains > a.com and b.com can be configured by creating two new folders under the > sites directory called yourdomain.a.com and yourdomain.b.com. Each of these > folders should have it's own settings.php. In the settings.php of each site > you have to name the database to be used. > > > > If you want some settings to be shared between the sites you could go in for > a shared database configuration. > > > > refer: http://drupal.org/node/147828 for > > Multi-Site, Single Codebase, Shared Database, Shared Sign-on 5.x > > > > > > Shyamala > > Netlink Technologies Ltd > http://shyamala-drupal.blogspot.com/ > > > -----Original Message----- > From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On > Behalf Of simone-www.io-lab.org > Sent: Thursday, December 11, 2008 6:26 PM > To: support at drupal.org > Subject: [support] Double site > > Hi > I ve read a bit about multi site installation, but still i am not so > sure about how to go: > I ll have basically 2 "twin sites" each referring to a different > island in the same archipelago, the structure both on content > management and on the theme graphic will be the same but all content > will be different and i d like to have the 2 sites on 2 different > databases. > first site: www.mysite.com/islandx > second site: www.mysite.com/islandy > of course at www.mysite.com there will be an island chooser > considering i ll have to change details on the future i d like to have > the 2 sites using the same theme and the same module folder although i > think i need 2 different installations (to get the 2 contents on 2 > different databases) > It s clear to me how to have a site using different themes but not > really the other way round.. > Any hint is welcome > Simone > -- > .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/ ] > -- .wmv , .wma , .pps along with all proprietary Windows formats won t be accepted and/or viewed.... From cimo75 at gmail.com Fri Dec 12 02:49:23 2008 From: cimo75 at gmail.com (simone-www.io-lab.org) Date: Fri, 12 Dec 2008 02:49:23 +0000 Subject: [support] Adding link to image (logo style) In-Reply-To: <507b282e0812111414y2870911bme8dfeb01a116bf2b@mail.gmail.com> References: <507b282e0812101644m444a4706q6fe15f3885006418@mail.gmail.com> <507b282e0812111414y2870911bme8dfeb01a116bf2b@mail.gmail.com> Message-ID: That really helped, thanks. Simone On Thu, Dec 11, 2008 at 10:14 PM, Brian Choc wrote: > You could do something as simple as: > Your text or picture here > You may want to add check_url to the php, or rel or title attributes to the > link tag, but I think that's the most simple link back to home page. > Alternatively, here's the code from the core theme Garland. > if ($logo || $site_title) { > print '

'; > if ($logo) { > print ''. $site_title .' id="logo" />'; > } > print $site_html .'

'; > } > Here they've done basically the same thing but are including variables for > the logo and site title and also checked to make sure the title and logo are > present before trying to display them. Also, Garland puts the HTML inside > the PHP, where my example put the PHP inside the HTML. > That said, there are lots of themes you can check to see different > approaches to how it's done. > Brian > On Wed, Dec 10, 2008 at 8:17 PM, simone-www. io-lab. org > wrote: >> >> On Thu, Dec 11, 2008 at 12:44 AM, Brian Choc >> wrote: >> > I'm a little confused by what you're asking. I don't think you really >> > need >> > a region unless you plan to put blocks in it. You can just link to >> > $front_page in your theme's page.tpl.php using whatever image or text >> > you >> > like. >> > Brian >> hi Brian >> I ve tried to mangle with php code (i am quite new to it) but i can t >> find out the right syntax (i copied the code from the original logo >> and adapted it but with no luck) >> Can you point me out to an example? >> Thanks >> Simone >> > >> > >> > >> > On Wed, Dec 10, 2008 at 10:03 AM, simone-www. io-lab. org >> > >> > wrote: >> >> >> >> hi >> >> I decided to remove the logo php code and go for a region that will >> >> host the image of my logo/name. >> >> I can easily add an image via css to the region class but to have a >> >> link bringing back to "home" i have to use html code in a block added >> >> to that region.That works but i d like, if possible to use php >> >> page.tpl.php and/or css to place the linked image, how can i >> >> accomplish that? >> >> thanks >> >> Simone >> >> >> >> -- >> >> .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/ ] >> > >> >> >> >> -- >> .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/ ] > -- .wmv , .wma , .pps along with all proprietary Windows formats won t be accepted and/or viewed.... From cjones at partialflow.com Fri Dec 12 03:17:31 2008 From: cjones at partialflow.com (Christopher M. Jones) Date: Thu, 11 Dec 2008 22:17:31 -0500 Subject: [support] Double site In-Reply-To: References: <20081212002819.BCB1F3EDD1@fraxinus.osuosl.org> Message-ID: <4941D7CB.60301@partialflow.com> What will happen is: you will install your sites, set each one up to use it's own database, or prefix within the same database. For each site you will choose your template, available to each because it's located in sites/all/themes. Now each site looks the same. But you'll find that when you set up your menu in one, it won't appear in any of the others. Different databases, you see. simone-www.io-lab.org wrote: > Ok thanks, i am trying to figure out all the details: there will be a > button in each page that will link to the other one, that sounds a bit > tricky since i plan to share the same theme but i am sure there is > common way to go... > Simone > > On Fri, Dec 12, 2008 at 12:29 AM, Shyamala Rajaram > wrote: >> We have sites running as multisites, it works just fine! >> >> >> >> For multisite on windows: >> >> http://drupal.org/node/32715 >> >> >> >> Read 'settings.php', in the sites/default folder, to understand how drupal >> searches it's folder to locate the file storing a particular domain's >> settings.php. >> >> >> >> Drupal by default reads the settings.php file in the default folder. You can >> configure the main portal settings in the default directory. The subdomains >> a.com and b.com can be configured by creating two new folders under the >> sites directory called yourdomain.a.com and yourdomain.b.com. Each of these >> folders should have it's own settings.php. In the settings.php of each site >> you have to name the database to be used. >> >> >> >> If you want some settings to be shared between the sites you could go in for >> a shared database configuration. >> >> >> >> refer: http://drupal.org/node/147828 for >> >> Multi-Site, Single Codebase, Shared Database, Shared Sign-on 5.x >> >> >> >> >> >> Shyamala >> >> Netlink Technologies Ltd >> http://shyamala-drupal.blogspot.com/ >> >> >> -----Original Message----- >> From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On >> Behalf Of simone-www.io-lab.org >> Sent: Thursday, December 11, 2008 6:26 PM >> To: support at drupal.org >> Subject: [support] Double site >> >> Hi >> I ve read a bit about multi site installation, but still i am not so >> sure about how to go: >> I ll have basically 2 "twin sites" each referring to a different >> island in the same archipelago, the structure both on content >> management and on the theme graphic will be the same but all content >> will be different and i d like to have the 2 sites on 2 different >> databases. >> first site: www.mysite.com/islandx >> second site: www.mysite.com/islandy >> of course at www.mysite.com there will be an island chooser >> considering i ll have to change details on the future i d like to have >> the 2 sites using the same theme and the same module folder although i >> think i need 2 different installations (to get the 2 contents on 2 >> different databases) >> It s clear to me how to have a site using different themes but not >> really the other way round.. >> Any hint is welcome >> Simone >> -- >> .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/ ] >> > > > From cimo75 at gmail.com Fri Dec 12 03:31:52 2008 From: cimo75 at gmail.com (simone-www.io-lab.org) Date: Fri, 12 Dec 2008 03:31:52 +0000 Subject: [support] Double site In-Reply-To: <4941D7CB.60301@partialflow.com> References: <20081212002819.BCB1F3EDD1@fraxinus.osuosl.org> <4941D7CB.60301@partialflow.com> Message-ID: Hi the "island switcher" button is created on page.tpl.php, and i am sharing this file on both sites (or not??), i think i have to replace the link with a php function such as (see my other post "Adding link to image (logo style)"). In fact I have 2 buttons (images) created in page.tpl.php, one links to home page, the other one links to the home page of the other site. Simone On Fri, Dec 12, 2008 at 3:17 AM, Christopher M. Jones wrote: > What will happen is: you will install your sites, set each one up to use > it's own database, or prefix within the same database. For each site you > will choose your template, available to each because it's located in > sites/all/themes. Now each site looks the same. But you'll find that > when you set up your menu in one, it won't appear in any of the others. > Different databases, you see. > > simone-www.io-lab.org wrote: >> Ok thanks, i am trying to figure out all the details: there will be a >> button in each page that will link to the other one, that sounds a bit >> tricky since i plan to share the same theme but i am sure there is >> common way to go... >> Simone >> >> On Fri, Dec 12, 2008 at 12:29 AM, Shyamala Rajaram >> wrote: >>> We have sites running as multisites, it works just fine! >>> >>> >>> >>> For multisite on windows: >>> >>> http://drupal.org/node/32715 >>> >>> >>> >>> Read 'settings.php', in the sites/default folder, to understand how drupal >>> searches it's folder to locate the file storing a particular domain's >>> settings.php. >>> >>> >>> >>> Drupal by default reads the settings.php file in the default folder. You can >>> configure the main portal settings in the default directory. The subdomains >>> a.com and b.com can be configured by creating two new folders under the >>> sites directory called yourdomain.a.com and yourdomain.b.com. Each of these >>> folders should have it's own settings.php. In the settings.php of each site >>> you have to name the database to be used. >>> >>> >>> >>> If you want some settings to be shared between the sites you could go in for >>> a shared database configuration. >>> >>> >>> >>> refer: http://drupal.org/node/147828 for >>> >>> Multi-Site, Single Codebase, Shared Database, Shared Sign-on 5.x >>> >>> >>> >>> >>> >>> Shyamala >>> >>> Netlink Technologies Ltd >>> http://shyamala-drupal.blogspot.com/ >>> >>> >>> -----Original Message----- >>> From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On >>> Behalf Of simone-www.io-lab.org >>> Sent: Thursday, December 11, 2008 6:26 PM >>> To: support at drupal.org >>> Subject: [support] Double site >>> >>> Hi >>> I ve read a bit about multi site installation, but still i am not so >>> sure about how to go: >>> I ll have basically 2 "twin sites" each referring to a different >>> island in the same archipelago, the structure both on content >>> management and on the theme graphic will be the same but all content >>> will be different and i d like to have the 2 sites on 2 different >>> databases. >>> first site: www.mysite.com/islandx >>> second site: www.mysite.com/islandy >>> of course at www.mysite.com there will be an island chooser >>> considering i ll have to change details on the future i d like to have >>> the 2 sites using the same theme and the same module folder although i >>> think i need 2 different installations (to get the 2 contents on 2 >>> different databases) >>> It s clear to me how to have a site using different themes but not >>> really the other way round.. >>> Any hint is welcome >>> Simone >>> -- >>> .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/ ] >>> >> >> >> > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- .wmv , .wma , .pps along with all proprietary Windows formats won t be accepted and/or viewed.... From marc at funnymonkey.com Fri Dec 12 07:30:26 2008 From: marc at funnymonkey.com (Marc Poris) Date: Thu, 11 Dec 2008 23:30:26 -0800 Subject: [support] Users without email addresses? In-Reply-To: <493FF474.9070808@zmsl.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> Message-ID: <49421312.3090008@funnymonkey.com> If you are adding users via API, there shouldn't be any need to supply an email address. This has worked fine for us for a long time in Drupal 5.x: $new_user = user_save('', array( 'name' => $name, 'pass' => $pass, 'roles' => array(), 'status' => 1 ) ); - Marc Daniel Carrera wrote: > That's an interesting idea. Thanks. > > > Steve Kessler wrote: > >> A non-Drupal but educational response might be to use the free - student >> emails from Gaggle.net >> (http://www.gaggle.net/gen?_template=/templates/gaggle/html/index.jsp) - I >> used these for students when I worked for Los Angeles Unified School >> District. The free version has ads but teachers can monitor traffic and >> there is extensive filtering. >> >> >> Steve Kessler >> Denver DataMan >> 303-587-4428 >> >> >> >> -----Original Message----- >> From: J-P Stacey [mailto:jp.stacey at torchbox.com] >> Sent: Wednesday, December 10, 2008 9:22 AM >> To: support at drupal.org >> Subject: Re: [support] Users without email addresses? >> >> >> >>> Yeah, that sounds like it should work - @foo.com >>> >> If I were a hacker, I'd sit at foo.com or nowhere.com, and wait for the >> emails to come rolling in. >> >> For fake emails, always use @example.com: >> >> http://www.rfc-editor.org/rfc/rfc2606.txt >> >> To keep student emails properly fake, you could also create a stub >> module with hook_form_alter to add a validate method to the user-edit >> forms. That could check that the user was either (a) a teacher or (b) >> their email was of the format firstname.lastname at example.com . >> >> J-P >> > > From net at twoedged.org Fri Dec 12 09:53:00 2008 From: net at twoedged.org (John Fletcher) Date: Fri, 12 Dec 2008 10:53:00 +0100 Subject: [support] Multiple sites using subfolders In-Reply-To: <20081212002700.BCFD310AB58@whitealder.osuosl.org> References: <20081212002700.BCFD310AB58@whitealder.osuosl.org> Message-ID: <000001c95c3f$6e718c00$4b54a400$@org> Thanks everyone. I didn't realise it was so simple - my mistake was reading that long drupal 4.7 thread about crazy symbolic linking and all that instead of just reading settings.php! Anyway in the end I realised that even though I don't want to use the i18n features to link translations of a certain page together, nevertheless I can just run it all from the one site. Using i18n URL prefixing the various pages will end up in /fr/... or /de/... depending on what language they are, and this makes my life easier as I only have to manage one site instead of 5. I'm going to go with this and see how it goes, but it's good to know I have the other alternative if necessary. Regards, John From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Shyamala Rajaram Sent: Friday, 12 December 2008 1:28 AM To: support at drupal.org Subject: Re: [support] Multiple sites using subfolders We have sites running as multisites, it works just fine! For multisite on windows: http://drupal.org/node/32715 Read 'settings.php', in the sites/default folder, to understand how drupal searches it's folder to locate the file storing a particular domain's settings.php. Drupal by default reads the settings.php file in the default folder. You can configure the main portal settings in the default directory. The subdomains a.com and b.com can be configured by creating two new folders under the sites directory called yourdomain.a.com and yourdomain.b.com. Each of these folders should have it's own settings.php. In the settings.php of each site you have to name the database to be used. If you want some settings to be shared between the sites you could go in for a shared database configuration. refer: http://drupal.org/node/147828 for Multi-Site, Single Codebase, Shared Database, Shared Sign-on 5.x Shyamala Netlink Technologies Ltd http://shyamala-drupal.blogspot.com/ -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Maurice Mengel Sent: Friday, December 12, 2008 3:10 AM To: support at drupal.org Subject: Re: [support] Multiple sites using subfolders Hi, i use multisite to set up my sites www.mysite.de/one www.mysite.de/two www.mysite.de/three in sites dir I have www.mysite.de.one, i think. I don't see what's stopping you. I use 6.x and it seems that the thread you mention is much older. Maurice On Thu, Dec 11, 2008 at 5:19 PM, John Fletcher wrote: > Hi everyone, > > > > I'd like to set up multiple sites using subfolders. Basically the client > wants their site in multiple languages, but doesn't want to attempt to > synchronise the various sites and pages between the languages or do anything > that the content translation/i18n modules offer. > > > > So I want a bunch of independent sites in a multi-site setup. This could > easily be achieved using domains like www.example.com, de.example.com, > fr.example.com etc. > > > > The question is, can I do the same thing putting the sites at: > www.example.com, www.example.com/de, www.example.com/fr. > > > > This guy explains the same problem quite well http://drupal.org/node/30857, > but then the rest of the thread seems to lose track of the task and not give > a decent answer. > > > > (it might be easier to understand the question if you forget about i18n > altogether and just consider the question of putting multiple sites in > subfolders). > > > > Thanks, > > John > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- [ Drupal support list | http://lists.drupal.org/ ] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081212/b82f3e32/attachment-0001.htm From simone.dalmaso at juvox.it Fri Dec 12 10:23:33 2008 From: simone.dalmaso at juvox.it (Simone Dal Maso) Date: Fri, 12 Dec 2008 11:23:33 +0100 Subject: [support] sql query and other References: <733D2EE4B452471D890DE8120BD78B56@data> <9f68efb70812100814y6b91d366n42c6909524062ad3@mail.gmail.com> Message-ID: Shai, really, thank you very much. Your message was detailed and I forward it to a friend of mine and with 2 query we solved the problem. Still thanks. bye. ----- Original Message ----- From: "Shai Gluskin" To: Sent: Wednesday, December 10, 2008 5:14 PM Subject: Re: [support] sql query and other > Simone, > > My opinion (which is not authoritative) regarding the easiest strategy to > solve your problem would be to write a query which would select the > contents > of the teaser field and put it into a variable (remember to include the > write the "WHERE" clause in the query to only pull the nodes you want to > affect). Then you write another query which replaces the current content > of > the body field with the content of the teaser field that is in the > variable > that you stored. > > The snippet you write can be run using Devel module's "drupal execute" > tool. > That way you would avoid having to write a module to implement a one-time > task. > > f you are not experienced writing code like this I'll give you this > unsolicited advice to help get you started... > > The first thing you need to do is to write your SELECT query and make sure > it works and pulls in only the right rows from the node revisions table. > The > good part about this part is that you don't need to mess with PHP at this > stage. You just query the database directly, using a tool like phpMyAdmin > or > the command line, whatever. When doing SELECT queries your blood preassure > stays low because SELECT queries don't change the DB. [But still, back up > the db before you even start, because you might forget after you start > working.] > > Next you write the query for replacing the body field with the teaser > field > contents. Again, no PHP, you just copy teaser contents from one node and > hard code that into your query. (Be careful to add a clause "WHERE nid=25" > --- where "25" is the node id where you copied the teaser from. This part > raises your blood pressure a bit, since the test query actually does > change > the database. But by cleary limiting the query to one row, you keep things > under good control.) > > Once you have tested that the second query works, you can build the PHP > snippet to cycle through each record creating new body fields using the > variable which will have stored the results of the first query. > > By having tested that your queries are correct first, you'll have much > greater confidence building and then debugging the PHP snippet. > > As an alternative to this whole approach to your problem, you might be > able > to write complicated custom views which would sometimes display the teaser > field and sometimes display the full node based on taxonomy, url strings, > or > whatever. But I think it is cleaner to simply change the body field by > putting in the data there that you actually want. > > Good luck, report back, > > Shai > > On Wed, Dec 10, 2008 at 5:10 AM, Simone Dal Maso > wrote: > >> Hi, >> I have a big problem. >> I have a ejournal in my website and I have about 1000 articles. >> Unfortunately, some of these are token from a website that has changed >> its >> policy and don't allow us to publish its material: only the 25% of >> articles >> can be published. >> We can distinguish these articles because there is always the original >> link >> that obviously starts with the same strings. >> We must select all the articles containing these strings in their body, >> and >> tells drupal to take the first 4 5 lines and delete the rest of contents. >> I have 2 ideas, but I' not able to make it: >> 1. with a sql query, I think all contents are in the node_revisions >> table. >> 2. publishing only the teaser of the article. >> I think the second method is easier, but have you got some ideas how >> publish >> only a teaser and hide the entire body of some nodes? >> >> thanks for your attention and patience. >> Bye. >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > -------------------------------------------------------------------------------- > -- > [ Drupal support list | http://lists.drupal.org/ ] From drupal at lists.tacticus.com Fri Dec 12 10:40:16 2008 From: drupal at lists.tacticus.com (Luke) Date: Fri, 12 Dec 2008 05:40:16 -0500 (EST) Subject: [support] Contact Exposing Destination Addresses? Message-ID: Hello It may be that I just never noticed this before, but in contact 5.12 running on Drupal 5.12, it seems that addresses provided to contact as the destination for categories, are being shown to the user as the From: and Reply-To: of the auto response. To-wit: >X-Mailer: Drupal >Errors-To: my_site_return at address >Sender: my_site_return at address >Reply-To: category at destination_address >From: category at destination_address >Subject: [category] message_subject I thought that the site return address should be the address provided in all cases. The whole point of using the contact module for a site wide contact form, is so that addresses such as the category destination addresses are _not_ revealed to communicants. I am 99% sure that this behavior is new to 5.12, and did not appear in 5.7, which is what I am running on other sites. Might this be a configuration error somewhere? Thanks and regards, Luke From fredthejonester at gmail.com Fri Dec 12 11:55:47 2008 From: fredthejonester at gmail.com (Fred Jones) Date: Fri, 12 Dec 2008 13:55:47 +0200 Subject: [support] PayPal Gone Haywire? In-Reply-To: References: <177c0a10812111154u24a9cf19vc5216066486c0f6b@mail.gmail.com> Message-ID: <177c0a10812120355n4c70bc49w2c7b7177f037e50@mail.gmail.com> Seems that's it. Thank you!! > It is most likely the URL which you are being redirected to on Paypal. > The old method which 3.x uses has been removed from use on PayPal. > > You will need to update the url to https://www.paypal.com/cgi-bin/ > webscr which should fix the problem From shai at content2zero.com Fri Dec 12 13:41:00 2008 From: shai at content2zero.com (Shai Gluskin) Date: Fri, 12 Dec 2008 08:41:00 -0500 Subject: [support] sql query and other In-Reply-To: References: <733D2EE4B452471D890DE8120BD78B56@data> <9f68efb70812100814y6b91d366n42c6909524062ad3@mail.gmail.com> Message-ID: <9f68efb70812120541p7b017f80v65c8cd3fb90de6a2@mail.gmail.com> Simone --, You are welcome! Could you share the snippet that was written and any changes from the path that I laid out, -- then maybe I'd create a docs page on this and a wider circle of people could benefit. I'm particularly curious, reading between the lines of your note, whether your collaborator was able to make the changes with SQL only and bypassing the PHP part. My SQL is week so I'd definitely be interested in knowing whether he was able to do it all directly on the db without storing the contents of all the teasers in a PHP array variable. Thanks, Shai On 12/12/08, Simone Dal Maso wrote: > Shai, > really, thank you very much. > Your message was detailed and I forward it to a friend of mine and with 2 > query we solved the problem. > Still thanks. > bye. > > ----- Original Message ----- > From: "Shai Gluskin" > To: > Sent: Wednesday, December 10, 2008 5:14 PM > Subject: Re: [support] sql query and other > > >> Simone, >> >> My opinion (which is not authoritative) regarding the easiest strategy to >> solve your problem would be to write a query which would select the >> contents >> of the teaser field and put it into a variable (remember to include the >> write the "WHERE" clause in the query to only pull the nodes you want to >> affect). Then you write another query which replaces the current content >> of >> the body field with the content of the teaser field that is in the >> variable >> that you stored. >> >> The snippet you write can be run using Devel module's "drupal execute" >> tool. >> That way you would avoid having to write a module to implement a one-time >> task. >> >> f you are not experienced writing code like this I'll give you this >> unsolicited advice to help get you started... >> >> The first thing you need to do is to write your SELECT query and make sure >> it works and pulls in only the right rows from the node revisions table. >> The >> good part about this part is that you don't need to mess with PHP at this >> stage. You just query the database directly, using a tool like phpMyAdmin >> or >> the command line, whatever. When doing SELECT queries your blood preassure >> stays low because SELECT queries don't change the DB. [But still, back up >> the db before you even start, because you might forget after you start >> working.] >> >> Next you write the query for replacing the body field with the teaser >> field >> contents. Again, no PHP, you just copy teaser contents from one node and >> hard code that into your query. (Be careful to add a clause "WHERE nid=25" >> --- where "25" is the node id where you copied the teaser from. This part >> raises your blood pressure a bit, since the test query actually does >> change >> the database. But by cleary limiting the query to one row, you keep things >> under good control.) >> >> Once you have tested that the second query works, you can build the PHP >> snippet to cycle through each record creating new body fields using the >> variable which will have stored the results of the first query. >> >> By having tested that your queries are correct first, you'll have much >> greater confidence building and then debugging the PHP snippet. >> >> As an alternative to this whole approach to your problem, you might be >> able >> to write complicated custom views which would sometimes display the teaser >> field and sometimes display the full node based on taxonomy, url strings, >> or >> whatever. But I think it is cleaner to simply change the body field by >> putting in the data there that you actually want. >> >> Good luck, report back, >> >> Shai >> >> On Wed, Dec 10, 2008 at 5:10 AM, Simone Dal Maso >> wrote: >> >>> Hi, >>> I have a big problem. >>> I have a ejournal in my website and I have about 1000 articles. >>> Unfortunately, some of these are token from a website that has changed >>> its >>> policy and don't allow us to publish its material: only the 25% of >>> articles >>> can be published. >>> We can distinguish these articles because there is always the original >>> link >>> that obviously starts with the same strings. >>> We must select all the articles containing these strings in their body, >>> and >>> tells drupal to take the first 4 5 lines and delete the rest of contents. >>> I have 2 ideas, but I' not able to make it: >>> 1. with a sql query, I think all contents are in the node_revisions >>> table. >>> 2. publishing only the teaser of the article. >>> I think the second method is easier, but have you got some ideas how >>> publish >>> only a teaser and hide the entire body of some nodes? >>> >>> thanks for your attention and patience. >>> Bye. >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >> > > > -------------------------------------------------------------------------------- > > >> -- >> [ Drupal support list | http://lists.drupal.org/ ] > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From cjones at partialflow.com Fri Dec 12 13:05:18 2008 From: cjones at partialflow.com (Christopher M. Jones) Date: Fri, 12 Dec 2008 08:05:18 -0500 Subject: [support] Double site In-Reply-To: References: <20081212002819.BCB1F3EDD1@fraxinus.osuosl.org> <4941D7CB.60301@partialflow.com> Message-ID: <4942618E.70400@partialflow.com> Yes, you are sharing it. Sorry, I didn't follow your other thread. Don't know what your template looks like, but you could just as well create a menu in each site. In your page.tpl.php, instead of hard-coding the link you simply say
In your template.php you add your region into the array that contains all the other regions. Now this region is available in your blocks administration. In each site you can create a menu to place into this region, with links that point exactly where you want them to point. May be a bit more work, but this method has the advantage of avoiding too much conditional logic in your template. And IMHO, links should not be hard coded into the template. simone-www.io-lab.org wrote: > Hi > the "island switcher" button is created on page.tpl.php, and i am > sharing this file on both sites (or not??), i think i have to replace > the link with a php function such as (see > my other post "Adding link to image (logo style)"). > In fact I have 2 buttons (images) created in page.tpl.php, one links > to home page, the other one links to the home page of the other site. > Simone > > On Fri, Dec 12, 2008 at 3:17 AM, Christopher M. Jones > wrote: >> What will happen is: you will install your sites, set each one up to use >> it's own database, or prefix within the same database. For each site you >> will choose your template, available to each because it's located in >> sites/all/themes. Now each site looks the same. But you'll find that >> when you set up your menu in one, it won't appear in any of the others. >> Different databases, you see. >> >> simone-www.io-lab.org wrote: >>> Ok thanks, i am trying to figure out all the details: there will be a >>> button in each page that will link to the other one, that sounds a bit >>> tricky since i plan to share the same theme but i am sure there is >>> common way to go... >>> Simone >>> >>> On Fri, Dec 12, 2008 at 12:29 AM, Shyamala Rajaram >>> wrote: >>>> We have sites running as multisites, it works just fine! >>>> >>>> >>>> >>>> For multisite on windows: >>>> >>>> http://drupal.org/node/32715 >>>> >>>> >>>> >>>> Read 'settings.php', in the sites/default folder, to understand how drupal >>>> searches it's folder to locate the file storing a particular domain's >>>> settings.php. >>>> >>>> >>>> >>>> Drupal by default reads the settings.php file in the default folder. You can >>>> configure the main portal settings in the default directory. The subdomains >>>> a.com and b.com can be configured by creating two new folders under the >>>> sites directory called yourdomain.a.com and yourdomain.b.com. Each of these >>>> folders should have it's own settings.php. In the settings.php of each site >>>> you have to name the database to be used. >>>> >>>> >>>> >>>> If you want some settings to be shared between the sites you could go in for >>>> a shared database configuration. >>>> >>>> >>>> >>>> refer: http://drupal.org/node/147828 for >>>> >>>> Multi-Site, Single Codebase, Shared Database, Shared Sign-on 5.x >>>> >>>> >>>> >>>> >>>> >>>> Shyamala >>>> >>>> Netlink Technologies Ltd >>>> http://shyamala-drupal.blogspot.com/ >>>> >>>> >>>> -----Original Message----- >>>> From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On >>>> Behalf Of simone-www.io-lab.org >>>> Sent: Thursday, December 11, 2008 6:26 PM >>>> To: support at drupal.org >>>> Subject: [support] Double site >>>> >>>> Hi >>>> I ve read a bit about multi site installation, but still i am not so >>>> sure about how to go: >>>> I ll have basically 2 "twin sites" each referring to a different >>>> island in the same archipelago, the structure both on content >>>> management and on the theme graphic will be the same but all content >>>> will be different and i d like to have the 2 sites on 2 different >>>> databases. >>>> first site: www.mysite.com/islandx >>>> second site: www.mysite.com/islandy >>>> of course at www.mysite.com there will be an island chooser >>>> considering i ll have to change details on the future i d like to have >>>> the 2 sites using the same theme and the same module folder although i >>>> think i need 2 different installations (to get the 2 contents on 2 >>>> different databases) >>>> It s clear to me how to have a site using different themes but not >>>> really the other way round.. >>>> Any hint is welcome >>>> Simone >>>> -- >>>> .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/ ] >>>> >>> >>> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > From Robin.Clarke at networkrail.co.uk Fri Dec 12 16:29:43 2008 From: Robin.Clarke at networkrail.co.uk (Clarke Robin) Date: Fri, 12 Dec 2008 16:29:43 -0000 Subject: [support] extended upload modul? References: <4940D9AB.4060109@zoet.de> Message-ID: <0CF90D6CE50B98468B96FECD3CEFE7C9D6FDF5@sr1mm02.corp.UKrail.net> Have you looked at WebFM (www.drupal.org/project/webfm) and DBFM (www.drupal.org/project/dbfm)? They both allow users to upload files to a shared area where they can also create folders and subfolders in a similar manor to Explorer. ________________________________ From: support-bounces at drupal.org on behalf of Michael Zoet Sent: Thu 11/12/2008 09:13 To: support at drupal.org Subject: [support] extended upload modul? Hello all, I'm fairly new to this mailinglist and Drupal. I administer a community website where we need advanced functionality with file uploads: 1. we want to have a possiblity for easy uploading files, without creating content. 2. allowed user should be able to browse the content of the upload folder. 3. it would be nice to have the possibility to create a folder hirachy to sort the files into categories 4. a interface with the version control system bazaar? would be nice to have :-). I'm not sure if the normal upload modul can do all of this? Are there some other moduls that extend the upload functionality of Drupal? Michael -- [ 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 **************************************************************************************************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081212/300c68fe/attachment-0001.htm From torelad at gmail.com Fri Dec 12 17:55:56 2008 From: torelad at gmail.com (Dale McGladdery) Date: Fri, 12 Dec 2008 09:55:56 -0800 Subject: [support] Disable 'Read more...' In-Reply-To: <54284004-69A4-48C1-85AF-AF55302F120B@chocolateteapot.net> References: <54284004-69A4-48C1-85AF-AF55302F120B@chocolateteapot.net> Message-ID: You may have space characters in the non-preview area. If you do, Drupal thinks there's more content to display and provides the 'read more' link. Edit content where it's happening, then click into the lower body text area and use your cursor keys to try to move around. If the cursor moves, there's white space. Alternatively, you can press ctl-a and see if anything is highlighted. If you find space characters delete them, save, and see if the link is still there. On Tue, Dec 9, 2008 at 4:37 AM, Emma Badger wrote: > With some of my pages I always want to show the whole content, with no > summary. > > I've worked out that I can use the 'split at cursor' to define where > the summary ends (i.e. at the end of the page) but is there a way of > not displaying 'read more' if there is no more? > > Thanks. > -- > [ Drupal support list | http://lists.drupal.org/ ] > From govivasanth at gmail.com Fri Dec 12 19:07:08 2008 From: govivasanth at gmail.com (Vasanth Govind) Date: Sat, 13 Dec 2008 00:37:08 +0530 Subject: [support] week's and month's popular content Message-ID: Hi all, The requirement is to display the popular content of this week and popular content of this month. This is done by fetching the content which has more number of hits or views. We have Drupal's node_counter table in which we have the totalcount and daycount fields which has views per day and total. Any one help me optimized MySQL query which can fetch this details in a quicker way. Currently the data is fetched from accesslog table which is not much optimized and very slow. Thanks in advance. Thanks & Regards Vasanth Govind -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081213/abd6f602/attachment.htm From cimo75 at gmail.com Fri Dec 12 21:40:53 2008 From: cimo75 at gmail.com (simone-www.io-lab.org) Date: Fri, 12 Dec 2008 21:40:53 +0000 Subject: [support] Double site In-Reply-To: <4942618E.70400@partialflow.com> References: <20081212002819.BCB1F3EDD1@fraxinus.osuosl.org> <4941D7CB.60301@partialflow.com> <4942618E.70400@partialflow.com> Message-ID: I have to admit that i can follow the general idea but i need to dip my toe in it to get a wider overview. I d like to ask: why is it not advised to use hard coded links in my template? It definetely makes sense to me but i don t know why, probably because i ve never seen it before. I ask it becasue i ve solved a problem i had doing just that: i have a menu where i wanted to have only linked images and no text, and i have only 4 items that won t change in the future, so i ve hardcoded them in my template and put them inside a div and added an id each so i can style them. Back t the "island switcher" I would prefer not going back to create a region and a block in it if possible but rather substitute the link which is hardcoded now with a variable and .... ok there my knowledge ends.. time for some readings, i d like to mention that i am in Drupal 6 so if can point me out to some interesting topics please remember that, it seems like doco for D6 is not so uptodate as for D5. Simone On Fri, Dec 12, 2008 at 1:05 PM, Christopher M. Jones wrote: > Yes, you are sharing it. Sorry, I didn't follow your other thread. Don't > know what your template looks like, but you could just as well create a > menu in each site. In your page.tpl.php, instead of hard-coding the link > you simply say > > >
> >
> > > In your template.php you add your region into the array that contains > all the other regions. Now this region is available in your blocks > administration. In each site you can create a menu to place into this > region, with links that point exactly where you want them to point. May > be a bit more work, but this method has the advantage of avoiding too > much conditional logic in your template. And IMHO, links should not be > hard coded into the template. > > simone-www.io-lab.org wrote: >> Hi >> the "island switcher" button is created on page.tpl.php, and i am >> sharing this file on both sites (or not??), i think i have to replace >> the link with a php function such as (see >> my other post "Adding link to image (logo style)"). >> In fact I have 2 buttons (images) created in page.tpl.php, one links >> to home page, the other one links to the home page of the other site. >> Simone >> >> On Fri, Dec 12, 2008 at 3:17 AM, Christopher M. Jones >> wrote: >>> What will happen is: you will install your sites, set each one up to use >>> it's own database, or prefix within the same database. For each site you >>> will choose your template, available to each because it's located in >>> sites/all/themes. Now each site looks the same. But you'll find that >>> when you set up your menu in one, it won't appear in any of the others. >>> Different databases, you see. >>> >>> simone-www.io-lab.org wrote: >>>> Ok thanks, i am trying to figure out all the details: there will be a >>>> button in each page that will link to the other one, that sounds a bit >>>> tricky since i plan to share the same theme but i am sure there is >>>> common way to go... >>>> Simone >>>> >>>> On Fri, Dec 12, 2008 at 12:29 AM, Shyamala Rajaram >>>> wrote: >>>>> We have sites running as multisites, it works just fine! >>>>> >>>>> >>>>> >>>>> For multisite on windows: >>>>> >>>>> http://drupal.org/node/32715 >>>>> >>>>> >>>>> >>>>> Read 'settings.php', in the sites/default folder, to understand how drupal >>>>> searches it's folder to locate the file storing a particular domain's >>>>> settings.php. >>>>> >>>>> >>>>> >>>>> Drupal by default reads the settings.php file in the default folder. You can >>>>> configure the main portal settings in the default directory. The subdomains >>>>> a.com and b.com can be configured by creating two new folders under the >>>>> sites directory called yourdomain.a.com and yourdomain.b.com. Each of these >>>>> folders should have it's own settings.php. In the settings.php of each site >>>>> you have to name the database to be used. >>>>> >>>>> >>>>> >>>>> If you want some settings to be shared between the sites you could go in for >>>>> a shared database configuration. >>>>> >>>>> >>>>> >>>>> refer: http://drupal.org/node/147828 for >>>>> >>>>> Multi-Site, Single Codebase, Shared Database, Shared Sign-on 5.x >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> Shyamala >>>>> >>>>> Netlink Technologies Ltd >>>>> http://shyamala-drupal.blogspot.com/ >>>>> >>>>> >>>>> -----Original Message----- >>>>> From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On >>>>> Behalf Of simone-www.io-lab.org >>>>> Sent: Thursday, December 11, 2008 6:26 PM >>>>> To: support at drupal.org >>>>> Subject: [support] Double site >>>>> >>>>> Hi >>>>> I ve read a bit about multi site installation, but still i am not so >>>>> sure about how to go: >>>>> I ll have basically 2 "twin sites" each referring to a different >>>>> island in the same archipelago, the structure both on content >>>>> management and on the theme graphic will be the same but all content >>>>> will be different and i d like to have the 2 sites on 2 different >>>>> databases. >>>>> first site: www.mysite.com/islandx >>>>> second site: www.mysite.com/islandy >>>>> of course at www.mysite.com there will be an island chooser >>>>> considering i ll have to change details on the future i d like to have >>>>> the 2 sites using the same theme and the same module folder although i >>>>> think i need 2 different installations (to get the 2 contents on 2 >>>>> different databases) >>>>> It s clear to me how to have a site using different themes but not >>>>> really the other way round.. >>>>> Any hint is welcome >>>>> Simone >>>>> -- >>>>> .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/ ] >>>>> >>>> >>>> >>> -- >>> [ 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 vishakhatambe.mcs at gmail.com Sat Dec 13 07:40:10 2008 From: vishakhatambe.mcs at gmail.com (Vishakha Tambe) Date: Sat, 13 Dec 2008 13:10:10 +0530 Subject: [support] Link Module Message-ID: Hello All, I want a link module (other than node_link, link_node, weblinks, link and Link package). I've tried these modules. But my client's requirement is somewhat different. I want to create a link in such a way that, it can be placed in navigation anywhere. And it should open in new window in one click only. Means i dont want any page in between. So can anybody help me? Its really urgent. Can i do this with somw changes in above mentioned modules? If so please mention which changes. I'm really under high pressure. Regards, Vishakha. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081213/abdcfb38/attachment.htm From vishakhatambe.mcs at gmail.com Sat Dec 13 09:53:06 2008 From: vishakhatambe.mcs at gmail.com (Vishakha Tambe) Date: Sat, 13 Dec 2008 15:23:06 +0530 Subject: [support] phpBB module Message-ID: Hi, I'm trying to install phpBB module in drupal. I'm using lampp (i.e. xampp on linux). I'm getting the following error, "user warning: Table 'drupal510.phpbb_users' doesn't exist query: SELECT user_unread_privmsg FROM phpbb_users WHERE user_id = 1 in /opt/lampp/htdocs/drupal-5.10/includes/database.mysql.inc on line 172." Can anybody resolve the error. Regards, Vishakha -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081213/125becac/attachment.htm From cimo75 at gmail.com Sat Dec 13 14:37:02 2008 From: cimo75 at gmail.com (simone-www.io-lab.org) Date: Sat, 13 Dec 2008 14:37:02 +0000 Subject: [support] Double site In-Reply-To: References: <20081212002819.BCB1F3EDD1@fraxinus.osuosl.org> <4941D7CB.60301@partialflow.com> <4942618E.70400@partialflow.com> Message-ID: .. i am back and i did some readings, so far i understand most of it (i don t really get the need for the prefix thing) but i have a doubt: My site: www.mysite.com/island1 www.mysite.com/island2 www.mysite.com (here i need a simple page with a chooser) i can t really try that out right now because we have a place holder at mysite.com with some basic info so i plan to have a clear idea and make the switch in a few hours by night. So what i am not really sure about: can i have just a normal html page in mysite.com with the 2 links to mypage.com/island1 and mysite.com/island2 ? >From what i ve read i should delete any setting.ini in /sites/default and just add use index.html in mysite.com, and create 2 entries in sites/www.mysite.com.island1/ and sites/www.mysite.com.island2/ In this way user going to mypage.com will be directed to that index.html file, users going to www.mysite.com.island1 will be directed to what the relative setting.ini files will tell them. I also assume that in the same settings.ini file i can tell the page to use a different data base. Am I in the right direction? Simone On Fri, Dec 12, 2008 at 9:40 PM, simone-www. io-lab. org wrote: > I have to admit that i can follow the general idea but i need to dip > my toe in it to get a wider overview. > I d like to ask: why is it not advised to use hard coded links in my > template? It definetely makes sense to me but i don t know why, > probably because i ve never seen it before. > I ask it becasue i ve solved a problem i had doing just that: i have a > menu where i wanted to have only linked images and no text, and i have > only 4 items that won t change in the future, so i ve hardcoded them > in my template and put them inside a div and added an id each so i can > style them. > > Back t the "island switcher" I would prefer not going back to create a > region and a block in it if possible but rather substitute the link > which is hardcoded now with a variable and .... ok there my knowledge > ends.. time for some readings, i d like to mention that i am in Drupal > 6 so if can point me out to some interesting topics please remember > that, it seems like doco for D6 is not so uptodate as for D5. > > Simone > > On Fri, Dec 12, 2008 at 1:05 PM, Christopher M. Jones > wrote: >> Yes, you are sharing it. Sorry, I didn't follow your other thread. Don't >> know what your template looks like, but you could just as well create a >> menu in each site. In your page.tpl.php, instead of hard-coding the link >> you simply say >> >> >>
>> >>
>> >> >> In your template.php you add your region into the array that contains >> all the other regions. Now this region is available in your blocks >> administration. In each site you can create a menu to place into this >> region, with links that point exactly where you want them to point. May >> be a bit more work, but this method has the advantage of avoiding too >> much conditional logic in your template. And IMHO, links should not be >> hard coded into the template. >> >> simone-www.io-lab.org wrote: >>> Hi >>> the "island switcher" button is created on page.tpl.php, and i am >>> sharing this file on both sites (or not??), i think i have to replace >>> the link with a php function such as (see >>> my other post "Adding link to image (logo style)"). >>> In fact I have 2 buttons (images) created in page.tpl.php, one links >>> to home page, the other one links to the home page of the other site. >>> Simone >>> >>> On Fri, Dec 12, 2008 at 3:17 AM, Christopher M. Jones >>> wrote: >>>> What will happen is: you will install your sites, set each one up to use >>>> it's own database, or prefix within the same database. For each site you >>>> will choose your template, available to each because it's located in >>>> sites/all/themes. Now each site looks the same. But you'll find that >>>> when you set up your menu in one, it won't appear in any of the others. >>>> Different databases, you see. >>>> >>>> simone-www.io-lab.org wrote: >>>>> Ok thanks, i am trying to figure out all the details: there will be a >>>>> button in each page that will link to the other one, that sounds a bit >>>>> tricky since i plan to share the same theme but i am sure there is >>>>> common way to go... >>>>> Simone >>>>> >>>>> On Fri, Dec 12, 2008 at 12:29 AM, Shyamala Rajaram >>>>> wrote: >>>>>> We have sites running as multisites, it works just fine! >>>>>> >>>>>> >>>>>> >>>>>> For multisite on windows: >>>>>> >>>>>> http://drupal.org/node/32715 >>>>>> >>>>>> >>>>>> >>>>>> Read 'settings.php', in the sites/default folder, to understand how drupal >>>>>> searches it's folder to locate the file storing a particular domain's >>>>>> settings.php. >>>>>> >>>>>> >>>>>> >>>>>> Drupal by default reads the settings.php file in the default folder. You can >>>>>> configure the main portal settings in the default directory. The subdomains >>>>>> a.com and b.com can be configured by creating two new folders under the >>>>>> sites directory called yourdomain.a.com and yourdomain.b.com. Each of these >>>>>> folders should have it's own settings.php. In the settings.php of each site >>>>>> you have to name the database to be used. >>>>>> >>>>>> >>>>>> >>>>>> If you want some settings to be shared between the sites you could go in for >>>>>> a shared database configuration. >>>>>> >>>>>> >>>>>> >>>>>> refer: http://drupal.org/node/147828 for >>>>>> >>>>>> Multi-Site, Single Codebase, Shared Database, Shared Sign-on 5.x >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Shyamala >>>>>> >>>>>> Netlink Technologies Ltd >>>>>> http://shyamala-drupal.blogspot.com/ >>>>>> >>>>>> >>>>>> -----Original Message----- >>>>>> From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On >>>>>> Behalf Of simone-www.io-lab.org >>>>>> Sent: Thursday, December 11, 2008 6:26 PM >>>>>> To: support at drupal.org >>>>>> Subject: [support] Double site >>>>>> >>>>>> Hi >>>>>> I ve read a bit about multi site installation, but still i am not so >>>>>> sure about how to go: >>>>>> I ll have basically 2 "twin sites" each referring to a different >>>>>> island in the same archipelago, the structure both on content >>>>>> management and on the theme graphic will be the same but all content >>>>>> will be different and i d like to have the 2 sites on 2 different >>>>>> databases. >>>>>> first site: www.mysite.com/islandx >>>>>> second site: www.mysite.com/islandy >>>>>> of course at www.mysite.com there will be an island chooser >>>>>> considering i ll have to change details on the future i d like to have >>>>>> the 2 sites using the same theme and the same module folder although i >>>>>> think i need 2 different installations (to get the 2 contents on 2 >>>>>> different databases) >>>>>> It s clear to me how to have a site using different themes but not >>>>>> really the other way round.. >>>>>> Any hint is welcome >>>>>> Simone >>>>>> -- >>>>>> .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/ ] >>>>>> >>>>> >>>>> >>>> -- >>>> [ 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.... > -- .wmv , .wma , .pps along with all proprietary Windows formats won t be accepted and/or viewed.... From cimo75 at gmail.com Sat Dec 13 14:53:34 2008 From: cimo75 at gmail.com (simone-www.io-lab.org) Date: Sat, 13 Dec 2008 14:53:34 +0000 Subject: [support] Rounded corners view and framing the image Message-ID: Hi i d like to styel my views rows with some rounded corners style, as far as i understand i need to add a top and a bottom div. so i can use a background then fill the row with a color. I am then trying to figure out which template files inside the view module to override. I think all i have to do is to isolate the necessary template and make a copy of it in my root folder then start working there. So my question is: which one is the file i need to work with? Any hint? Then a little detail i ve been thinking about to refine my views.I know you can add a frame to any image with image-cache but I have some back-ground coloring style using the odd/even selector for the view s row, so i d need to apply 2 different frame/colors depending on the position of the row. I can t really see how to do that, maybe some extra back-ground using the z-index?... Simone -- .wmv , .wma , .pps along with all proprietary Windows formats won t be accepted and/or viewed.... From skessler at denverdataman.com Sat Dec 13 15:02:13 2008 From: skessler at denverdataman.com (Steve Kessler) Date: Sat, 13 Dec 2008 08:02:13 -0700 Subject: [support] Link Module In-Reply-To: References: Message-ID: <034301c95d33$c84bb5d0$58e32170$@com> I make link pages for my clients all the time and this is my little formula that may work for you. 1. New content type with a CCK field for URL 2. Then I create a custom template file the new content type with the information I need and then often just using >?php print $title ?> Once you have this you can control the placement and organization with views. To solve the fact that this removes the link to the title I created a view with a list of the link content type and then edit buttons. Hope this helps. -Steve Steve Kessler Denver DataMan 303-587-4428 Sign up for the Denver DataMan Free eNewsletter From: Vishakha Tambe [mailto:vishakhatambe.mcs at gmail.com] Sent: Saturday, December 13, 2008 12:40 AM To: support at drupal.org Subject: [support] Link Module Hello All, I want a link module (other than node_link, link_node, weblinks, link and Link package). I've tried these modules. But my client's requirement is somewhat different. I want to create a link in such a way that, it can be placed in navigation anywhere. And it should open in new window in one click only. Means i dont want any page in between. So can anybody help me? Its really urgent. Can i do this with somw changes in above mentioned modules? If so please mention which changes. I'm really under high pressure. Regards, Vishakha. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081213/b11c5d33/attachment.htm From cimo75 at gmail.com Sat Dec 13 15:58:52 2008 From: cimo75 at gmail.com (simone-www.io-lab.org) Date: Sat, 13 Dec 2008 15:58:52 +0000 Subject: [support] Rounded corners view and framing the image In-Reply-To: References: Message-ID: Let s see: I think the proper file would be: module/views/theme/views-view-unformatted.tpl.php and i ve tried to modify it in this way

$row): ?>
then adding some background to div.views-view-top in my style.css no results so far Simone On Sat, Dec 13, 2008 at 2:53 PM, simone-www. io-lab. org wrote: > Hi > i d like to styel my views rows with some rounded corners style, as > far as i understand i need to add a top and a bottom div. so i can use > a background then fill the row with a color. I am then trying to > figure out which template files inside the view module to override. I > think all i have to do is to isolate the necessary template and make a > copy of it in my root folder then start working there. > So my question is: which one is the file i need to work with? Any hint? > > > Then a little detail i ve been thinking about to refine my views.I > know you can add a frame to any image with image-cache but I have some > back-ground coloring style using the odd/even selector for the view s > row, so i d need to apply 2 different frame/colors depending on the > position of the row. I can t really see how to do that, maybe some > extra back-ground using the z-index?... > > 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 cimo75 at gmail.com Sat Dec 13 16:21:52 2008 From: cimo75 at gmail.com (simone-www.io-lab.org) Date: Sat, 13 Dec 2008 16:21:52 +0000 Subject: [support] Rounded corners view and framing the image In-Reply-To: References: Message-ID: views-view-fields--myview.tpl.php seems to be a more accurate candidate as it should address only the rows of that view code inside is: (and no really an idea of what to do with it) content: The output of the field. * - $field->raw: The raw data for the field, if it exists. This is NOT output safe. * - $field->class: The safe class id to use. * - $field->handler: The Views field handler object controlling this field. Do not use * var_export to dump this object, as it can't handle the recursion. * - $field->inline: Whether or not the field should be inline. * - $field->inline_html: either div or span based on the above flag. * - $field->separator: an optional separator that may appear before a field. * - $row: The raw result object from the query, with all data it fetched. * * @ingroup views_templates */ ?> $field): ?> separator)): ?> separator; ?> <inline_html;?> class="views-field-class; ?>"> label): ?> element_type is either SPAN or DIV depending upon whether or not // the field is a 'block' element type or 'inline' element type. ?> <element_type; ?> class="field-content">content; ?>element_type; ?>> inline_html;?>> On Sat, Dec 13, 2008 at 3:58 PM, simone-www. io-lab. org wrote: > Let s see: > I think the proper file would be: > > module/views/theme/views-view-unformatted.tpl.php > > and i ve tried to modify it in this way > > > >

> > $row): ?> >
>
>
> >
>
>
> > > then adding some background to > div.views-view-top > in my style.css > > no results so far > > Simone > > On Sat, Dec 13, 2008 at 2:53 PM, simone-www. io-lab. org > wrote: >> Hi >> i d like to styel my views rows with some rounded corners style, as >> far as i understand i need to add a top and a bottom div. so i can use >> a background then fill the row with a color. I am then trying to >> figure out which template files inside the view module to override. I >> think all i have to do is to isolate the necessary template and make a >> copy of it in my root folder then start working there. >> So my question is: which one is the file i need to work with? Any hint? >> >> >> Then a little detail i ve been thinking about to refine my views.I >> know you can add a frame to any image with image-cache but I have some >> back-ground coloring style using the odd/even selector for the view s >> row, so i d need to apply 2 different frame/colors depending on the >> position of the row. I can t really see how to do that, maybe some >> extra back-ground using the z-index?... >> >> 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.... > -- .wmv , .wma , .pps along with all proprietary Windows formats won t be accepted and/or viewed.... From forums at ipwa.net Sat Dec 13 21:06:10 2008 From: forums at ipwa.net (Nicolas Borda) Date: Sat, 13 Dec 2008 21:06:10 +0000 Subject: [support] Rounded corners view and framing the image In-Reply-To: References: Message-ID: <9772E9EA-7BF8-432D-8D98-9091A6900306@ipwa.net> On 13 Dec 2008, at 14:53, simone-www.io-lab.org wrote: > Hi > i d like to styel my views rows with some rounded corners style, as > far as i understand i need to add a top and a bottom div. so i can use > a background then fill the row with a color. I am then trying to > figure out which template files inside the view module to override. I > think all i have to do is to isolate the necessary template and make a > copy of it in my root folder then start working there. > So my question is: which one is the file i need to work with? Any > hint? Use the Views theming wizard, that will make a function for your template.php and the contents of a template for your view with the fields printed out. -- Nicolas ------------------------- http://nic.ipwa.net/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081213/3de94e64/attachment-0001.htm From scripts at truerun.com Sun Dec 14 11:41:37 2008 From: scripts at truerun.com (tbjkids Webmaster) Date: Sun, 14 Dec 2008 19:41:37 +0800 Subject: [support] week's and month's popular content Message-ID: <4944F0F1.9030000@truerun.com> Hi Vasanth, I've recently created this project which might be what you are looking for: http://drupal.org/project/node_extended_stats I've only got a d5 version right now but with some Views 2 wizardry it could be ported to d6. -jaydub > Hi all, > The requirement is to display the popular content of this week and popular > content of this month. > This is done by fetching the content which has more number of hits or > views. > > We have Drupal's node_counter table in which we have the totalcount and > daycount fields which has views per day and total. > > > Any one help me optimized MySQL query which can fetch this details in a > quicker way. > > Currently the data is fetched from accesslog table which is not much > optimized and very slow. > Thanks in advance. > > > > Thanks & Regards > Vasanth Govind From cjones at partialflow.com Sun Dec 14 13:06:11 2008 From: cjones at partialflow.com (Christopher M. Jones) Date: Sun, 14 Dec 2008 08:06:11 -0500 Subject: [support] Double site In-Reply-To: References: <20081212002819.BCB1F3EDD1@fraxinus.osuosl.org> <4941D7CB.60301@partialflow.com> <4942618E.70400@partialflow.com> Message-ID: <494504C3.6040303@partialflow.com> Links are content. Or, arguably, configuration. These should be kept separate from presentation, which is the domain of the template. That is to say your template should be as content agnostic as possible. When you build your template, try to pretend that you're building it so that anyone could use it, for any purpose. It's just best practice programming. simone-www.io-lab.org wrote: > I have to admit that i can follow the general idea but i need to dip > my toe in it to get a wider overview. > I d like to ask: why is it not advised to use hard coded links in my > template? It definetely makes sense to me but i don t know why, > probably because i ve never seen it before. > I ask it becasue i ve solved a problem i had doing just that: i have a > menu where i wanted to have only linked images and no text, and i have > only 4 items that won t change in the future, so i ve hardcoded them > in my template and put them inside a div and added an id each so i can > style them. > > Back t the "island switcher" I would prefer not going back to create a > region and a block in it if possible but rather substitute the link > which is hardcoded now with a variable and .... ok there my knowledge > ends.. time for some readings, i d like to mention that i am in Drupal > 6 so if can point me out to some interesting topics please remember > that, it seems like doco for D6 is not so uptodate as for D5. > > Simone > > On Fri, Dec 12, 2008 at 1:05 PM, Christopher M. Jones > wrote: >> Yes, you are sharing it. Sorry, I didn't follow your other thread. Don't >> know what your template looks like, but you could just as well create a >> menu in each site. In your page.tpl.php, instead of hard-coding the link >> you simply say >> >> >>
>> >>
>> >> >> In your template.php you add your region into the array that contains >> all the other regions. Now this region is available in your blocks >> administration. In each site you can create a menu to place into this >> region, with links that point exactly where you want them to point. May >> be a bit more work, but this method has the advantage of avoiding too >> much conditional logic in your template. And IMHO, links should not be >> hard coded into the template. >> >> simone-www.io-lab.org wrote: >>> Hi >>> the "island switcher" button is created on page.tpl.php, and i am >>> sharing this file on both sites (or not??), i think i have to replace >>> the link with a php function such as (see >>> my other post "Adding link to image (logo style)"). >>> In fact I have 2 buttons (images) created in page.tpl.php, one links >>> to home page, the other one links to the home page of the other site. >>> Simone >>> >>> On Fri, Dec 12, 2008 at 3:17 AM, Christopher M. Jones >>> wrote: >>>> What will happen is: you will install your sites, set each one up to use >>>> it's own database, or prefix within the same database. For each site you >>>> will choose your template, available to each because it's located in >>>> sites/all/themes. Now each site looks the same. But you'll find that >>>> when you set up your menu in one, it won't appear in any of the others. >>>> Different databases, you see. >>>> >>>> simone-www.io-lab.org wrote: >>>>> Ok thanks, i am trying to figure out all the details: there will be a >>>>> button in each page that will link to the other one, that sounds a bit >>>>> tricky since i plan to share the same theme but i am sure there is >>>>> common way to go... >>>>> Simone >>>>> >>>>> On Fri, Dec 12, 2008 at 12:29 AM, Shyamala Rajaram >>>>> wrote: >>>>>> We have sites running as multisites, it works just fine! >>>>>> >>>>>> >>>>>> >>>>>> For multisite on windows: >>>>>> >>>>>> http://drupal.org/node/32715 >>>>>> >>>>>> >>>>>> >>>>>> Read 'settings.php', in the sites/default folder, to understand how drupal >>>>>> searches it's folder to locate the file storing a particular domain's >>>>>> settings.php. >>>>>> >>>>>> >>>>>> >>>>>> Drupal by default reads the settings.php file in the default folder. You can >>>>>> configure the main portal settings in the default directory. The subdomains >>>>>> a.com and b.com can be configured by creating two new folders under the >>>>>> sites directory called yourdomain.a.com and yourdomain.b.com. Each of these >>>>>> folders should have it's own settings.php. In the settings.php of each site >>>>>> you have to name the database to be used. >>>>>> >>>>>> >>>>>> >>>>>> If you want some settings to be shared between the sites you could go in for >>>>>> a shared database configuration. >>>>>> >>>>>> >>>>>> >>>>>> refer: http://drupal.org/node/147828 for >>>>>> >>>>>> Multi-Site, Single Codebase, Shared Database, Shared Sign-on 5.x >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> Shyamala >>>>>> >>>>>> Netlink Technologies Ltd >>>>>> http://shyamala-drupal.blogspot.com/ >>>>>> >>>>>> >>>>>> -----Original Message----- >>>>>> From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On >>>>>> Behalf Of simone-www.io-lab.org >>>>>> Sent: Thursday, December 11, 2008 6:26 PM >>>>>> To: support at drupal.org >>>>>> Subject: [support] Double site >>>>>> >>>>>> Hi >>>>>> I ve read a bit about multi site installation, but still i am not so >>>>>> sure about how to go: >>>>>> I ll have basically 2 "twin sites" each referring to a different >>>>>> island in the same archipelago, the structure both on content >>>>>> management and on the theme graphic will be the same but all content >>>>>> will be different and i d like to have the 2 sites on 2 different >>>>>> databases. >>>>>> first site: www.mysite.com/islandx >>>>>> second site: www.mysite.com/islandy >>>>>> of course at www.mysite.com there will be an island chooser >>>>>> considering i ll have to change details on the future i d like to have >>>>>> the 2 sites using the same theme and the same module folder although i >>>>>> think i need 2 different installations (to get the 2 contents on 2 >>>>>> different databases) >>>>>> It s clear to me how to have a site using different themes but not >>>>>> really the other way round.. >>>>>> Any hint is welcome >>>>>> Simone >>>>>> -- >>>>>> .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/ ] >>>>>> >>>>> >>>> -- >>>> [ Drupal support list | http://lists.drupal.org/ ] >>>> >>> >>> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > From cimo75 at gmail.com Sun Dec 14 15:47:08 2008 From: cimo75 at gmail.com (simone-www.io-lab.org) Date: Sun, 14 Dec 2008 15:47:08 +0000 Subject: [support] Rounded corners view and framing the image In-Reply-To: <9772E9EA-7BF8-432D-8D98-9091A6900306@ipwa.net> References: <9772E9EA-7BF8-432D-8D98-9091A6900306@ipwa.net> Message-ID: hi i forgot to mention that i use view 2 in D6 and there isn t a theme wizard (not that i am aware of) Anyway i figure out by myself: i have created a views-view-fields--myview.tpl.php file in the theme directory the content for this file was found under "theme:information" in the view settings. I ve wrapped the whole code with a div and given it a class, i have then added a top div and a bottom div, with a class for each as well. Then in my style.css i had to do a bit of playing around with bottom/top even/odd classes and i got the result i wanted, this was my real first module/theming override and that i got the trick ithink there will be some more... In my case I have a fixed width for my views so i don t really need it but i see how adding div s like right/left bottom/top corners with top/bottom bars you could make a flexible rounded corner box. I hope this thread can help somebody else and that somebody will confirm that i ve used the proper way to hack my view. thanks Simone On Sat, Dec 13, 2008 at 9:06 PM, Nicolas Borda wrote: > > On 13 Dec 2008, at 14:53, simone-www.io-lab.org wrote: > > Hi > i d like to styel my views rows with some rounded corners style, as > far as i understand i need to add a top and a bottom div. so i can use > a background then fill the row with a color. I am then trying to > figure out which template files inside the view module to override. I > think all i have to do is to isolate the necessary template and make a > copy of it in my root folder then start working there. > So my question is: which one is the file i need to work with? Any hint? > > Use the Views theming wizard, that will make a function for your > template.php and the contents of a template for your view with > the fields printed out. > -- > Nicolas > ------------------------- > http://nic.ipwa.net/ > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- .wmv , .wma , .pps along with all proprietary Windows formats won t be accepted and/or viewed.... From drupal at lourdas.name Sun Dec 14 22:41:58 2008 From: drupal at lourdas.name (Vasileios Lourdas) Date: Mon, 15 Dec 2008 00:41:58 +0200 Subject: [support] URL aliases not working Message-ID: <200812150041.58727.drupal@lourdas.name> Hi, Suddenly, the URL aliases do not work. I have a bunch or "page not found" errors of clients trying to access them. The setup is Drupal 6.8, Pathauto 1.1, Token dev. (Dec 11th). I've tried deleting all aliases and re-creating them (bulk update), emptying the cache, but no luck. No url aliases appear. What's wrong...? -- # Vasileios Lourdas, # Informatics Engineer, Thessaloniki (Greece) # http://www.lourdas.name From heshan at heidisoft.com Mon Dec 15 02:22:54 2008 From: heshan at heidisoft.com (Heshan) Date: Mon, 15 Dec 2008 07:52:54 +0530 Subject: [support] URL aliases not working In-Reply-To: <200812150041.58727.drupal@lourdas.name> References: <200812150041.58727.drupal@lourdas.name> Message-ID: Hi Just check the pathauto settings, and bulk update. - Heshan \\\/// / \ | \\ // | ( | (.) (.) | ) --------o00o--(_)--o00o------- ------ooo0----------------------------- ( ) 0ooo \ ( ( ) \_) ) / (_/ 2008/12/15 Vasileios Lourdas > Hi, > > Suddenly, the URL aliases do not work. I have a bunch or "page not found" > errors of clients trying to access them. > > The setup is Drupal 6.8, Pathauto 1.1, Token dev. (Dec 11th). > > I've tried deleting all aliases and re-creating them (bulk update), > emptying > the cache, but no luck. No url aliases appear. > > What's wrong...? > -- > # Vasileios Lourdas, > # Informatics Engineer, Thessaloniki (Greece) > # http://www.lourdas.name > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081215/e6deb8df/attachment.htm From drupal at lourdas.name Mon Dec 15 05:59:48 2008 From: drupal at lourdas.name (Vasileios Lourdas) Date: Mon, 15 Dec 2008 07:59:48 +0200 Subject: [support] URL aliases not working In-Reply-To: References: <200812150041.58727.drupal@lourdas.name> Message-ID: <636916100812142159k46b257b0h993ab03337c2ed56@mail.gmail.com> Hi, Thanks for your reply. However, as I say in my first message, I already tried re-creating them through the bulk update and the procedure did not work. If I recall correctly, the last update was the token module, so maybe I will try to revert back to an older version...? On Mon, Dec 15, 2008 at 4:22 AM, Heshan wrote: > Hi > Just check the pathauto settings, and bulk update. > > - Heshan Thanks. -- # Vasileios Lourdas, # Informatics Engineer, Thessaloniki (Greece) # http://www.lourdas.name From bharanikumariyerphp at gmail.com Mon Dec 15 09:24:55 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Mon, 15 Dec 2008 14:54:55 +0530 Subject: [support] how to check worker already assigned in the particular date Message-ID: <2240033d0812150124x6c537316off329c278c0e06cf@mail.gmail.com> Hi Experts How to check , The worker already assigned for the particular task with some x leader for the particular date , Here am having the Date(textfield) , Leader name(drop down), Worker name's(Multiple List box), or is there any module for that ? for example x,y,z are the leader, a,b,c are the workers assume a is assigned to x on 15-march-2009 if admin again try to assign the 'a' worker to y leader for the task , on 15-march-2009 , Then need to raise the validation error Like the a is already assigned,please choose another worker , any grate idea -- ?????? ?????? ???? ?????? Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ http://bharanikumariyerphp.site88.net/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081215/79998280/attachment-0001.htm From sales at idealcctv.co.uk Mon Dec 15 09:52:52 2008 From: sales at idealcctv.co.uk (Torben Vanselow) Date: Mon, 15 Dec 2008 09:52:52 -0000 Subject: [support] URL aliases not working In-Reply-To: <636916100812142159k46b257b0h993ab03337c2ed56@mail.gmail.com> References: <200812150041.58727.drupal@lourdas.name> <636916100812142159k46b257b0h993ab03337c2ed56@mail.gmail.com> Message-ID: <003301c95e9a$e7610700$b6231500$@co.uk> Hi - Yes that is exactly what I would do, especially since the token version you installed still seems to be a development snapshot rather than a fully approved version. Kind Regards, Mr. Torben C.F. Vanselow Executive Sales Manager - Ideal CCTV T: 0800 043 27 40 F: 0800 066 40 49 E: management at idealcctv.co.uk W: http://www.idealcctv.co.uk CCTV Installation - Megapixel CCTV - IP Security Cameras Hi, Thanks for your reply. However, as I say in my first message, I already tried re-creating them through the bulk update and the procedure did not work. If I recall correctly, the last update was the token module, so maybe I will try to revert back to an older version...? On Mon, Dec 15, 2008 at 4:22 AM, Heshan wrote: > Hi > Just check the pathauto settings, and bulk update. > > - Heshan Thanks. -- # Vasileios Lourdas, # Informatics Engineer, Thessaloniki (Greece) # http://www.lourdas.name -- [ Drupal support list | http://lists.drupal.org/ ] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081215/acc3b7eb/attachment.htm From bharanikumariyerphp at gmail.com Mon Dec 15 10:59:06 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Mon, 15 Dec 2008 16:29:06 +0530 Subject: [support] similar of already exist .... Message-ID: <2240033d0812150259k2d181aedpf47dd8a8837a4476@mail.gmail.com> On Mon, Dec 15, 2008 at 2:54 PM, bharani kumar < bharanikumariyerphp at gmail.com> wrote: > > Hi Experts > > How to check , > > The worker already assigned for the particular task with some x leader for > the particular date , > > Here am having the > > Date(textfield) , > Leader name(drop down), > Worker name's(Multiple List box), > > or is there any module for that ? > > for example > > x,y,z are the leader, > a,b,c are the workers > > assume a is assigned to x on 15-march-2009 > > if admin again try to assign the 'a' worker to y leader for the task , on > 15-march-2009 , > > Then need to raise the validation error > > Like the a is already assigned,please choose another worker , > > any grate idea > > > -- > ?????? ?????? > ???? ?????? > > Regards > B.S.Bharanikumar > > POST YOUR OPINION > http://bharanikumariyer.hyperphp.com/ > http://bharanikumariyerphp.site88.net/ > -- ?????? ?????? ???? ?????? Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ http://bharanikumariyerphp.site88.net/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081215/ccb1f81a/attachment.htm From daniel.carrera at zmsl.com Mon Dec 15 11:05:05 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Mon, 15 Dec 2008 12:05:05 +0100 Subject: [support] Website migration / access denied error Message-ID: <494639E1.9060608@zmsl.com> Hello, I'm migrating a Drupal 5 website to a new web host. The new host has a newer version of Drupal 5. I am getting an access denied error: http://vulcan.unitedhosting.co.uk/~rosemarymusker.co.uk/ I ran update.php (I set $access_check to FALSE, ran it, and set it back to TRUE). The update ran successfully, but I still get the access denied error. The update script tells me to visit the administration pages, but that gives me access denied too. Help? I'm sure that there is a simple solution for all this, but I have not been able to find it. Thanks for the help. Daniel. From vishakhatambe.mcs at gmail.com Mon Dec 15 11:28:27 2008 From: vishakhatambe.mcs at gmail.com (Vishakha Tambe) Date: Mon, 15 Dec 2008 16:58:27 +0530 Subject: [support] phpBB installation Message-ID: Hello all, Does anybody work for phpBB module? I want to implement it in my site. But i'm not getting it in a right way. Can anybody help me? I'm using drupal as well as lampp(xampp on linux). I also tried using system's mysql and apache. But everything was literally waste of time. I want stepwise installation process. please help me. Regards, Vishakha -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081215/6e658a2a/attachment.htm From das74 at wbic.cam.ac.uk Mon Dec 15 11:33:10 2008 From: das74 at wbic.cam.ac.uk (David Sharpe) Date: Mon, 15 Dec 2008 11:33:10 +0000 Subject: [support] Newbie: The case of the vanishing menu In-Reply-To: References: <492D3082.8030408@wbic.cam.ac.uk> <492D6545.9050604@wbic.cam.ac.uk> Message-ID: <49464076.7090405@wbic.cam.ac.uk> Cheers for the reply, I meant to say that the content is an instance of a content-type which I have created. I do not want the content (infact any instances of this content-type) to appear on the menu - but I do want the menu to appear on the content. What I really want is the content to be invisible on the menu (so the menu shows its parent and grandparents only) Whats the best way to achieve this? Hope this makes sense. Thanks, Dave Victor Kane wrote: > I think we need to get a few concepts straight. > > A content-type is not content (i.e. node/123, a story), but rather a > form, it defines a reusable set of fields, like a page or a story, > which can be used to create content. > > Let's suppose you create three pages by going to Administer > Add > content > page three times, and you create three distinct pages, > perhaps suitable for section pages (Sports, World, Politics). > > Once they are created, you can go to Administer > Site building > > Menus (or via the menu section of the edit form itself) and you can > assign their paths (node/124, node/125, node/126) to the primary menu > by adding them as menu items. > > Then, when you click these menu items on the primary menu you go to those pages. > > But there is nothing intrinsic in the content type that makes it > appear on a menu since it is not a piece of content. > > What you need to do if you have created a content type is create a few > instances (nodes) and assign those to the primary menu. > > Victor Kane > http://awebfactory.com.ar > > On Wed, Nov 26, 2008 at 1:03 PM, David Sharpe wrote: > >> Ok its not a page, I lied. Its a content-type I created. But I can't >> see any setting in the properties of the content-type that would manage >> its display or non-display of the primary menu? >> >> Thanks, >> Dave >> >> Victor Kane wrote: >> >>> Since all pages have the primary menu appear by default, and no page >>> is on the primary menu unless you put it there, it is hard to >>> understand your situation, perhaps clarify? >>> >>> Victor Kane >>> http://awebfactory.com.ar >>> >>> On Wed, Nov 26, 2008 at 9:18 AM, David Sharpe wrote: >>> >>> >>>> I have a page which does not, and which I don't want to appear on the >>>> primary menu. I link to this page through an embedded view. >>>> BUT this page does not show the menu either (I can see why this is the >>>> correct behaviour, as it has no relationship to any other page as far as >>>> it knows) - and I want it to show the menu on all pages. >>>> >>>> So how do I make the primary menu show on this page, without making the >>>> page show on the primary menu :-) >>>> >>>> Thanks, >>>> Dave >>>> -- >>>> [ Drupal support list | http://lists.drupal.org/ ] >>>> >>>> >>>> >> -- >> David Sharpe >> Assistant Network Manager >> Acting Telephone Liaison Officer >> Wolfson Brain Imaging Centre >> >> ================================================================ >> Wolfson Brain Imaging Centre | Tel: (direct) 01223 762128 >> University of Cambridge | Tel: (reception) 01223 331823 >> Box 65, Addenbrooke's Hospital | Fax: 01223 331826 >> Hills Road, Cambridge, CB2 0QQ | Email:david.sharpe at wbic.cam.ac.uk >> http://www.wbic.cam.ac.uk | >> ================================================================ >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> >> -- David Sharpe Assistant Network Manager Acting Telephone Liaison Officer Wolfson Brain Imaging Centre ================================================================ Wolfson Brain Imaging Centre | Tel: (direct) 01223 762128 University of Cambridge | Tel: (reception) 01223 331823 Box 65, Addenbrooke's Hospital | Fax: 01223 331826 Hills Road, Cambridge, CB2 0QQ | Email:david.sharpe at wbic.cam.ac.uk http://www.wbic.cam.ac.uk | ================================================================ From cimo75 at gmail.com Mon Dec 15 12:27:28 2008 From: cimo75 at gmail.com (simone-www.io-lab.org) Date: Mon, 15 Dec 2008 12:27:28 +0000 Subject: [support] Double site In-Reply-To: <494504C3.6040303@partialflow.com> References: <20081212002819.BCB1F3EDD1@fraxinus.osuosl.org> <4941D7CB.60301@partialflow.com> <4942618E.70400@partialflow.com> <494504C3.6040303@partialflow.com> Message-ID: ok, more reading. Right now i have some html in www.mysite.com, the main drupal installation is in www.mysite.com/island1 My plan is: move the actual html content in a subfolder, modify the .htaccess of the main site to point to that folder so i can freely work in root Create a new settings.ini in the proper folder for www.mysite.com/island2 and modify the settings.ini file in www.mysite.com/island1 accordingly. Create a new html file in root with the island switcher and, when everything is ready, change back the .htaccess file to point to that html file. I d really appreciate some opinion about my plan, especially i d like to know if there is anything wrong with keeping the drupal installation in www.mysite.com/island1 or is it best practice to have the main installation in www.mysite.com Simone On Sun, Dec 14, 2008 at 1:06 PM, Christopher M. Jones wrote: > Links are content. Or, arguably, configuration. These should be kept > separate from presentation, which is the domain of the template. That is > to say your template should be as content agnostic as possible. When you > build your template, try to pretend that you're building it so that > anyone could use it, for any purpose. It's just best practice > programming. > > simone-www.io-lab.org wrote: >> I have to admit that i can follow the general idea but i need to dip >> my toe in it to get a wider overview. >> I d like to ask: why is it not advised to use hard coded links in my >> template? It definetely makes sense to me but i don t know why, >> probably because i ve never seen it before. >> I ask it becasue i ve solved a problem i had doing just that: i have a >> menu where i wanted to have only linked images and no text, and i have >> only 4 items that won t change in the future, so i ve hardcoded them >> in my template and put them inside a div and added an id each so i can >> style them. >> >> Back t the "island switcher" I would prefer not going back to create a >> region and a block in it if possible but rather substitute the link >> which is hardcoded now with a variable and .... ok there my knowledge >> ends.. time for some readings, i d like to mention that i am in Drupal >> 6 so if can point me out to some interesting topics please remember >> that, it seems like doco for D6 is not so uptodate as for D5. >> >> Simone >> >> On Fri, Dec 12, 2008 at 1:05 PM, Christopher M. Jones >> wrote: >>> Yes, you are sharing it. Sorry, I didn't follow your other thread. Don't >>> know what your template looks like, but you could just as well create a >>> menu in each site. In your page.tpl.php, instead of hard-coding the link >>> you simply say >>> >>> >>>
>>> >>>
>>> >>> >>> In your template.php you add your region into the array that contains >>> all the other regions. Now this region is available in your blocks >>> administration. In each site you can create a menu to place into this >>> region, with links that point exactly where you want them to point. May >>> be a bit more work, but this method has the advantage of avoiding too >>> much conditional logic in your template. And IMHO, links should not be >>> hard coded into the template. >>> >>> simone-www.io-lab.org wrote: >>>> Hi >>>> the "island switcher" button is created on page.tpl.php, and i am >>>> sharing this file on both sites (or not??), i think i have to replace >>>> the link with a php function such as (see >>>> my other post "Adding link to image (logo style)"). >>>> In fact I have 2 buttons (images) created in page.tpl.php, one links >>>> to home page, the other one links to the home page of the other site. >>>> Simone >>>> >>>> On Fri, Dec 12, 2008 at 3:17 AM, Christopher M. Jones >>>> wrote: >>>>> What will happen is: you will install your sites, set each one up to use >>>>> it's own database, or prefix within the same database. For each site you >>>>> will choose your template, available to each because it's located in >>>>> sites/all/themes. Now each site looks the same. But you'll find that >>>>> when you set up your menu in one, it won't appear in any of the others. >>>>> Different databases, you see. >>>>> >>>>> simone-www.io-lab.org wrote: >>>>>> Ok thanks, i am trying to figure out all the details: there will be a >>>>>> button in each page that will link to the other one, that sounds a bit >>>>>> tricky since i plan to share the same theme but i am sure there is >>>>>> common way to go... >>>>>> Simone >>>>>> >>>>>> On Fri, Dec 12, 2008 at 12:29 AM, Shyamala Rajaram >>>>>> wrote: >>>>>>> We have sites running as multisites, it works just fine! >>>>>>> >>>>>>> >>>>>>> >>>>>>> For multisite on windows: >>>>>>> >>>>>>> http://drupal.org/node/32715 >>>>>>> >>>>>>> >>>>>>> >>>>>>> Read 'settings.php', in the sites/default folder, to understand how drupal >>>>>>> searches it's folder to locate the file storing a particular domain's >>>>>>> settings.php. >>>>>>> >>>>>>> >>>>>>> >>>>>>> Drupal by default reads the settings.php file in the default folder. You can >>>>>>> configure the main portal settings in the default directory. The subdomains >>>>>>> a.com and b.com can be configured by creating two new folders under the >>>>>>> sites directory called yourdomain.a.com and yourdomain.b.com. Each of these >>>>>>> folders should have it's own settings.php. In the settings.php of each site >>>>>>> you have to name the database to be used. >>>>>>> >>>>>>> >>>>>>> >>>>>>> If you want some settings to be shared between the sites you could go in for >>>>>>> a shared database configuration. >>>>>>> >>>>>>> >>>>>>> >>>>>>> refer: http://drupal.org/node/147828 for >>>>>>> >>>>>>> Multi-Site, Single Codebase, Shared Database, Shared Sign-on 5.x >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> Shyamala >>>>>>> >>>>>>> Netlink Technologies Ltd >>>>>>> http://shyamala-drupal.blogspot.com/ >>>>>>> >>>>>>> >>>>>>> -----Original Message----- >>>>>>> From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On >>>>>>> Behalf Of simone-www.io-lab.org >>>>>>> Sent: Thursday, December 11, 2008 6:26 PM >>>>>>> To: support at drupal.org >>>>>>> Subject: [support] Double site >>>>>>> >>>>>>> Hi >>>>>>> I ve read a bit about multi site installation, but still i am not so >>>>>>> sure about how to go: >>>>>>> I ll have basically 2 "twin sites" each referring to a different >>>>>>> island in the same archipelago, the structure both on content >>>>>>> management and on the theme graphic will be the same but all content >>>>>>> will be different and i d like to have the 2 sites on 2 different >>>>>>> databases. >>>>>>> first site: www.mysite.com/islandx >>>>>>> second site: www.mysite.com/islandy >>>>>>> of course at www.mysite.com there will be an island chooser >>>>>>> considering i ll have to change details on the future i d like to have >>>>>>> the 2 sites using the same theme and the same module folder although i >>>>>>> think i need 2 different installations (to get the 2 contents on 2 >>>>>>> different databases) >>>>>>> It s clear to me how to have a site using different themes but not >>>>>>> really the other way round.. >>>>>>> Any hint is welcome >>>>>>> Simone >>>>>>> -- >>>>>>> .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/ ] >>>>>>> >>>>>> >>>>> -- >>>>> [ Drupal support list | http://lists.drupal.org/ ] >>>>> >>>> >>>> >>> -- >>> [ 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 earnie at users.sourceforge.net Mon Dec 15 13:47:42 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Mon, 15 Dec 2008 08:47:42 -0500 Subject: [support] Website migration / access denied error In-Reply-To: <494639E1.9060608@zmsl.com> References: <494639E1.9060608@zmsl.com> Message-ID: <20081215084742.754b2eqk5io048gw@mail.progw.org> Quoting Daniel Carrera : > Hello, > > I'm migrating a Drupal 5 website to a new web host. The new host has a > newer version of Drupal 5. I am getting an access denied error: > How did you copy the files? Are you sure you picked up the .htaccess file? > http://vulcan.unitedhosting.co.uk/~rosemarymusker.co.uk/ > Maybe you need to set the RewriteBase to /~rosemarymusker.co.uk in the .htaccess file? Adding ?q=user and ?q=node to the above URL brings up pages. -- Earnie http://r-feed.com Make a Drupal difference and review core patches. -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From bharanikumariyerphp at gmail.com Mon Dec 15 13:49:12 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Mon, 15 Dec 2008 19:19:12 +0530 Subject: [support] expenditure + Earning calculation module Message-ID: <2240033d0812150549t39e95fd6jf69e5e70a2519453@mail.gmail.com> hi is there any module in drupal, for find the monthly expenditure , earning calculation , ( related accountant module ) -- ?????? ?????? ???? ?????? Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ http://bharanikumariyerphp.site88.net/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081215/ba11d92a/attachment.htm From daniel.carrera at zmsl.com Mon Dec 15 14:08:14 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Mon, 15 Dec 2008 15:08:14 +0100 Subject: [support] I can't access my site! Message-ID: <494664CE.1030906@zmsl.com> Hello, I have moved a Drupal site to a new host and I can't access it! It gives me an access denied error and I believe that it is something with Drupal. Here is the site: http://rosemarymusker.co.uk/index.php I'm sure that it is a Drupal error because if you go to the update page you see this: http://rosemarymusker.co.uk/update.php You can see that this is a Drupal page, that Drupal itself is accessible and working but Drupal refuses to allow access. So the access denied error must be a problem with Drupal. Does anyone have any suggestions? Daniel. From daniel.carrera at zmsl.com Mon Dec 15 14:10:48 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Mon, 15 Dec 2008 15:10:48 +0100 Subject: [support] Website migration / access denied error In-Reply-To: <20081215084742.754b2eqk5io048gw@mail.progw.org> References: <494639E1.9060608@zmsl.com> <20081215084742.754b2eqk5io048gw@mail.progw.org> Message-ID: <49466568.9000709@zmsl.com> Earnie Boyd wrote: >> I'm migrating a Drupal 5 website to a new web host. The new host has a >> newer version of Drupal 5. I am getting an access denied error: > > How did you copy the files? Are you sure you picked up the .htaccess file? Yes .htaccess is there. > Maybe you need to set the RewriteBase to /~rosemarymusker.co.uk in the > .htaccess file? Adding ?q=user and ?q=node to the above URL brings up > pages. Ah... I didn't notice that. Is it possible that the problem is that I have setup pretty URLs? Daniel. From simone.dalmaso at juvox.it Mon Dec 15 14:12:03 2008 From: simone.dalmaso at juvox.it (Simone Dal Maso) Date: Mon, 15 Dec 2008 15:12:03 +0100 Subject: [support] how to browse files and folders? Message-ID: <009f01c95ebf$1b1e39e0$06000a0a@csa> Hi, I don't know if this is a drupal problem or something regarding apache settings. I'd like to have a folder where users can download files, go to other subfolder, but not delete, modify or create files. This feature is often given by apache itself, I believe. But, if I go to www.mysite.com/files/ I obtained a page not found, given by drupal. files is the folder that contain all my files, and this is the path that drupal uses for public method. If I write into my browser a correct filename, I can download it without problem, but if I put only te folder, instead of having the index I have the page not found error. Any suggestions? Bye and thanks. -- Simone Dal Maso. Tutti i miei progetti: Spazioausili: consultazione, ricerca e commenti sugli ausili informatici per non vedenti: http://www.spazioausili.net homepage sviluppo comunita' NVDA: www.nvda.it Visita il mio blog! http://simodm.blogspot.com homepage progetto musicale: www.juvox.it From william.darren at gmail.com Mon Dec 15 14:14:40 2008 From: william.darren at gmail.com (William Smith) Date: Mon, 15 Dec 2008 09:14:40 -0500 Subject: [support] I can't access my site! In-Reply-To: <494664CE.1030906@zmsl.com> References: <494664CE.1030906@zmsl.com> Message-ID: <74630ca20812150614s7a6a1fb5p7cb51aea404f996a@mail.gmail.com> Did you move the .htaccess file? It is quite proper that /update.php should give the Drupal access denied error if you aren't logged in as user #1. However, your /index.php access denied page does not look like it is coming from Drupal. Navigating to /user, I notice that it is returning a "Parallels Control Panel" page, not the expected Drupal user login page. Your page routing is off, and this is probably because you did not move .htaccess Best, William On Mon, Dec 15, 2008 at 9:08 AM, Daniel Carrera wrote: > Hello, > > I have moved a Drupal site to a new host and I can't access it! It gives > me an access denied error and I believe that it is something with > Drupal. Here is the site: > > http://rosemarymusker.co.uk/index.php > > I'm sure that it is a Drupal error because if you go to the update page > you see this: > > http://rosemarymusker.co.uk/update.php > > You can see that this is a Drupal page, that Drupal itself is accessible > and working but Drupal refuses to allow access. So the access denied > error must be a problem with Drupal. > > Does anyone have any suggestions? > > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081215/51ef2cb1/attachment.htm From sivaji2009 at gmail.com Mon Dec 15 14:15:05 2008 From: sivaji2009 at gmail.com (sivaji j.g) Date: Mon, 15 Dec 2008 19:45:05 +0530 Subject: [support] expenditure + Earning calculation module In-Reply-To: <2240033d0812150549t39e95fd6jf69e5e70a2519453@mail.gmail.com> References: <2240033d0812150549t39e95fd6jf69e5e70a2519453@mail.gmail.com> Message-ID: > for find the monthly expenditure , earning calculation , ( related > accountant module ) http://drupal.org/project/sheetnode This module may help you. -- Thanks a lot ----------------------------------------- http://ubuntuslave.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081215/4ec0c91a/attachment.htm From daniel.carrera at zmsl.com Mon Dec 15 14:23:44 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Mon, 15 Dec 2008 15:23:44 +0100 Subject: [support] I can't access my site! In-Reply-To: <74630ca20812150614s7a6a1fb5p7cb51aea404f996a@mail.gmail.com> References: <494664CE.1030906@zmsl.com> <74630ca20812150614s7a6a1fb5p7cb51aea404f996a@mail.gmail.com> Message-ID: <49466870.90409@zmsl.com> The .htaccess file is there, but I can't confirm if it is correct or not. I got it from a brand new download of Drupal 5.16. If I go to index.php?q=user I can login, and then I can see the site pages then, except for the fact that the theme is gone (no sidebar, and background is white). Does any of this mean anything to you? I'll see if I can get the theme working again. Daniel. William Smith wrote: > Did you move the .htaccess file? It is quite proper that /update.php > should give the Drupal access denied error if you aren't logged in as > user #1. However, your /index.php access denied page does not look like > it is coming from Drupal. Navigating to /user, I notice that it is > returning a "Parallels Control Panel" page, not the expected Drupal user > login page. > > Your page routing is off, and this is probably because you did not move > .htaccess > > Best, > William > > On Mon, Dec 15, 2008 at 9:08 AM, Daniel Carrera > wrote: > > Hello, > > I have moved a Drupal site to a new host and I can't access it! It gives > me an access denied error and I believe that it is something with > Drupal. Here is the site: > > http://rosemarymusker.co.uk/index.php > > I'm sure that it is a Drupal error because if you go to the update page > you see this: > > http://rosemarymusker.co.uk/update.php > > You can see that this is a Drupal page, that Drupal itself is accessible > and working but Drupal refuses to allow access. So the access denied > error must be a problem with Drupal. > > Does anyone have any suggestions? > > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] > > From sivaji2009 at gmail.com Mon Dec 15 14:25:20 2008 From: sivaji2009 at gmail.com (sivaji j.g) Date: Mon, 15 Dec 2008 19:55:20 +0530 Subject: [support] I can't access my site! In-Reply-To: <494664CE.1030906@zmsl.com> References: <494664CE.1030906@zmsl.com> Message-ID: > Does anyone have any suggestions? yes 1.Change the files permission. 2.Login as admin in this link and try whether you are able to do anything http://rosemarymusker.co.uk/?q=user/login 3.Make sure all the files are properly uploaded to server 4.Check whether the template being used is not deleted 5.Empty the js and css directories under files directory 6.Clear the cache tables -- Thanks a lot ----------------------------------------- http://ubuntuslave.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081215/a1dc030a/attachment.htm From daniel.carrera at zmsl.com Mon Dec 15 14:37:26 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Mon, 15 Dec 2008 15:37:26 +0100 Subject: [support] I can't access my site! In-Reply-To: <49466870.90409@zmsl.com> References: <494664CE.1030906@zmsl.com> <74630ca20812150614s7a6a1fb5p7cb51aea404f996a@mail.gmail.com> <49466870.90409@zmsl.com> Message-ID: <49466BA6.3000100@zmsl.com> Daniel Carrera wrote: > I'll see if I can get the theme working again. Ok. I got the theme working again, and now I think it is clear that the problem is not with .htaccess because the theme and the navigation links are visible and it is just the main contents page that says access denied: http://rosemarymusker.co.uk/ I have deleted the cache and cache_page tables as per Sivaji's suggestion, but it didn't help. I'll poke around the admin pages and see if I find anything odd. Daniel. From daniel.carrera at zmsl.com Mon Dec 15 14:44:33 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Mon, 15 Dec 2008 15:44:33 +0100 Subject: [support] I can't access my site! In-Reply-To: <49466BA6.3000100@zmsl.com> References: <494664CE.1030906@zmsl.com> <74630ca20812150614s7a6a1fb5p7cb51aea404f996a@mail.gmail.com> <49466870.90409@zmsl.com> <49466BA6.3000100@zmsl.com> Message-ID: <49466D51.3050907@zmsl.com> Daniel Carrera wrote: > I'll poke around the admin pages and see if I find anything odd. WHOO HOO!!! Rebuild Permissions did it. Thanks for all the help. Especial thanks to Earnie who noticed that I could still login by appending ?q=user. Without that I would still be banging my head against the wall. In the end, there were two distinct problems: 1) The theme wasn't working. I "fixed" this by switching to another theme and switching back. Weird. 2) The node permissions were broken. I fixed these with rebuild permissions. Cheers, Daniel. From daniel.carrera at zmsl.com Mon Dec 15 15:11:08 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Mon, 15 Dec 2008 16:11:08 +0100 Subject: [support] A page without a title? Message-ID: <4946738C.6010605@zmsl.com> Hello, The user wants to have pages without titles. He is using jpeg images in place of the title. Does anyone have a suggestion on the best way to not have a title on a page? A title made of spaces doesn't work. A title made of just a dot "." does work. That's the best option so far, but I don't like it. You still see an ugly dot that doesn't belong. Does anyone have a better idea? Thanks. Daniel. From william.darren at gmail.com Mon Dec 15 15:19:06 2008 From: william.darren at gmail.com (William Smith) Date: Mon, 15 Dec 2008 10:19:06 -0500 Subject: [support] A page without a title? In-Reply-To: <4946738C.6010605@zmsl.com> References: <4946738C.6010605@zmsl.com> Message-ID: <74630ca20812150719y2c72066dw1726cc9c63255bae@mail.gmail.com> If you don't want a title for any of the pages, just delete the print $title from the node.tpl.php in your theme directory. If you need more sophisticated behavior, try this link: http://drupal.org/node/138910 On Mon, Dec 15, 2008 at 10:11 AM, Daniel Carrera wrote: > Hello, > > The user wants to have pages without titles. He is using jpeg images in > place of the title. Does anyone have a suggestion on the best way to not > have a title on a page? A title made of spaces doesn't work. A title > made of just a dot "." does work. That's the best option so far, but I > don't like it. You still see an ugly dot that doesn't belong. Does > anyone have a better idea? > > Thanks. > > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081215/5e14cd68/attachment.htm From usamah1228 at gmail.com Mon Dec 15 15:20:00 2008 From: usamah1228 at gmail.com (Usamah M. Ali) Date: Mon, 15 Dec 2008 18:20:00 +0300 Subject: [support] A page without a title? In-Reply-To: <4946738C.6010605@zmsl.com> References: <4946738C.6010605@zmsl.com> Message-ID: If you're using Drupal 6, you can write a module for your own content type and set the 'has_title' attribute to 'FALSE'. While the feature of allowing nodes with empty titles is in Drupal core, you unfortunately cannot set it from the user interface and will have to write your own module for it. Regards, Usamah On Mon, Dec 15, 2008 at 6:11 PM, Daniel Carrera wrote: > Hello, > > The user wants to have pages without titles. He is using jpeg images in > place of the title. Does anyone have a suggestion on the best way to not > have a title on a page? A title made of spaces doesn't work. A title > made of just a dot "." does work. That's the best option so far, but I > don't like it. You still see an ugly dot that doesn't belong. Does > anyone have a better idea? > > Thanks. > > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] > From skessler at denverdataman.com Mon Dec 15 15:38:53 2008 From: skessler at denverdataman.com (Steve Kessler) Date: Mon, 15 Dec 2008 08:38:53 -0700 Subject: [support] A page without a title? In-Reply-To: References: <4946738C.6010605@zmsl.com> Message-ID: <008501c95ecb$3cc7f840$b657e8c0$@com> Daniel, I would suggest to you that rather than removing the title that you have your user enter the title and then remove it in your node.tpl.php. You can then use the title for your ALT text. (<?php print
$title ?> This way you have a title for the node in places like /tracker and you are making your site more accessible. This os probably better form an SEO point of view as well because this is where you get your title for the meta data. -Steve Steve Kessler Denver DataMan 303-587-4428 -----Original Message----- From: Usamah M. Ali [mailto:usamah1228 at gmail.com] Sent: Monday, December 15, 2008 8:20 AM To: support at drupal.org Subject: Re: [support] A page without a title? If you're using Drupal 6, you can write a module for your own content type and set the 'has_title' attribute to 'FALSE'. While the feature of allowing nodes with empty titles is in Drupal core, you unfortunately cannot set it from the user interface and will have to write your own module for it. Regards, Usamah On Mon, Dec 15, 2008 at 6:11 PM, Daniel Carrera wrote: > Hello, > > The user wants to have pages without titles. He is using jpeg images in > place of the title. Does anyone have a suggestion on the best way to not > have a title on a page? A title made of spaces doesn't work. A title > made of just a dot "." does work. That's the best option so far, but I > don't like it. You still see an ugly dot that doesn't belong. Does > anyone have a better idea? > > Thanks. > > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- [ Drupal support list | http://lists.drupal.org/ ] From cimo75 at gmail.com Mon Dec 15 15:41:37 2008 From: cimo75 at gmail.com (simone-www.io-lab.org) Date: Mon, 15 Dec 2008 15:41:37 +0000 Subject: [support] Double site In-Reply-To: References: <20081212002819.BCB1F3EDD1@fraxinus.osuosl.org> <4941D7CB.60301@partialflow.com> <4942618E.70400@partialflow.com> <494504C3.6040303@partialflow.com> Message-ID: Tonight is the night! ;) After some thinking over i think i ll keep the actual html in root as it is now, i will move the whole Drupal installation to root but just remove/rename index.php so user will still be routed to the actual index.html. Then i will create in /sites 2 folders named www.mysite.com.island1 and www.mysite.com.island2 and add to each one a settings.ini In this way i ll be able to: 1-keep on working on the site theming 2-begin to add content on each site separately When the site will be ready all i ll have to do is redirect the links from the index.html i have in root to the 2 sites respectively. The only concern is about what can happen when you have a drupal installation in root and some html code at the same time Simone On Mon, Dec 15, 2008 at 12:27 PM, simone-www. io-lab. org wrote: > ok, more reading. > > Right now i have some html in www.mysite.com, the main drupal > installation is in www.mysite.com/island1 > > My plan is: move the actual html content in a subfolder, modify the > .htaccess of the main site to point to that folder so i can freely > work in root > > Create a new settings.ini in the proper folder for > www.mysite.com/island2 and modify the settings.ini file in > www.mysite.com/island1 accordingly. > > Create a new html file in root with the island switcher and, when > everything is ready, change back the .htaccess file to point to that > html file. > > I d really appreciate some opinion about my plan, especially i d like > to know if there is anything wrong with keeping the drupal > installation in www.mysite.com/island1 or is it best practice to have > the main installation in www.mysite.com > > Simone > > On Sun, Dec 14, 2008 at 1:06 PM, Christopher M. Jones > wrote: >> Links are content. Or, arguably, configuration. These should be kept >> separate from presentation, which is the domain of the template. That is >> to say your template should be as content agnostic as possible. When you >> build your template, try to pretend that you're building it so that >> anyone could use it, for any purpose. It's just best practice >> programming. >> >> simone-www.io-lab.org wrote: >>> I have to admit that i can follow the general idea but i need to dip >>> my toe in it to get a wider overview. >>> I d like to ask: why is it not advised to use hard coded links in my >>> template? It definetely makes sense to me but i don t know why, >>> probably because i ve never seen it before. >>> I ask it becasue i ve solved a problem i had doing just that: i have a >>> menu where i wanted to have only linked images and no text, and i have >>> only 4 items that won t change in the future, so i ve hardcoded them >>> in my template and put them inside a div and added an id each so i can >>> style them. >>> >>> Back t the "island switcher" I would prefer not going back to create a >>> region and a block in it if possible but rather substitute the link >>> which is hardcoded now with a variable and .... ok there my knowledge >>> ends.. time for some readings, i d like to mention that i am in Drupal >>> 6 so if can point me out to some interesting topics please remember >>> that, it seems like doco for D6 is not so uptodate as for D5. >>> >>> Simone >>> >>> On Fri, Dec 12, 2008 at 1:05 PM, Christopher M. Jones >>> wrote: >>>> Yes, you are sharing it. Sorry, I didn't follow your other thread. Don't >>>> know what your template looks like, but you could just as well create a >>>> menu in each site. In your page.tpl.php, instead of hard-coding the link >>>> you simply say >>>> >>>> >>>>
>>>> >>>>
>>>> >>>> >>>> In your template.php you add your region into the array that contains >>>> all the other regions. Now this region is available in your blocks >>>> administration. In each site you can create a menu to place into this >>>> region, with links that point exactly where you want them to point. May >>>> be a bit more work, but this method has the advantage of avoiding too >>>> much conditional logic in your template. And IMHO, links should not be >>>> hard coded into the template. >>>> >>>> simone-www.io-lab.org wrote: >>>>> Hi >>>>> the "island switcher" button is created on page.tpl.php, and i am >>>>> sharing this file on both sites (or not??), i think i have to replace >>>>> the link with a php function such as (see >>>>> my other post "Adding link to image (logo style)"). >>>>> In fact I have 2 buttons (images) created in page.tpl.php, one links >>>>> to home page, the other one links to the home page of the other site. >>>>> Simone >>>>> >>>>> On Fri, Dec 12, 2008 at 3:17 AM, Christopher M. Jones >>>>> wrote: >>>>>> What will happen is: you will install your sites, set each one up to use >>>>>> it's own database, or prefix within the same database. For each site you >>>>>> will choose your template, available to each because it's located in >>>>>> sites/all/themes. Now each site looks the same. But you'll find that >>>>>> when you set up your menu in one, it won't appear in any of the others. >>>>>> Different databases, you see. >>>>>> >>>>>> simone-www.io-lab.org wrote: >>>>>>> Ok thanks, i am trying to figure out all the details: there will be a >>>>>>> button in each page that will link to the other one, that sounds a bit >>>>>>> tricky since i plan to share the same theme but i am sure there is >>>>>>> common way to go... >>>>>>> Simone >>>>>>> >>>>>>> On Fri, Dec 12, 2008 at 12:29 AM, Shyamala Rajaram >>>>>>> wrote: >>>>>>>> We have sites running as multisites, it works just fine! >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> For multisite on windows: >>>>>>>> >>>>>>>> http://drupal.org/node/32715 >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Read 'settings.php', in the sites/default folder, to understand how drupal >>>>>>>> searches it's folder to locate the file storing a particular domain's >>>>>>>> settings.php. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Drupal by default reads the settings.php file in the default folder. You can >>>>>>>> configure the main portal settings in the default directory. The subdomains >>>>>>>> a.com and b.com can be configured by creating two new folders under the >>>>>>>> sites directory called yourdomain.a.com and yourdomain.b.com. Each of these >>>>>>>> folders should have it's own settings.php. In the settings.php of each site >>>>>>>> you have to name the database to be used. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> If you want some settings to be shared between the sites you could go in for >>>>>>>> a shared database configuration. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> refer: http://drupal.org/node/147828 for >>>>>>>> >>>>>>>> Multi-Site, Single Codebase, Shared Database, Shared Sign-on 5.x >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Shyamala >>>>>>>> >>>>>>>> Netlink Technologies Ltd >>>>>>>> http://shyamala-drupal.blogspot.com/ >>>>>>>> >>>>>>>> >>>>>>>> -----Original Message----- >>>>>>>> From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On >>>>>>>> Behalf Of simone-www.io-lab.org >>>>>>>> Sent: Thursday, December 11, 2008 6:26 PM >>>>>>>> To: support at drupal.org >>>>>>>> Subject: [support] Double site >>>>>>>> >>>>>>>> Hi >>>>>>>> I ve read a bit about multi site installation, but still i am not so >>>>>>>> sure about how to go: >>>>>>>> I ll have basically 2 "twin sites" each referring to a different >>>>>>>> island in the same archipelago, the structure both on content >>>>>>>> management and on the theme graphic will be the same but all content >>>>>>>> will be different and i d like to have the 2 sites on 2 different >>>>>>>> databases. >>>>>>>> first site: www.mysite.com/islandx >>>>>>>> second site: www.mysite.com/islandy >>>>>>>> of course at www.mysite.com there will be an island chooser >>>>>>>> considering i ll have to change details on the future i d like to have >>>>>>>> the 2 sites using the same theme and the same module folder although i >>>>>>>> think i need 2 different installations (to get the 2 contents on 2 >>>>>>>> different databases) >>>>>>>> It s clear to me how to have a site using different themes but not >>>>>>>> really the other way round.. >>>>>>>> Any hint is welcome >>>>>>>> Simone >>>>>>>> -- >>>>>>>> .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/ ] >>>>>>>> >>>>>>> >>>>>> -- >>>>>> [ Drupal support list | http://lists.drupal.org/ ] >>>>>> >>>>> >>>>> >>>> -- >>>> [ 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.... > -- .wmv , .wma , .pps along with all proprietary Windows formats won t be accepted and/or viewed.... From daniel.carrera at zmsl.com Mon Dec 15 15:50:02 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Mon, 15 Dec 2008 16:50:02 +0100 Subject: [support] A page without a title? In-Reply-To: <008501c95ecb$3cc7f840$b657e8c0$@com> References: <4946738C.6010605@zmsl.com> <008501c95ecb$3cc7f840$b657e8c0$@com> Message-ID: <49467CAA.1000809@zmsl.com> I'll propose this idea to the user. I think he'll be happy with it. Steve Kessler wrote: > Daniel, > > I would suggest to you that rather than removing the title that you have > your user enter the title and then remove it in your node.tpl.php. You can > then use the title for your ALT text. (<?php print
> $title ?> This way you have a title for the node in places like /tracker > and you are making your site more accessible. This os probably better form > an SEO point of view as well because this is where you get your title for > the meta data. > > -Steve > > Steve Kessler > Denver DataMan > 303-587-4428 > > -----Original Message----- > From: Usamah M. Ali [mailto:usamah1228 at gmail.com] > Sent: Monday, December 15, 2008 8:20 AM > To: support at drupal.org > Subject: Re: [support] A page without a title? > > If you're using Drupal 6, you can write a module for your own content > type and set the 'has_title' attribute to 'FALSE'. While the feature > of allowing nodes with empty titles is in Drupal core, you > unfortunately cannot set it from the user interface and will have to > write your own module for it. > > Regards, > Usamah > > On Mon, Dec 15, 2008 at 6:11 PM, Daniel Carrera > wrote: >> Hello, >> >> The user wants to have pages without titles. He is using jpeg images in >> place of the title. Does anyone have a suggestion on the best way to not >> have a title on a page? A title made of spaces doesn't work. A title >> made of just a dot "." does work. That's the best option so far, but I >> don't like it. You still see an ugly dot that doesn't belong. Does >> anyone have a better idea? >> >> Thanks. >> >> Daniel. >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> From sales at idealcctv.co.uk Mon Dec 15 16:13:36 2008 From: sales at idealcctv.co.uk (Torben Vanselow) Date: Mon, 15 Dec 2008 16:13:36 -0000 Subject: [support] Double site In-Reply-To: References: <20081212002819.BCB1F3EDD1@fraxinus.osuosl.org> <4941D7CB.60301@partialflow.com> <4942618E.70400@partialflow.com> <494504C3.6040303@partialflow.com> Message-ID: <00b901c95ed0$1751b8d0$45f52a70$@co.uk> Hi Simone, I can only comment on your last line/concern: I had separate .html content pages of my original non-drupal installation active and running well... alongside with my new drupal website in the same folder / root. I mainly kept the html pages there because the URL had a lot of trust and page-rank in Google and drew loads of traffic. At a later stage I simply replaced them with drupal generated pages, manually configuring the aliases to have .html ending --> no problems whatsoever. Kind Regards, Mr. Torben C.F. Vanselow Executive Sales Manager - Ideal CCTV T: 0800 043 27 40 F: 0800 066 40 49 E: management at idealcctv.co.uk W: http://www.idealcctv.co.uk CCTV Installation - Megapixel CCTV - IP Security Cameras -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of simone-www.io-lab.org Sent: 15 December 2008 15:42 To: support at drupal.org Subject: Re: [support] Double site Tonight is the night! ;) After some thinking over i think i ll keep the actual html in root as it is now, i will move the whole Drupal installation to root but just remove/rename index.php so user will still be routed to the actual index.html. Then i will create in /sites 2 folders named www.mysite.com.island1 and www.mysite.com.island2 and add to each one a settings.ini In this way i ll be able to: 1-keep on working on the site theming 2-begin to add content on each site separately When the site will be ready all i ll have to do is redirect the links from the index.html i have in root to the 2 sites respectively. The only concern is about what can happen when you have a drupal installation in root and some html code at the same time Simone On Mon, Dec 15, 2008 at 12:27 PM, simone-www. io-lab. org wrote: > ok, more reading. > > Right now i have some html in www.mysite.com, the main drupal > installation is in www.mysite.com/island1 > > My plan is: move the actual html content in a subfolder, modify the > .htaccess of the main site to point to that folder so i can freely > work in root > > Create a new settings.ini in the proper folder for > www.mysite.com/island2 and modify the settings.ini file in > www.mysite.com/island1 accordingly. > > Create a new html file in root with the island switcher and, when > everything is ready, change back the .htaccess file to point to that > html file. > > I d really appreciate some opinion about my plan, especially i d like > to know if there is anything wrong with keeping the drupal > installation in www.mysite.com/island1 or is it best practice to have > the main installation in www.mysite.com > > Simone > > On Sun, Dec 14, 2008 at 1:06 PM, Christopher M. Jones > wrote: >> Links are content. Or, arguably, configuration. These should be kept >> separate from presentation, which is the domain of the template. That is >> to say your template should be as content agnostic as possible. When you >> build your template, try to pretend that you're building it so that >> anyone could use it, for any purpose. It's just best practice >> programming. >> >> simone-www.io-lab.org wrote: >>> I have to admit that i can follow the general idea but i need to dip >>> my toe in it to get a wider overview. >>> I d like to ask: why is it not advised to use hard coded links in my >>> template? It definetely makes sense to me but i don t know why, >>> probably because i ve never seen it before. >>> I ask it becasue i ve solved a problem i had doing just that: i have a >>> menu where i wanted to have only linked images and no text, and i have >>> only 4 items that won t change in the future, so i ve hardcoded them >>> in my template and put them inside a div and added an id each so i can >>> style them. >>> >>> Back t the "island switcher" I would prefer not going back to create a >>> region and a block in it if possible but rather substitute the link >>> which is hardcoded now with a variable and .... ok there my knowledge >>> ends.. time for some readings, i d like to mention that i am in Drupal >>> 6 so if can point me out to some interesting topics please remember >>> that, it seems like doco for D6 is not so uptodate as for D5. >>> >>> Simone >>> >>> On Fri, Dec 12, 2008 at 1:05 PM, Christopher M. Jones >>> wrote: >>>> Yes, you are sharing it. Sorry, I didn't follow your other thread. Don't >>>> know what your template looks like, but you could just as well create a >>>> menu in each site. In your page.tpl.php, instead of hard-coding the link >>>> you simply say >>>> >>>> >>>>
>>>> >>>>
>>>> >>>> >>>> In your template.php you add your region into the array that contains >>>> all the other regions. Now this region is available in your blocks >>>> administration. In each site you can create a menu to place into this >>>> region, with links that point exactly where you want them to point. May >>>> be a bit more work, but this method has the advantage of avoiding too >>>> much conditional logic in your template. And IMHO, links should not be >>>> hard coded into the template. >>>> >>>> simone-www.io-lab.org wrote: >>>>> Hi >>>>> the "island switcher" button is created on page.tpl.php, and i am >>>>> sharing this file on both sites (or not??), i think i have to replace >>>>> the link with a php function such as (see >>>>> my other post "Adding link to image (logo style)"). >>>>> In fact I have 2 buttons (images) created in page.tpl.php, one links >>>>> to home page, the other one links to the home page of the other site. >>>>> Simone >>>>> >>>>> On Fri, Dec 12, 2008 at 3:17 AM, Christopher M. Jones >>>>> wrote: >>>>>> What will happen is: you will install your sites, set each one up to use >>>>>> it's own database, or prefix within the same database. For each site you >>>>>> will choose your template, available to each because it's located in >>>>>> sites/all/themes. Now each site looks the same. But you'll find that >>>>>> when you set up your menu in one, it won't appear in any of the others. >>>>>> Different databases, you see. >>>>>> >>>>>> simone-www.io-lab.org wrote: >>>>>>> Ok thanks, i am trying to figure out all the details: there will be a >>>>>>> button in each page that will link to the other one, that sounds a bit >>>>>>> tricky since i plan to share the same theme but i am sure there is >>>>>>> common way to go... >>>>>>> Simone >>>>>>> >>>>>>> On Fri, Dec 12, 2008 at 12:29 AM, Shyamala Rajaram >>>>>>> wrote: >>>>>>>> We have sites running as multisites, it works just fine! >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> For multisite on windows: >>>>>>>> >>>>>>>> http://drupal.org/node/32715 >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Read 'settings.php', in the sites/default folder, to understand how drupal >>>>>>>> searches it's folder to locate the file storing a particular domain's >>>>>>>> settings.php. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Drupal by default reads the settings.php file in the default folder. You can >>>>>>>> configure the main portal settings in the default directory. The subdomains >>>>>>>> a.com and b.com can be configured by creating two new folders under the >>>>>>>> sites directory called yourdomain.a.com and yourdomain.b.com. Each of these >>>>>>>> folders should have it's own settings.php. In the settings.php of each site >>>>>>>> you have to name the database to be used. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> If you want some settings to be shared between the sites you could go in for >>>>>>>> a shared database configuration. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> refer: http://drupal.org/node/147828 for >>>>>>>> >>>>>>>> Multi-Site, Single Codebase, Shared Database, Shared Sign-on 5.x >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Shyamala >>>>>>>> >>>>>>>> Netlink Technologies Ltd >>>>>>>> http://shyamala-drupal.blogspot.com/ >>>>>>>> >>>>>>>> >>>>>>>> -----Original Message----- >>>>>>>> From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On >>>>>>>> Behalf Of simone-www.io-lab.org >>>>>>>> Sent: Thursday, December 11, 2008 6:26 PM >>>>>>>> To: support at drupal.org >>>>>>>> Subject: [support] Double site >>>>>>>> >>>>>>>> Hi >>>>>>>> I ve read a bit about multi site installation, but still i am not so >>>>>>>> sure about how to go: >>>>>>>> I ll have basically 2 "twin sites" each referring to a different >>>>>>>> island in the same archipelago, the structure both on content >>>>>>>> management and on the theme graphic will be the same but all content >>>>>>>> will be different and i d like to have the 2 sites on 2 different >>>>>>>> databases. >>>>>>>> first site: www.mysite.com/islandx >>>>>>>> second site: www.mysite.com/islandy >>>>>>>> of course at www.mysite.com there will be an island chooser >>>>>>>> considering i ll have to change details on the future i d like to have >>>>>>>> the 2 sites using the same theme and the same module folder although i >>>>>>>> think i need 2 different installations (to get the 2 contents on 2 >>>>>>>> different databases) >>>>>>>> It s clear to me how to have a site using different themes but not >>>>>>>> really the other way round.. >>>>>>>> Any hint is welcome >>>>>>>> Simone >>>>>>>> -- >>>>>>>> .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/ ] >>>>>>>> >>>>>>> >>>>>> -- >>>>>> [ Drupal support list | http://lists.drupal.org/ ] >>>>>> >>>>> >>>>> >>>> -- >>>> [ 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.... > -- .wmv , .wma , .pps along with all proprietary Windows formats won t be accepted and/or viewed.... -- [ Drupal support list | http://lists.drupal.org/ ] From thomasjen at oplin.org Mon Dec 15 16:19:20 2008 From: thomasjen at oplin.org (Jen Thomas) Date: Mon, 15 Dec 2008 11:19:20 -0500 Subject: [support] Installation Help Message-ID: <49468388.5070403@oplin.org> Hi, Please forgive the newbie question. I installed Drupal 5.something then tried removing it and installing 6.2 in its place. Now I have all the information that should be available on the Drupal pages (links and text) minus the background formatting (the blue background, the Drupal logo, the left column, etc). How do I get the background images and formatting back? Thanks for any help. Jen From cimo75 at gmail.com Mon Dec 15 16:46:37 2008 From: cimo75 at gmail.com (simone-www.io-lab.org) Date: Mon, 15 Dec 2008 16:46:37 +0000 Subject: [support] Double site In-Reply-To: <00b901c95ed0$1751b8d0$45f52a70$@co.uk> References: <4941D7CB.60301@partialflow.com> <4942618E.70400@partialflow.com> <494504C3.6040303@partialflow.com> <00b901c95ed0$1751b8d0$45f52a70$@co.uk> Message-ID: Hi I ve just tried this: Moved the html content to a subfolder and used a .htaccess to redirect there, i have an extra subfolde rin the url, but that s not a problem I moved the Drupal install in root but i had to rename index.php to indexx.php (cause it would "steal" priority from index.html) and remove the drupal .htaccess, i can now access the drupal install with mysite.com/indexx.php (looks a bit screwy but settings.ini hasn t been adapted yet). So far i really don t understand how i can keep my original html in root (i don t want to get rid of it, not even in the future) and the Drupal install together. Torben how did you set it up ? Thanks Simone Now my html can be accessed but i can t access the drupal installation.I understand it needs to On Mon, Dec 15, 2008 at 4:13 PM, Torben Vanselow wrote: > Hi Simone, > > I can only comment on your last line/concern: > > I had separate .html content pages of my original non-drupal installation > active and running well... alongside with my new drupal website in the same > folder / root. I mainly kept the html pages there because the URL had a lot > of trust and page-rank in Google and drew loads of traffic. > > At a later stage I simply replaced them with drupal generated pages, > manually configuring the aliases to have .html ending --> no problems > whatsoever. > > Kind Regards, > > Mr. Torben C.F. Vanselow > Executive Sales Manager - Ideal CCTV > > T: 0800 043 27 40 > F: 0800 066 40 49 > E: management at idealcctv.co.uk > W: http://www.idealcctv.co.uk > > CCTV Installation - Megapixel CCTV - IP Security Cameras > > > -----Original Message----- > From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On > Behalf Of simone-www.io-lab.org > Sent: 15 December 2008 15:42 > To: support at drupal.org > Subject: Re: [support] Double site > > Tonight is the night! ;) > After some thinking over i think i ll keep the actual html in root as > it is now, i will move the whole Drupal installation to root but just > remove/rename index.php so user will still be routed to the actual > index.html. > Then i will create in /sites 2 folders named www.mysite.com.island1 > and www.mysite.com.island2 and add to each one a settings.ini > In this way i ll be able to: > 1-keep on working on the site theming > 2-begin to add content on each site separately > When the site will be ready all i ll have to do is redirect the links > from the index.html i have in root to the 2 sites respectively. > > The only concern is about what can happen when you have a drupal > installation in root and some html code at the same time > > Simone > > On Mon, Dec 15, 2008 at 12:27 PM, simone-www. io-lab. org > wrote: >> ok, more reading. >> >> Right now i have some html in www.mysite.com, the main drupal >> installation is in www.mysite.com/island1 >> >> My plan is: move the actual html content in a subfolder, modify the >> .htaccess of the main site to point to that folder so i can freely >> work in root >> >> Create a new settings.ini in the proper folder for >> www.mysite.com/island2 and modify the settings.ini file in >> www.mysite.com/island1 accordingly. >> >> Create a new html file in root with the island switcher and, when >> everything is ready, change back the .htaccess file to point to that >> html file. >> >> I d really appreciate some opinion about my plan, especially i d like >> to know if there is anything wrong with keeping the drupal >> installation in www.mysite.com/island1 or is it best practice to have >> the main installation in www.mysite.com >> >> Simone >> >> On Sun, Dec 14, 2008 at 1:06 PM, Christopher M. Jones >> wrote: >>> Links are content. Or, arguably, configuration. These should be kept >>> separate from presentation, which is the domain of the template. That is >>> to say your template should be as content agnostic as possible. When you >>> build your template, try to pretend that you're building it so that >>> anyone could use it, for any purpose. It's just best practice >>> programming. >>> >>> simone-www.io-lab.org wrote: >>>> I have to admit that i can follow the general idea but i need to dip >>>> my toe in it to get a wider overview. >>>> I d like to ask: why is it not advised to use hard coded links in my >>>> template? It definetely makes sense to me but i don t know why, >>>> probably because i ve never seen it before. >>>> I ask it becasue i ve solved a problem i had doing just that: i have a >>>> menu where i wanted to have only linked images and no text, and i have >>>> only 4 items that won t change in the future, so i ve hardcoded them >>>> in my template and put them inside a div and added an id each so i can >>>> style them. >>>> >>>> Back t the "island switcher" I would prefer not going back to create a >>>> region and a block in it if possible but rather substitute the link >>>> which is hardcoded now with a variable and .... ok there my knowledge >>>> ends.. time for some readings, i d like to mention that i am in Drupal >>>> 6 so if can point me out to some interesting topics please remember >>>> that, it seems like doco for D6 is not so uptodate as for D5. >>>> >>>> Simone >>>> >>>> On Fri, Dec 12, 2008 at 1:05 PM, Christopher M. Jones >>>> wrote: >>>>> Yes, you are sharing it. Sorry, I didn't follow your other thread. > Don't >>>>> know what your template looks like, but you could just as well create a >>>>> menu in each site. In your page.tpl.php, instead of hard-coding the > link >>>>> you simply say >>>>> >>>>> >>>>>
>>>>> >>>>>
>>>>> >>>>> >>>>> In your template.php you add your region into the array that contains >>>>> all the other regions. Now this region is available in your blocks >>>>> administration. In each site you can create a menu to place into this >>>>> region, with links that point exactly where you want them to point. May >>>>> be a bit more work, but this method has the advantage of avoiding too >>>>> much conditional logic in your template. And IMHO, links should not be >>>>> hard coded into the template. >>>>> >>>>> simone-www.io-lab.org wrote: >>>>>> Hi >>>>>> the "island switcher" button is created on page.tpl.php, and i am >>>>>> sharing this file on both sites (or not??), i think i have to replace >>>>>> the link with a php function such as (see >>>>>> my other post "Adding link to image (logo style)"). >>>>>> In fact I have 2 buttons (images) created in page.tpl.php, one links >>>>>> to home page, the other one links to the home page of the other site. >>>>>> Simone >>>>>> >>>>>> On Fri, Dec 12, 2008 at 3:17 AM, Christopher M. Jones >>>>>> wrote: >>>>>>> What will happen is: you will install your sites, set each one up to > use >>>>>>> it's own database, or prefix within the same database. For each site > you >>>>>>> will choose your template, available to each because it's located in >>>>>>> sites/all/themes. Now each site looks the same. But you'll find that >>>>>>> when you set up your menu in one, it won't appear in any of the > others. >>>>>>> Different databases, you see. >>>>>>> >>>>>>> simone-www.io-lab.org wrote: >>>>>>>> Ok thanks, i am trying to figure out all the details: there will be > a >>>>>>>> button in each page that will link to the other one, that sounds a > bit >>>>>>>> tricky since i plan to share the same theme but i am sure there is >>>>>>>> common way to go... >>>>>>>> Simone >>>>>>>> >>>>>>>> On Fri, Dec 12, 2008 at 12:29 AM, Shyamala Rajaram >>>>>>>> wrote: >>>>>>>>> We have sites running as multisites, it works just fine! >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> For multisite on windows: >>>>>>>>> >>>>>>>>> http://drupal.org/node/32715 >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Read 'settings.php', in the sites/default folder, to understand how > drupal >>>>>>>>> searches it's folder to locate the file storing a particular > domain's >>>>>>>>> settings.php. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Drupal by default reads the settings.php file in the default > folder. You can >>>>>>>>> configure the main portal settings in the default directory. The > subdomains >>>>>>>>> a.com and b.com can be configured by creating two new folders under > the >>>>>>>>> sites directory called yourdomain.a.com and yourdomain.b.com. Each > of these >>>>>>>>> folders should have it's own settings.php. In the settings.php of > each site >>>>>>>>> you have to name the database to be used. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> If you want some settings to be shared between the sites you could > go in for >>>>>>>>> a shared database configuration. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> refer: http://drupal.org/node/147828 for >>>>>>>>> >>>>>>>>> Multi-Site, Single Codebase, Shared Database, Shared Sign-on 5.x >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Shyamala >>>>>>>>> >>>>>>>>> Netlink Technologies Ltd >>>>>>>>> http://shyamala-drupal.blogspot.com/ >>>>>>>>> >>>>>>>>> >>>>>>>>> -----Original Message----- >>>>>>>>> From: support-bounces at drupal.org > [mailto:support-bounces at drupal.org] On >>>>>>>>> Behalf Of simone-www.io-lab.org >>>>>>>>> Sent: Thursday, December 11, 2008 6:26 PM >>>>>>>>> To: support at drupal.org >>>>>>>>> Subject: [support] Double site >>>>>>>>> >>>>>>>>> Hi >>>>>>>>> I ve read a bit about multi site installation, but still i am not > so >>>>>>>>> sure about how to go: >>>>>>>>> I ll have basically 2 "twin sites" each referring to a different >>>>>>>>> island in the same archipelago, the structure both on content >>>>>>>>> management and on the theme graphic will be the same but all > content >>>>>>>>> will be different and i d like to have the 2 sites on 2 different >>>>>>>>> databases. >>>>>>>>> first site: www.mysite.com/islandx >>>>>>>>> second site: www.mysite.com/islandy >>>>>>>>> of course at www.mysite.com there will be an island chooser >>>>>>>>> considering i ll have to change details on the future i d like to > have >>>>>>>>> the 2 sites using the same theme and the same module folder > although i >>>>>>>>> think i need 2 different installations (to get the 2 contents on 2 >>>>>>>>> different databases) >>>>>>>>> It s clear to me how to have a site using different themes but not >>>>>>>>> really the other way round.. >>>>>>>>> Any hint is welcome >>>>>>>>> Simone >>>>>>>>> -- >>>>>>>>> .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/ ] >>>>>>>>> >>>>>>>> >>>>>>> -- >>>>>>> [ Drupal support list | http://lists.drupal.org/ ] >>>>>>> >>>>>> >>>>>> >>>>> -- >>>>> [ 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.... >> > > > > -- > .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/ ] > -- .wmv , .wma , .pps along with all proprietary Windows formats won t be accepted and/or viewed.... From killshot91 at comcast.net Mon Dec 15 16:49:32 2008 From: killshot91 at comcast.net (Steve Edwards) Date: Mon, 15 Dec 2008 08:49:32 -0800 Subject: [support] Installation Help In-Reply-To: <49468388.5070403@oplin.org> References: <49468388.5070403@oplin.org> Message-ID: <49468A9C.9070209@comcast.net> Interestingly enough, I just fixed this problem a few minutes ago. It looks like your CSS files aren't being used. The first thing to check is the $base_url value in settings.php. Steve Jen Thomas wrote: > Hi, > Please forgive the newbie question. I installed Drupal 5.something then > tried removing it and installing 6.2 in its place. Now I have all the > information that should be available on the Drupal pages (links and > text) minus the background formatting (the blue background, the Drupal > logo, the left column, etc). How do I get the background images and > formatting back? > Thanks for any help. > Jen > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081215/a19cad85/attachment.htm From brettev at gmail.com Mon Dec 15 17:28:55 2008 From: brettev at gmail.com (Brett Evanson) Date: Mon, 15 Dec 2008 10:28:55 -0700 Subject: [support] filebrowser module with uploads? Message-ID: <972255370812150928t71a47014xd009a5a0fefcbbb7@mail.gmail.com> Is there a way to use the filebrowser module and allow people to upload files into the directory that's being listed, with fine grained permissions on the uploading? It doesn't seem like there is tons of documentation on it. drupal 6.8, filebrowser 6.x-2.0-rc5 (latest) -- Brett Evanson brettev at gmail.com From bharanikumariyerphp at gmail.com Mon Dec 15 17:29:55 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Mon, 15 Dec 2008 22:59:55 +0530 Subject: [support] IS THERE ANY accountant module, for maintain the company expenditure , profit, loss etc Message-ID: <2240033d0812150929j630e0de8l739b9ca860846987@mail.gmail.com> thanks, other then this,,because this is still under DEV, is there any accountant module, for maintain the company expenditure , profit, loss etc On Mon, Dec 15, 2008 at 7:45 PM, sivaji j.g wrote: > > > >> for find the monthly expenditure , earning calculation , ( related >> accountant module ) > > > http://drupal.org/project/sheetnode > > This module may help you. > > -- > Thanks a lot > ----------------------------------------- > http://ubuntuslave.blogspot.com/ > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- ?????? ?????? ???? ?????? Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ http://bharanikumariyerphp.site88.net/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081215/8c564076/attachment.htm From marc at cultmovieforums.com Mon Dec 15 18:17:56 2008 From: marc at cultmovieforums.com (Marc Morris) Date: Mon, 15 Dec 2008 18:17:56 +0000 Subject: [support] Some advice needed on setting up a new site Message-ID: I've just been asked to build a site which will list just over 5,000 movies. I currently have all the info in a Filemaker database. What I'm trying to work out is how best to go about getting the data into Drupal. Should I have each title as a node, or is there a much better way to achieve this? Basically each movie will have the following info: Title Director Country Year Genre Cast Synopsis Duration Awards some may in the future include a movie poster image or selected pix from the film itself. etc.. Each title will be linked to from a drop-down navigation menu which will offer results displayed by GENRE or STUDIO etc. Clicking on a director's or actor's name will bring a a list of search results too. At this stage most of the titles can be displayed purely in a list format, although I should allow for the option of a full page view per title for the future. I'm hoping someone out there could offer a little advice about the best way to set the site up. Thanks, Marc From cjones at partialflow.com Mon Dec 15 18:28:58 2008 From: cjones at partialflow.com (Christopher M. Jones) Date: Mon, 15 Dec 2008 13:28:58 -0500 Subject: [support] phpBB installation In-Reply-To: References: Message-ID: <4946A1EA.5090903@partialflow.com> Step by step instructions can be found in the module documentation. http://drupal.i1media.no/drupal+phpbb What step, specifically, is causing you difficulty? Vishakha Tambe wrote: > Hello all, > Does anybody work for phpBB module? > I want to implement it in my site. But i'm not getting it in a right way. > > Can anybody help me? I'm using drupal as well as lampp(xampp on linux). > > I also tried using system's mysql and apache. But everything was > literally waste of time. > > I want stepwise installation process. please help me. > > Regards, > Vishakha > > From cjones at partialflow.com Mon Dec 15 18:34:24 2008 From: cjones at partialflow.com (Christopher M. Jones) Date: Mon, 15 Dec 2008 13:34:24 -0500 Subject: [support] Some advice needed on setting up a new site In-Reply-To: References: Message-ID: <4946A330.5040308@partialflow.com> Off the cuff, I'd say create a cck type with the fields you need. If you can get your data into a csv then you can use node import to bring it into your drupal db. Use views to generate your searches. I'm also a huge fan of faceted search for stuff like this. Marc Morris wrote: > > I've just been asked to build a site which will list just over 5,000 > movies. I currently have all the info in a Filemaker database. > > What I'm trying to work out is how best to go about getting the data > into Drupal. > > Should I have each title as a node, or is there a much better way to > achieve this? > > Basically each movie will have the following info: > > Title > Director > Country > Year > Genre > Cast > Synopsis > Duration > Awards > > some may in the future include a movie poster image or selected pix > from the film itself. > > etc.. > > Each title will be linked to from a drop-down navigation menu which > will offer results displayed by GENRE or STUDIO etc. Clicking on a > director's or actor's name will bring a a list of search results too. > > At this stage most of the titles can be displayed purely in a list > format, although I should allow for the option of a full page view > per title for the future. > > I'm hoping someone out there could offer a little advice about the > best way to set the site up. > > Thanks, > > Marc From marc at cultmovieforums.com Mon Dec 15 19:53:46 2008 From: marc at cultmovieforums.com (Marc Morris) Date: Mon, 15 Dec 2008 19:53:46 +0000 Subject: [support] Some advice needed on setting up a new site In-Reply-To: <4946A330.5040308@partialflow.com> References: <4946A330.5040308@partialflow.com> Message-ID: Thanks Chris - what do you mean by "faceted search"? Marc On 15 Dec 2008, at 18:34, Christopher M. Jones wrote: > Off the cuff, I'd say create a cck type with the fields you need. > If you > can get your data into a csv then you can use node import to bring it > into your drupal db. Use views to generate your searches. I'm also a > huge fan of faceted search for stuff like this. > > Marc Morris wrote: >> >> I've just been asked to build a site which will list just over 5,000 >> movies. I currently have all the info in a Filemaker database. >> >> What I'm trying to work out is how best to go about getting the data >> into Drupal. >> >> Should I have each title as a node, or is there a much better way to >> achieve this? >> >> Basically each movie will have the following info: >> >> Title >> Director >> Country >> Year >> Genre >> Cast >> Synopsis >> Duration >> Awards >> >> some may in the future include a movie poster image or selected pix >> from the film itself. >> >> etc.. >> >> Each title will be linked to from a drop-down navigation menu which >> will offer results displayed by GENRE or STUDIO etc. Clicking on a >> director's or actor's name will bring a a list of search results too. >> >> At this stage most of the titles can be displayed purely in a list >> format, although I should allow for the option of a full page view >> per title for the future. >> >> I'm hoping someone out there could offer a little advice about the >> best way to set the site up. >> >> Thanks, >> >> Marc > -- > [ Drupal support list | http://lists.drupal.org/ ] Marc Morris Cult Movie Forums http://www.cultmovieforums.com/ From drupal at lourdas.name Mon Dec 15 20:12:11 2008 From: drupal at lourdas.name (Vasileios Lourdas) Date: Mon, 15 Dec 2008 22:12:11 +0200 Subject: [support] URL aliases not working In-Reply-To: <003301c95e9a$e7610700$b6231500$@co.uk> References: <200812150041.58727.drupal@lourdas.name> <636916100812142159k46b257b0h993ab03337c2ed56@mail.gmail.com> <003301c95e9a$e7610700$b6231500$@co.uk> Message-ID: <200812152212.12106.drupal@lourdas.name> Hi, On Monday 15 December 2008 11:52:52 Torben Vanselow wrote: > Hi - Yes that is exactly what I would do, especially since the token > version you installed still seems to be a development snapshot rather than > a fully approved version. > > > > Kind Regards, > > > > Mr. Torben C.F. Vanselow I figured out what's wrong. The URL aliases are language aware (at least for 6.x). There was not a long time, since the site was based on 5.x. After upgrading to 6.x and because I had Greek as the default site language, all URL aliases were for the Greek language (though it does not make sense to me, the URL aliases to be language aware). When I changed the default language to English, those URL aliases did not work. When I changed the default language back to Greek, they worked fine. Now, the new question is: How do I make the URL aliases to be for all languages? Is there a setting to stop this from happening? Thanks. -- # Vasileios Lourdas, # Informatics Engineer, Thessaloniki (Greece) # http://www.lourdas.name From will at theicarusproject.net Mon Dec 15 20:25:58 2008 From: will at theicarusproject.net (will hall) Date: Mon, 15 Dec 2008 12:25:58 -0800 Subject: [support] Innovative Homeless Nonprofit Needs Basic site for $ - SF Bay Message-ID: <4946BD56.4040200@theicarusproject.net> Hi everyone, please email mkc AT copper DOT net if you can put together a basic static or drupal site for an amazing SF Bay Area nonprofit called Caduceus Outreach Services. You can find out a bit about them at the placeholder site i set up www.caduceusoutreachservices.org. They need a basic site, not sure exactly the details, but they are able to pay nonprofit rates. Caduceus is one of the most innovative homeless agencies in the country, run by a true visionary Marykate Connor. This is a chance to help them shine, and to earn some money. - will From kieran at acquia.com Mon Dec 15 20:26:02 2008 From: kieran at acquia.com (Kieran Lal) Date: Mon, 15 Dec 2008 12:26:02 -0800 Subject: [support] Innovative Homeless Nonprofit Needs Basic site for $ - SF Bay In-Reply-To: <4946BD56.4040200@theicarusproject.net> References: <4946BD56.4040200@theicarusproject.net> Message-ID: Will, post this as a job here: http://groups.drupal.org/bay-area Kieran On Mon, Dec 15, 2008 at 12:25 PM, will hall wrote: > Hi everyone, > > please email mkc AT copper DOT net if you can put together a basic > static or drupal site for an amazing SF Bay Area nonprofit called > Caduceus Outreach Services. You can find out a bit about them at the > placeholder site i set up www.caduceusoutreachservices.org. > > They need a basic site, not sure exactly the details, but they are able > to pay nonprofit rates. Caduceus is one of the most innovative homeless > agencies in the country, run by a true visionary Marykate Connor. This > is a chance to help them shine, and to earn some money. > > - will > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081215/827f0b1f/attachment.htm From cjones at partialflow.com Mon Dec 15 20:08:46 2008 From: cjones at partialflow.com (Christopher M. Jones) Date: Mon, 15 Dec 2008 15:08:46 -0500 Subject: [support] Some advice needed on setting up a new site In-Reply-To: References: <4946A330.5040308@partialflow.com> Message-ID: <4946B94E.1090406@partialflow.com> It's an advanced search module. There are options to expose CCK fields, such as the ones you will be creating. Check it out at http://drupal.org/project/faceted_search Marc Morris wrote: > Thanks Chris - what do you mean by "faceted search"? > > Marc > > > > On 15 Dec 2008, at 18:34, Christopher M. Jones wrote: > >> Off the cuff, I'd say create a cck type with the fields you need. >> If you >> can get your data into a csv then you can use node import to bring it >> into your drupal db. Use views to generate your searches. I'm also a >> huge fan of faceted search for stuff like this. >> >> Marc Morris wrote: >>> I've just been asked to build a site which will list just over 5,000 >>> movies. I currently have all the info in a Filemaker database. >>> >>> What I'm trying to work out is how best to go about getting the data >>> into Drupal. >>> >>> Should I have each title as a node, or is there a much better way to >>> achieve this? >>> >>> Basically each movie will have the following info: >>> >>> Title >>> Director >>> Country >>> Year >>> Genre >>> Cast >>> Synopsis >>> Duration >>> Awards >>> >>> some may in the future include a movie poster image or selected pix >>> from the film itself. >>> >>> etc.. >>> >>> Each title will be linked to from a drop-down navigation menu which >>> will offer results displayed by GENRE or STUDIO etc. Clicking on a >>> director's or actor's name will bring a a list of search results too. >>> >>> At this stage most of the titles can be displayed purely in a list >>> format, although I should allow for the option of a full page view >>> per title for the future. >>> >>> I'm hoping someone out there could offer a little advice about the >>> best way to set the site up. >>> >>> Thanks, >>> >>> Marc >> -- >> [ Drupal support list | http://lists.drupal.org/ ] > > Marc Morris > Cult Movie Forums > http://www.cultmovieforums.com/ > > > > From cimo75 at gmail.com Mon Dec 15 22:23:56 2008 From: cimo75 at gmail.com (simone-www.io-lab.org) Date: Mon, 15 Dec 2008 22:23:56 +0000 Subject: [support] Double site In-Reply-To: References: <4941D7CB.60301@partialflow.com> <4942618E.70400@partialflow.com> <494504C3.6040303@partialflow.com> <00b901c95ed0$1751b8d0$45f52a70$@co.uk> Message-ID: Trying and trying... I decided to move drupal install in root/drupal then creating as usual root/drupal/sites/site1 root/drupal/sites/site2 with the necessary settings files. I have specified that base url is mysite.com/drupal, same database for all. I expect at least to be able to reach site1 at mysite.com/drupal/site1 but in cant.I don t know if the htaccess file should be touched or not Simone On Mon, Dec 15, 2008 at 4:46 PM, simone-www. io-lab. org wrote: > Hi > I ve just tried this: > > Moved the html content to a subfolder and used a .htaccess to redirect > there, i have an extra subfolde rin the url, but that s not a problem > > I moved the Drupal install in root but i had to rename index.php to > indexx.php (cause it would "steal" priority from index.html) and > remove the drupal .htaccess, i can now access the drupal install with > mysite.com/indexx.php (looks a bit screwy but settings.ini hasn t been > adapted yet). > > So far i really don t understand how i can keep my original html in > root (i don t want to get rid of it, not even in the future) and the > Drupal install together. > > Torben how did you set it up ? > > Thanks > Simone > > Now my html can be accessed but i can t access the drupal > installation.I understand it needs to > On Mon, Dec 15, 2008 at 4:13 PM, Torben Vanselow wrote: >> Hi Simone, >> >> I can only comment on your last line/concern: >> >> I had separate .html content pages of my original non-drupal installation >> active and running well... alongside with my new drupal website in the same >> folder / root. I mainly kept the html pages there because the URL had a lot >> of trust and page-rank in Google and drew loads of traffic. >> >> At a later stage I simply replaced them with drupal generated pages, >> manually configuring the aliases to have .html ending --> no problems >> whatsoever. >> >> Kind Regards, >> >> Mr. Torben C.F. Vanselow >> Executive Sales Manager - Ideal CCTV >> >> T: 0800 043 27 40 >> F: 0800 066 40 49 >> E: management at idealcctv.co.uk >> W: http://www.idealcctv.co.uk >> >> CCTV Installation - Megapixel CCTV - IP Security Cameras >> >> >> -----Original Message----- >> From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On >> Behalf Of simone-www.io-lab.org >> Sent: 15 December 2008 15:42 >> To: support at drupal.org >> Subject: Re: [support] Double site >> >> Tonight is the night! ;) >> After some thinking over i think i ll keep the actual html in root as >> it is now, i will move the whole Drupal installation to root but just >> remove/rename index.php so user will still be routed to the actual >> index.html. >> Then i will create in /sites 2 folders named www.mysite.com.island1 >> and www.mysite.com.island2 and add to each one a settings.ini >> In this way i ll be able to: >> 1-keep on working on the site theming >> 2-begin to add content on each site separately >> When the site will be ready all i ll have to do is redirect the links >> from the index.html i have in root to the 2 sites respectively. >> >> The only concern is about what can happen when you have a drupal >> installation in root and some html code at the same time >> >> Simone >> >> On Mon, Dec 15, 2008 at 12:27 PM, simone-www. io-lab. org >> wrote: >>> ok, more reading. >>> >>> Right now i have some html in www.mysite.com, the main drupal >>> installation is in www.mysite.com/island1 >>> >>> My plan is: move the actual html content in a subfolder, modify the >>> .htaccess of the main site to point to that folder so i can freely >>> work in root >>> >>> Create a new settings.ini in the proper folder for >>> www.mysite.com/island2 and modify the settings.ini file in >>> www.mysite.com/island1 accordingly. >>> >>> Create a new html file in root with the island switcher and, when >>> everything is ready, change back the .htaccess file to point to that >>> html file. >>> >>> I d really appreciate some opinion about my plan, especially i d like >>> to know if there is anything wrong with keeping the drupal >>> installation in www.mysite.com/island1 or is it best practice to have >>> the main installation in www.mysite.com >>> >>> Simone >>> >>> On Sun, Dec 14, 2008 at 1:06 PM, Christopher M. Jones >>> wrote: >>>> Links are content. Or, arguably, configuration. These should be kept >>>> separate from presentation, which is the domain of the template. That is >>>> to say your template should be as content agnostic as possible. When you >>>> build your template, try to pretend that you're building it so that >>>> anyone could use it, for any purpose. It's just best practice >>>> programming. >>>> >>>> simone-www.io-lab.org wrote: >>>>> I have to admit that i can follow the general idea but i need to dip >>>>> my toe in it to get a wider overview. >>>>> I d like to ask: why is it not advised to use hard coded links in my >>>>> template? It definetely makes sense to me but i don t know why, >>>>> probably because i ve never seen it before. >>>>> I ask it becasue i ve solved a problem i had doing just that: i have a >>>>> menu where i wanted to have only linked images and no text, and i have >>>>> only 4 items that won t change in the future, so i ve hardcoded them >>>>> in my template and put them inside a div and added an id each so i can >>>>> style them. >>>>> >>>>> Back t the "island switcher" I would prefer not going back to create a >>>>> region and a block in it if possible but rather substitute the link >>>>> which is hardcoded now with a variable and .... ok there my knowledge >>>>> ends.. time for some readings, i d like to mention that i am in Drupal >>>>> 6 so if can point me out to some interesting topics please remember >>>>> that, it seems like doco for D6 is not so uptodate as for D5. >>>>> >>>>> Simone >>>>> >>>>> On Fri, Dec 12, 2008 at 1:05 PM, Christopher M. Jones >>>>> wrote: >>>>>> Yes, you are sharing it. Sorry, I didn't follow your other thread. >> Don't >>>>>> know what your template looks like, but you could just as well create a >>>>>> menu in each site. In your page.tpl.php, instead of hard-coding the >> link >>>>>> you simply say >>>>>> >>>>>> >>>>>>
>>>>>> >>>>>>
>>>>>> >>>>>> >>>>>> In your template.php you add your region into the array that contains >>>>>> all the other regions. Now this region is available in your blocks >>>>>> administration. In each site you can create a menu to place into this >>>>>> region, with links that point exactly where you want them to point. May >>>>>> be a bit more work, but this method has the advantage of avoiding too >>>>>> much conditional logic in your template. And IMHO, links should not be >>>>>> hard coded into the template. >>>>>> >>>>>> simone-www.io-lab.org wrote: >>>>>>> Hi >>>>>>> the "island switcher" button is created on page.tpl.php, and i am >>>>>>> sharing this file on both sites (or not??), i think i have to replace >>>>>>> the link with a php function such as (see >>>>>>> my other post "Adding link to image (logo style)"). >>>>>>> In fact I have 2 buttons (images) created in page.tpl.php, one links >>>>>>> to home page, the other one links to the home page of the other site. >>>>>>> Simone >>>>>>> >>>>>>> On Fri, Dec 12, 2008 at 3:17 AM, Christopher M. Jones >>>>>>> wrote: >>>>>>>> What will happen is: you will install your sites, set each one up to >> use >>>>>>>> it's own database, or prefix within the same database. For each site >> you >>>>>>>> will choose your template, available to each because it's located in >>>>>>>> sites/all/themes. Now each site looks the same. But you'll find that >>>>>>>> when you set up your menu in one, it won't appear in any of the >> others. >>>>>>>> Different databases, you see. >>>>>>>> >>>>>>>> simone-www.io-lab.org wrote: >>>>>>>>> Ok thanks, i am trying to figure out all the details: there will be >> a >>>>>>>>> button in each page that will link to the other one, that sounds a >> bit >>>>>>>>> tricky since i plan to share the same theme but i am sure there is >>>>>>>>> common way to go... >>>>>>>>> Simone >>>>>>>>> >>>>>>>>> On Fri, Dec 12, 2008 at 12:29 AM, Shyamala Rajaram >>>>>>>>> wrote: >>>>>>>>>> We have sites running as multisites, it works just fine! >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> For multisite on windows: >>>>>>>>>> >>>>>>>>>> http://drupal.org/node/32715 >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Read 'settings.php', in the sites/default folder, to understand how >> drupal >>>>>>>>>> searches it's folder to locate the file storing a particular >> domain's >>>>>>>>>> settings.php. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Drupal by default reads the settings.php file in the default >> folder. You can >>>>>>>>>> configure the main portal settings in the default directory. The >> subdomains >>>>>>>>>> a.com and b.com can be configured by creating two new folders under >> the >>>>>>>>>> sites directory called yourdomain.a.com and yourdomain.b.com. Each >> of these >>>>>>>>>> folders should have it's own settings.php. In the settings.php of >> each site >>>>>>>>>> you have to name the database to be used. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> If you want some settings to be shared between the sites you could >> go in for >>>>>>>>>> a shared database configuration. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> refer: http://drupal.org/node/147828 for >>>>>>>>>> >>>>>>>>>> Multi-Site, Single Codebase, Shared Database, Shared Sign-on 5.x >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Shyamala >>>>>>>>>> >>>>>>>>>> Netlink Technologies Ltd >>>>>>>>>> http://shyamala-drupal.blogspot.com/ >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -----Original Message----- >>>>>>>>>> From: support-bounces at drupal.org >> [mailto:support-bounces at drupal.org] On >>>>>>>>>> Behalf Of simone-www.io-lab.org >>>>>>>>>> Sent: Thursday, December 11, 2008 6:26 PM >>>>>>>>>> To: support at drupal.org >>>>>>>>>> Subject: [support] Double site >>>>>>>>>> >>>>>>>>>> Hi >>>>>>>>>> I ve read a bit about multi site installation, but still i am not >> so >>>>>>>>>> sure about how to go: >>>>>>>>>> I ll have basically 2 "twin sites" each referring to a different >>>>>>>>>> island in the same archipelago, the structure both on content >>>>>>>>>> management and on the theme graphic will be the same but all >> content >>>>>>>>>> will be different and i d like to have the 2 sites on 2 different >>>>>>>>>> databases. >>>>>>>>>> first site: www.mysite.com/islandx >>>>>>>>>> second site: www.mysite.com/islandy >>>>>>>>>> of course at www.mysite.com there will be an island chooser >>>>>>>>>> considering i ll have to change details on the future i d like to >> have >>>>>>>>>> the 2 sites using the same theme and the same module folder >> although i >>>>>>>>>> think i need 2 different installations (to get the 2 contents on 2 >>>>>>>>>> different databases) >>>>>>>>>> It s clear to me how to have a site using different themes but not >>>>>>>>>> really the other way round.. >>>>>>>>>> Any hint is welcome >>>>>>>>>> Simone >>>>>>>>>> -- >>>>>>>>>> .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/ ] >>>>>>>>>> >>>>>>>>> >>>>>>>> -- >>>>>>>> [ Drupal support list | http://lists.drupal.org/ ] >>>>>>>> >>>>>>> >>>>>>> >>>>>> -- >>>>>> [ 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.... >>> >> >> >> >> -- >> .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/ ] >> > > > > -- > .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 ckwu at ck-erp.net Tue Dec 16 01:16:35 2008 From: ckwu at ck-erp.net (C K Wu) Date: Tue, 16 Dec 2008 09:16:35 +0800 Subject: [support] IS THERE ANY accountant module, for maintain the company expenditure , profit, loss etc In-Reply-To: <2240033d0812150929j630e0de8l739b9ca860846987@mail.gmail.com> References: <2240033d0812150929j630e0de8l739b9ca860846987@mail.gmail.com> Message-ID: <49470173.8050409@ck-erp.net> Hi, You may like to check out CK-ERP ( http://ck-erp.org ), which is a set of ERP modules, runnable atop Drupal. Best Regards, CK bharani kumar wrote: > thanks, other then this,,because this is still under DEV, > > > is there any accountant module, for maintain the company expenditure , > profit, loss etc > > On Mon, Dec 15, 2008 at 7:45 PM, sivaji j.g > wrote: > > > > > for find the monthly expenditure , earning calculation , ( > related accountant module ) > > > http://drupal.org/project/sheetnode > > This module may help you. > > -- > Thanks a lot > ----------------------------------------- > http://ubuntuslave.blogspot.com/ > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > > > > -- > ?????? ?????? > ???? ?????? > > Regards > B.S.Bharanikumar > > POST YOUR OPINION > http://bharanikumariyer.hyperphp.com/ > http://bharanikumariyerphp.site88.net/ From govivasanth at gmail.com Tue Dec 16 01:37:17 2008 From: govivasanth at gmail.com (Vasanth Govind) Date: Tue, 16 Dec 2008 07:07:17 +0530 Subject: [support] week's and month's popular content In-Reply-To: <4944F0F1.9030000@truerun.com> References: <4944F0F1.9030000@truerun.com> Message-ID: Thanks Jaydub, Thanks for letting me know about this module. Thanks & Regards Vasanth Govind On Sun, Dec 14, 2008 at 5:11 PM, tbjkids Webmaster wrote: > Hi Vasanth, > > I've recently created this project which might be what you are looking > for: > > http://drupal.org/project/node_extended_stats > > I've only got a d5 version right now but with some Views 2 wizardry it > could be ported to d6. > > -jaydub > > > > > Hi all, > > The requirement is to display the popular content of this week and > popular > > content of this month. > > This is done by fetching the content which has more number of hits or > > views. > > > > We have Drupal's node_counter table in which we have the totalcount and > > daycount fields which has views per day and total. > > > > > > Any one help me optimized MySQL query which can fetch this details in a > > quicker way. > > > > Currently the data is fetched from accesslog table which is not much > > optimized and very slow. > > Thanks in advance. > > > > > > > > Thanks & Regards > > Vasanth Govind > > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081216/4b588cb5/attachment-0001.htm From bharanikumariyerphp at gmail.com Tue Dec 16 04:56:38 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Tue, 16 Dec 2008 10:26:38 +0530 Subject: [support] week's and month's popular content In-Reply-To: References: <4944F0F1.9030000@truerun.com> Message-ID: <2240033d0812152056v1e373cd4n9ced07f862c5492d@mail.gmail.com> One stupid doubt , can any one tell me What i am asked in this thread is come under ERP or what type ? Can any one tell me... On Tue, Dec 16, 2008 at 7:07 AM, Vasanth Govind wrote: > Thanks Jaydub, Thanks for letting me know about this module. > > Thanks & Regards > Vasanth Govind > > > > > On Sun, Dec 14, 2008 at 5:11 PM, tbjkids Webmaster wrote: > >> Hi Vasanth, >> >> I've recently created this project which might be what you are looking >> for: >> >> http://drupal.org/project/node_extended_stats >> >> I've only got a d5 version right now but with some Views 2 wizardry it >> could be ported to d6. >> >> -jaydub >> >> >> >> > Hi all, >> > The requirement is to display the popular content of this week and >> popular >> > content of this month. >> > This is done by fetching the content which has more number of hits or >> > views. >> > >> > We have Drupal's node_counter table in which we have the totalcount and >> > daycount fields which has views per day and total. >> > >> > >> > Any one help me optimized MySQL query which can fetch this details in a >> > quicker way. >> > >> > Currently the data is fetched from accesslog table which is not much >> > optimized and very slow. >> > Thanks in advance. >> > >> > >> > >> > Thanks & Regards >> > Vasanth Govind >> >> >> >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- ?????? ?????? ???? ?????? Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ http://bharanikumariyerphp.site88.net/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081216/13c1bf58/attachment.htm From bharanikumariyerphp at gmail.com Tue Dec 16 05:47:17 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Tue, 16 Dec 2008 11:17:17 +0530 Subject: [support] IS THERE ANY accountant module, for maintain the company expenditure , profit, loss etc In-Reply-To: <49470173.8050409@ck-erp.net> References: <2240033d0812150929j630e0de8l739b9ca860846987@mail.gmail.com> <49470173.8050409@ck-erp.net> Message-ID: <2240033d0812152147q791e3186hd28ca67dafbbd4b6@mail.gmail.com> Thanks, other then this modules... On Tue, Dec 16, 2008 at 6:46 AM, C K Wu wrote: > Hi, > > You may like to check out CK-ERP ( http://ck-erp.org ), which is a set > of ERP modules, runnable atop Drupal. > > Best Regards, > CK > > bharani kumar wrote: > > thanks, other then this,,because this is still under DEV, > > > > > > is there any accountant module, for maintain the company expenditure , > > profit, loss etc > > > > On Mon, Dec 15, 2008 at 7:45 PM, sivaji j.g > > wrote: > > > > > > > > > > for find the monthly expenditure , earning calculation , ( > > related accountant module ) > > > > > > http://drupal.org/project/sheetnode > > > > This module may help you. > > > > -- > > Thanks a lot > > ----------------------------------------- > > http://ubuntuslave.blogspot.com/ > > > > > > -- > > [ Drupal support list | http://lists.drupal.org/ ] > > > > > > > > > > -- > > ?????? ?????? > > ???? ?????? > > > > Regards > > B.S.Bharanikumar > > > > POST YOUR OPINION > > http://bharanikumariyer.hyperphp.com/ > > http://bharanikumariyerphp.site88.net/ > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- ?????? ?????? ???? ?????? Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ http://bharanikumariyerphp.site88.net/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081216/45e9ed36/attachment.htm From bharanikumariyerphp at gmail.com Tue Dec 16 07:19:13 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Tue, 16 Dec 2008 12:49:13 +0530 Subject: [support] where i write the form alter code Message-ID: <2240033d0812152319g5681b749h699246217cf3b27d@mail.gmail.com> Hi i want to alter the birthday module form , like want to add one text area,So can u tell me , where i write the alter form code, in the birthday.module file , Or where i write the form alter code thanks -- ?????? ?????? ???? ?????? Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ http://bharanikumariyerphp.site88.net/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081216/1d975fb6/attachment.htm From hans.rossel at koba.be Tue Dec 16 07:37:38 2008 From: hans.rossel at koba.be (KOBA | Hans Rossel) Date: Tue, 16 Dec 2008 08:37:38 +0100 Subject: [support] Views2 - filter by "user ref field" = "current logged user" In-Reply-To: <51a9b8330812050236v4b59cdafyb4df000e47560393@mail.gmail.com> References: <20835876.post@talk.nabble.com> <49380A33.5020403@ziobudda.net> <20838186.post@talk.nabble.com> <51a9b8330812050236v4b59cdafyb4df000e47560393@mail.gmail.com> Message-ID: <51a9b8330812152337t7b88fb64k9d7ee380aae424cf@mail.gmail.com> ---------- Forwarded message ---------- From: KOBA | Hans Rossel Date: Fri, 5 Dec 2008 11:36:33 +0100 Subject: Re: [support] Views2 - filter by "user ref field" = "current logged user" To: support at drupal.org As nobody on the list seems to know the answer, I would suggest you to check out Views relationships. I haven't played much with Views2 relationships myself at this time, so I cannot provide you a straight answer, but I think you have to check in that direction; see also http://drupal.org/node/274909 for a similar issue which could be solved that way. Anyway if you find it or anybody else knows I would be interested too in the solution. Hans 2008/12/4 geniekids > > Hi I am not sure i understood your guidelines or you understood my > requirement. > > Davide Michel wrote: > > User: Current > > Filter the view to the currently logged in user. > > This setting is supposed to show the nodes created by the user (which is > not > my case). > The user is NOT creating any nodes. > This CCK node has one field where somebody is entering one of the user name > > Let e explain the scenario. we are a school. so the teacher goes into this > cck called kids_observations. > She chooses the Kids_name (from a list of users) and enters her observation > about that kids. > She does it for all the kids in her class. > > The kid (as a user) is now supposed to log in - and i want the view to > automatically FILTER the observations by his or her (user) name. So the > kids_name field should match the currently user. > > By using "User: Current" filter i only get the option of getting nodes > created by that user. > How do i match a user referenced field (in CCK) to match with currently > logged in user_name > > i used to get this option in drupal5 with views1 > can;t locate in Views2 > pl help > > ratnesh > > > Davide Michel 'ZioBudda' Morelli wrote: > > > > geniekids ha scritto: > >> I have a cck where one of the field is the user referenced filed (of a > >> particular role) - the filed name is kids_name > >> > >> In D5 i had a view where the filter was set to > >> kids_name = is one of = "currently logged in user" > >> > >> This meant that when the user logged in - he or she could only see > >> records > >> pertaining to him or her (as the view filtered it matching the kids_name > >> filed with currently logged in user field) > >> > >> Now i am in Drupal6.6 with Views2 and i can;t find a way to do it. > >> If in filter i select the [content] = "kids_name" - then i only get the > >> list > >> of names to filter by - i do not get the option of filter by currently > >> logged in user. > >> > > User: Current > > Filter the view to the currently logged in user. > > > > > > 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 > > > > -- > > [ Drupal support list | http://lists.drupal.org/ ] > > > > > > -- > View this message in context: > http://www.nabble.com/Views2---filter-by-%22user-ref-field%22-%3D-%22current-logged-user%22-tp20835876p20838186.html > Sent from the Drupal - Support mailing list archive at Nabble.com. > > -- > [ 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 -- Sent from Gmail for mobile | mobile.google.com Hans Rossel KOBA Webdevelopment Kerkstraat 228 9050 Gent 09-334.52.60 0472-79.32.16 www.koba.be info at koba.be From bharanikumariyerphp at gmail.com Tue Dec 16 08:20:18 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Tue, 16 Dec 2008 13:50:18 +0530 Subject: [support] [suppor] , form_alter problem Message-ID: <2240033d0812160020w2c8d39f3l35f51d4502e78994@mail.gmail.com> Hi i find the solution , i coded into my examplemodule*.module* file, i guess am correct , Then next step , i want to store that textfield values into my database , For that i thing i have to written small snippet into the install file or tell me what i do, simple my point is i want store the textfield values into my DB On Tue, Dec 16, 2008 at 12:49 PM, bharani kumar < bharanikumariyerphp at gmail.com> wrote: > > > Hi > > i want to alter the birthday module form , > > like want to add one text area,So can u tell me , where i write the alter > form code, > > in the birthday.module file , > > Or where i write the form alter code > > thanks > > -- > ?????? ?????? > ???? ?????? > > Regards > B.S.Bharanikumar > > POST YOUR OPINION > http://bharanikumariyer.hyperphp.com/ > http://bharanikumariyerphp.site88.net/ > -- ?????? ?????? ???? ?????? Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ http://bharanikumariyerphp.site88.net/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081216/9eb70358/attachment-0001.htm From victorkane at gmail.com Tue Dec 16 09:18:02 2008 From: victorkane at gmail.com (Victor Kane) Date: Tue, 16 Dec 2008 07:18:02 -0200 Subject: [support] [suppor] , form_alter problem In-Reply-To: <2240033d0812160020w2c8d39f3l35f51d4502e78994@mail.gmail.com> References: <2240033d0812160020w2c8d39f3l35f51d4502e78994@mail.gmail.com> Message-ID: It would be a lot easier to add the field permanently to the content type, instead of adding it via form_alter. 2008/12/16 bharani kumar > > Hi i find the solution , > > i coded into my examplemodule*.module* file, > > i guess am correct , > > Then next step , i want to store that textfield values into my database , > > For that i thing i have to written small snippet into the install file or > tell me what i do, > > simple my point is i want store the textfield values into my DB > > > > > > > > On Tue, Dec 16, 2008 at 12:49 PM, bharani kumar < > bharanikumariyerphp at gmail.com> wrote: > >> >> >> Hi >> >> i want to alter the birthday module form , >> >> like want to add one text area,So can u tell me , where i write the alter >> form code, >> >> in the birthday.module file , >> >> Or where i write the form alter code >> >> thanks >> >> -- >> ?????? ?????? >> ???? ?????? >> >> Regards >> B.S.Bharanikumar >> >> POST YOUR OPINION >> http://bharanikumariyer.hyperphp.com/ >> http://bharanikumariyerphp.site88.net/ >> > > > > -- > ?????? ?????? > ???? ?????? > > Regards > B.S.Bharanikumar > > POST YOUR OPINION > http://bharanikumariyer.hyperphp.com/ > http://bharanikumariyerphp.site88.net/ > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081216/67a01e66/attachment.htm From bharanikumariyerphp at gmail.com Tue Dec 16 09:25:50 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Tue, 16 Dec 2008 14:55:50 +0530 Subject: [support] [suppor] , form_alter problem In-Reply-To: References: <2240033d0812160020w2c8d39f3l35f51d4502e78994@mail.gmail.com> Message-ID: <2240033d0812160125u7b1c0431tbd464cc4c68203b3@mail.gmail.com> I thing u r referring the module ,,, Ya i saw that , but form_alter module still DEV, but i wan to learn , "modifying the forms using the code snippet " Thanks On Tue, Dec 16, 2008 at 2:48 PM, Victor Kane wrote: > It would be a lot easier to add the field permanently to the content type, > instead of adding it via form_alter. > > 2008/12/16 bharani kumar > >> >> Hi i find the solution , >> >> i coded into my examplemodule*.module* file, >> >> i guess am correct , >> >> Then next step , i want to store that textfield values into my database , >> >> For that i thing i have to written small snippet into the install file or >> tell me what i do, >> >> simple my point is i want store the textfield values into my DB >> >> >> >> >> >> >> >> On Tue, Dec 16, 2008 at 12:49 PM, bharani kumar < >> bharanikumariyerphp at gmail.com> wrote: >> >>> >>> >>> Hi >>> >>> i want to alter the birthday module form , >>> >>> like want to add one text area,So can u tell me , where i write the alter >>> form code, >>> >>> in the birthday.module file , >>> >>> Or where i write the form alter code >>> >>> thanks >>> >>> -- >>> ?????? ?????? >>> ???? ?????? >>> >>> Regards >>> B.S.Bharanikumar >>> >>> POST YOUR OPINION >>> http://bharanikumariyer.hyperphp.com/ >>> http://bharanikumariyerphp.site88.net/ >>> >> >> >> >> -- >> ?????? ?????? >> ???? ?????? >> >> Regards >> B.S.Bharanikumar >> >> POST YOUR OPINION >> http://bharanikumariyer.hyperphp.com/ >> http://bharanikumariyerphp.site88.net/ >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- ?????? ?????? ???? ?????? Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ http://bharanikumariyerphp.site88.net/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081216/0260aa10/attachment.htm From victorkane at gmail.com Tue Dec 16 09:36:53 2008 From: victorkane at gmail.com (Victor Kane) Date: Tue, 16 Dec 2008 07:36:53 -0200 Subject: [support] [suppor] , form_alter problem In-Reply-To: <2240033d0812160125u7b1c0431tbd464cc4c68203b3@mail.gmail.com> References: <2240033d0812160020w2c8d39f3l35f51d4502e78994@mail.gmail.com> <2240033d0812160125u7b1c0431tbd464cc4c68203b3@mail.gmail.com> Message-ID: If you want to persist the field you add via form_alter, you must create a table in the database and add a custom SQL statement to save the data, perhaps via hook_nodeapi with op 'submit'. See http://api.drupal.org/api/function/hook_nodeapi/5 Victor 2008/12/16 bharani kumar > I thing u r referring the module ,,, > > Ya i saw that , but form_alter module still DEV, > > but i wan to learn , "modifying the forms using the code snippet " > > Thanks > > > > > > > On Tue, Dec 16, 2008 at 2:48 PM, Victor Kane wrote: > >> It would be a lot easier to add the field permanently to the content type, >> instead of adding it via form_alter. >> >> 2008/12/16 bharani kumar >> >>> >>> Hi i find the solution , >>> >>> i coded into my examplemodule*.module* file, >>> >>> i guess am correct , >>> >>> Then next step , i want to store that textfield values into my database , >>> >>> >>> For that i thing i have to written small snippet into the install file or >>> tell me what i do, >>> >>> simple my point is i want store the textfield values into my DB >>> >>> >>> >>> >>> >>> >>> >>> On Tue, Dec 16, 2008 at 12:49 PM, bharani kumar < >>> bharanikumariyerphp at gmail.com> wrote: >>> >>>> >>>> >>>> Hi >>>> >>>> i want to alter the birthday module form , >>>> >>>> like want to add one text area,So can u tell me , where i write the >>>> alter form code, >>>> >>>> in the birthday.module file , >>>> >>>> Or where i write the form alter code >>>> >>>> thanks >>>> >>>> -- >>>> ?????? ?????? >>>> ???? ?????? >>>> >>>> Regards >>>> B.S.Bharanikumar >>>> >>>> POST YOUR OPINION >>>> http://bharanikumariyer.hyperphp.com/ >>>> http://bharanikumariyerphp.site88.net/ >>>> >>> >>> >>> >>> -- >>> ?????? ?????? >>> ???? ?????? >>> >>> Regards >>> B.S.Bharanikumar >>> >>> POST YOUR OPINION >>> http://bharanikumariyer.hyperphp.com/ >>> http://bharanikumariyerphp.site88.net/ >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >> >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > > -- > ?????? ?????? > ???? ?????? > > Regards > B.S.Bharanikumar > > POST YOUR OPINION > http://bharanikumariyer.hyperphp.com/ > http://bharanikumariyerphp.site88.net/ > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081216/72e494d4/attachment.htm From daniel.carrera at zmsl.com Tue Dec 16 10:30:50 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Tue, 16 Dec 2008 11:30:50 +0100 Subject: [support] Problem with site slogan Message-ID: <4947835A.8060205@zmsl.com> Hello, Drupal 5. My site slogan is not showing on my site even though I have assigned a slogan in the site-information page. On the theme template I see the following code: ... ... I can confirm that the variable $site_slogan is blank. Does anyone have any ideas? Could the slogan be in a different variable name? Daniel. From daniel.carrera at zmsl.com Tue Dec 16 10:42:44 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Tue, 16 Dec 2008 11:42:44 +0100 Subject: [support] Where are pages stored? Message-ID: <49478624.50602@zmsl.com> Hello, I'm looking at the DB and I can't figure out where the page content is stored. Does anyone know? Daniel. From victorkane at gmail.com Tue Dec 16 10:48:26 2008 From: victorkane at gmail.com (Victor Kane) Date: Tue, 16 Dec 2008 08:48:26 -0200 Subject: [support] Problem with site slogan In-Reply-To: <4947835A.8060205@zmsl.com> References: <4947835A.8060205@zmsl.com> Message-ID: Check your theme settings, and make sure site slogan is checked. On Tue, Dec 16, 2008 at 8:30 AM, Daniel Carrera wrote: > Hello, > > Drupal 5. My site slogan is not showing on my site even though I have > assigned a slogan in the site-information page. On the theme template I > see the following code: > > ... > ... > > I can confirm that the variable $site_slogan is blank. > > Does anyone have any ideas? Could the slogan be in a different variable > name? > > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081216/4de43b9a/attachment.htm From victorkane at gmail.com Tue Dec 16 10:49:34 2008 From: victorkane at gmail.com (Victor Kane) Date: Tue, 16 Dec 2008 08:49:34 -0200 Subject: [support] Where are pages stored? In-Reply-To: <49478624.50602@zmsl.com> References: <49478624.50602@zmsl.com> Message-ID: Pages are stored as nodes in the database. However, there are several tables involved since revisions for each node are involved also. On Tue, Dec 16, 2008 at 8:42 AM, Daniel Carrera wrote: > Hello, > > I'm looking at the DB and I can't figure out where the page content is > stored. Does anyone know? > > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081216/342e3343/attachment.htm From bharanikumariyerphp at gmail.com Tue Dec 16 10:59:26 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Tue, 16 Dec 2008 16:29:26 +0530 Subject: [support] Where are pages stored? In-Reply-To: References: <49478624.50602@zmsl.com> Message-ID: <2240033d0812160259k69ce3793t9a462156aa6c5f43@mail.gmail.com> final one thing ,, we have to write the alter_form in the function .module file only know, am correct or not for example i want to put the firstname and lastname in the default registeration page (ie . user.module ) then i have to write the code in the user.module only know ... thanks On Tue, Dec 16, 2008 at 4:19 PM, Victor Kane wrote: > Pages are stored as nodes in the database. > > However, there are several tables involved since revisions for each node > are involved also. > > > On Tue, Dec 16, 2008 at 8:42 AM, Daniel Carrera wrote: > >> Hello, >> >> I'm looking at the DB and I can't figure out where the page content is >> stored. Does anyone know? >> >> Daniel. >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- ?????? ?????? ???? ?????? Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ http://bharanikumariyerphp.site88.net/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081216/1491074a/attachment.htm From daniel.carrera at zmsl.com Tue Dec 16 11:07:38 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Tue, 16 Dec 2008 12:07:38 +0100 Subject: [support] Problem with site slogan In-Reply-To: References: <4947835A.8060205@zmsl.com> Message-ID: <49478BFA.2000708@zmsl.com> Ah! Yes, that was it. Thanks. Victor Kane wrote: > Check your theme settings, and make sure site slogan is checked. > > On Tue, Dec 16, 2008 at 8:30 AM, Daniel Carrera > wrote: > > Hello, > > Drupal 5. My site slogan is not showing on my site even though I have > assigned a slogan in the site-information page. On the theme template I > see the following code: > > ... > ... > > I can confirm that the variable $site_slogan is blank. > > Does anyone have any ideas? Could the slogan be in a different variable > name? > > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] > > From daniel.carrera at zmsl.com Tue Dec 16 11:20:35 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Tue, 16 Dec 2008 12:20:35 +0100 Subject: [support] Where are pages stored? In-Reply-To: References: <49478624.50602@zmsl.com> Message-ID: <49478F03.8050107@zmsl.com> I looked in 'nodes' and even 'node_revisions'. But I couldn't find the current text of the page. What I saw in node_revisions looked like previous copies of the pages. Ultimately, what I'm trying to do is search a particular text string in all current pages. I migrated a site to a different domain and I want to make sure that there are no links or images that point to the old domain. So I want to do a text search for the old domain in all current pages. Daniel. Victor Kane wrote: > Pages are stored as nodes in the database. > > However, there are several tables involved since revisions for each node > are involved also. > > On Tue, Dec 16, 2008 at 8:42 AM, Daniel Carrera > wrote: > > Hello, > > I'm looking at the DB and I can't figure out where the page content is > stored. Does anyone know? > > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] > > From bharanikumariyerphp at gmail.com Tue Dec 16 11:45:03 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Tue, 16 Dec 2008 17:15:03 +0530 Subject: [support] [suppor] , form_alter problem In-Reply-To: References: <2240033d0812160020w2c8d39f3l35f51d4502e78994@mail.gmail.com> <2240033d0812160125u7b1c0431tbd464cc4c68203b3@mail.gmail.com> Message-ID: <2240033d0812160345n72400960y4e427672498d1430@mail.gmail.com> Hi victor ,, Then we have to write the alter_form in the function .module file only know, am correct or not for example i want to put the firstname and lastname in the default registeration page (ie . user.module ) then i have to write the code in the user.module only know ... thanks On Tue, Dec 16, 2008 at 3:06 PM, Victor Kane wrote: > If you want to persist the field you add via form_alter, you must create a > table in the database and add a custom SQL statement to save the data, > perhaps via hook_nodeapi with op 'submit'. > > See http://api.drupal.org/api/function/hook_nodeapi/5 > > Victor > > > 2008/12/16 bharani kumar > >> I thing u r referring the module ,,, >> >> Ya i saw that , but form_alter module still DEV, >> >> but i wan to learn , "modifying the forms using the code snippet " >> >> Thanks >> >> >> >> >> >> >> On Tue, Dec 16, 2008 at 2:48 PM, Victor Kane wrote: >> >>> It would be a lot easier to add the field permanently to the content >>> type, instead of adding it via form_alter. >>> >>> 2008/12/16 bharani kumar >>> >>>> >>>> Hi i find the solution , >>>> >>>> i coded into my examplemodule*.module* file, >>>> >>>> i guess am correct , >>>> >>>> Then next step , i want to store that textfield values into my database >>>> , >>>> >>>> For that i thing i have to written small snippet into the install file >>>> or tell me what i do, >>>> >>>> simple my point is i want store the textfield values into my DB >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> On Tue, Dec 16, 2008 at 12:49 PM, bharani kumar < >>>> bharanikumariyerphp at gmail.com> wrote: >>>> >>>>> >>>>> >>>>> Hi >>>>> >>>>> i want to alter the birthday module form , >>>>> >>>>> like want to add one text area,So can u tell me , where i write the >>>>> alter form code, >>>>> >>>>> in the birthday.module file , >>>>> >>>>> Or where i write the form alter code >>>>> >>>>> thanks >>>>> >>>>> -- >>>>> ?????? ?????? >>>>> ???? ?????? >>>>> >>>>> Regards >>>>> B.S.Bharanikumar >>>>> >>>>> POST YOUR OPINION >>>>> http://bharanikumariyer.hyperphp.com/ >>>>> http://bharanikumariyerphp.site88.net/ >>>>> >>>> >>>> >>>> >>>> -- >>>> ?????? ?????? >>>> ???? ?????? >>>> >>>> Regards >>>> B.S.Bharanikumar >>>> >>>> POST YOUR OPINION >>>> http://bharanikumariyer.hyperphp.com/ >>>> http://bharanikumariyerphp.site88.net/ >>>> >>>> -- >>>> [ Drupal support list | http://lists.drupal.org/ ] >>>> >>> >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >> >> >> >> -- >> ?????? ?????? >> ???? ?????? >> >> Regards >> B.S.Bharanikumar >> >> POST YOUR OPINION >> http://bharanikumariyer.hyperphp.com/ >> http://bharanikumariyerphp.site88.net/ >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- ?????? ?????? ???? ?????? Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ http://bharanikumariyerphp.site88.net/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081216/e3340884/attachment-0001.htm From victorkane at gmail.com Tue Dec 16 11:52:04 2008 From: victorkane at gmail.com (Victor Kane) Date: Tue, 16 Dec 2008 09:52:04 -0200 Subject: [support] Where are pages stored? In-Reply-To: <49478F03.8050107@zmsl.com> References: <49478624.50602@zmsl.com> <49478F03.8050107@zmsl.com> Message-ID: Daniel, Drupal stores the basic node info in the node table. The content for page is stored in the node_revisions table. Let's suppose I create a new page, called "testtest", looking at the bottom of the node table, I see I have nid "114" with vid "117". The vid value is the current revision for that node. Going to the node_revisions table, I will see the exact same entries for the nid and vid fields, but in this table I will see the body and teaser content also. So node_revisions is for all versions of a node, including the current one! Victor Kane http://awebfactory.com.ar On Tue, Dec 16, 2008 at 9:20 AM, Daniel Carrera wrote: > I looked in 'nodes' and even 'node_revisions'. But I couldn't find the > current text of the page. What I saw in node_revisions looked like > previous copies of the pages. > > Ultimately, what I'm trying to do is search a particular text string in > all current pages. > > I migrated a site to a different domain and I want to make sure that > there are no links or images that point to the old domain. So I want to > do a text search for the old domain in all current pages. > > Daniel. > > > Victor Kane wrote: > > Pages are stored as nodes in the database. > > > > However, there are several tables involved since revisions for each node > > are involved also. > > > > On Tue, Dec 16, 2008 at 8:42 AM, Daniel Carrera > > wrote: > > > > Hello, > > > > I'm looking at the DB and I can't figure out where the page content > is > > stored. Does anyone know? > > > > Daniel. > > -- > > [ Drupal support list | http://lists.drupal.org/ ] > > > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081216/8da98b61/attachment.htm From victorkane at gmail.com Tue Dec 16 11:53:50 2008 From: victorkane at gmail.com (Victor Kane) Date: Tue, 16 Dec 2008 09:53:50 -0200 Subject: [support] [suppor] , form_alter problem In-Reply-To: <2240033d0812160345n72400960y4e427672498d1430@mail.gmail.com> References: <2240033d0812160020w2c8d39f3l35f51d4502e78994@mail.gmail.com> <2240033d0812160125u7b1c0431tbd464cc4c68203b3@mail.gmail.com> <2240033d0812160345n72400960y4e427672498d1430@mail.gmail.com> Message-ID: For that purpose, you would be better off using the profile module, which will allow you to add fields, and which will also allow you to include those fields in the user registration form. Look, Ma, no PHP! Victor Kane http://awebfactory.com.ar On Tue, Dec 16, 2008 at 9:45 AM, bharani kumar < bharanikumariyerphp at gmail.com> wrote: > Hi victor ,, > > Then we have to write the alter_form in the function .module file only > know, am correct or not > > for example i want to put the firstname and lastname in the default > registeration page (ie . user.module ) > > then i have to write the code in the user.module only know ... > > thanks > > > On Tue, Dec 16, 2008 at 3:06 PM, Victor Kane wrote: > >> If you want to persist the field you add via form_alter, you must create a >> table in the database and add a custom SQL statement to save the data, >> perhaps via hook_nodeapi with op 'submit'. >> >> See http://api.drupal.org/api/function/hook_nodeapi/5 >> >> Victor >> >> >> 2008/12/16 bharani kumar >> >>> I thing u r referring the module ,,, >>> >>> Ya i saw that , but form_alter module still DEV, >>> >>> but i wan to learn , "modifying the forms using the code snippet " >>> >>> Thanks >>> >>> >>> >>> >>> >>> >>> On Tue, Dec 16, 2008 at 2:48 PM, Victor Kane wrote: >>> >>>> It would be a lot easier to add the field permanently to the content >>>> type, instead of adding it via form_alter. >>>> >>>> 2008/12/16 bharani kumar >>>> >>>>> >>>>> Hi i find the solution , >>>>> >>>>> i coded into my examplemodule*.module* file, >>>>> >>>>> i guess am correct , >>>>> >>>>> Then next step , i want to store that textfield values into my database >>>>> , >>>>> >>>>> For that i thing i have to written small snippet into the install file >>>>> or tell me what i do, >>>>> >>>>> simple my point is i want store the textfield values into my DB >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> On Tue, Dec 16, 2008 at 12:49 PM, bharani kumar < >>>>> bharanikumariyerphp at gmail.com> wrote: >>>>> >>>>>> >>>>>> >>>>>> Hi >>>>>> >>>>>> i want to alter the birthday module form , >>>>>> >>>>>> like want to add one text area,So can u tell me , where i write the >>>>>> alter form code, >>>>>> >>>>>> in the birthday.module file , >>>>>> >>>>>> Or where i write the form alter code >>>>>> >>>>>> thanks >>>>>> >>>>>> -- >>>>>> ?????? ?????? >>>>>> ???? ?????? >>>>>> >>>>>> Regards >>>>>> B.S.Bharanikumar >>>>>> >>>>>> POST YOUR OPINION >>>>>> http://bharanikumariyer.hyperphp.com/ >>>>>> http://bharanikumariyerphp.site88.net/ >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> ?????? ?????? >>>>> ???? ?????? >>>>> >>>>> Regards >>>>> B.S.Bharanikumar >>>>> >>>>> POST YOUR OPINION >>>>> http://bharanikumariyer.hyperphp.com/ >>>>> http://bharanikumariyerphp.site88.net/ >>>>> >>>>> -- >>>>> [ Drupal support list | http://lists.drupal.org/ ] >>>>> >>>> >>>> >>>> -- >>>> [ Drupal support list | http://lists.drupal.org/ ] >>>> >>> >>> >>> >>> -- >>> ?????? ?????? >>> ???? ?????? >>> >>> Regards >>> B.S.Bharanikumar >>> >>> POST YOUR OPINION >>> http://bharanikumariyer.hyperphp.com/ >>> http://bharanikumariyerphp.site88.net/ >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >> >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > > -- > ?????? ?????? > ???? ?????? > > Regards > B.S.Bharanikumar > > POST YOUR OPINION > http://bharanikumariyer.hyperphp.com/ > http://bharanikumariyerphp.site88.net/ > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081216/be464f7b/attachment.htm From daniel.carrera at zmsl.com Tue Dec 16 13:30:15 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Tue, 16 Dec 2008 14:30:15 +0100 Subject: [support] Site Icon Message-ID: <4947AD67.2030706@zmsl.com> Hello, For some strange reason, my site icon is not displaying. This is the HTML code: And if you go to http://rosemarymusker.co.uk/ you'll see that the icon does not appear in the address bar. What could be the problem? The icon URL is correct - I tested it. Is it because it's a PNG file? I'm sure that I've used PNG files for site icons before. Any ideas? Daniel. From das74 at wbic.cam.ac.uk Tue Dec 16 13:42:33 2008 From: das74 at wbic.cam.ac.uk (David Sharpe) Date: Tue, 16 Dec 2008 13:42:33 +0000 Subject: [support] Newbie: Embed dont link to my image! In-Reply-To: <4947AD67.2030706@zmsl.com> References: <4947AD67.2030706@zmsl.com> Message-ID: <4947B049.4000500@wbic.cam.ac.uk> Hi, I have created a content-type which contains an image field. When viewing an instance of this content-type which has an image set - I want the image to appear and not just be linked to. How is this achieved? Thanks, Dave From skessler at denverdataman.com Tue Dec 16 14:03:05 2008 From: skessler at denverdataman.com (Steve Kessler) Date: Tue, 16 Dec 2008 07:03:05 -0700 Subject: [support] Site Icon In-Reply-To: <4947AD67.2030706@zmsl.com> References: <4947AD67.2030706@zmsl.com> Message-ID: <026401c95f87$05090270$0f1b0750$@com> I think it needs to be .ico. -Steve Steve Kessler Denver DataMan 303-587-4428 Sign up for the Denver DataMan Free eNewsletter -----Original Message----- From: Daniel Carrera [mailto:daniel.carrera at zmsl.com] Sent: Tuesday, December 16, 2008 6:30 AM To: support at drupal.org Subject: [support] Site Icon Hello, For some strange reason, my site icon is not displaying. This is the HTML code: And if you go to http://rosemarymusker.co.uk/ you'll see that the icon does not appear in the address bar. What could be the problem? The icon URL is correct - I tested it. Is it because it's a PNG file? I'm sure that I've used PNG files for site icons before. Any ideas? Daniel. -- [ Drupal support list | http://lists.drupal.org/ ] From earnie at users.sourceforge.net Tue Dec 16 14:21:29 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Tue, 16 Dec 2008 09:21:29 -0500 Subject: [support] Double site In-Reply-To: References: <4941D7CB.60301@partialflow.com> <4942618E.70400@partialflow.com> <494504C3.6040303@partialflow.com> <00b901c95ed0$1751b8d0$45f52a70$@co.uk> Message-ID: <20081216092129.2dl7a2eyzagoogcg@mail.progw.org> Quoting "simone-www.io-lab.org" : > I have specified that base url is mysite.com/drupal, same database for all. Did you set RewriteBase to /drupal in the .htaccess file? -- Earnie http://r-feed.com Make a Drupal difference and review core patches. -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From daniel.carrera at zmsl.com Tue Dec 16 14:31:15 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Tue, 16 Dec 2008 15:31:15 +0100 Subject: [support] Site Icon In-Reply-To: <026401c95f87$05090270$0f1b0750$@com> References: <4947AD67.2030706@zmsl.com> <026401c95f87$05090270$0f1b0750$@com> Message-ID: <4947BBB3.2070608@zmsl.com> Strangely, it works with other browsers. Maybe it's some sort of cache problem. Steve Kessler wrote: > I think it needs to be .ico. > > -Steve > > Steve Kessler > Denver DataMan > 303-587-4428 > Sign up for the Denver DataMan Free eNewsletter > > > -----Original Message----- > From: Daniel Carrera [mailto:daniel.carrera at zmsl.com] > Sent: Tuesday, December 16, 2008 6:30 AM > To: support at drupal.org > Subject: [support] Site Icon > > Hello, > > For some strange reason, my site icon is not displaying. This is the > HTML code: > > > type="image/x-icon" /> > > > And if you go to http://rosemarymusker.co.uk/ you'll see that the icon > does not appear in the address bar. > > What could be the problem? The icon URL is correct - I tested it. Is it > because it's a PNG file? I'm sure that I've used PNG files for site > icons before. > > Any ideas? > > Daniel. From cimo75 at gmail.com Tue Dec 16 14:36:32 2008 From: cimo75 at gmail.com (simone-www.io-lab.org) Date: Tue, 16 Dec 2008 14:36:32 +0000 Subject: [support] Site Icon In-Reply-To: <4947BBB3.2070608@zmsl.com> References: <4947AD67.2030706@zmsl.com> <026401c95f87$05090270$0f1b0750$@com> <4947BBB3.2070608@zmsl.com> Message-ID: it works here FF in Linux On Tue, Dec 16, 2008 at 2:31 PM, Daniel Carrera wrote: > Strangely, it works with other browsers. Maybe it's some sort of cache > problem. > > Steve Kessler wrote: >> I think it needs to be .ico. >> >> -Steve >> >> Steve Kessler >> Denver DataMan >> 303-587-4428 >> Sign up for the Denver DataMan Free eNewsletter >> >> >> -----Original Message----- >> From: Daniel Carrera [mailto:daniel.carrera at zmsl.com] >> Sent: Tuesday, December 16, 2008 6:30 AM >> To: support at drupal.org >> Subject: [support] Site Icon >> >> Hello, >> >> For some strange reason, my site icon is not displaying. This is the >> HTML code: >> >> >> > type="image/x-icon" /> >> >> >> And if you go to http://rosemarymusker.co.uk/ you'll see that the icon >> does not appear in the address bar. >> >> What could be the problem? The icon URL is correct - I tested it. Is it >> because it's a PNG file? I'm sure that I've used PNG files for site >> icons before. >> >> Any ideas? >> >> Daniel. > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- .wmv , .wma , .pps along with all proprietary Windows formats won t be accepted and/or viewed.... From sivaji2009 at gmail.com Tue Dec 16 15:13:40 2008 From: sivaji2009 at gmail.com (sivaji j.g) Date: Tue, 16 Dec 2008 20:43:40 +0530 Subject: [support] Newbie: Embed dont link to my image! In-Reply-To: <4947B049.4000500@wbic.cam.ac.uk> References: <4947AD67.2030706@zmsl.com> <4947B049.4000500@wbic.cam.ac.uk> Message-ID: > When viewing an instance of this content-type which has an image set - I > want the image to appear and not just be linked to. > How is this achieved? you need to use node_images module **it allows users to upload images and associate them to nodes. -- Thanks a lot ----------------------------------------- http://ubuntuslave.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081216/990b8eec/attachment.htm From das74 at wbic.cam.ac.uk Tue Dec 16 15:16:39 2008 From: das74 at wbic.cam.ac.uk (David Sharpe) Date: Tue, 16 Dec 2008 15:16:39 +0000 Subject: [support] Newbie: Embed dont link to my image! In-Reply-To: References: <4947AD67.2030706@zmsl.com> <4947B049.4000500@wbic.cam.ac.uk> Message-ID: <4947C657.6010001@wbic.cam.ac.uk> It seems odd this isn't achieveable using the content-type field management stuff? When I edit the content I can even see a thumbnail of the image (above the upload button). oh well - this seems perfect, thanks for the help Dave sivaji j.g wrote: > > > > When viewing an instance of this content-type which has an image > set - I > want the image to appear and not just be linked to. > How is this achieved? > > > you need to use node_images module **it allows users to upload images > and associate them to nodes. > > > > > > -- > Thanks a lot > ----------------------------------------- > http://ubuntuslave.blogspot.com/ > -- David Sharpe Assistant Network Manager Acting Telephone Liaison Officer Wolfson Brain Imaging Centre ================================================================ Wolfson Brain Imaging Centre | Tel: (direct) 01223 762128 University of Cambridge | Tel: (reception) 01223 331823 Box 65, Addenbrooke's Hospital | Fax: 01223 331826 Hills Road, Cambridge, CB2 0QQ | Email:david.sharpe at wbic.cam.ac.uk http://www.wbic.cam.ac.uk | ================================================================ From daniel.carrera at zmsl.com Tue Dec 16 15:19:50 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Tue, 16 Dec 2008 16:19:50 +0100 Subject: [support] Site Icon In-Reply-To: References: <4947AD67.2030706@zmsl.com> <026401c95f87$05090270$0f1b0750$@com> <4947BBB3.2070608@zmsl.com> Message-ID: <4947C716.3060803@zmsl.com> And I am running FF on OS X which should be the same thing. It's got to be some sort of cache thing... ... tap tap tap ... ... Nope, that didn't do it. How odd. Oh well, it seems to work for everyone else and that's what really matters. Thanks for the help. Cheers, Daniel. simone-www.io-lab.org wrote: > it works here FF in Linux > > On Tue, Dec 16, 2008 at 2:31 PM, Daniel Carrera wrote: >> Strangely, it works with other browsers. Maybe it's some sort of cache >> problem. >> >> Steve Kessler wrote: >>> I think it needs to be .ico. >>> >>> -Steve >>> >>> Steve Kessler >>> Denver DataMan >>> 303-587-4428 >>> Sign up for the Denver DataMan Free eNewsletter >>> >>> >>> -----Original Message----- >>> From: Daniel Carrera [mailto:daniel.carrera at zmsl.com] >>> Sent: Tuesday, December 16, 2008 6:30 AM >>> To: support at drupal.org >>> Subject: [support] Site Icon >>> >>> Hello, >>> >>> For some strange reason, my site icon is not displaying. This is the >>> HTML code: >>> >>> >>> >> type="image/x-icon" /> >>> >>> >>> And if you go to http://rosemarymusker.co.uk/ you'll see that the icon >>> does not appear in the address bar. >>> >>> What could be the problem? The icon URL is correct - I tested it. Is it >>> because it's a PNG file? I'm sure that I've used PNG files for site >>> icons before. >>> >>> Any ideas? >>> >>> Daniel. >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > From killshot91 at comcast.net Tue Dec 16 15:22:52 2008 From: killshot91 at comcast.net (Steve Edwards) Date: Tue, 16 Dec 2008 07:22:52 -0800 Subject: [support] Newbie: Embed dont link to my image! In-Reply-To: References: <4947AD67.2030706@zmsl.com> <4947B049.4000500@wbic.cam.ac.uk> Message-ID: <4947C7CC.8000709@comcast.net> Also check your input format. Filtered HTML does not allow tags, so images will not be displayed, so you would need to use Full HTML. Steve sivaji j.g wrote: > > > > When viewing an instance of this content-type which has an image > set - I > want the image to appear and not just be linked to. > How is this achieved? > > > you need to use node_images module **it allows users to upload images > and associate them to nodes. > > > > > > -- > Thanks a lot > ----------------------------------------- > http://ubuntuslave.blogspot.com/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081216/0ffb850d/attachment.htm From sivaji2009 at gmail.com Tue Dec 16 15:27:56 2008 From: sivaji2009 at gmail.com (sivaji j.g) Date: Tue, 16 Dec 2008 20:57:56 +0530 Subject: [support] Newbie: Embed dont link to my image! In-Reply-To: <4947C657.6010001@wbic.cam.ac.uk> References: <4947AD67.2030706@zmsl.com> <4947B049.4000500@wbic.cam.ac.uk> <4947C657.6010001@wbic.cam.ac.uk> Message-ID: On Tue, Dec 16, 2008 at 8:46 PM, David Sharpe wrote: > It seems odd this isn't achieveable using the content-type field > management stuff? When I edit the content I can even see a thumbnail of > the image (above the upload button). > > oh well - this seems perfect, > > thanks for the h welcome, actually i had similar experience got struck with node that uses image i could see the thumbnail in edit tab but it doesnt appears in view tab. -- Thanks a lot ----------------------------------------- http://ubuntuslave.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081216/96a6e088/attachment-0001.htm From das74 at wbic.cam.ac.uk Tue Dec 16 15:33:15 2008 From: das74 at wbic.cam.ac.uk (David Sharpe) Date: Tue, 16 Dec 2008 15:33:15 +0000 Subject: [support] Newbie: Embed dont link to my image! In-Reply-To: References: <4947AD67.2030706@zmsl.com> <4947B049.4000500@wbic.cam.ac.uk> <4947C657.6010001@wbic.cam.ac.uk> Message-ID: <4947CA3B.5050204@wbic.cam.ac.uk> Its the difference between linking and embedding - oh well - I shall either embed it myself by hand in another field - or use your suggested module. Thanks, Dave sivaji j.g wrote: > > > On Tue, Dec 16, 2008 at 8:46 PM, David Sharpe > wrote: > > It seems odd this isn't achieveable using the content-type field > management stuff? When I edit the content I can even see a > thumbnail of > the image (above the upload button). > > oh well - this seems perfect, > > thanks for the h > > > welcome, actually i had similar experience got struck with node that > uses image > i could see the thumbnail in edit tab but it doesnt appears in view tab. > > > -- > Thanks a lot > ----------------------------------------- > http://ubuntuslave.blogspot.com/ > -- David Sharpe Assistant Network Manager Acting Telephone Liaison Officer Wolfson Brain Imaging Centre ================================================================ Wolfson Brain Imaging Centre | Tel: (direct) 01223 762128 University of Cambridge | Tel: (reception) 01223 331823 Box 65, Addenbrooke's Hospital | Fax: 01223 331826 Hills Road, Cambridge, CB2 0QQ | Email:david.sharpe at wbic.cam.ac.uk http://www.wbic.cam.ac.uk | ================================================================ From will at theicarusproject.net Tue Dec 16 15:52:11 2008 From: will at theicarusproject.net (will hall) Date: Tue, 16 Dec 2008 07:52:11 -0800 Subject: [support] theming -> comments link under nodes not showing up right Message-ID: <4947CEAB.8060406@theicarusproject.net> hi everyone, i could use some help here. Drupal 6. On my audio nodes, i have links at the bottom for Download, Play Count, and Add Comments. There is nothing showing Number of Comments, or linking you to the comments themselves. There is an Add Comments link that takes you to the comments form, but, again, doesn't show the comments. So there is no way to know comments are there, unless you click on the node title and view it alone, not on the homepage with other nodes. With Theme Developer I have the following inspection data: Drupal Themer Information Parents: node.tpl.php < views-view-row-node.tpl.php < views-view-unformatted.tpl.php < views-view.tpl.php < page.tpl.php Function called: theme_links() Candidate function names: alagna_links < phptemplate_links < marinelli_links < theme_links Duration: 0.55 ms SO my question is: Are my settings off somewhere? Can I edit node.tpl.php in the theme to add the proper links to the node? Where is a guide to how to edit this? I've done a few things but am basically a noob. Thanks! Will From bharanikumariyerphp at gmail.com Wed Dec 17 05:11:46 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Wed, 17 Dec 2008 10:41:46 +0530 Subject: [support] Refer some Free Drupal 5.x themes Message-ID: <2240033d0812162111t4895353x643b0ace17b4c6e3@mail.gmail.com> Hi Friends Plz refer some Free Drupal themes site I Know the below site are giving the Free drupal themes http://themebot.com/ http://drupal.org/project/Theme+engines Refer Other then the above site's(Links) Thanks -- ?????? ?????? ???? ?????? Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ http://bharanikumariyerphp.site88.net/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081217/014a6deb/attachment.htm From rohanasmith at gmail.com Wed Dec 17 12:58:56 2008 From: rohanasmith at gmail.com (Rohan Smith) Date: Wed, 17 Dec 2008 07:58:56 -0500 Subject: [support] Panels Template for all groups Message-ID: <44659aeb0812170458t127421cagcf486683413760ab@mail.gmail.com> I created a group home page that was made with a number of panels in a nice layout here http://civicplatform.exterbox.com/en/node/36/home I was wondering if it is possible for me to make this the default panel layout for all newly created groups. It will be the default template. That way, the new group admins will not need to figure out to configure the panels just to get their group page up and running and looking like the example above. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081217/d38c7ea7/attachment.htm From thomasjen at oplin.org Wed Dec 17 16:46:50 2008 From: thomasjen at oplin.org (Jen Thomas) Date: Wed, 17 Dec 2008 11:46:50 -0500 Subject: [support] Installation Help In-Reply-To: <49468A9C.9070209@comcast.net> References: <49468388.5070403@oplin.org> <49468A9C.9070209@comcast.net> Message-ID: <49492CFA.8060200@oplin.org> Thanks for the help. I changed the $base_url. However, it had no effect on the template not showing. Do you have any other ideas of where to look? Thanks, Jen Steve Edwards wrote: > Interestingly enough, I just fixed this problem a few minutes ago. It > looks like your CSS files aren't being used. The first thing to check > is the $base_url value in settings.php. > > Steve > > Jen Thomas wrote: >> Hi, >> Please forgive the newbie question. I installed Drupal 5.something then >> tried removing it and installing 6.2 in its place. Now I have all the >> information that should be available on the Drupal pages (links and >> text) minus the background formatting (the blue background, the Drupal >> logo, the left column, etc). How do I get the background images and >> formatting back? >> Thanks for any help. >> Jen >> >> -- Systems Librarian Preble Country District Library 450 S. Barron St. Eaton, OH 45320 937-456-5051 From cjones at partialflow.com Wed Dec 17 17:36:41 2008 From: cjones at partialflow.com (Christopher M. Jones) Date: Wed, 17 Dec 2008 12:36:41 -0500 Subject: [support] Installation Help In-Reply-To: <49492CFA.8060200@oplin.org> References: <49468388.5070403@oplin.org> <49468A9C.9070209@comcast.net> <49492CFA.8060200@oplin.org> Message-ID: <494938A9.8070104@partialflow.com> I know it sounds silly, but have you tried navigating to admin/build/themes and changing the theme? Jen Thomas wrote: > Thanks for the help. > I changed the $base_url. However, it had no effect on the template not > showing. Do you have any other ideas of where to look? > Thanks, > Jen > > Steve Edwards wrote: >> Interestingly enough, I just fixed this problem a few minutes ago. It >> looks like your CSS files aren't being used. The first thing to check >> is the $base_url value in settings.php. >> >> Steve >> >> Jen Thomas wrote: >>> Hi, >>> Please forgive the newbie question. I installed Drupal 5.something then >>> tried removing it and installing 6.2 in its place. Now I have all the >>> information that should be available on the Drupal pages (links and >>> text) minus the background formatting (the blue background, the Drupal >>> logo, the left column, etc). How do I get the background images and >>> formatting back? >>> Thanks for any help. >>> Jen >>> >>> > From thomasjen at oplin.org Wed Dec 17 19:02:04 2008 From: thomasjen at oplin.org (Jen Thomas) Date: Wed, 17 Dec 2008 14:02:04 -0500 Subject: [support] Installation Help In-Reply-To: <494938A9.8070104@partialflow.com> References: <49468388.5070403@oplin.org> <49468A9C.9070209@comcast.net> <49492CFA.8060200@oplin.org> <494938A9.8070104@partialflow.com> Message-ID: <49494CAC.5000806@oplin.org> I should have looked before... Now when I log in I get, "No input file specified." $base_url = 'http://www.pleasework.com/drupal-6.6'; Is the correct format for the base_url, right? Thank you for responding... I'll try that when I get in, again. Christopher M. Jones wrote: > I know it sounds silly, but have you tried navigating to > admin/build/themes and changing the theme? > > Jen Thomas wrote: > >> Thanks for the help. >> I changed the $base_url. However, it had no effect on the template not >> showing. Do you have any other ideas of where to look? >> Thanks, >> Jen >> >> Steve Edwards wrote: >> >>> Interestingly enough, I just fixed this problem a few minutes ago. It >>> looks like your CSS files aren't being used. The first thing to check >>> is the $base_url value in settings.php. >>> >>> Steve >>> >>> Jen Thomas wrote: >>> >>>> Hi, >>>> Please forgive the newbie question. I installed Drupal 5.something then >>>> tried removing it and installing 6.2 in its place. Now I have all the >>>> information that should be available on the Drupal pages (links and >>>> text) minus the background formatting (the blue background, the Drupal >>>> logo, the left column, etc). How do I get the background images and >>>> formatting back? >>>> Thanks for any help. >>>> Jen >>>> >>>> >>>> -- Systems Librarian Preble Country District Library 450 S. Barron St. Eaton, OH 45320 937-456-5051 From hershelsr at gmail.com Wed Dec 17 20:16:14 2008 From: hershelsr at gmail.com (Hershel Robinson) Date: Wed, 17 Dec 2008 22:16:14 +0200 Subject: [support] Question Regarding Wysiwyg Usage Message-ID: <49495E0E.5050009@gmail.com> I need to implement a significant set of custom functionality on top of a Wysiwyg editor. The basic concept is to allow the user to select text and then press a button to define that text as a "pull quote" which is then stored and can be used for special display purposes. I will maintain a list of icons on the side, one for each defined pull quote, and clicking on one will highlight that pull quote within the textarea. There are many other details, but I think that's the basic relevant idea and you can imagine what other details may be involved, such as making sure pull quotes don't overlap etc. :) I am trying now to determine which Wysiwyg editor to begin with, on top of which I will add the custom features. I was thinking of using Wysiwyg API ( http://drupal.org/project/wysiwyg ) with jWYSIWYG because I would ideally like to use jQuery, but the requirements for the Wysiwyg for this project are: * Bold * Italic * Underline * Bulleted List * Indent I haven't run a test yet, but it seems jWYSIWYG may not have indent. Can anyone who knows a bit more about Wysiyg editors than me provide any suggestions? Is Wysiwyg API the way to go or perhaps another Wysiyg tool like FCKeditor directly in Drupal without Wysiwyg API? Thank you. -- Gallery Robinson Web Development Specialists http://galleryrobinson.com/ From skessler at denverdataman.com Wed Dec 17 20:50:33 2008 From: skessler at denverdataman.com (Steve Kessler) Date: Wed, 17 Dec 2008 13:50:33 -0700 Subject: [support] Question Regarding Wysiwyg Usage In-Reply-To: <49495E0E.5050009@gmail.com> References: <49495E0E.5050009@gmail.com> Message-ID: <00b201c96089$1bd37a00$537a6e00$@com> Hershel, I use FCKEditor for all my Drupal sites and it does not need any other Module besides the FCKEditor and the FCK application that you must download from FCK to plug into the editor. I am not sure what you mean by Pull Quotes but FCK does let you define custom styles and buttons so I am sure it can do everything you need. Hope all is well. Thanks, Steve Steve Kessler Denver DataMan 303-587-4428 -----Original Message----- From: Hershel Robinson [mailto:hershelsr at gmail.com] Sent: Wednesday, December 17, 2008 1:16 PM To: support at drupal.org Subject: [support] Question Regarding Wysiwyg Usage I need to implement a significant set of custom functionality on top of a Wysiwyg editor. The basic concept is to allow the user to select text and then press a button to define that text as a "pull quote" which is then stored and can be used for special display purposes. I will maintain a list of icons on the side, one for each defined pull quote, and clicking on one will highlight that pull quote within the textarea. There are many other details, but I think that's the basic relevant idea and you can imagine what other details may be involved, such as making sure pull quotes don't overlap etc. :) I am trying now to determine which Wysiwyg editor to begin with, on top of which I will add the custom features. I was thinking of using Wysiwyg API ( http://drupal.org/project/wysiwyg ) with jWYSIWYG because I would ideally like to use jQuery, but the requirements for the Wysiwyg for this project are: * Bold * Italic * Underline * Bulleted List * Indent I haven't run a test yet, but it seems jWYSIWYG may not have indent. Can anyone who knows a bit more about Wysiyg editors than me provide any suggestions? Is Wysiwyg API the way to go or perhaps another Wysiyg tool like FCKeditor directly in Drupal without Wysiwyg API? Thank you. -- Gallery Robinson Web Development Specialists http://galleryrobinson.com/ -- [ Drupal support list | http://lists.drupal.org/ ] From daniel.carrera at zmsl.com Thu Dec 18 14:37:27 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Thu, 18 Dec 2008 15:37:27 +0100 Subject: [support] Problem with subdomain Message-ID: <494A6027.4090201@zmsl.com> Hello, My user name is danielc and I am in the server snake. Two of my sub-domains are not working. They give "page not found" errors: http://jose.daniel.carrera.bz http://elena.lifshits.carrera.bz The only pattern that I see is that both subdomains have a an extra dot. Sub-domains of the form A.carrera.bz work but A.B.carrera.bz are giving me trouble. Help. Daniel. From daniel.carrera at zmsl.com Thu Dec 18 14:43:15 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Thu, 18 Dec 2008 15:43:15 +0100 Subject: [support] Problem with subdomain In-Reply-To: <494A6027.4090201@zmsl.com> References: <494A6027.4090201@zmsl.com> Message-ID: <494A6183.90406@zmsl.com> Oops! Sorry guys! I meant to send that to support@ but I sub-consciously pressed the tab key and my email client filled in 'support at drupal.org' Sorry for the spam. Daniel. Daniel Carrera wrote: > Hello, > > My user name is danielc and I am in the server snake. Two of my > sub-domains are not working. They give "page not found" errors: > > http://jose.daniel.carrera.bz > http://elena.lifshits.carrera.bz > > The only pattern that I see is that both subdomains have a an extra dot. > Sub-domains of the form A.carrera.bz work but A.B.carrera.bz are giving > me trouble. > > Help. > > Daniel. From govivasanth at gmail.com Thu Dec 18 16:24:02 2008 From: govivasanth at gmail.com (Vasanth Govind) Date: Thu, 18 Dec 2008 21:54:02 +0530 Subject: [support] Module to import RSS feeds from other website to Drupal Website automatically Message-ID: Hi All, I am looking for a module in Drupal which ... Imports the blog content (and all other content) from other (Third party) website and add it as node to a drupal website with automatic updates of blog content. I suppose that this can be done with RSS of other website. Expecting more solutions, opinions and suggestions. Thanks in advance. Thanks & Regards Vasanth Govind -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081218/c95e5240/attachment.htm From govivasanth at gmail.com Thu Dec 18 16:26:06 2008 From: govivasanth at gmail.com (Vasanth Govind) Date: Thu, 18 Dec 2008 21:56:06 +0530 Subject: [support] Module for podcast Message-ID: Hi all, Looking for a module which can completely handle Podcasts. Thanks & Regards Vasanth Govind -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081218/c209e154/attachment.htm From shai at content2zero.com Thu Dec 18 16:31:12 2008 From: shai at content2zero.com (Shai Gluskin) Date: Thu, 18 Dec 2008 11:31:12 -0500 Subject: [support] Module to import RSS feeds from other website to Drupal Website automatically In-Reply-To: References: Message-ID: <9f68efb70812180831h6035ad41q6650f6b7c077cdc5@mail.gmail.com> Vasanth, Feedapi module is what you need: http://drupal.org/project/feedapi I've always wondered about two things about importing feed content in its entirety... 1. Are there ethical concerns? Does one need the permission of the content owner? 2. Are there SEO concerns. Doesn't Google punish sites that display material that is displayed elsewhere on the Internet. Wouldn't both source and copied locations be "punished" in this example. I'm curious to hear your responses. Shai On Thu, Dec 18, 2008 at 11:24 AM, Vasanth Govind wrote: > Hi All, I am looking for a module in Drupal which ... > > Imports the blog content (and all other content) from other (Third party) > website and add it as node to a drupal website with automatic updates of > blog content. > > I suppose that this can be done with RSS of other website. > > Expecting more solutions, opinions and suggestions. > > Thanks in advance. > > > Thanks & Regards > Vasanth Govind > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081218/7601693c/attachment.htm From shai at content2zero.com Thu Dec 18 16:32:05 2008 From: shai at content2zero.com (Shai Gluskin) Date: Thu, 18 Dec 2008 11:32:05 -0500 Subject: [support] Module for podcast In-Reply-To: References: Message-ID: <9f68efb70812180832u4f9a5a92le5c9dd90b37c4f44@mail.gmail.com> http://drupal.org/project/audio On Thu, Dec 18, 2008 at 11:26 AM, Vasanth Govind wrote: > Hi all, Looking for a module which can completely handle Podcasts. > > > Thanks & Regards > Vasanth Govind > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081218/71c8d8fc/attachment.htm From forums at ipwa.net Thu Dec 18 16:30:12 2008 From: forums at ipwa.net (Nicolas Borda) Date: Thu, 18 Dec 2008 16:30:12 +0000 Subject: [support] Module to import RSS feeds from other website to Drupal Website automatically In-Reply-To: References: Message-ID: <01474B15-6963-48EC-8B5A-6CEE40FA6320@ipwa.net> On 18 Dec 2008, at 16:24, Vasanth Govind wrote: > I am looking for a module in Drupal which ... > > Imports the blog content (and all other content) from other (Third > party) website and add it as node to a drupal website with > automatic updates of blog content. > > I suppose that this can be done with RSS of other website. Drupal has a feed aggregator in core, enable it in core (optional) modules. > -- Nicolas Borda http://nic.ipwa.net/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081218/5d8ca4fc/attachment.htm From shai at content2zero.com Thu Dec 18 16:44:53 2008 From: shai at content2zero.com (Shai Gluskin) Date: Thu, 18 Dec 2008 11:44:53 -0500 Subject: [support] Module to import RSS feeds from other website to Drupal Website automatically In-Reply-To: <01474B15-6963-48EC-8B5A-6CEE40FA6320@ipwa.net> References: <01474B15-6963-48EC-8B5A-6CEE40FA6320@ipwa.net> Message-ID: <9f68efb70812180844r6bf9e659n7be40a2e977a5397@mail.gmail.com> Just to be clear... one of the many differences between the core aggregator module and feedapi is that feedapi can make nodes out of content that comes in off an rss feed. Aggregator can not do that. On Thu, Dec 18, 2008 at 11:30 AM, Nicolas Borda wrote: > > On 18 Dec 2008, at 16:24, Vasanth Govind wrote: > > I am looking for a module in Drupal which ... > > Imports the blog content (and all other content) from other (Third party) > website and add it as node to a drupal website with automatic updates of > blog content. > > I suppose that this can be done with RSS of other website. > > > Drupal has a feed aggregator in core, enable it in core (optional) modules. > > > -- > > Nicolas Borda > http://nic.ipwa.net/ > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081218/f8621067/attachment-0001.htm From 4braham at gmail.com Thu Dec 18 16:53:30 2008 From: 4braham at gmail.com (Abraham Williams) Date: Thu, 18 Dec 2008 10:53:30 -0600 Subject: [support] Module to import RSS feeds from other website to Drupal Website automatically In-Reply-To: References: Message-ID: <4337d5480812180853v2ce8001al6c8e7f7bd6dacc23@mail.gmail.com> Some Google links for duplicate content: http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=66359 http://googlewebmastercentral.blogspot.com/2007/09/google-duplicate-content-caused-by-url.html On Thu, Dec 18, 2008 at 10:24, Vasanth Govind wrote: > Hi All, I am looking for a module in Drupal which ... > > Imports the blog content (and all other content) from other (Third party) > website and add it as node to a drupal website with automatic updates of > blog content. > > I suppose that this can be done with RSS of other website. > > Expecting more solutions, opinions and suggestions. > > Thanks in advance. > > > Thanks & Regards > Vasanth Govind > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- | Abraham Williams | Web Developer | http://abrah.am | Brazen Careerist | Pro Hacker | http://www.brazencareerist.com | PoseurTech LLC | Mashup Ambassador | http://poseurte.ch | Web608 | Community Evangelist | http://web608.org | This email is: [] blogable [x] ask first [] private -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081218/98e90723/attachment.htm From govivasanth at gmail.com Thu Dec 18 16:54:55 2008 From: govivasanth at gmail.com (Vasanth Govind) Date: Thu, 18 Dec 2008 22:24:55 +0530 Subject: [support] Module to import RSS feeds from other website to Drupal Website automatically In-Reply-To: <9f68efb70812180831h6035ad41q6650f6b7c077cdc5@mail.gmail.com> References: <9f68efb70812180831h6035ad41q6650f6b7c077cdc5@mail.gmail.com> Message-ID: Thanks Shai The plan is like only the blog owner links his blog feed to our Drupal website.This will helps the blog owner by posting the same blog to all websites he is having an account. We need to validate that the blog feed the user providing belongs to him through some logic. Any idea to validate or authenticate? I am also concerned more about the SEO issues which you brought up. Looking forward for further discussions. Thanks & Regards Vasanth Govind On Thu, Dec 18, 2008 at 10:01 PM, Shai Gluskin wrote: > Vasanth, > > Feedapi module is what you need: > > http://drupal.org/project/feedapi > > I've always wondered about two things about importing feed content in its > entirety... > > > 1. Are there ethical concerns? Does one need the permission of the > content owner? > 2. Are there SEO concerns. Doesn't Google punish sites that display > material that is displayed elsewhere on the Internet. Wouldn't both source > and copied locations be "punished" in this example. > > I'm curious to hear your responses. > > Shai > > On Thu, Dec 18, 2008 at 11:24 AM, Vasanth Govind wrote: > >> Hi All, I am looking for a module in Drupal which ... >> >> Imports the blog content (and all other content) from other (Third party) >> website and add it as node to a drupal website with automatic updates of >> blog content. >> >> I suppose that this can be done with RSS of other website. >> >> Expecting more solutions, opinions and suggestions. >> >> Thanks in advance. >> >> >> Thanks & Regards >> Vasanth Govind >> >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081218/0d152251/attachment.htm From jhedstrom at opensourcery.com Thu Dec 18 17:28:47 2008 From: jhedstrom at opensourcery.com (Jonathan Hedstrom) Date: Thu, 18 Dec 2008 09:28:47 -0800 Subject: [support] Module for podcast In-Reply-To: <9f68efb70812180832u4f9a5a92le5c9dd90b37c4f44@mail.gmail.com> References: <9f68efb70812180832u4f9a5a92le5c9dd90b37c4f44@mail.gmail.com> Message-ID: <494A884F.1000006@opensourcery.com> Shai Gluskin wrote: > http://drupal.org/project/audio > > On Thu, Dec 18, 2008 at 11:26 AM, Vasanth Govind > > wrote: > > Hi all, > Looking for a module which can completely handle Podcasts. > There's also the FileField Podcaster module: http://drupal.org/project/ffpc Cheers, Jonathan -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature Url : http://lists.drupal.org/pipermail/support/attachments/20081218/66b2c782/attachment.pgp From hershelsr at gmail.com Thu Dec 18 18:05:32 2008 From: hershelsr at gmail.com (Hershel Robinson) Date: Thu, 18 Dec 2008 20:05:32 +0200 Subject: [support] Question Regarding Wysiwyg Usage In-Reply-To: <00b201c96089$1bd37a00$537a6e00$@com> References: <49495E0E.5050009@gmail.com> <00b201c96089$1bd37a00$537a6e00$@com> Message-ID: <494A90EC.9030500@gmail.com> > I use FCKEditor for all my Drupal sites and it does not need any other > Module besides the FCKEditor and the FCK application that you must download > from FCK to plug into the editor. I am not sure what you mean by Pull Quotes > but FCK does let you define custom styles and buttons so I am sure it can do > everything you need. Thanks. Hershel From daniel.carrera at zmsl.com Thu Dec 18 18:35:35 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Thu, 18 Dec 2008 19:35:35 +0100 Subject: [support] Recolorable Themes Message-ID: <494A97F7.8000904@zmsl.com> Hello, First steps with Drupal 6. I have a theme called Pixture that is supposed to be a "recolorable" theme. How do I change the colours? The default is purple and I want it blue. I am at the theme configuration page, but I don't see anything. Help? Daniel. From daniel.carrera at zmsl.com Thu Dec 18 18:43:51 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Thu, 18 Dec 2008 19:43:51 +0100 Subject: [support] Recolorable Themes In-Reply-To: <494A97F7.8000904@zmsl.com> References: <494A97F7.8000904@zmsl.com> Message-ID: <494A99E7.40403@zmsl.com> Btw, I've installed the "Theme Settings API" module (even though I think it's not needed for Drupal 6) but I still can't find the place to change the colour. Daniel. Daniel Carrera wrote: > Hello, > > First steps with Drupal 6. I have a theme called Pixture that is > supposed to be a "recolorable" theme. How do I change the colours? The > default is purple and I want it blue. I am at the theme configuration > page, but I don't see anything. Help? > > Daniel. From metzlerd at evergreen.edu Thu Dec 18 18:45:48 2008 From: metzlerd at evergreen.edu (Metzler, David) Date: Thu, 18 Dec 2008 10:45:48 -0800 Subject: [support] Recolorable Themes In-Reply-To: <494A99E7.40403@zmsl.com> References: <494A97F7.8000904@zmsl.com> <494A99E7.40403@zmsl.com> Message-ID: <384BE444EEC12143B241C72BCD7E9BA8016BC6A3@birch.evergreen.edu> If it supports color module, then that's the module that you need to enable. Check to make sure it is. Dave -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Daniel Carrera Sent: Thursday, December 18, 2008 10:44 AM To: support at drupal.org Subject: Re: [support] Recolorable Themes Btw, I've installed the "Theme Settings API" module (even though I think it's not needed for Drupal 6) but I still can't find the place to change the colour. Daniel. Daniel Carrera wrote: > Hello, > > First steps with Drupal 6. I have a theme called Pixture that is > supposed to be a "recolorable" theme. How do I change the colours? The > default is purple and I want it blue. I am at the theme configuration > page, but I don't see anything. Help? > > Daniel. -- [ Drupal support list | http://lists.drupal.org/ ] From daniel.carrera at zmsl.com Thu Dec 18 18:56:59 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Thu, 18 Dec 2008 19:56:59 +0100 Subject: [support] Recolorable Themes In-Reply-To: <384BE444EEC12143B241C72BCD7E9BA8016BC6A3@birch.evergreen.edu> References: <494A97F7.8000904@zmsl.com> <494A99E7.40403@zmsl.com> <384BE444EEC12143B241C72BCD7E9BA8016BC6A3@birch.evergreen.edu> Message-ID: <494A9CFB.20809@zmsl.com> Ah! Thanks! It works now. Metzler, David wrote: > If it supports color module, then that's the module that you need to > enable. Check to make sure it is. > > Dave > > -----Original Message----- > From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On > Behalf Of Daniel Carrera > Sent: Thursday, December 18, 2008 10:44 AM > To: support at drupal.org > Subject: Re: [support] Recolorable Themes > > Btw, I've installed the "Theme Settings API" module (even though I think > it's not needed for Drupal 6) but I still can't find the place to change > the colour. > > Daniel. > > Daniel Carrera wrote: >> Hello, >> >> First steps with Drupal 6. I have a theme called Pixture that is >> supposed to be a "recolorable" theme. How do I change the colours? The > >> default is purple and I want it blue. I am at the theme configuration >> page, but I don't see anything. Help? >> >> Daniel. > > -- > [ Drupal support list | http://lists.drupal.org/ ] From skessler at denverdataman.com Thu Dec 18 18:53:46 2008 From: skessler at denverdataman.com (Steve Kessler) Date: Thu, 18 Dec 2008 11:53:46 -0700 Subject: [support] Recolorable Themes Message-ID: <20081218190308.4C1F5DA638@silver.osuosl.org> It does...just enable Color modul from optional core modules and you will be able to change the colors in Pixture. You will find that the Color module does not change everyrhing. Thanks, Steve -----Original Message----- From: "Metzler, David" To: support at drupal.org Sent: 12/18/2008 11:45 AM Subject: Re: [support] Recolorable Themes If it supports color module, then that's the module that you need to enable. Check to make sure it is. Dave -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Daniel Carrera Sent: Thursday, December 18, 2008 10:44 AM To: support at drupal.org Subject: Re: [support] Recolorable Themes Btw, I've installed the "Theme Settings API" module (even though I think it's not needed for Drupal 6) but I still can't find the place to change the colour. Daniel. Daniel Carrera wrote: > Hello, > > First steps with Drupal 6. I have a theme called Pixture that is > supposed to be a "recolorable" theme. How do I change the colours? The > default is purple and I want it blue. I am at the theme configuration > page, but I don't see anything. Help? > > Daniel. -- [ Drupal support list | http://lists.drupal.org/ ] -- [ Drupal support list | http://lists.drupal.org/ ] From bsisok at gmail.com Fri Dec 19 02:02:36 2008 From: bsisok at gmail.com (Bob Salsburg) Date: Thu, 18 Dec 2008 21:02:36 -0500 Subject: [support] Update Message-ID: This is a cross post in the forums. After starting Drupal 6.8 upgraded from 5.14, the sequence at bottom occurs. According to the incomplete and cryptic comments in the several issues found in the forums, there is apparently a table or tables that do not get updated. The roof caves in when the password is entered. My question is: How to identify the offending items from this goop? In one of the posts, the following query was advised to be run after recreating the table or item (unclear): CREATE TABLE IF NOT EXISTS `cache_location` ( `cid` varchar(255) NOT NULL default '', `data` longblob, `expire` int(11) NOT NULL default '0', `created` int(11) NOT NULL default '0', `headers` text, `serialized` smallint(6) NOT NULL default '0', PRIMARY KEY (`cid`), KEY `expire` (`expire`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 Longblob? Too technical for me. Warning: Unknown column 'serialized' in 'field list' query: UPDATE cache SET data = 'a:174:{s:13:\"filter_html_1\";i:1;s:18:\"node_options_forum\";a:1:{i:0;s:6:\"status\";}s:17:\"menu_primary_menu\";i:2;s:19:\"menu_secondary_menu\";i:2;s:15:\"install_profile\";s:7:\"default\";s:17:\"node_options_page\";a:1:{i:0;s:6:\"status\";}s:12:\"comment_page\";i:0;s:14:\"theme_settings\";a:18:{s:11:\"toggle_logo\";i:1;s:11:\"toggle_name\";i:1;s:13:\"toggle_slogan\";i:0;s:14:\"toggle_mission\";i:1;s:24:\"toggle_node_user_picture\";i:0;s:27:\"toggle_comment_user_picture\";i:0;s:13:\"toggle_search\";i:0;s:14:\"toggle_favicon\";i:1;s:21:\"toggle_node_info_page\";i:0;s:22:\"toggle_node_info_story\";i:0;s:12:\"default_logo\";i:1;s:9:\"logo_path\";s:0:\"\";s:11:\"logo_upl in /home/christch/public_html/includes/database.mysqli.inc on line 128 =================================== The error string. There is a bunch more, but this is the initial seqence Warning: Cannot modify header information - headers already sent by (output started at /home/christch/public_html/includes/database.mysqli.inc:128) in /home/christch/public_html/includes/bootstrap.inc on line 610 Warning: Cannot modify header information - headers already sent by (output started at /home/christch/public_html/includes/database.mysqli.inc:128) in /home/christch/public_html/includes/bootstrap.inc on line 611 Warning: Cannot modify header information - headers already sent by (output started at /home/christch/public_html/includes/database.mysqli.inc:128) in /home/christch/public_html/includes/bootstrap.inc on line 612 Warning: Cannot modify header information - headers already sent by (output started at /home/christch/public_html/includes/database.mysqli.inc:128) in /home/christch/public_html/includes/bootstrap.inc on line 613 Warning: Unknown column 'language' in 'where clause' query: SELECT src FROM url_alias WHERE dst = 'node' AND language IN('en', '') ORDER BY language DESC in /home/christch/public_html/includes/database.mysqli.inc on line 128 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081218/f71b827f/attachment.htm From daniel.carrera at zmsl.com Fri Dec 19 12:36:14 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Fri, 19 Dec 2008 13:36:14 +0100 Subject: [support] Upgrading Drupal Message-ID: <494B953E.7080406@zmsl.com> Hello, If I am upgrading Drupal 5.9 to 5.14 do I still have to disable the modules before the upgrade? Should I be worried that data might get lost if I disable a module? Cheers, Daniel. From skessler at denverdataman.com Fri Dec 19 12:42:35 2008 From: skessler at denverdataman.com (Steve Kessler) Date: Fri, 19 Dec 2008 05:42:35 -0700 Subject: [support] Upgrading Drupal In-Reply-To: <494B953E.7080406@zmsl.com> References: <494B953E.7080406@zmsl.com> Message-ID: <013701c961d7$46a63390$d3f29ab0$@com> Different users have different theories on this. I have found that disabling modules is more of a pain than its worth for updates within 5.X and within 6.X. You should not lose any data by disabling a module but always back up before upgrading both your site and your database. Hope this helps. -Steve Steve Kessler Denver DataMan 303-587-4428 Sign up for the Denver DataMan Free eNewsletter -----Original Message----- From: Daniel Carrera [mailto:daniel.carrera at zmsl.com] Sent: Friday, December 19, 2008 5:36 AM To: support at drupal.org Subject: [support] Upgrading Drupal Hello, If I am upgrading Drupal 5.9 to 5.14 do I still have to disable the modules before the upgrade? Should I be worried that data might get lost if I disable a module? Cheers, Daniel. -- [ Drupal support list | http://lists.drupal.org/ ] From daniel.carrera at zmsl.com Fri Dec 19 12:57:07 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Fri, 19 Dec 2008 13:57:07 +0100 Subject: [support] Upgrading Drupal In-Reply-To: <013701c961d7$46a63390$d3f29ab0$@com> References: <494B953E.7080406@zmsl.com> <013701c961d7$46a63390$d3f29ab0$@com> Message-ID: <494B9A23.2090906@zmsl.com> Thanks. I think I'll try without disabling modules. Daniel. Steve Kessler wrote: > Different users have different theories on this. I have found that disabling > modules is more of a pain than its worth for updates within 5.X and within > 6.X. You should not lose any data by disabling a module but always back up > before upgrading both your site and your database. > > Hope this helps. > > -Steve > > Steve Kessler > Denver DataMan > 303-587-4428 > Sign up for the Denver DataMan Free eNewsletter > > > -----Original Message----- > From: Daniel Carrera [mailto:daniel.carrera at zmsl.com] > Sent: Friday, December 19, 2008 5:36 AM > To: support at drupal.org > Subject: [support] Upgrading Drupal > > Hello, > > If I am upgrading Drupal 5.9 to 5.14 do I still have to disable the > modules before the upgrade? > > Should I be worried that data might get lost if I disable a module? > > Cheers, > Daniel. From victorkane at gmail.com Fri Dec 19 12:57:48 2008 From: victorkane at gmail.com (Victor Kane) Date: Fri, 19 Dec 2008 10:57:48 -0200 Subject: [support] Upgrading Drupal In-Reply-To: <494B953E.7080406@zmsl.com> References: <494B953E.7080406@zmsl.com> Message-ID: My policy is not to disable contributed modules for minor upgrades (ie. 5.x to 5.x+1). I have never encountered a problem as a result of following this policy. But in case you decide to do so, just disabling them (as opposed to then clicking on the uninstall tab and actually uninstalling the modules, which will run the module uninstall script, if it has one, and destroy all database tables) should not destroy any of your actual content associated with those modules. Victor Kane http://awebfactory.com.ar On Fri, Dec 19, 2008 at 10:36 AM, Daniel Carrera wrote: > Hello, > > If I am upgrading Drupal 5.9 to 5.14 do I still have to disable the > modules before the upgrade? > > Should I be worried that data might get lost if I disable a module? > > Cheers, > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081219/28742dc5/attachment-0001.htm From genevieve.romier at urec.cnrs.fr Fri Dec 19 13:04:33 2008 From: genevieve.romier at urec.cnrs.fr (Genevieve Romier) Date: Fri, 19 Dec 2008 14:04:33 +0100 Subject: [support] Upgrading Drupal In-Reply-To: References: <494B953E.7080406@zmsl.com> Message-ID: <494B9BE1.1040705@urec.cnrs.fr> Hello, I always backup the database before to upgrade. In case of problem it is very useful and it take a few time. We use also a test site to test all upgrades. That is just a copy of the site. With a test site you can try on your own configuration and with your own modules what you want without risks. Best regards, Genevi?ve Romier www.projet-plume.org Victor Kane wrote: > My policy is not to disable contributed modules for minor upgrades (ie. 5.x > to 5.x+1). > > I have never encountered a problem as a result of following this policy. > > But in case you decide to do so, just disabling them (as opposed to then > clicking on the uninstall tab and actually uninstalling the modules, which > will run the module uninstall script, if it has one, and destroy all > database tables) should not destroy any of your actual content associated > with those modules. > > Victor Kane > http://awebfactory.com.ar > > On Fri, Dec 19, 2008 at 10:36 AM, Daniel Carrera wrote: > >> Hello, >> >> If I am upgrading Drupal 5.9 to 5.14 do I still have to disable the >> modules before the upgrade? >> >> Should I be worried that data might get lost if I disable a module? >> >> Cheers, >> Daniel. >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 4063 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.drupal.org/pipermail/support/attachments/20081219/5e324ca6/attachment.bin From cog.rusty at gmail.com Fri Dec 19 13:09:25 2008 From: cog.rusty at gmail.com (Cog Rusty) Date: Fri, 19 Dec 2008 15:09:25 +0200 Subject: [support] Update In-Reply-To: References: Message-ID: On Fri, Dec 19, 2008 at 4:02 AM, Bob Salsburg wrote: > This is a cross post in the forums. > > After starting Drupal 6.8 upgraded from 5.14, the sequence at bottom occurs. > According to the incomplete and cryptic comments in the several issues found > in the forums, there is apparently a table or tables that do not get > updated. The roof caves in when the password is entered. > > My question is: How to identify the offending items from this goop? > > In one of the posts, the following query was advised to be run after > recreating the table or item (unclear): > > CREATE TABLE IF NOT EXISTS `cache_location` ( > `cid` varchar(255) NOT NULL default '', > `data` longblob, > `expire` int(11) NOT NULL default '0', > `created` int(11) NOT NULL default '0', > `headers` text, > `serialized` smallint(6) NOT NULL default '0', > PRIMARY KEY (`cid`), > KEY `expire` (`expire`) > ) ENGINE=MyISAM DEFAULT CHARSET=utf8 This query seems unrelated to the error message that you mention below. The error message is about something missing from the main "cache" table, while this query creates a cache table for some contributed module, apparenty the location module. > Longblob? Too technical for me. > > Warning: Unknown column 'serialized' in 'field list' query: UPDATE cache SET > data = > 'a:174:{s:13:\"filter_html_1\";i:1;s:18:\"node_options_forum\";a:1:{i:0;s:6:\"status\";}s:17:\"menu_primary_menu\";i:2;s:19:\"menu_secondary_menu\";i:2;s:15:\"install_profile\";s:7:\"default\";s:17:\"node_options_page\";a:1:{i:0;s:6:\"status\";}s:12:\"comment_page\";i:0;s:14:\"theme_settings\";a:18:{s:11:\"toggle_logo\";i:1;s:11:\"toggle_name\";i:1;s:13:\"toggle_slogan\";i:0;s:14:\"toggle_mission\";i:1;s:24:\"toggle_node_user_picture\";i:0;s:27:\"toggle_comment_user_picture\";i:0;s:13:\"toggle_search\";i:0;s:14:\"toggle_favicon\";i:1;s:21:\"toggle_node_info_page\";i:0;s:22:\"toggle_node_info_story\";i:0;s:12:\"default_logo\";i:1;s:9:\"logo_path\";s:0:\"\";s:11:\"logo_upl > in /home/christch/public_html/includes/database.mysqli.inc on line 128 > > =================================== This error message indicates that either you did not run update.php to update the database, or update.php was interrupted and didn't complete successfully. - Check the requirements for Drupal 6 in http://drupal.org/requirements, and especially the php memory_limit (see http://drupal.org/node/207036). What was good enough for Drupal 5 may not be OK for Drupal 6. - Run update.php again and make sure that it completes. > > The error string. There is a bunch more, but this is the initial seqence The other error messages are just a result of displaying the first error message. > > Warning: Cannot modify header information - headers already sent by (output > started at /home/christch/public_html/includes/database.mysqli.inc:128) in > /home/christch/public_html/includes/bootstrap.inc on line 610 > > Warning: Cannot modify header information - headers already sent by (output > started at /home/christch/public_html/includes/database.mysqli.inc:128) in > /home/christch/public_html/includes/bootstrap.inc on line 611 > > Warning: Cannot modify header information - headers already sent by (output > started at /home/christch/public_html/includes/database.mysqli.inc:128) in > /home/christch/public_html/includes/bootstrap.inc on line 612 > > Warning: Cannot modify header information - headers already sent by (output > started at /home/christch/public_html/includes/database.mysqli.inc:128) in > /home/christch/public_html/includes/bootstrap.inc on line 613 > > Warning: Unknown column 'language' in 'where clause' query: SELECT src FROM > url_alias WHERE dst = 'node' AND language IN('en', '') ORDER BY language > DESC in /home/christch/public_html/includes/database.mysqli.inc on line 128 > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From victorkane at gmail.com Fri Dec 19 13:10:06 2008 From: victorkane at gmail.com (Victor Kane) Date: Fri, 19 Dec 2008 11:10:06 -0200 Subject: [support] Upgrading Drupal In-Reply-To: <494B9BE1.1040705@urec.cnrs.fr> References: <494B953E.7080406@zmsl.com> <494B9BE1.1040705@urec.cnrs.fr> Message-ID: Excellent! This goes without saying, and should be underlined three times: 1. Work with a test site (if necessary copy your production site over). It can even be on your local development computer or laptop. 2. Backup the file system and a dump of the database all together as a single snapshot of the production state. 3. Do the upgrade first on your test site. If all goes well, carry out the same procedure on your production site. For same release upgrades (5.x to 5.y) the procedure is very quick. Victor Kane http://awebfactory.com.ar On Fri, Dec 19, 2008 at 11:04 AM, Genevieve Romier < genevieve.romier at urec.cnrs.fr> wrote: > Hello, > > I always backup the database before to upgrade. In case of problem it is > very useful and it take a few time. > We use also a test site to test all upgrades. That is just a copy of the > site. With a test site you can try on your own configuration and with your > own modules what you want without risks. > > Best regards, > Genevi?ve Romier > www.projet-plume.org > > > Victor Kane wrote: > >> My policy is not to disable contributed modules for minor upgrades (ie. >> 5.x >> to 5.x+1). >> >> I have never encountered a problem as a result of following this policy. >> >> But in case you decide to do so, just disabling them (as opposed to then >> clicking on the uninstall tab and actually uninstalling the modules, which >> will run the module uninstall script, if it has one, and destroy all >> database tables) should not destroy any of your actual content associated >> with those modules. >> >> Victor Kane >> http://awebfactory.com.ar >> >> On Fri, Dec 19, 2008 at 10:36 AM, Daniel Carrera > >wrote: >> >> Hello, >>> >>> If I am upgrading Drupal 5.9 to 5.14 do I still have to disable the >>> modules before the upgrade? >>> >>> Should I be worried that data might get lost if I disable a module? >>> >>> Cheers, >>> Daniel. >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >>> >> > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081219/1003d7ae/attachment.htm From daniel.carrera at zmsl.com Fri Dec 19 13:13:18 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Fri, 19 Dec 2008 14:13:18 +0100 Subject: [support] Upgrading Drupal In-Reply-To: <494B9BE1.1040705@urec.cnrs.fr> References: <494B953E.7080406@zmsl.com> <494B9BE1.1040705@urec.cnrs.fr> Message-ID: <494B9DEE.3010905@zmsl.com> Yeah, I'll use a test site. Thanks. Genevieve Romier wrote: > Hello, > > I always backup the database before to upgrade. In case of problem it is > very useful and it take a few time. > We use also a test site to test all upgrades. That is just a copy of the > site. With a test site you can try on your own configuration and with > your own modules what you want without risks. > > Best regards, > Genevi?ve Romier > www.projet-plume.org > > Victor Kane wrote: >> My policy is not to disable contributed modules for minor upgrades >> (ie. 5.x >> to 5.x+1). >> >> I have never encountered a problem as a result of following this policy. >> >> But in case you decide to do so, just disabling them (as opposed to then >> clicking on the uninstall tab and actually uninstalling the modules, >> which >> will run the module uninstall script, if it has one, and destroy all >> database tables) should not destroy any of your actual content associated >> with those modules. >> >> Victor Kane >> http://awebfactory.com.ar >> >> On Fri, Dec 19, 2008 at 10:36 AM, Daniel Carrera >> wrote: >> >>> Hello, >>> >>> If I am upgrading Drupal 5.9 to 5.14 do I still have to disable the >>> modules before the upgrade? >>> >>> Should I be worried that data might get lost if I disable a module? >>> >>> Cheers, >>> Daniel. >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >> > From cog.rusty at gmail.com Fri Dec 19 13:41:15 2008 From: cog.rusty at gmail.com (Cog Rusty) Date: Fri, 19 Dec 2008 15:41:15 +0200 Subject: [support] how to browse files and folders? In-Reply-To: <009f01c95ebf$1b1e39e0$06000a0a@csa> References: <009f01c95ebf$1b1e39e0$06000a0a@csa> Message-ID: On Mon, Dec 15, 2008 at 4:12 PM, Simone Dal Maso wrote: > Hi, > I don't know if this is a drupal problem or something regarding apache settings. > I'd like to have a folder where users can download files, go to other subfolder, but not delete, modify or create files. > This feature is often given by apache itself, I believe. Add a small .htaccess file in the directory you want, containing: Options +Indexes That should allow listing the files in that directory and all its subdirectories. > But, if I go to www.mysite.com/files/ > I obtained a page not found, given by drupal. > files is the folder that contain all my files, and this is the path that drupal uses for public method. > If I write into my browser a correct filename, I can download it without problem, but if I put only te folder, instead of having the index I have the page not found error. > Any suggestions? > Bye and thanks. > > -- > Simone Dal Maso. > Tutti i miei progetti: > Spazioausili: consultazione, ricerca e commenti sugli ausili informatici per non vedenti: > http://www.spazioausili.net > > > homepage sviluppo comunita' NVDA: > www.nvda.it > Visita il mio blog! > http://simodm.blogspot.com > homepage progetto musicale: > www.juvox.it > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From emmanuel.seyman at club-internet.fr Fri Dec 19 13:42:34 2008 From: emmanuel.seyman at club-internet.fr (Emmanuel Seyman) Date: Fri, 19 Dec 2008 14:42:34 +0100 Subject: [support] Upgrading Drupal In-Reply-To: <494B953E.7080406@zmsl.com> References: <494B953E.7080406@zmsl.com> Message-ID: <20081219134234.GA3585@orient.maison.lan> * Daniel Carrera [19/12/2008 13:46] : > > If I am upgrading Drupal 5.9 to 5.14 do I still have to disable the > modules before the upgrade? That's what the documentation says but it's a lot of work for little gain. My procedure is : When upgrading the core modules, do not disable nor upgrade the contributed modules you are using. Once you have upgraded Drupal and given your site a quick test run to make sure it's still up and running, disable the contributed modules you are using, update them and re-enable them. Go through another test run and you're done. > Should I be worried that data might get lost if I disable a module? Hasn't happened to me, so far. Always make a backup of your data, just in case. Emmanuel From victorkane at gmail.com Fri Dec 19 13:46:11 2008 From: victorkane at gmail.com (Victor Kane) Date: Fri, 19 Dec 2008 11:46:11 -0200 Subject: [support] Upgrading Drupal In-Reply-To: <20081219134234.GA3585@orient.maison.lan> References: <494B953E.7080406@zmsl.com> <20081219134234.GA3585@orient.maison.lan> Message-ID: In this discussion, I am a little concerned that people might be confusing a major upgrade (Drupal 4.7 to Drupal 5.x, Drupal 5.x to Drupal 6.x) with a minor upgrade (Drupal 5.12 to Drupal 5.14). Is this the case? Victor On Fri, Dec 19, 2008 at 11:42 AM, Emmanuel Seyman < emmanuel.seyman at club-internet.fr> wrote: > * Daniel Carrera [19/12/2008 13:46] : > > > > If I am upgrading Drupal 5.9 to 5.14 do I still have to disable the > > modules before the upgrade? > > That's what the documentation says but it's a lot of work for little > gain. My procedure is : > > When upgrading the core modules, do not disable nor upgrade the > contributed modules you are using. > > Once you have upgraded Drupal and given your site a quick test run to > make sure it's still up and running, disable the contributed modules > you are using, update them and re-enable them. > > Go through another test run and you're done. > > > Should I be worried that data might get lost if I disable a module? > > Hasn't happened to me, so far. > Always make a backup of your data, just in case. > > Emmanuel > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081219/0b9d9171/attachment.htm From daniel.carrera at zmsl.com Fri Dec 19 14:51:01 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Fri, 19 Dec 2008 15:51:01 +0100 Subject: [support] Drupal as a PHP development framework? Message-ID: <494BB4D5.1040008@zmsl.com> Hello, Can you use Drupal core as a PHP development framework? Suppose you want to create a custom in-house web application which is not necessarily going to be a Drupal module. What would you use? I am the maintainer of a custom PHP application. It's quite poorly written and I'm stuck maintaining it. I have been thinking that I'd like to rewrite it from scratch. I don't *need* any third party software to rewrite it, but it occurred to me that the final product might be better if I used a good PHP development framework. So I started googling for PHP application frameworks and I hit a Wikipedia page saying that some people use Drupal as a development framework. So I thought I'd ask about that here. Any thoughts? I don't have a solid idea of what I'm looking for. I'm just looking to see what's available. Cheers, Daniel. From william.darren at gmail.com Fri Dec 19 15:04:30 2008 From: william.darren at gmail.com (William Smith) Date: Fri, 19 Dec 2008 10:04:30 -0500 Subject: [support] Drupal as a PHP development framework? In-Reply-To: <494BB4D5.1040008@zmsl.com> References: <494BB4D5.1040008@zmsl.com> Message-ID: <74630ca20812190704l69b890b9gd92cea42605301ab@mail.gmail.com> I tend to think of Drupal as (at least) two things: 1) A web/PHP platform/framework and 2) A CMS constructed using that framework On Fri, Dec 19, 2008 at 9:51 AM, Daniel Carrera wrote: > Hello, > > Can you use Drupal core as a PHP development framework? Suppose you want > to create a custom in-house web application which is not necessarily > going to be a Drupal module. What would you use? > > > I am the maintainer of a custom PHP application. It's quite poorly > written and I'm stuck maintaining it. I have been thinking that I'd like > to rewrite it from scratch. I don't *need* any third party software to > rewrite it, but it occurred to me that the final product might be better > if I used a good PHP development framework. So I started googling for > PHP application frameworks and I hit a Wikipedia page saying that some > people use Drupal as a development framework. So I thought I'd ask about > that here. Any thoughts? > > > I don't have a solid idea of what I'm looking for. I'm just looking to > see what's available. > > Cheers, > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081219/f24793bf/attachment.htm From victorkane at gmail.com Fri Dec 19 15:06:11 2008 From: victorkane at gmail.com (Victor Kane) Date: Fri, 19 Dec 2008 13:06:11 -0200 Subject: [support] Drupal as a PHP development framework? In-Reply-To: <494BB4D5.1040008@zmsl.com> References: <494BB4D5.1040008@zmsl.com> Message-ID: Without knowing what the PHP application does makes it difficult to answer. But you might possibly be better off reverse-engineering a clear set of features / user stories, and then the question would be, can I implement these features using Drupal. Drupal can serve as a CMS Application Framework, but since it is extensible, and uses the module architecture to add more functionality to core, you will have to write a module, which either uses Drupal functionality or else hooks up Drupal to your via some form of integration. Both will require modules, which simply means code running in the Drupal namespace. Victor Kane http://awebfactory.com.ar On Fri, Dec 19, 2008 at 12:51 PM, Daniel Carrera wrote: > Hello, > > Can you use Drupal core as a PHP development framework? Suppose you want > to create a custom in-house web application which is not necessarily > going to be a Drupal module. What would you use? > > > I am the maintainer of a custom PHP application. It's quite poorly > written and I'm stuck maintaining it. I have been thinking that I'd like > to rewrite it from scratch. I don't *need* any third party software to > rewrite it, but it occurred to me that the final product might be better > if I used a good PHP development framework. So I started googling for > PHP application frameworks and I hit a Wikipedia page saying that some > people use Drupal as a development framework. So I thought I'd ask about > that here. Any thoughts? > > > I don't have a solid idea of what I'm looking for. I'm just looking to > see what's available. > > Cheers, > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081219/b5e84f41/attachment.htm From sfreach at gmail.com Fri Dec 19 15:33:48 2008 From: sfreach at gmail.com (Seth Freach) Date: Fri, 19 Dec 2008 10:33:48 -0500 Subject: [support] Drupal as a PHP development framework? In-Reply-To: <494BB4D5.1040008@zmsl.com> References: <494BB4D5.1040008@zmsl.com> Message-ID: <494BBEDC.9030803@gmail.com> Daniel, Short answer: Yes. I have been previously and currently am involved with a few web app projects that were started or rewritten from scratch on Drupal. In fact, the reason that Drupal was chosen over any of the other CMS's available is specifically because of its superiority amongst its peers in the CMS space as a PHP development framework. The most important thing in my experience is to make sure that you approach the project from a correct perspective. You'll get the best results if you think of the app being constructed *with* Drupal, doing it the Drupal way. This is a very different thing than building it *on top of* Drupal, where you try to reach down and leverage Drupal functionality when it suits you. This approach might cause you to rethink a lot of the application and data architecture in a rewrite. Drupal can do the job wonderfully, but know that it probably won't just be a "rewrite", but rather a "redesign", from the data model on up. Allowing Drupal to handle all of your user management, for example, sounds great, but thinking of how Drupal users are going to interact with your application's data will force you to rethink how Drupal will best do this. Ideally, it would become less and less your application's data and more and more Drupal's content, structured in the way that Drupal organizes its content (nodes, CCK, possibly OG's, ...), and accessed the way that Drupal accesses content (Views, perms, ...) ...if that makes sense ;) Seth Daniel Carrera wrote: > Hello, > > Can you use Drupal core as a PHP development framework? Suppose you want > to create a custom in-house web application which is not necessarily > going to be a Drupal module. What would you use? > > > I am the maintainer of a custom PHP application. It's quite poorly > written and I'm stuck maintaining it. I have been thinking that I'd like > to rewrite it from scratch. I don't *need* any third party software to > rewrite it, but it occurred to me that the final product might be better > if I used a good PHP development framework. So I started googling for > PHP application frameworks and I hit a Wikipedia page saying that some > people use Drupal as a development framework. So I thought I'd ask about > that here. Any thoughts? > > > I don't have a solid idea of what I'm looking for. I'm just looking to > see what's available. > > Cheers, > Daniel. > From cxjohnson at gmail.com Fri Dec 19 15:39:23 2008 From: cxjohnson at gmail.com (Chris Johnson) Date: Fri, 19 Dec 2008 09:39:23 -0600 Subject: [support] Drupal as a PHP development framework? In-Reply-To: <494BB4D5.1040008@zmsl.com> References: <494BB4D5.1040008@zmsl.com> Message-ID: <9ea8d6030812190739n14914270ge482c5c91c29c5c0@mail.gmail.com> You can use Drupal as such a framework, but it probably won't make sense unless you either (1) already know Drupal and hence will save time by using it, versus learning a new framework, or (2) intend to use Drupal for something else anyway, in which case learning Drupal only instead of Drupal plus another framework again saves you time. As Victor Kane points out, it also depends on what you want to do. If it is similar enough to what Drupal and its contributed modules can already do, it might be more efficient to use Drupal rather than a more generic framework. Otherwise, there are a number of other good frameworks out there you could learn and use, and those frameworks might be more generalized over the entire problem space of "PHP application building". -- ..chris On Fri, Dec 19, 2008 at 8:51 AM, Daniel Carrera wrote: > Hello, > > Can you use Drupal core as a PHP development framework? Suppose you want > to create a custom in-house web application which is not necessarily > going to be a Drupal module. What would you use? > > > I am the maintainer of a custom PHP application. It's quite poorly > written and I'm stuck maintaining it. I have been thinking that I'd like > to rewrite it from scratch. I don't *need* any third party software to > rewrite it, but it occurred to me that the final product might be better > if I used a good PHP development framework. So I started googling for > PHP application frameworks and I hit a Wikipedia page saying that some > people use Drupal as a development framework. So I thought I'd ask about > that here. Any thoughts? > > > I don't have a solid idea of what I'm looking for. I'm just looking to > see what's available. > > Cheers, > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] > From daniel.carrera at zmsl.com Fri Dec 19 15:49:14 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Fri, 19 Dec 2008 16:49:14 +0100 Subject: [support] Drupal as a PHP development framework? In-Reply-To: <494BBEDC.9030803@gmail.com> References: <494BB4D5.1040008@zmsl.com> <494BBEDC.9030803@gmail.com> Message-ID: <494BC27A.6090404@zmsl.com> Hi Seth, Thanks. That's a very useful answer, about how I should think about the application if I used Drupal. That I shouldn't see Drupal as a library that use, but rather see my app as a Drupal component. I'll need time to think about whether this is what I'm looking for. I don't have a clear picture of what I want yet. Thanks. Daniel. Seth Freach wrote: > Daniel, > Short answer: Yes. > > I have been previously and currently am involved with a few web app > projects that were started or rewritten from scratch on Drupal. In > fact, the reason that Drupal was chosen over any of the other CMS's > available is specifically because of its superiority amongst its peers > in the CMS space as a PHP development framework. > > The most important thing in my experience is to make sure that you > approach the project from a correct perspective. You'll get the best > results if you think of the app being constructed *with* Drupal, doing > it the Drupal way. This is a very different thing than building it *on > top of* Drupal, where you try to reach down and leverage Drupal > functionality when it suits you. This approach might cause you to > rethink a lot of the application and data architecture in a rewrite. > Drupal can do the job wonderfully, but know that it probably won't just > be a "rewrite", but rather a "redesign", from the data model on up. > Allowing Drupal to handle all of your user management, for example, > sounds great, but thinking of how Drupal users are going to interact > with your application's data will force you to rethink how Drupal will > best do this. Ideally, it would become less and less your application's > data and more and more Drupal's content, structured in the way that > Drupal organizes its content (nodes, CCK, possibly OG's, ...), and > accessed the way that Drupal accesses content (Views, perms, ...) > > ...if that makes sense ;) > > Seth From neil at esl-lounge.com Fri Dec 19 15:44:39 2008 From: neil at esl-lounge.com (neil at esl-lounge.com) Date: Fri, 19 Dec 2008 16:44:39 +0100 (CET) Subject: [support] Upgrading Drupal In-Reply-To: <20081219134234.GA3585@orient.maison.lan> References: <494B953E.7080406@zmsl.com> <20081219134234.GA3585@orient.maison.lan> Message-ID: Just thought I'd add my tuppence worth on one point: CCK had a bug in it till pretty recently (late summer '08 if i recall) that lost DB data when you disactivated it for drupal upgrades. I found out on a test site before launch so it was no biggie...and as many have said, you should always do a backup anyway in case something like that happens. for the record, I don't both disactivating modules anymore and have never had a problem. Neil > * Daniel Carrera [19/12/2008 13:46] : >> >> If I am upgrading Drupal 5.9 to 5.14 do I still have to disable the >> modules before the upgrade? > > That's what the documentation says but it's a lot of work for little > gain. My procedure is : > > When upgrading the core modules, do not disable nor upgrade the > contributed modules you are using. > > Once you have upgraded Drupal and given your site a quick test run to > make sure it's still up and running, disable the contributed modules > you are using, update them and re-enable them. > > Go through another test run and you're done. > >> Should I be worried that data might get lost if I disable a module? > > Hasn't happened to me, so far. > Always make a backup of your data, just in case. > > Emmanuel > -- > [ Drupal support list | http://lists.drupal.org/ ] > From emmanuel.seyman at club-internet.fr Fri Dec 19 15:59:19 2008 From: emmanuel.seyman at club-internet.fr (Emmanuel Seyman) Date: Fri, 19 Dec 2008 16:59:19 +0100 Subject: [support] Drupal as a PHP development framework? In-Reply-To: <494BB4D5.1040008@zmsl.com> References: <494BB4D5.1040008@zmsl.com> Message-ID: <20081219155919.GA5514@orient.maison.lan> * Daniel Carrera [19/12/2008 16:04] : > > Can you use Drupal core as a PHP development framework? Suppose you want > to create a custom in-house web application which is not necessarily > going to be a Drupal module. What would you use? As an example : I was looking at GCStar and Tellico (Gnome and KDE applications for managing collections, respectively) when I realized that Drupal can do everything that I'm looking for in these apps : a) Ability to define the properties of an item in the collection b) Being able to tag these items in any way I want c) Displaying the items in any number of different ways a and c require cck and views, b just requires activating taxonomy. The only thing I'm missing is the ability to script adding a node (so that I can scrape a web page and use its data to create an item). I'm sure this can be done but I need to find out how. Emmanuel From daniel.carrera at zmsl.com Fri Dec 19 16:01:09 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Fri, 19 Dec 2008 17:01:09 +0100 Subject: [support] Drupal as a PHP development framework? In-Reply-To: <9ea8d6030812190739n14914270ge482c5c91c29c5c0@mail.gmail.com> References: <494BB4D5.1040008@zmsl.com> <9ea8d6030812190739n14914270ge482c5c91c29c5c0@mail.gmail.com> Message-ID: <494BC545.7050903@zmsl.com> Hi Chris, Thanks for your comments. Based on what you say, I think I lean toward a generic PHP framework. I do want some Drupal integration, but probably not enough to warrant writing the whole thing in Drupal (I just want to create Drupal users from within my app). Is CodeIgniter a good framework? There are so many PHP frameworks, I don't know which ones are worth researching in detail. Chris Johnson wrote: > You can use Drupal as such a framework, but it probably won't make > sense unless you either (1) already know Drupal and hence will save > time by using it, versus learning a new framework, or (2) intend to > use Drupal for something else anyway, in which case learning Drupal > only instead of Drupal plus another framework again saves you time. > > As Victor Kane points out, it also depends on what you want to do. If > it is similar enough to what Drupal and its contributed modules can > already do, it might be more efficient to use Drupal rather than a > more generic framework. > > Otherwise, there are a number of other good frameworks out there you > could learn and use, and those frameworks might be more generalized > over the entire problem space of "PHP application building". From cjones at partialflow.com Fri Dec 19 16:09:53 2008 From: cjones at partialflow.com (Christopher M. Jones) Date: Fri, 19 Dec 2008 11:09:53 -0500 Subject: [support] Views, comments, $links Message-ID: <494BC751.7030203@partialflow.com> My client has requested so many modifications to the blog display that I've ended up disabling core blog altogether. Instead, I'm building all the required displays from views. I notice, though, that the view that displays the user's "blog page", which lists the ten most recent entries in full node display, lacks any reference in $links to the comments. Should it be there, or must I have turned it off somewhere? If not, then I'm going to have to add it into the template for the blog_post content type I created. In that case, I need to know the path to the comments for a node. From sfreach at gmail.com Fri Dec 19 16:14:35 2008 From: sfreach at gmail.com (Seth Freach) Date: Fri, 19 Dec 2008 11:14:35 -0500 Subject: [support] Drupal as a PHP development framework? In-Reply-To: <494BC27A.6090404@zmsl.com> References: <494BB4D5.1040008@zmsl.com> <494BBEDC.9030803@gmail.com> <494BC27A.6090404@zmsl.com> Message-ID: <494BC86B.8090405@gmail.com> Daniel, Yeah, if you're thinking of Drupal as a library, you are approaching it from the wrong direction. Knowing nothing about your app or experience level with Drupal, I'm going to assume 3 things: - Your app is in a production environment and in use by your users - You are the only person supporting this app - Drupal is new to you. If those three things are all true, I would probably lean away from porting to Drupal, it probably wouldn't make good business sense. You may find yourself spending significant amounts of time just learning Drupal before you even begin to think about your app in a Drupal environment. On the other hand, if you are looking to build more apps going forward and want to learn a robust framework to build those on, the time spent now will be a valuable investment, especially, if this particular app is one that has a small user base and will not significantly suffer for being a learning environment (aka: guinea pig) -Seth Daniel Carrera wrote: > Hi Seth, > > Thanks. That's a very useful answer, about how I should think about the > application if I used Drupal. That I shouldn't see Drupal as a library > that use, but rather see my app as a Drupal component. > > I'll need time to think about whether this is what I'm looking for. I > don't have a clear picture of what I want yet. > > Thanks. > > Daniel. > > > Seth Freach wrote: > >> Daniel, >> Short answer: Yes. >> >> I have been previously and currently am involved with a few web app >> projects that were started or rewritten from scratch on Drupal. In >> fact, the reason that Drupal was chosen over any of the other CMS's >> available is specifically because of its superiority amongst its peers >> in the CMS space as a PHP development framework. >> >> The most important thing in my experience is to make sure that you >> approach the project from a correct perspective. You'll get the best >> results if you think of the app being constructed *with* Drupal, doing >> it the Drupal way. This is a very different thing than building it *on >> top of* Drupal, where you try to reach down and leverage Drupal >> functionality when it suits you. This approach might cause you to >> rethink a lot of the application and data architecture in a rewrite. >> Drupal can do the job wonderfully, but know that it probably won't just >> be a "rewrite", but rather a "redesign", from the data model on up. >> Allowing Drupal to handle all of your user management, for example, >> sounds great, but thinking of how Drupal users are going to interact >> with your application's data will force you to rethink how Drupal will >> best do this. Ideally, it would become less and less your application's >> data and more and more Drupal's content, structured in the way that >> Drupal organizes its content (nodes, CCK, possibly OG's, ...), and >> accessed the way that Drupal accesses content (Views, perms, ...) >> >> ...if that makes sense ;) >> >> Seth >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081219/495168b1/attachment.htm From emmanuel.seyman at club-internet.fr Fri Dec 19 16:23:53 2008 From: emmanuel.seyman at club-internet.fr (Emmanuel Seyman) Date: Fri, 19 Dec 2008 17:23:53 +0100 Subject: [support] Upgrading Drupal In-Reply-To: References: <494B953E.7080406@zmsl.com> <20081219134234.GA3585@orient.maison.lan> Message-ID: <20081219162353.GA6732@orient.maison.lan> * Victor Kane [19/12/2008 15:04] : > > In this discussion, I am a little concerned that people might be confusing a > major upgrade (Drupal 4.7 to Drupal 5.x, Drupal 5.x to Drupal 6.x) with a > minor upgrade (Drupal 5.12 to Drupal 5.14). > > Is this the case? The mail that kicked off this discussion was talking about a minor upgrade so I suppose that's the situation that most of us are talking about. Certainly, that's my case. Emmanuel From daniel.carrera at zmsl.com Fri Dec 19 16:32:26 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Fri, 19 Dec 2008 17:32:26 +0100 Subject: [support] Drupal as a PHP development framework? In-Reply-To: <494BC86B.8090405@gmail.com> References: <494BB4D5.1040008@zmsl.com> <494BBEDC.9030803@gmail.com> <494BC27A.6090404@zmsl.com> <494BC86B.8090405@gmail.com> Message-ID: <494BCC9A.3080707@zmsl.com> Seth Freach wrote: > Knowing nothing about your app or experience level with Drupal, I'm > going to assume 3 things: > - Your app is in a production environment and in use by your users > - You are the only person supporting this app > - Drupal is new to you. Very good assumptions. The last one is only "partly true". I have managed Drupal sites for years, but I have never written a module or a theme. I don't know Drupal's internals. > If those three things are all true, I would probably lean away from > porting to Drupal, it probably wouldn't make good business sense. You > may find yourself spending significant amounts of time just learning > Drupal before you even begin to think about your app in a Drupal > environment. > > On the other hand, if you are looking to build more apps going forward > and want to learn a robust framework to build those on, the time spent > now will be a valuable investment, especially, if this particular app is > one that has a small user base and will not significantly suffer for > being a learning environment (aka: guinea pig) Thanks. Again, that's very useful. I have a couple hundred users and they are paying customers, so I can't experiment on them very much. I'll look for generic PHP framework. Thanks for the help. Cheers, Daniel. From greg at t2media.com Fri Dec 19 17:16:24 2008 From: greg at t2media.com (Greg Holsclaw) Date: Fri, 19 Dec 2008 09:16:24 -0800 Subject: [support] Drupal as a PHP development framework? In-Reply-To: <20081219155919.GA5514@orient.maison.lan> References: <494BB4D5.1040008@zmsl.com> <20081219155919.GA5514@orient.maison.lan> Message-ID: <001b01c961fd$85bc7370$91355a50$@com> Look into http://drupal.org/project/feedapi. You may only have to write a custom parser for your specific situation, but the rest is there. Greg ... The only thing I'm missing is the ability to script adding a node (so that I can scrape a web page and use its data to create an item). I'm sure this can be done but I need to find out how. Emmanuel -- [ Drupal support list | http://lists.drupal.org/ ] From bsisok at gmail.com Fri Dec 19 17:48:49 2008 From: bsisok at gmail.com (Bob Salsburg) Date: Fri, 19 Dec 2008 12:48:49 -0500 Subject: [support] Update In-Reply-To: References: Message-ID: Thanks Rusty for the advice. This is certainly one situation where I shouldn't have assumed that the error condition was disastrous. I ran update.php twice more and it seems that most everything is back. I lost HTML on one page and now have two Administer and two Logout items on the Nav menu. They also appear twice in Administer ? Site building ? Menus. Do you think that disabling one set each to see what happens is the best first course? If there are no ill effects, I would think it save to delete the extranneous duplicate. Bob On Fri, Dec 19, 2008 at 8:09 AM, Cog Rusty wrote: > > - Run update.php again and make sure that it completes. From net at twoedged.org Sat Dec 20 10:57:45 2008 From: net at twoedged.org (John Fletcher) Date: Sat, 20 Dec 2008 11:57:45 +0100 Subject: [support] Upgrade version jumping Message-ID: <003f01c96291$dfa6f290$9ef4d7b0$@org> With all this talk about Drupal upgrades, I have a question on behalf of all us lazy maintainers... Is there anything which speaks against skipping over versions in a minor version upgrade? Such as upgrading directly from 6.5 to 6.9? I can't think of any logical reason I would have to go to 6.6, 6.7 etc...? Regards, John Fletcher Salt Websites web design Valencia, Spain. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081220/2b9d251f/attachment.htm From neil at esl-lounge.com Sat Dec 20 11:11:33 2008 From: neil at esl-lounge.com (neil at esl-lounge.com) Date: Sat, 20 Dec 2008 12:11:33 +0100 (CET) Subject: [support] Upgrade version jumping In-Reply-To: <003f01c96291$dfa6f290$9ef4d7b0$@org> References: <003f01c96291$dfa6f290$9ef4d7b0$@org> Message-ID: <653f64e061bbb4466223460d636f9d2d.squirrel@QuestMail.FutureQuest.net> As far as I understood it: going from 5.6 to 5.11 shouldn't cause any problems. if you have 5.6 and you want to go to 6.3, it's best to first upgrade to the latest 5.x version before jumping up to 6.3. Whether you also need to install 6.0 first is a gray area. I think going 5.6 - 5.14 - 6.3 is fine (if we consider 5.14 the latest 5 flavor, which I think it is at the moment) Neil > With all this talk about Drupal upgrades, I have a question on behalf of > all > us lazy maintainers... > > > > Is there anything which speaks against skipping over versions in a minor > version upgrade? Such as upgrading directly from 6.5 to 6.9? I can't > think > of any logical reason I would have to go to 6.6, 6.7 etc...? > > > > Regards, > > John Fletcher > > Salt Websites web design Valencia, Spain. > > -- > [ Drupal support list | http://lists.drupal.org/ ] From skessler at denverdataman.com Sat Dec 20 18:31:40 2008 From: skessler at denverdataman.com (Steve Kessler) Date: Sat, 20 Dec 2008 11:31:40 -0700 Subject: [support] Duplicate Entry Message-ID: <02a701c962d1$33ea74a0$9bbf5de0$@com> Hey, I have searched around online and not found anything about this. I am getting this error when I access my site logged in as me. If you go to www.denverdataman.com not logged in it works just fine or at least no error is shown to the user. user warning: Duplicate entry '237595' for key 1 query: INSERT INTO accesslog (title, path, url, hostname, uid, sid, timer, timestamp) values('Recent log entries', 'admin/logs/watchdog', 'http://www.denverdataman.com/admin/logs/watchdog', '67.190.5.230', 1, '25c7d7324789e378b9c4fc9c2e66922e', 640, 1229753327) in /home/kadimaso/public_html/denverdataman/includes/database.mysql.inc on line 174. When I look in the Watchdog log (admin/logs/watchdog) I see many times that is message is coming up. Any ideas what to do about it? 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/20081220/f30102c7/attachment.htm From skessler at denverdataman.com Sat Dec 20 18:39:37 2008 From: skessler at denverdataman.com (Steve Kessler) Date: Sat, 20 Dec 2008 11:39:37 -0700 Subject: [support] Duplicate Entry In-Reply-To: <02a701c962d1$33ea74a0$9bbf5de0$@com> References: <02a701c962d1$33ea74a0$9bbf5de0$@com> Message-ID: <02b501c962d2$50013380$f0039a80$@com> In going through the log I also found this Incorrect key file for table './kadimaso_drupal53/variable.MYI'; try to repair it query: DELETE FROM variable WHERE name = 'cron_semaphore' in /home/kadimaso/public_html/denverdataman/includes/database.mysql.inc on line 174. Thanks, Steve Steve Kessler Denver DataMan 303-587-4428 Sign up for the Denver DataMan Free eNewsletter From: Steve Kessler [mailto:skessler at denverdataman.com] Sent: Saturday, December 20, 2008 11:32 AM To: support at drupal.org Subject: [support] Duplicate Entry Hey, I have searched around online and not found anything about this. I am getting this error when I access my site logged in as me. If you go to www.denverdataman.com not logged in it works just fine or at least no error is shown to the user. user warning: Duplicate entry '237595' for key 1 query: INSERT INTO accesslog (title, path, url, hostname, uid, sid, timer, timestamp) values('Recent log entries', 'admin/logs/watchdog', 'http://www.denverdataman.com/admin/logs/watchdog', '67.190.5.230', 1, '25c7d7324789e378b9c4fc9c2e66922e', 640, 1229753327) in /home/kadimaso/public_html/denverdataman/includes/database.mysql.inc on line 174. When I look in the Watchdog log (admin/logs/watchdog) I see many times that is message is coming up. Any ideas what to do about it? 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/20081220/d91ef173/attachment-0001.htm From rsw-ml at silverarc.biz Thu Dec 18 05:50:01 2008 From: rsw-ml at silverarc.biz (rsw-ml at silverarc.biz) Date: Thu, 18 Dec 2008 00:50:01 -0500 (EST) Subject: [support] navigation list Message-ID: <49746.59.181.122.24.1229579401.squirrel@www.silverarc.biz> Hi, I wanna know how to add a new page based on a new item on the navigation menu list. I am very new to drupal. Also, can u suggest some good books/tutorials on the same. I have an old version e-book(5).. currently, I have installed drupal6.8 successfully. But cant really work much on it due to lack of good support learning it thanks, Radhika From shai at content2zero.com Sun Dec 21 21:43:09 2008 From: shai at content2zero.com (Shai Gluskin) Date: Sun, 21 Dec 2008 16:43:09 -0500 Subject: [support] navigation list In-Reply-To: <49746.59.181.122.24.1229579401.squirrel@www.silverarc.biz> References: <49746.59.181.122.24.1229579401.squirrel@www.silverarc.biz> Message-ID: <8D9CF54E-E92C-4081-AEA1-A42052FEB991@content2zero.com> When you create content (any kind-- story, page, or another type you create) there is a fieldset on the content creation page called "menu". That is where you assosiate the content with a Menu item. Welcome to Drupal! Shai Shai Gluskin On Dec 18, 2008, at 12:50 AM, rsw-ml at silverarc.biz wrote: > > Hi, > I wanna know how to add a new page based on a new item on the > navigation > menu list. > > I am very new to drupal. > Also, can u suggest some good books/tutorials on the same. > I have an old version e-book(5).. > currently, I have installed drupal6.8 successfully. > But cant really work much on it due to lack of good support learning > it > thanks, > Radhika > > > -- > [ Drupal support list | http://lists.drupal.org/ ] From bob at morsemedia.net Sun Dec 21 22:26:49 2008 From: bob at morsemedia.net (Bob Morse) Date: Sun, 21 Dec 2008 14:26:49 -0800 Subject: [support] navigation list In-Reply-To: <49746.59.181.122.24.1229579401.squirrel@www.silverarc.biz> References: <49746.59.181.122.24.1229579401.squirrel@www.silverarc.biz> Message-ID: <494EC2A9.3020607@morsemedia.net> Radhika, This is a tall order. There are plenty of resources out there both free and fee. As I think I have seen posted here before, there is no better learning experience than just working on your site, especially if you have a non-production environment to work with (highly recommended). That being said, the Drupal Handbook (http://drupal.org/handbooks) is a good place to start, Specifically good starting points: http://drupal.org/getting-started (aptly named) http://drupal.org/getting-started/before/terminology (getting a hang of the Drupal terminology is essential) The new Using Drupal book looks promising. I have it ordered: http://usingdrupal.com/ After that, Pro Drupal Development (2nd Edition is great for more advanced work) Additional free resources: Articles and videos: http://zugec.com/drupal Drupal Videos for Beginners: http://mydrupal.com/drupal-beginner-videos-basics (The very fist video shows you how to add a page to a menu) That's a lot to start with. Hope that helps. It's best to ask specific questions concerning specific issues you have with your site in this forum. People are really helpful. rsw-ml at silverarc.biz wrote: > Hi, > I wanna know how to add a new page based on a new item on the navigation > menu list. > > I am very new to drupal. > Also, can u suggest some good books/tutorials on the same. > I have an old version e-book(5).. > currently, I have installed drupal6.8 successfully. > But cant really work much on it due to lack of good support learning it > thanks, > Radhika > > > From rsw-ml at silverarc.biz Thu Dec 18 05:49:00 2008 From: rsw-ml at silverarc.biz (rsw-ml at silverarc.biz) Date: Thu, 18 Dec 2008 00:49:00 -0500 (EST) Subject: [support] (no subject) Message-ID: <18388.59.181.122.24.1229579340.squirrel@www.silverarc.biz> Hi, I wanna know how to add a new page based on a new item on the navigation menu list. I am very new to drupal. Also, can u suggest some good books/tutorials on the same. I have an old version e-book(5).. currently, I have installed drupal6.8 successfully. But cant really work much on it due to lack of good support learning it thanks, Radhika From rsw-ml at silverarc.biz Mon Dec 22 08:48:31 2008 From: rsw-ml at silverarc.biz (rsw-ml at silverarc.biz) Date: Mon, 22 Dec 2008 03:48:31 -0500 (EST) Subject: [support] navigation list In-Reply-To: <494EC2A9.3020607@morsemedia.net> References: <49746.59.181.122.24.1229579401.squirrel@www.silverarc.biz> <494EC2A9.3020607@morsemedia.net> Message-ID: <48618.59.181.122.24.1229935711.squirrel@www.silverarc.biz> Thanks a ton!! I already figured that out...but thanks a million for your time.. :) Actually now, I have created a php application - a very simple one - html tags and php post and submissions Now, since I have been learning Drupal, and am quite familiar with its basics and interface.. I wanna dive in in into it :) Basically, I wanna know what exactly is API in DRUPAL and how does it work and stuff.. I am getting help for the same from here: http://drupal.org/node/68159 http://drupal.org/node/204270 http://api.drupal.org/ Hope i am heading in the right direction :) Glad if you guys cud help.. :) Thanks again :) enjoy, Radhika > Radhika, > > This is a tall order. There are plenty of resources out there both free > and fee. As I think I have seen posted here before, there is no better > learning experience than just working on your site, especially if you > have a non-production environment to work with (highly recommended). > > That being said, the Drupal Handbook (http://drupal.org/handbooks) is a > good place to start, Specifically good starting points: > > http://drupal.org/getting-started (aptly named) > http://drupal.org/getting-started/before/terminology (getting a hang of > the Drupal terminology is essential) > > > The new Using Drupal book looks promising. I have it ordered: > > http://usingdrupal.com/ > > After that, Pro Drupal Development (2nd Edition is great for more > advanced work) > > Additional free resources: > > Articles and videos: http://zugec.com/drupal > > Drupal Videos for Beginners: > http://mydrupal.com/drupal-beginner-videos-basics (The very fist video > shows you how to add a page to a menu) > > That's a lot to start with. Hope that helps. It's best to ask specific > questions concerning specific issues you have with your site in this > forum. People are really helpful. > > > > > > rsw-ml at silverarc.biz wrote: >> Hi, >> I wanna know how to add a new page based on a new item on the navigation >> menu list. >> >> I am very new to drupal. >> Also, can u suggest some good books/tutorials on the same. >> I have an old version e-book(5).. >> currently, I have installed drupal6.8 successfully. >> But cant really work much on it due to lack of good support learning it >> thanks, >> Radhika >> >> >> > -- > [ Drupal support list | http://lists.drupal.org/ ] > From bharanikumariyerphp at gmail.com Mon Dec 22 09:15:00 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Mon, 22 Dec 2008 14:45:00 +0530 Subject: [support] Refer some search module Message-ID: <2240033d0812220115h1f26b513o329396fd56cbde58@mail.gmail.com> Hi Friends Am looking some best search modules, Can you please refer list of search module , what you know This is example link http://www.kayak.com/hotels am looking like this search.. Thanks -- ?????? ?????? ???? ?????? Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ http://bharanikumariyerphp.site88.net/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081222/b770b8fd/attachment.htm From mail at webthatworks.it Mon Dec 22 09:52:06 2008 From: mail at webthatworks.it (Ivan Sergio Borgonovo) Date: Mon, 22 Dec 2008 10:52:06 +0100 Subject: [support] Mailman problems? Message-ID: <20081222105206.44c541eb@dawn.webthatworks.it> I didn't see any List-Owner header so I'm posting here. I just received a warning from mailman: " Your mail to 'droppies' with the subject Re: [support] logging using lynx browser Is being held until the list moderator can review it for approval. The reason it is being held: Message has implicit destination ".... The only message I sent with that subject did have the list in the To: header and I don't want to approve a message that may just pretend to come from me but that I can't see. Since recently there was some problem in the ml it could give some further clue to the maintainer about what happened or well it may be just a spam bot using my address or... well it could be both. -- Ivan Sergio Borgonovo http://www.webthatworks.it From mail at webthatworks.it Mon Dec 22 10:10:13 2008 From: mail at webthatworks.it (Ivan Sergio Borgonovo) Date: Mon, 22 Dec 2008 11:10:13 +0100 Subject: [support] Mailman problems? In-Reply-To: <20081222105206.44c541eb@dawn.webthatworks.it> References: <20081222105206.44c541eb@dawn.webthatworks.it> Message-ID: <20081222111013.7d2a24f3@dawn.webthatworks.it> I just received another message of the same kind for the first message of this thread (that actually seems reached the list anyway). On Mon, 22 Dec 2008 10:52:06 +0100 Ivan Sergio Borgonovo wrote: > I didn't see any List-Owner header so I'm posting here. > > I just received a warning from mailman: > " > Your mail to 'droppies' with the subject > > Re: [support] logging using lynx browser > > Is being held until the list moderator can review it for approval. > > The reason it is being held: > > Message has implicit destination > ".... > > The only message I sent with that subject did have the list in the > To: header and I don't want to approve a message that may just > pretend to come from me but that I can't see. > > Since recently there was some problem in the ml it could give some > further clue to the maintainer about what happened or well it may > be just a spam bot using my address or... well it could be both. > -- Ivan Sergio Borgonovo http://www.webthatworks.it From bchoc at t4tcolorado.org Mon Dec 22 18:06:15 2008 From: bchoc at t4tcolorado.org (Brian Choc) Date: Mon, 22 Dec 2008 11:06:15 -0700 Subject: [support] Reducing Number of Queries Message-ID: <507b282e0812221006m67f6bee0uf16b6803de82021a@mail.gmail.com> Greetings, I've been asked for help regarding a site on a shared hosting provider (MediaTemple). Recently the owner received an email indicating "..Today our automated systems checked your database activity again and determined your activity continues to exceed the MySQL SmartPool v.2 resources included with your Grid-Server..." Caching is on (normal) as is block caching and the other options available in the performance menu. I've turned up the minimum cache lifetime to an hour -- there is a fair amount of traffic but the content is relatively static. I've never had the "problem" of too much traffic before, and I am not sure what tools are available to attempt to minimize this, nor am I positive when how to evaluate when resources are at their limit and it's simply best to upgrade the server resources ... so I'm wondering if anyone would have any suggestions or tools or tips on this? I'll paste the included MySQL report below, in case that information is helpful. Thanks, Brian Your MySQL Report is shown below: MySQL 4.1.25-Debian_mt1 uptime 2 0:0:33 Fri Dec 19 23:06:39 2008 __ Key _________________________________________________________________ Buffer used 816.00k of 24.00M %Used: 3.32 Current 3.50M %Usage: 14.59 Write hit 49.36% Read hit 99.98% __ Questions ___________________________________________________________ Total 7.09M 41.0/s QC Hits 6.04M 34.9/s %Total: 85.12 DMS 632.06k 3.7/s 8.91 Com_ 262.45k 1.5/s 3.70 COM_QUIT 161.04k 0.9/s 2.27 -Unknown 120 0.0/s 0.00 Slow 236 0.0/s 0.00 %DMS: 0.04 DMS 632.06k 3.7/s 8.91 SELECT 478.10k 2.8/s 6.74 75.64 DELETE 52.29k 0.3/s 0.74 8.27 UPDATE 51.03k 0.3/s 0.72 8.07 INSERT 50.65k 0.3/s 0.71 8.01 REPLACE 0 0/s 0.00 0.00 Com_ 262.45k 1.5/s 3.70 set_option 261.82k 1.5/s 3.69 check 316 0.0/s 0.00 show_proces 288 0.0/s 0.00 __ SELECT and Sort _____________________________________________________ Scan 65.59k 0.4/s %SELECT: 13.72 Range 86.67k 0.5/s 18.13 Full join 0 0/s 0.00 Range check 0 0/s 0.00 Full rng join 0 0/s 0.00 Sort scan 1.72k 0.0/s Sort range 174.90k 1.0/s Sort mrg pass 0 0/s __ Query Cache _________________________________________________________ Memory usage 7.08M of 12.00M %Used: 58.97 Block Fragmnt 15.76% Hits 6.04M 34.9/s Inserts 478.10k 2.8/s Insrt:Prune 1.55:1 1.0/s Hit:Insert 12.63:1 __ Table Locks _________________________________________________________ Waited 48 0.0/s %Total: 0.00 Immediate 1.18M 6.8/s __ Tables ______________________________________________________________ Open 331 of 1024 %Cache: 32.32 Opened 337 0.0/s __ Connections _________________________________________________________ Max used 34 of 60 %Max: 56.67 Total 161.11k 0.9/s __ Created Temp ________________________________________________________ Disk table 59 0.0/s Table 1.36k 0.0/s File 4 0.0/s __ Threads _____________________________________________________________ Running 1 of 1 Cached 3 of 4 %Hit: 99.83 Created 271 0.0/s Slow 0 0/s __ Aborted _____________________________________________________________ Clients 133 0.0/s Connects 92 0.0/s __ Bytes _______________________________________________________________ Sent 724.69M 4.2k/s Received 1.46G 8.4k/s From killshot91 at comcast.net Mon Dec 22 20:34:26 2008 From: killshot91 at comcast.net (Steve Edwards) Date: Mon, 22 Dec 2008 12:34:26 -0800 Subject: [support] Theme Function For Adding jQuery Message-ID: <494FF9D2.1010004@comcast.net> I want to create a function in my template.php that will set a different banner for certain pages by modifying the background property for the div with jQuery. The jQuery is pretty easy (I would just add it using drupal_add_js()), but what I can't figure out is how to call it from template.php. Can I just create my own function in template.php that calls drupal_add_js()? Or do I have to use a hook? I need to have the current URL available to the function. My first thought was to use a preprocess hook, but it seems that the preprocess is for adding variables, not this. If I wanted to write a module I could do something like hook_init, but I don't want to have to do a module for something small like this if I don't have to. Thanks Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081222/5c21bb6e/attachment.htm From skessler at denverdataman.com Mon Dec 22 23:55:06 2008 From: skessler at denverdataman.com (Steve Kessler) Date: Mon, 22 Dec 2008 16:55:06 -0700 Subject: [support] Database problem Message-ID: <010801c96490$b77f6ee0$267e4ca0$@com> I am sorry to resubmit this but I have not head back and the problem is now getting worse. I am now getting this message if not logged in: user warning: Duplicate entry '237595' for key 1 query: INSERT INTO accesslog (title, path, url, hostname, uid, sid, timer, timestamp) values('Affiliate Partner Programs ', 'node/198', '', '24.9.62.24', 1, '25c7d7324789e378b9c4fc9c2e66922e', 799, 1229989930) in /home/kadimaso/public_html/denverdataman/includes/database.mysql.inc on line 174. I have tried to repair the tables in PHP My Admin and any help is much appreciated. 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/20081222/e2ecfff6/attachment.htm From bchoc at t4tcolorado.org Tue Dec 23 02:27:42 2008 From: bchoc at t4tcolorado.org (Brian Choc) Date: Mon, 22 Dec 2008 19:27:42 -0700 Subject: [support] (no subject) In-Reply-To: <18388.59.181.122.24.1229579340.squirrel@www.silverarc.biz> References: <18388.59.181.122.24.1229579340.squirrel@www.silverarc.biz> Message-ID: <507b282e0812221827v739b0d22x7cdde836e34fdc23@mail.gmail.com> You might look at "Building Powerful and Robust Websites with Drupal 6: Build your own professional blog, forum, portal or community website with Drupal 6." Brian On Wed, Dec 17, 2008 at 10:49 PM, wrote: > Hi, > I wanna know how to add a new page based on a new item on the navigation > menu list. > > I am very new to drupal. > Also, can u suggest some good books/tutorials on the same. > I have an old version e-book(5).. > currently, I have installed drupal6.8 successfully. > But cant really work much on it due to lack of good support learning it > thanks, > Radhika > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From marolijo at yahoo.es Tue Dec 23 08:10:10 2008 From: marolijo at yahoo.es (Marolijo / Pol Maresma) Date: Tue, 23 Dec 2008 09:10:10 +0100 Subject: [support] GMAP Location doesn't save locations Message-ID: <005f01c964d5$e0eb2bd0$0601a8c0@zeus> I have the latest versions of GMAP, location and need to see a gmap view with a content type. When I edit a node I can assign the location with the map, I press Send but location isn't stored.(if I press edit again the location fields are empty) Any idea? thank's! Pol Maresma PolNetwork.com / Serveis d'Internet pol(a)polnetwork.com msn: marolijo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081223/b6872e05/attachment.htm From cpforbes at gmail.com Tue Dec 23 08:55:56 2008 From: cpforbes at gmail.com (Craig Forbes) Date: Tue, 23 Dec 2008 02:55:56 -0600 Subject: [support] Database problem In-Reply-To: <010801c96490$b77f6ee0$267e4ca0$@com> References: <010801c96490$b77f6ee0$267e4ca0$@com> Message-ID: I can't be sure but from your limited description, I'm guessing that somehow you have gotten your auto increment values out of sync with the maximum value in that table. I'm not sure what column is the auto_increment column in that table but if that is the problem here is the solution: NOTE: Before attempting this solution backup your database if you haven't already. In fact, even if you already have backed it up back it up again before attempting this. 1) figure out what the max value for the auto_increment columns is: select max(COLNAME) from accesslog; note the result. 2) To check if this is the problem you can use this command: show table status like 'accesslog' if the auto_increment column is less than the max value noted in step 1 then this is your problem. 3) to reset the auto_increment value: alter table accesslog auto_increment=VALUE+1; >From your other problem it seems possible that you have a corrupted database. Are you able to do a mysqldump on the database? If not try to dump each table individually. -Craig On Mon, Dec 22, 2008 at 5:55 PM, Steve Kessler wrote: > I am sorry to resubmit this but I have not head back and the problem is now > getting worse. > > I am now getting this message if not logged in: > > user warning: Duplicate entry '237595' for key 1 query: INSERT INTO > accesslog (title, path, url, hostname, uid, sid, timer, timestamp) > values('Affiliate Partner Programs ', 'node/198', '', '24.9.62.24', 1, > '25c7d7324789e378b9c4fc9c2e66922e', 799, 1229989930) in > /home/kadimaso/public_html/denverdataman/includes/database.mysql.inc on line > 174. > > I have tried to repair the tables in PHP My Admin and any help is much > appreciated. From Robin.Clarke at networkrail.co.uk Tue Dec 23 12:30:28 2008 From: Robin.Clarke at networkrail.co.uk (Clarke Robin) Date: Tue, 23 Dec 2008 12:30:28 -0000 Subject: [support] What is the best way to handle images (NOT photographs) References: <010801c96490$b77f6ee0$267e4ca0$@com> Message-ID: <0CF90D6CE50B98468B96FECD3CEFE7C9D6FE1A@sr1mm02.corp.UKrail.net> Hi all, I have a question around the best way to handle images refereed to by the HTML for the body of a page type node. To be more specific, I am not talking about general photographs, for which I would use the Image module to handle resizing and galleries, but graphic type images. These images are generally used for diagrams or graphs in newspaper articles to break up all the text. A good example is the graph at the top of the article on this page - http://news.bbc.co.uk/1/hi/business/7764741.stm How should I add these kinds of images to Drupal? Should I even add them to Drupal (e.g. using Upload or Image, etc)? Or should I just FTP the files to my web server, and then refer to them in the tag directly? e.g. If FTP-ing the files, which is the best folder to store the file in? (Would storing these files in the 'images' folder cause confusion with the Image module, and some with the 'files' and Upload module?) Is there a 'best practise' for this? Many thanks robin **************************************************************************************************************************************************************** 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 **************************************************************************************************************************************************************** -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 3984 bytes Desc: not available Url : http://lists.drupal.org/pipermail/support/attachments/20081223/ac129e61/attachment-0001.bin From shai at content2zero.com Tue Dec 23 14:51:19 2008 From: shai at content2zero.com (Shai Gluskin) Date: Tue, 23 Dec 2008 09:51:19 -0500 Subject: [support] What is the best way to handle images (NOT photographs) In-Reply-To: <0CF90D6CE50B98468B96FECD3CEFE7C9D6FE1A@sr1mm02.corp.UKrail.net> References: <010801c96490$b77f6ee0$267e4ca0$@com> <0CF90D6CE50B98468B96FECD3CEFE7C9D6FE1A@sr1mm02.corp.UKrail.net> Message-ID: <9f68efb70812230651u5a9c88e8p247e8d01fcd9701c@mail.gmail.com> Hi Robin, There are lots of different ways to do what you want. From Drupal's perspective there is no difference between a photo and an image for graphics purposes. Some of the things that will determine what route you take: 1. Do you need *inline* insertion of images? You've got a lot more choices, especially if editors are not technical people, if you do* not *need inline insertion. Probably imagefield, filefield, or asset modules in combination with imagecache would provide the most flexible results and would be quite easy for the end user. Placement of the images is done via theming and provides a really consistent look that editors can't break. 2. If you do need inline insertion -- you've got the image/img_assist combination. The problem with image module in general is that it creates a node for each image. Nodes come with a lot of overhead and most people say, if an image isn't going to benefit from being a node, then don't use image module. If you are using TinyMCE on your site then asset module in combination with TinyMCE could be a great solution. A popular lightweight solution for folks needing inline images is the IMCE module, and it's really robust in Drupal 6. As you suggested, you can simply upload your images to your server (or any server actually, doesn't need to be hosting your Drupal site) and use img tags. Just make sure its in your files directory if you have them local. You can create a new folder for easier organization though using the same directory as another image module would probably be okay. But even if you are going to put the image tag directly in the content, I'd recommend the image tag in combination with Drupal core's upload module. After you've uploaded the image, the upload module provides you with the url which you can put in the img tag. That way the node itself would have a reference to the image or images you are using in that node. Make sure your imput format is set to accept the img tag. Lots of choices... ultimately you'll choose a way -- which, based on your learning... may not be what you choose next time. That's Drupal for you! Let us know what you do, Shai On Tue, Dec 23, 2008 at 7:30 AM, Clarke Robin < Robin.Clarke at networkrail.co.uk> wrote: > Hi all, > > I have a question around the best way to handle images refereed to by the > HTML for the body of a page type node. To be more specific, I am not talking > about general photographs, for which I would use the Image module to handle > resizing and galleries, but graphic type images. > > These images are generally used for diagrams or graphs in newspaper > articles to break up all the text. A good example is the graph at the top of > the article on this page - http://news.bbc.co.uk/1/hi/business/7764741.stm > > How should I add these kinds of images to Drupal? Should I even add them to > Drupal (e.g. using Upload or Image, etc)? > > Or should I just FTP the files to my web server, and then refer to them in > the tag directly? e.g. > > If FTP-ing the files, which is the best folder to store the file in? (Would > storing these files in the 'images' folder cause confusion with the Image > module, and some with the 'files' and Upload module?) > > Is there a 'best practise' for this? > > > > Many thanks > > robin > > > > **************************************************************************************************************************************************************** > > 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 > > > **************************************************************************************************************************************************************** > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081223/5f05387f/attachment.htm From shai at content2zero.com Wed Dec 24 04:15:06 2008 From: shai at content2zero.com (Shai Gluskin) Date: Tue, 23 Dec 2008 23:15:06 -0500 Subject: [support] Update Status Doesn't Work for Login-Toboggan after Upgrade Message-ID: <9f68efb70812232015n65a3bb5pf858c99cf4159c43@mail.gmail.com> Gang, This is just annoying... Logintoboggan doesn't show up in the update status report. Otherwise it seems to be installed fine. It shows up on the module menu and its configuration screens work. This problem ocurred after I upgraded logintoboggan from 6--1-2 to 6--1-3. My method, for various reasons, is that for modules I use CVS but I delete the old version and add the new version instead of using the update command. I have the whole thing wrapped in SVN. Don't know if this is at all relevant. Any ideas? Shai -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081223/0f865707/attachment.htm From usamah1228 at gmail.com Wed Dec 24 07:00:39 2008 From: usamah1228 at gmail.com (Usamah M. Ali) Date: Wed, 24 Dec 2008 10:00:39 +0300 Subject: [support] week's and month's popular content In-Reply-To: References: Message-ID: Which Drupal version are you using? Drupal 6 has by default a 'popular content' block that does exactly what you want. Anyway there's not any reason you would use the accesslog table for node view stats. The only caveat to what Drupal does is that it updates view count on every page request, which can hog performance on highly trafficked websites. Regards, Usamah On Fri, Dec 12, 2008 at 10:07 PM, Vasanth Govind wrote: > Hi all, > The requirement is to display the popular content of this week and popular > content of this month. > This is done by fetching the content which has more number of hits or > views. > We have Drupal's node_counter table in which we have the totalcount and > daycount fields which has views per day and total. > > Any one help me optimized MySQL query which can fetch this details in a > quicker way. > Currently the data is fetched from accesslog table which is not much > optimized and very slow. > Thanks in advance. > > > Thanks & Regards > Vasanth Govind > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From sivaji2009 at gmail.com Thu Dec 25 13:19:49 2008 From: sivaji2009 at gmail.com (sivaji j.g) Date: Thu, 25 Dec 2008 18:49:49 +0530 Subject: [support] content type notebook Message-ID: hello guys, I am working on e-learning project which requires a scribbling pad like feature in which students can add/edit the content and save them. I have rough idea on how to make it. 1. To create a content type notebook 2. To define permission like students can edit/add content and save/retrieve them 3. The node must be displayed as block parallel video and it should be ready for use i.e content adding or editing like editor all time Now what i need is,a node must be created automatically as soon as a student registers and it should be displayed as blocks with edit option, scribbling pad of one user cant be accessible to other uses how can i make it possible ? I tried node as block drupal module it just displays teaser of a node as block. I am looking forward for your suggestion. -- Thanks a lot ----------------------------------------- http://ubuntuslave.blogspot.com/ From skessler at denverdataman.com Thu Dec 25 16:41:41 2008 From: skessler at denverdataman.com (Steve Kessler) Date: Thu, 25 Dec 2008 09:41:41 -0700 Subject: [support] Database problem In-Reply-To: References: <010801c96490$b77f6ee0$267e4ca0$@com> Message-ID: <008401c966af$aa903fe0$ffb0bfa0$@com> The problem is the max numbers but this command alter table accesslog auto_increment=VALUE+1; does not work " #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'VALUE+1' at line 1". Where should I be putting aid (the field name) to make this SQL statement execute. Thanks, Steve Steve Kessler Denver DataMan 303-587-4428 Sign up for the Denver DataMan Free eNewsletter -----Original Message----- From: Craig Forbes [mailto:cpforbes at gmail.com] Sent: Tuesday, December 23, 2008 1:56 AM To: support at drupal.org Subject: Re: [support] Database problem I can't be sure but from your limited description, I'm guessing that somehow you have gotten your auto increment values out of sync with the maximum value in that table. I'm not sure what column is the auto_increment column in that table but if that is the problem here is the solution: NOTE: Before attempting this solution backup your database if you haven't already. In fact, even if you already have backed it up back it up again before attempting this. 1) figure out what the max value for the auto_increment columns is: select max(COLNAME) from accesslog; note the result. 2) To check if this is the problem you can use this command: show table status like 'accesslog' if the auto_increment column is less than the max value noted in step 1 then this is your problem. 3) to reset the auto_increment value: alter table accesslog auto_increment=VALUE+1; >From your other problem it seems possible that you have a corrupted database. Are you able to do a mysqldump on the database? If not try to dump each table individually. -Craig On Mon, Dec 22, 2008 at 5:55 PM, Steve Kessler wrote: > I am sorry to resubmit this but I have not head back and the problem is now > getting worse. > > I am now getting this message if not logged in: > > user warning: Duplicate entry '237595' for key 1 query: INSERT INTO > accesslog (title, path, url, hostname, uid, sid, timer, timestamp) > values('Affiliate Partner Programs ', 'node/198', '', '24.9.62.24', 1, > '25c7d7324789e378b9c4fc9c2e66922e', 799, 1229989930) in > /home/kadimaso/public_html/denverdataman/includes/database.mysql.inc on line > 174. > > I have tried to repair the tables in PHP My Admin and any help is much > appreciated. -- [ Drupal support list | http://lists.drupal.org/ ] From cpforbes at gmail.com Thu Dec 25 19:11:27 2008 From: cpforbes at gmail.com (Craig Forbes) Date: Thu, 25 Dec 2008 13:11:27 -0600 Subject: [support] Database problem In-Reply-To: <008401c966af$aa903fe0$ffb0bfa0$@com> References: <010801c96490$b77f6ee0$267e4ca0$@com> <008401c966af$aa903fe0$ffb0bfa0$@com> Message-ID: Replace VALUE+1 with the number one greater than the number you get when you select maximum value for the auto_increment column. -Craig On Thu, Dec 25, 2008 at 10:41 AM, Steve Kessler wrote: > The problem is the max numbers but this command > > alter table accesslog auto_increment=VALUE+1; > > does not work " #1064 - You have an error in your SQL syntax; check the > manual that corresponds to your MySQL server version for the right syntax to > use near 'VALUE+1' at line 1". Where should I be putting aid (the field > name) to make this SQL statement execute. > > Thanks, > Steve > > Steve Kessler > Denver DataMan > 303-587-4428 > Sign up for the Denver DataMan Free eNewsletter > > -----Original Message----- > From: Craig Forbes [mailto:cpforbes at gmail.com] > Sent: Tuesday, December 23, 2008 1:56 AM > To: support at drupal.org > Subject: Re: [support] Database problem > > I can't be sure but from your limited description, I'm guessing that > somehow you have gotten your auto increment values out of sync with > the maximum value in that table. > > I'm not sure what column is the auto_increment column in that table > but if that is the problem here is the solution: > > NOTE: Before attempting this solution backup your database if you > haven't already. In fact, even if you already have backed it up back > it up again before attempting this. > > 1) figure out what the max value for the auto_increment columns is: > select max(COLNAME) from accesslog; > > note the result. > > 2) To check if this is the problem you can use this command: > show table status like 'accesslog' > > if the auto_increment column is less than the max value noted in step > 1 then this is your problem. > > 3) to reset the auto_increment value: > > alter table accesslog auto_increment=VALUE+1; > > >From your other problem it seems possible that you have a corrupted > database. Are you able to do a mysqldump on the database? If not try > to dump each table individually. > > > -Craig > > On Mon, Dec 22, 2008 at 5:55 PM, Steve Kessler > wrote: >> I am sorry to resubmit this but I have not head back and the problem is > now >> getting worse. >> >> I am now getting this message if not logged in: >> >> user warning: Duplicate entry '237595' for key 1 query: INSERT INTO >> accesslog (title, path, url, hostname, uid, sid, timer, timestamp) >> values('Affiliate Partner Programs ', 'node/198', '', '24.9.62.24', 1, >> '25c7d7324789e378b9c4fc9c2e66922e', 799, 1229989930) in >> /home/kadimaso/public_html/denverdataman/includes/database.mysql.inc on > line >> 174. >> >> I have tried to repair the tables in PHP My Admin and any help is much >> appreciated. > -- > [ Drupal support list | http://lists.drupal.org/ ] > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From dpchrist at holgerdanske.com Thu Dec 25 19:52:57 2008 From: dpchrist at holgerdanske.com (David Christensen) Date: Thu, 25 Dec 2008 11:52:57 -0800 Subject: [support] mailing list "Search archives" broken Message-ID: <820DBFCB7EE842E5BA530AEAD4286553@p43400e> support at drupal.org: When I go to the web page for this mailing list: http://lists.drupal.org/listinfo/support and click on "Search archives", I end up here: http://lists.drupal.org/archives/cgi-bin/namazu.cgi?idxname=drupal-suppo rt My browser (IE7) says: The webpage cannot be found HTTP 404 Most likely causes: There might be a typing error in the address. If you clicked on a link, it may be out of date. What you can try: Retype the address. Go back to the previous page. Go to and look for the information you want. More information This error (HTTP 404 Not Found) means that Internet Explorer was able to connect to the website, but the page you wanted was not found. It's possible that the webpage is temporarily unavailable. Alternatively, the website might have changed or removed the webpage. For more information about HTTP errors, see Help. This problem has existed since yesterday. If/when is the search function going to be fixed? TIA, David From marc at funnymonkey.com Thu Dec 25 23:29:29 2008 From: marc at funnymonkey.com (Marc Poris) Date: Thu, 25 Dec 2008 15:29:29 -0800 Subject: [support] Update Status Doesn't Work for Login-Toboggan after Upgrade In-Reply-To: <9f68efb70812232015n65a3bb5pf858c99cf4159c43@mail.gmail.com> References: <9f68efb70812232015n65a3bb5pf858c99cf4159c43@mail.gmail.com> Message-ID: <49541759.4080600@funnymonkey.com> Shai, You probably need to use the cvs_deploy module -- see the first Quick FAQ question here: http://drupal.org/project/update_status - Marc Shai Gluskin wrote: > Gang, > > This is just annoying... > > Logintoboggan doesn't show up in the update status report. Otherwise > it seems to be installed fine. It shows up on the module menu and its > configuration screens work. > > This problem ocurred after I upgraded logintoboggan from 6--1-2 to 6--1-3. > > My method, for various reasons, is that for modules I use CVS but I > delete the old version and add the new version instead of using the > update command. I have the whole thing wrapped in SVN. Don't know if > this is at all relevant. > > Any ideas? > > Shai From shyamala at netlinkindia.com Fri Dec 26 16:54:32 2008 From: shyamala at netlinkindia.com (Shyamala Rajaram) Date: Fri, 26 Dec 2008 22:24:32 +0530 Subject: [support] content type notebook In-Reply-To: Message-ID: <20081226165423.0B60CA69AB@hemlock.osuosl.org> http://drupal.org/project/notepad A very simple module which provides a way for users to have a 'notepad' area where they can record any arbitrary text. Notes are defined as a new node type and are listed in a block or a summary page. Notes consist of a title, a body (subject to filters) and a priority which governs the list in which they are displayed in the summary page and block. I haven't used the module, but does sound similar to what you are looking for. Shyamala http://shyamala-drupal.blogspot.com/ http://www.netlinkindia.com -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of sivaji j.g Sent: Thursday, December 25, 2008 6:50 PM To: support at drupal.org Subject: [support] content type notebook hello guys, I am working on e-learning project which requires a scribbling pad like feature in which students can add/edit the content and save them. I have rough idea on how to make it. 1. To create a content type notebook 2. To define permission like students can edit/add content and save/retrieve them 3. The node must be displayed as block parallel video and it should be ready for use i.e content adding or editing like editor all time Now what i need is,a node must be created automatically as soon as a student registers and it should be displayed as blocks with edit option, scribbling pad of one user cant be accessible to other uses how can i make it possible ? I tried node as block drupal module it just displays teaser of a node as block. I am looking forward for your suggestion. -- Thanks a lot ----------------------------------------- http://ubuntuslave.blogspot.com/ -- [ Drupal support list | http://lists.drupal.org/ ] From rsw-ml at silverarc.biz Sat Dec 27 04:48:10 2008 From: rsw-ml at silverarc.biz (rsw-ml at silverarc.biz) Date: Fri, 26 Dec 2008 23:48:10 -0500 (EST) Subject: [support] Feed Aggregator xml Errors! Message-ID: <56641.59.181.122.24.1230353290.squirrel@www.silverarc.biz> Hello, I have been experiencing some problems with Feed aggregator in Drupal 6.8 When I run cron manually, it shows me the following errors: The feed from National Geographic seems to be broken, because of error "Invalid document end" on line 15.The feed from National Geographic seems to be broken, because of error "200 feed not parseable". I am using openSUSE 11.0 can anyone help?!?! Thanks, Radhika From pcollett at gmail.com Sat Dec 27 05:33:50 2008 From: pcollett at gmail.com (Paul Collett) Date: Sat, 27 Dec 2008 14:33:50 +0900 Subject: [support] Database errors In-Reply-To: <56641.59.181.122.24.1230353290.squirrel@www.silverarc.biz> References: <56641.59.181.122.24.1230353290.squirrel@www.silverarc.biz> Message-ID: <20081227053350.1286146749@smtp.gmail.com> Hi, With the latest version of Drupal 6 (6.8) I've been getting the errors below. Could anyone suggest what the problem might be, or how to fix things? Thanks! Paul [26-Dec-2008 22:31:24] PHP Warning: Unknown column 'serialized' in 'field list' query: SELECT data, created, headers, expire, serialized FROM cache WHERE cid = 'variables' in /public_html/includes/ database.mysqli.inc on line 128 [26-Dec-2008 22:31:24] PHP Warning: Unknown column 'serialized' in 'field list' query: UPDATE cache SET data = 'a:161:{s:13:\"theme_default \";s:4:\"main\";s:13:\"filter_html_1\";i:1;s: 18:\"node_options_forum\";a:1:{i:0;s:6:\"status\";}s: 17:\"menu_primary_menu\";i:2;s:19:\"menu_secondary_menu \";i:2;s:18:\"drupal_private_key\";i:1240156234;s: 17:\"nice_menus_number\";s:1:\"2\";s: 10:\"form_token\";s:32:\" 40c7880984c7022ba02167ccac2285e6\";s:19:\"file_directory_temp \";s:4:\"/tmp\";s:9:\"site_name\";s: 8:\"JALT2007\";s:9:\"site_mail\";s: 16:\"xxxx at jalt.org\";s:11:\"site_slogan\";s:0:\" \";s:12:\"site_mission\";s:0:\"\";s: 9:\"anonymous\";s:9:\"Anonymous\";s: 9:\"clean_url\";s:1:\"1\";s:11:\"error_level \";s:1:\"0\";s:14:\"watchdog_clear\";s:5:\ in / public_html/includes/database.mysqli.inc on line 128 [26-Dec-2008 22:31:24] PHP Warning: Cannot modify header information - headers already sent by (output started at /public_html/includes/ database.mysqli.inc:128) in /public_html/includes/bootstrap.inc on line 610 [26-Dec-2008 22:31:24] PHP Warning: Cannot modify header information - headers already sent by (output started at /public_html/includes/ database.mysqli.inc:128) in /public_html/includes/bootstrap.inc on line 611 [26-Dec-2008 22:31:24] PHP Warning: Cannot modify header information - headers already sent by (output started at /public_html/includes/ database.mysqli.inc:128) in /public_html/includes/bootstrap.inc on line 612 [26-Dec-2008 22:31:24] PHP Warning: Cannot modify header information - headers already sent by (output started at /public_html/includes/ database.mysqli.inc:128) in /public_html/includes/bootstrap.inc on line 613 [26-Dec-2008 22:31:24] PHP Warning: Unknown column 'language' in 'where clause' query: SELECT src FROM url_alias WHERE dst = 'call' AND language IN('en', '') ORDER BY language DESC in / public_html/includes/database.mysqli.inc on line 128 From sivaji2009 at gmail.com Sun Dec 28 08:16:47 2008 From: sivaji2009 at gmail.com (sivaji j.g) Date: Sun, 28 Dec 2008 13:46:47 +0530 Subject: [support] content type notebook In-Reply-To: <20081226165423.0B60CA69AB@hemlock.osuosl.org> References: <20081226165423.0B60CA69AB@hemlock.osuosl.org> Message-ID: On Fri, Dec 26, 2008 at 10:24 PM, Shyamala Rajaram < shyamala at netlinkindia.com> wrote: > http://drupal.org/project/notepad > A very simple module which provides a way for users to have a 'notepad' > area > where they can record any arbitrary text. Thank you for your suggestion, I managed to write a module on my own. :D i will send a snapshot if possible, also i am planning to upload that module to durpal.org but the module is very small module i dont know whether D.O will accept or not, which makes me to think twice to proceed further. -- Thanks a lot ----------------------------------------- http://ubuntuslave.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081228/fb1f78b4/attachment.htm From bsisok at gmail.com Mon Dec 29 00:50:00 2008 From: bsisok at gmail.com (Bob Salsburg) Date: Sun, 28 Dec 2008 19:50:00 -0500 Subject: [support] Old stuff hanging around Message-ID: I have some oddness occurring with my 6.8 installation.There are a few modules that I tried out and subsequently abandoned. The directories have been removed from the /modules directory, yet the items created by them are still present in the form of blocks... or, are mysteriously present, who knows why! Looking for some wisdom on this. Seems like something being cached. Bob From skessler at denverdataman.com Mon Dec 29 02:23:26 2008 From: skessler at denverdataman.com (Steve Kessler) Date: Sun, 28 Dec 2008 19:23:26 -0700 Subject: [support] Old stuff hanging around Message-ID: <20081229022314.4D501DA7CD@silver.osuosl.org> First thing I would try would be to go to admin/build/moudles and click on the uninstall tab and see if that works. I have seen modules thaT i had to delete their blocks by hand. -----Original Message----- From: "Bob Salsburg" To: "drupal support" Sent: 12/28/2008 5:50 PM Subject: [support] Old stuff hanging around I have some oddness occurring with my 6.8 installation.There are a few modules that I tried out and subsequently abandoned. The directories have been removed from the /modules directory, yet the items created by them are still present in the form of blocks... or, are mysteriously present, who knows why! Looking for some wisdom on this. Seems like something being cached. Bob -- [ Drupal support list | http://lists.drupal.org/ ] From bo at bolaurent.com Mon Dec 29 05:39:53 2008 From: bo at bolaurent.com (Bo Laurent) Date: Sun, 28 Dec 2008 21:39:53 -0800 Subject: [support] FAQ module: how to edit questions? Message-ID: <727b1dcc0812282139v6076f73dn4c458a2fc98854ac@mail.gmail.com> I have installed FAQ module, with pathauto, and "Clicking on question opens/hides answer under question". Now I can create FAQs, but I can't see how to edit them. Clicking on the question just displays the answer, and the node number is not revealed. How does one navigate to edit FAQS? My environment: Drupal 6.6 FAQ module 1.1.2.3.2.1 Thanks, Bo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081228/14c4df96/attachment-0001.htm From Robin.Clarke at networkrail.co.uk Mon Dec 29 10:41:33 2008 From: Robin.Clarke at networkrail.co.uk (Clarke Robin) Date: Mon, 29 Dec 2008 10:41:33 -0000 Subject: [support] FAQ module: how to edit questions? References: <727b1dcc0812282139v6076f73dn4c458a2fc98854ac@mail.gmail.com> Message-ID: <0CF90D6CE50B98468B96FECD3CEFE7C9D6FE1D@sr1mm02.corp.UKrail.net> I edit FAQs by going to Administer, Content Management, Content (admin/content/node)? If you do not see you FAQs immediatly, try filtering by type FAQ. ________________________________ From: support-bounces at drupal.org on behalf of Bo Laurent Sent: Mon 29/12/2008 05:39 To: support at drupal.org Subject: [support] FAQ module: how to edit questions? I have installed FAQ module, with pathauto, and "Clicking on question opens/hides answer under question". Now I can create FAQs, but I can't see how to edit them. Clicking on the question just displays the answer, and the node number is not revealed. How does one navigate to edit FAQS? My environment: Drupal 6.6 FAQ module 1.1.2.3.2.1 Thanks, Bo **************************************************************************************************************************************************************** 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 **************************************************************************************************************************************************************** -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 3817 bytes Desc: not available Url : http://lists.drupal.org/pipermail/support/attachments/20081229/ed7e5843/attachment.bin From skessler at denverdataman.com Mon Dec 29 14:37:07 2008 From: skessler at denverdataman.com (Steve Kessler) Date: Mon, 29 Dec 2008 07:37:07 -0700 Subject: [support] FAQ module: how to edit questions? In-Reply-To: <0CF90D6CE50B98468B96FECD3CEFE7C9D6FE1D@sr1mm02.corp.UKrail.net> References: <727b1dcc0812282139v6076f73dn4c458a2fc98854ac@mail.gmail.com> <0CF90D6CE50B98468B96FECD3CEFE7C9D6FE1D@sr1mm02.corp.UKrail.net> Message-ID: <010601c969c2$ed3a1b70$c7ae5250$@com> When you go to the node view for the FAQ by clicking on the title of the FAQ then you should have your edit and track tabs. Steve Kessler Denver DataMan 303-587-4428 Sign up for the Denver DataMan Free eNewsletter From: Clarke Robin [mailto:Robin.Clarke at networkrail.co.uk] Sent: Monday, December 29, 2008 3:42 AM To: support at drupal.org Subject: Re: [support] FAQ module: how to edit questions? I edit FAQs by going to Administer, Content Management, Content (admin/content/node)? If you do not see you FAQs immediatly, try filtering by type FAQ. _____ From: support-bounces at drupal.org on behalf of Bo Laurent Sent: Mon 29/12/2008 05:39 To: support at drupal.org Subject: [support] FAQ module: how to edit questions? I have installed FAQ module, with pathauto, and "Clicking on question opens/hides answer under question". Now I can create FAQs, but I can't see how to edit them. Clicking on the question just displays the answer, and the node number is not revealed. How does one navigate to edit FAQS? My environment: Drupal 6.6 FAQ module 1.1.2.3.2.1 Thanks, Bo **************************************************************************** **************************************************************************** ******** 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 **************************************************************************** **************************************************************************** ******** -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 6842 bytes Desc: not available Url : http://lists.drupal.org/pipermail/support/attachments/20081229/ef02ef78/attachment.bin From johnny.xiao at Q1Labs.com Mon Dec 29 15:24:42 2008 From: johnny.xiao at Q1Labs.com (Johnny Xiao) Date: Mon, 29 Dec 2008 11:24:42 -0400 Subject: [support] submit Forum reply without preview 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 using Drupal 6.6 and forum module. I am wondering if I can submit a forum reply without preview. Can anyone help me to find where I can set this up. From johnny.xiao at Q1Labs.com Mon Dec 29 15:34:16 2008 From: johnny.xiao at Q1Labs.com (Johnny Xiao) Date: Mon, 29 Dec 2008 11:34:16 -0400 Subject: [support] submit Forum reply without preview 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 found the solution: /admin/content/node-type/forum, Under Comment settings, set Preview comment to optional. This should do the trick -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Johnny Xiao Sent: Monday, December 29, 2008 11:25 AM To: support at drupal.org Subject: [support] submit Forum reply without preview I am using Drupal 6.6 and forum module. I am wondering if I can submit a forum reply without preview. Can anyone help me to find where I can set this up. -- [ Drupal support list | http://lists.drupal.org/ ] From tbryson at emory.edu Mon Dec 29 17:46:55 2008 From: tbryson at emory.edu (Bryson, Tim) Date: Mon, 29 Dec 2008 12:46:55 -0500 Subject: [support] Contact.module mail issue D6.8 Message-ID: <488A28F4B40F8A4F8E21ACC33FCE046701FA865AA25B@EXCHANGE21.Enterprise.emory.net> Newbie here so apologies in advance if this is the wrong venue to ask this. I couldn't find a contact.module issues page. It may be a system mail issue anyway because I also had problems with mail-related modules Mime Mail and SMTP. When I send a test mail from the contact form on my test site, it arrives ok, i.e, with plain text message displayed in message body. When I send from production site with same contact form config, not ok. That is, the message arrives with nothing in the message body and with empty attachments. Test site is a subdomain of the production site on the same server, same codebase (Drupal 6.8). The only difference in the message headers seems to be in the content-type. Test site message content-type: text/plain; charset=UTF-8; format=flowed; delsp=yes Production site content-type: multipart/alternative; charset=utf-8; boundary="0a99274a7e9d0d3f848edc5aabb774d9" I had possibly related problems trying to work with Mime Mail and SMTP modules.... Mime Mail could not send html emails properly to Outlook 2007 exchange. The messages would arrive with a lot of code in the message body and the html in an attachment. Worked ok in gmail and yahoo. SMTP could not connect to the smtp server on bluehost.com. Bluehost confirmed my settings were correct. Copy/pasting same html from drupal sites to my phplist on bluehost.com and sending works perfectly. Thanks for any assistance, Tim ________________________________ This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081229/2a1bcf1f/attachment.htm From johnny.xiao at Q1Labs.com Tue Dec 30 13:48:21 2008 From: johnny.xiao at Q1Labs.com (Johnny Xiao) Date: Tue, 30 Dec 2008 09:48:21 -0400 Subject: [support] Is it possible to add more pattern for mail editor template 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 using Mail Editor Module for editing my subscription emails. Since I have multiple taxonomies associate with one node, I wonder if it is Possible to add more patterns to in the pattern list, so I can use them in Subscription emails to distinguish different nodes. (in my case, some of my Nodes have same names but with different taxonomy) From cheriejd at gmail.com Tue Dec 30 17:15:37 2008 From: cheriejd at gmail.com (Cherie Davis) Date: Tue, 30 Dec 2008 12:15:37 -0500 Subject: [support] Adding Audio area to content type with CCK Message-ID: <9b72ba190812300915m117b14bax70e864f51e99652@mail.gmail.com> I have the audio module uploaded to my site and would like to be able to upload audio files to a specific content type. Do I need an additional module? The audio option does not show in the pulldown menu for content types when adding a new field. thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081230/764451b4/attachment.htm From forums at ipwa.net Tue Dec 30 19:23:02 2008 From: forums at ipwa.net (Nicolas Borda) Date: Tue, 30 Dec 2008 19:23:02 +0000 Subject: [support] Adding Audio area to content type with CCK In-Reply-To: <9b72ba190812300915m117b14bax70e864f51e99652@mail.gmail.com> References: <9b72ba190812300915m117b14bax70e864f51e99652@mail.gmail.com> Message-ID: On 30 Dec 2008, at 17:15, Cherie Davis wrote: > I have the audio module uploaded to my site and would like to be > able to upload audio files to a specific content type. Do I need an > additional module? The audio option does not show in the pulldown > menu for content types when adding a new field. I've never used the audio module, but was just going over the documentation (http://drupal.org/handbook/modules/audio). It seems that you get an audio content type which you can add fields to, but there is no CCK field provided with the module. There has been some discussion on this on the queue for the module but the thread is not really active since last year. You can look into mediafield (http:// drupal.org/project/mediafield) for an audio CCK field. Here are some relates links: http://drupal.org/node/93197 http://drupal.org/node/69708 HTH -- Nicolas Borda http://nic.ipwa.net/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081230/54adff4c/attachment.htm From jhedstrom at opensourcery.com Wed Dec 31 00:57:10 2008 From: jhedstrom at opensourcery.com (Jonathan Hedstrom) Date: Tue, 30 Dec 2008 16:57:10 -0800 Subject: [support] Theme Function For Adding jQuery In-Reply-To: <494FF9D2.1010004@comcast.net> References: <494FF9D2.1010004@comcast.net> Message-ID: <495AC366.8050600@opensourcery.com> Steve Edwards wrote: > I want to create a function in my template.php that will set a > different banner for certain pages by modifying the background > property for the div with jQuery. The jQuery is pretty easy (I would > just add it using drupal_add_js()), but what I can't figure out is how > to call it from template.php. Can I just create my own function in > template.php that calls drupal_add_js()? Or do I have to use a hook? > I need to have the current URL available to the function. My first > thought was to use a preprocess hook, but it seems that the preprocess > is for adding variables, not this. If I wanted to write a module I > could do something like hook_init, but I don't want to have to do a > module for something small like this if I don't have to. You can add this via template.php, but before I explain how to do it that way, you can also simply add the jQuery to script.js, clear the theme registry, and then the Drupal template system will automatically add script.js to all you pages. To add js that doesn't need to be on all pages, or is dynamic in some way, you can add the following to template.php if (mytheme_conditional_function()) { // Only add js when above condition is met drupal_add_js('path/to/js/file', 'theme'); drupal_add_js(mytheme_some_dynamically_generated_js(), 'inline'); } // Always add js ... This needs to go /outside/ of any function. JS can also be added via mytheme_preprocess_page(), but that gets trickier since the js for a given page has already been aggregated at that point. More info on all of this can be found here: http://drupal.org/node/171213 Cheers, Jonathan -- Jonathan Hedstrom OpenSourcery http://opensourcery.com Technology for Good -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature Url : http://lists.drupal.org/pipermail/support/attachments/20081230/fd9579e5/attachment.pgp From shai at content2zero.com Wed Dec 31 20:15:06 2008 From: shai at content2zero.com (Shai Gluskin) Date: Wed, 31 Dec 2008 15:15:06 -0500 Subject: [support] Update Status Doesn't Work for Login-Toboggan after Upgrade In-Reply-To: <49541759.4080600@funnymonkey.com> References: <9f68efb70812232015n65a3bb5pf858c99cf4159c43@mail.gmail.com> <49541759.4080600@funnymonkey.com> Message-ID: <9f68efb70812311215y17675346nbd6a7d69af408588@mail.gmail.com> Hi Marc and all, cvs_deploy module is installed. All the other modules I have installed are showing up on the Update Status page... just not Login Logintoboggan. any other ideas? Happy New Year. shai On Thu, Dec 25, 2008 at 6:29 PM, Marc Poris wrote: > Shai, > > You probably need to use the cvs_deploy module -- see the first Quick > FAQ question here: http://drupal.org/project/update_status > > - Marc > > > > Shai Gluskin wrote: > > Gang, > > > > This is just annoying... > > > > Logintoboggan doesn't show up in the update status report. Otherwise > > it seems to be installed fine. It shows up on the module menu and its > > configuration screens work. > > > > This problem ocurred after I upgraded logintoboggan from 6--1-2 to > 6--1-3. > > > > My method, for various reasons, is that for modules I use CVS but I > > delete the old version and add the new version instead of using the > > update command. I have the whole thing wrapped in SVN. Don't know if > > this is at all relevant. > > > > Any ideas? > > > > Shai > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081231/910cff61/attachment-0001.htm