From pkim at reachlocal.com Wed Oct 1 00:11:56 2008 From: pkim at reachlocal.com (Paul Kim) Date: Tue, 30 Sep 2008 17:11:56 -0700 Subject: [support] Form api GET/POST method not working In-Reply-To: <6887280e0809301556i7bfef700rfa3c761d46cb363f@mail.gmail.com> References: <6887280e0809301556i7bfef700rfa3c761d46cb363f@mail.gmail.com> Message-ID: <48E2C04C.3010008@reachlocal.com> D'oh! Homer Simpson wrote: > Hi, > > I'm creating a form module using form api in Drupal 6.x. The form > validation is done on a different page in the same theme. > > if I use > $form['#method'] = 'get'; > I'm able to obtain the variables through GET method, but > $form_state['redirect'] is NOT working for me. > For GET method, I access the variables directly by their names. > > if I user > $form['#method'] = 'post'; > I'm NOT able to obtain the variables through POST method, but > $form_state['redirect'] is working for me. > For POST I tried both accessing the variables directly, and through > the array $_POST['edit']. > > How do I get either of these methods to work completely ? > > Thank you > From dan at karran.net Wed Oct 1 11:36:57 2008 From: dan at karran.net (Dan Karran) Date: Wed, 1 Oct 2008 12:36:57 +0100 Subject: [support] rss in drupal In-Reply-To: <48E29E1A.9020208@opensourcery.com> References: <510EFEE373284F3F90851FCEAC86B2CC@data> <48E29E1A.9020208@opensourcery.com> Message-ID: <37d514850810010436l312226c5rf3768bbec452e6be@mail.gmail.com> On Tue, Sep 30, 2008 at 10:46 PM, Jonathan Hedstrom wrote: > Simone Dal Maso wrote: >> Hi, >> I have a site of about 1000 nodes. >> but, when I try to subscribe my rss feed, i see only the 3/4 nodes in >> homepages. >> How can I organize rss or, how can I include each node to the rss when >> it is published? > You can change the value, within reason, here: > > http://{site}/admin/content/rss-publishing You could also use Views module to generate exactly the list you want, and give it an RSS feed. It gives you more control than the standard RSS feed that comes built in (latest nodes promoted to front page). Cheers, Dan -- Dan Karran dan at karran.net www.dankarran.com From amont at 5net.hu Wed Oct 1 14:14:58 2008 From: amont at 5net.hu (=?ISO-8859-2?Q?=C1mon_Tam=E1s?=) Date: Wed, 01 Oct 2008 16:14:58 +0200 Subject: [support] theme locale links Message-ID: <48E385E2.2070105@5net.hu> Hello, I like to theme the links what is in the end of locale_block(). How can I make it drupal 6? ?mon Tam?s Sitefejleszt? ?s programoz? -- 5NET Informatikai Kft. 1062 Budapest, Aradi utca 38. A 3/11 telefon: (1) 461-0205 | fax: (1) 461-0206 e-mail: amont at 5net.hu | web: http://www.5net.hu From ratadi2 at gmail.com Thu Oct 2 05:49:43 2008 From: ratadi2 at gmail.com (geniekids) Date: Wed, 1 Oct 2008 22:49:43 -0700 (PDT) Subject: [support] how to add a link for comments in views Message-ID: <19773780.post@talk.nabble.com> I have a view which shows few fields of a CCK node. If i use FULL NODE VIEW - i get a link at the bottom which takes me to see the comments on that particular node. # Comments How do i put a similar kind of link (to all comments) in a list or table view? -- View this message in context: http://www.nabble.com/how-to-add-a-link-for-comments-in-views-tp19773780p19773780.html Sent from the Drupal - Support mailing list archive at Nabble.com. From cjones at partialflow.com Thu Oct 2 13:53:05 2008 From: cjones at partialflow.com (Christopher M. Jones) Date: Thu, 02 Oct 2008 09:53:05 -0400 Subject: [support] domain access settings and permissions Message-ID: <48E4D241.1000808@partialflow.com> I recently installed the domain access module on my wife's blog. She wants two blogs, with some content shared. So this seemed like the solution. However, I am having some trouble. I think it's either a permissions issue, or its got something to do with the author settings on her existing content. Anyway, this is what is happening: We have three domains: example.com sub1.example.com sub2.example.com None of these domains shows any content (I get the default Drupal 'welcome' on all of them). If I visit her blog at blog/user/3 then I have a message that the user has not posted anything. But if I log in and visit the same blog/user/3 then I see all her content. When I'm admin on sub1.example.com I am sometimes told I do not have permission to do things. For example, I can configure all domain access settings until I attempt to enter the "Batch Updating" tab. I am then denied access. When I'm admin on example.com I cannot view content assigned to an affiliate. Clearly, I am missing something. BTW, one of the first things I did when I installed this module is change the publish status of all her content. I sent it to sub1.example.com, where it was set to 'all' before. From cjones at partialflow.com Thu Oct 2 16:52:56 2008 From: cjones at partialflow.com (Christopher M. Jones) Date: Thu, 02 Oct 2008 12:52:56 -0400 Subject: [support] UPDATE: domain access settings and permissions Message-ID: <48E4FC68.7030205@partialflow.com> /** this is an update to my previous post **/ When I changed content back to "all", for send to all affiliates, thereby overriding the affiliate specific settings, the content appeared again. I created a page at sub1.example.com, published it to sub1.example.com. As anonymous, I get an "Access Denied" message when trying to visit the page. /** below is my original message **/ I recently installed the domain access module on my wife's blog. She wants two blogs, with some content shared. So this seemed like the solution. However, I am having some trouble. I think it's either a permissions issue, or its got something to do with the author settings on her existing content. Anyway, this is what is happening: We have three domains: example.com sub1.example.com sub2.example.com None of these domains shows any content (I get the default Drupal 'welcome' on all of them). If I visit her blog at blog/user/3 then I have a message that the user has not posted anything. But if I log in and visit the same blog/user/3 then I see all her content. When I'm admin on sub1.example.com I am sometimes told I do not have permission to do things. For example, I can configure all domain access settings until I attempt to enter the "Batch Updating" tab. I am then denied access. When I'm admin on example.com I cannot view content assigned to an affiliate. Clearly, I am missing something. BTW, one of the first things I did when I installed this module is change the publish status of all her content. I sent it to sub1.example.com, where it was set to 'all' before. -- [ Drupal support list | http://lists.drupal.org/ ] From vishakhatambe.mcs at gmail.com Fri Oct 3 07:11:18 2008 From: vishakhatambe.mcs at gmail.com (Vishakha Tambe) Date: Fri, 3 Oct 2008 12:41:18 +0530 Subject: [support] PrivateMsg Module Message-ID: Hello All, I'm using privateMsg module. There is reply facility in the module. But i want to make some changes in that. When any user will click on "Reply to this message" link, then he should be diverted to the page which i've created. In that page i want user to pay something to have reply facility. But how can i divert user to that page? I'm trying with changes in privatemsg.module file, bt not finding a right way. Regards, Vishakha -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081003/1e3d5ab0/attachment.htm From marolijo at yahoo.es Fri Oct 3 12:40:47 2008 From: marolijo at yahoo.es (Marolijo / Pol Maresma) Date: Fri, 3 Oct 2008 14:40:47 +0200 Subject: [support] Some nodes repeated on views Message-ID: <005b01c92555$43d1a370$0601a8c0@zeus> Hi! I have a view that duplicates some entries. I cleared views cache and I'm sure it's not a filter error problem. any idea? thank's! Pol Maresma -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081003/c309bc4c/attachment-0001.htm From marolijo at yahoo.es Fri Oct 3 12:55:01 2008 From: marolijo at yahoo.es (Marolijo / Pol Maresma) Date: Fri, 3 Oct 2008 14:55:01 +0200 Subject: [support] Performance with APC/cacherouter Message-ID: <006b01c92557$411cd1c0$0601a8c0@zeus> Hi, I'm on a performance issue. On my server (VPS/Centos/Plesk) I have performance issues. I'd cheched I'm not out of memory/CPU... I'd installed APC and configured it with cacherouter I'd reared some guides like this http://drupal.org/project/cacherouter http://buytaert.net/drupal-5-performance But now my system is working well when serving cached sites (i tested it with ab) but sometimes the homepage is still served very slow (10/12 seconds sometimes). I assume it's when cache is created? The site I'm testing on is http://www.gravat.com The modules I use are CCK/Views/Slideshow/Ubercart. Thank's a lot! 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/20081003/bba37bda/attachment.htm From walter.garcia at upf.edu Fri Oct 3 14:16:30 2008 From: walter.garcia at upf.edu (Walter Garcia-Fontes) Date: Fri, 3 Oct 2008 16:16:30 +0200 Subject: [support] Some nodes repeated on views In-Reply-To: <005b01c92555$43d1a370$0601a8c0@zeus> References: <005b01c92555$43d1a370$0601a8c0@zeus> Message-ID: <20081003141630.GA9085@upf.edu> * Marolijo / Pol Maresma [03/10/08 14:49]: > Hi! I have a view that duplicates some entries. I cleared views cache and I'm > sure it's not a filter error problem. > any idea? It happened also to me with a particular view. Deleting it and creating it again solved the problem for me.... (this was around Drupal 5.2 or so). -- Walter Garcia-Fontes Barcelona From marolijo at yahoo.es Fri Oct 3 16:16:42 2008 From: marolijo at yahoo.es (Marolijo / Pol Maresma) Date: Fri, 3 Oct 2008 18:16:42 +0200 Subject: [support] Some nodes repeated on views In-Reply-To: <20081003141630.GA9085@upf.edu> References: <005b01c92555$43d1a370$0601a8c0@zeus> <20081003141630.GA9085@upf.edu> Message-ID: <00ce01c92573$6da7f3c0$0601a8c0@zeus> Thank's, I'm goin' to update the Drupal version and see... Salut! -----Mensaje original----- De: support-bounces at drupal.org [mailto:support-bounces at drupal.org] En nombre de Walter Garcia-Fontes Enviado el: viernes, 03 de octubre de 2008 16:17 Para: support at drupal.org Asunto: Re: [support] Some nodes repeated on views * Marolijo / Pol Maresma [03/10/08 14:49]: > Hi! I have a view that duplicates some entries. I cleared views cache > and I'm sure it's not a filter error problem. > any idea? It happened also to me with a particular view. Deleting it and creating it again solved the problem for me.... (this was around Drupal 5.2 or so). -- Walter Garcia-Fontes Barcelona -- [ Drupal support list | http://lists.drupal.org/ ] __________ Informacisn de NOD32, revisisn 3493 (20081003) __________ Este mensaje ha sido analizado con NOD32 antivirus system http://www.nod32.com From daniel.carrera at zmsl.com Fri Oct 3 18:37:48 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Fri, 03 Oct 2008 20:37:48 +0200 Subject: [support] Passwords in Drupal Message-ID: <48E6667C.2080904@zmsl.com> Hello, This isn't a question but rather a comment. I'm not sure if this is the right list to bring this up. I just noticed that Drupal stores user passwords as a simple MD5 sum: md5($password) Sure, MD5(passwd) clearly beats plain text, but I was hoping for something better. In particular, I was hoping to see secure salts and maybe other security features. The current system has vulnerabilities. You can compute the hashes for a standard dictionary of passwords and compare the hashes. Some passwords are very common ("password" and "password1"). I just tried it on my system an I found 6 users whose password is password. Because MD5 is a very cheap function and there are no salts, a dictionary attack is quite easy. I understand that there are already millions of Drupal users and you can't drop MD5(pass). But I can still suggest a simple upgrade path that results in a secure hash. A future version of Drupal (e.g. Drupal 7) could use a hash of the form: $salt = "uqYmV7yoUFYLQ5AspBK"; // Anything long and random is fine. $hash = hash_hmac('sha1', md5($passwd), $user_id . $salt); There, simple. The last parameter the key, but we only use it as a salt. Notice how each user gets a different salt. This makes dictionary attacks more difficult. I use HMAC rather than SHA1 because it has great key-mixing properties. With SHA1 the salt ($user_id.$salt) would have important weaknesses. If a future version of Drupal used this hash, it would be easy to migrate users from previous versions of Drupal. The upgrade.php program would grab the password field - MDF(pass) - and user id of each user, compute the new hash, and store that back into the password field. For brownie points we could add another step that runs the hash through a slower compression algorithm like Blowfish or Serpent. The idea is that if computing a hash is more expensive, we can foil dictionary attacks more effectively. What do you think? Daniel. From tapocol at gmail.com Fri Oct 3 18:51:54 2008 From: tapocol at gmail.com (Craig Jackson) Date: Fri, 3 Oct 2008 12:51:54 -0600 Subject: [support] Passwords in Drupal In-Reply-To: <48E6667C.2080904@zmsl.com> References: <48E6667C.2080904@zmsl.com> Message-ID: <60cae1c50810031151y2883bea8tc845887576ec7f35@mail.gmail.com> http://drupal.org/project/salt Plus, there was a huge issue ticket that got committed to Drupal 7 in April: http://drupal.org/node/29706 Hope this helps, Craig On Fri, Oct 3, 2008 at 12:37 PM, Daniel Carrera wrote: > Hello, > > This isn't a question but rather a comment. I'm not sure if this is the > right list to bring this up. I just noticed that Drupal stores user > passwords as a simple MD5 sum: md5($password) > > > Sure, MD5(passwd) clearly beats plain text, but I was hoping for > something better. In particular, I was hoping to see secure salts and > maybe other security features. The current system has vulnerabilities. > You can compute the hashes for a standard dictionary of passwords and > compare the hashes. Some passwords are very common ("password" and > "password1"). I just tried it on my system an I found 6 users whose > password is password. Because MD5 is a very cheap function and there are > no salts, a dictionary attack is quite easy. > > > I understand that there are already millions of Drupal users and you > can't drop MD5(pass). But I can still suggest a simple upgrade path that > results in a secure hash. A future version of Drupal (e.g. Drupal 7) > could use a hash of the form: > > > $salt = "uqYmV7yoUFYLQ5AspBK"; // Anything long and random is fine. > > $hash = hash_hmac('sha1', md5($passwd), $user_id . $salt); > > > There, simple. The last parameter the key, but we only use it as a salt. > Notice how each user gets a different salt. This makes dictionary > attacks more difficult. I use HMAC rather than SHA1 because it has great > key-mixing properties. With SHA1 the salt ($user_id.$salt) would have > important weaknesses. > > If a future version of Drupal used this hash, it would be easy to > migrate users from previous versions of Drupal. The upgrade.php program > would grab the password field - MDF(pass) - and user id of each user, > compute the new hash, and store that back into the password field. > > For brownie points we could add another step that runs the hash through > a slower compression algorithm like Blowfish or Serpent. The idea is > that if computing a hash is more expensive, we can foil dictionary > attacks more effectively. > > What do you think? > > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] > From brettev at gmail.com Fri Oct 3 21:54:29 2008 From: brettev at gmail.com (Brett Evanson) Date: Fri, 3 Oct 2008 15:54:29 -0600 Subject: [support] Privatemsg Access Denied Error Message-ID: <972255370810031454h2d881d30v13991bb0036835d3@mail.gmail.com> I posted this on the privatemsg issue list, but I thought I might get a bite off the support list, too. I get an Access Denied message when I go to /privatemsg However, when I go to /privatemsg/msgto it works. I have the "Access Private Messages" Permission set for authenticated users. I'm logged in. Are there any known modules this doesn't play well with? Stuff like OG? When I log in as admin, it works fine. It definitely seems like something screwy with permissions. I have cleared cache tables and my browser cache multiple times. Please help! -- Brett Evanson From pinglaura at gmail.com Fri Oct 3 22:08:21 2008 From: pinglaura at gmail.com (Laura Scott) Date: Fri, 3 Oct 2008 16:08:21 -0600 Subject: [support] Privatemsg Access Denied Error In-Reply-To: <972255370810031454h2d881d30v13991bb0036835d3@mail.gmail.com> References: <972255370810031454h2d881d30v13991bb0036835d3@mail.gmail.com> Message-ID: You might try rebuilding your permissions table and see what happens. Laura On Oct 3, 2008, at 3:54 PM, Brett Evanson wrote: > I posted this on the privatemsg issue list, but I thought I might get > a bite off the support list, too. I get an Access Denied message when > I go to /privatemsg However, when I go to /privatemsg/msgto it works. > I have the "Access Private Messages" Permission set for authenticated > users. I'm logged in. Are there any known modules this doesn't play > well with? Stuff like OG? > > When I log in as admin, it works fine. It definitely seems like > something screwy with permissions. > > I have cleared cache tables and my browser cache multiple times. > Please help! > > -- > Brett Evanson > -- > [ Drupal support list | http://lists.drupal.org/ ] From brettev at gmail.com Fri Oct 3 22:18:52 2008 From: brettev at gmail.com (Brett Evanson) Date: Fri, 3 Oct 2008 16:18:52 -0600 Subject: [support] Privatemsg Access Denied Error In-Reply-To: References: <972255370810031454h2d881d30v13991bb0036835d3@mail.gmail.com> Message-ID: <972255370810031518m1c25cdb4t885e38decfe10c6@mail.gmail.com> How do you do this when you have OG and other modules that handle all that? On Fri, Oct 3, 2008 at 4:08 PM, Laura Scott wrote: > You might try rebuilding your permissions table and see what happens. > > Laura > > On Oct 3, 2008, at 3:54 PM, Brett Evanson wrote: > >> I posted this on the privatemsg issue list, but I thought I might get >> a bite off the support list, too. I get an Access Denied message when >> I go to /privatemsg However, when I go to /privatemsg/msgto it works. >> I have the "Access Private Messages" Permission set for authenticated >> users. I'm logged in. Are there any known modules this doesn't play >> well with? Stuff like OG? >> >> When I log in as admin, it works fine. It definitely seems like >> something screwy with permissions. >> >> I have cleared cache tables and my browser cache multiple times. >> Please help! >> >> -- >> Brett Evanson >> -- >> [ Drupal support list | http://lists.drupal.org/ ] > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Brett Evanson From bharanikumariyerphp at gmail.com Sat Oct 4 10:11:07 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Sat, 4 Oct 2008 15:41:07 +0530 Subject: [support] refer some free drupal web hosting Message-ID: <2240033d0810040311q7a2f052fne38212929c7510ce@mail.gmail.com> Hi Friends Can any one refer some free web host which support the drupal CMS, Also one thing that is , Web Host FTP control must be given to my hand, Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081004/42724741/attachment.htm From nareshvaj at gmail.com Sat Oct 4 10:39:14 2008 From: nareshvaj at gmail.com (Naresh Vajawat) Date: Sat, 4 Oct 2008 16:09:14 +0530 Subject: [support] refer some free drupal web hosting In-Reply-To: <2240033d0810040311q7a2f052fne38212929c7510ce@mail.gmail.com> References: <2240033d0810040311q7a2f052fne38212929c7510ce@mail.gmail.com> Message-ID: <1ef612350810040339h679152eep51353d9ca2eeb5d0@mail.gmail.com> try bluehost.com or site5. thanks, Naresh On Sat, Oct 4, 2008 at 3:41 PM, bharani kumar wrote: > Hi Friends > > Can any one refer some free web host which support the drupal CMS, > > Also one thing that is , > > Web Host FTP control must be given to my hand, > > > Thanks > > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081004/e17c50f0/attachment.htm From luca.capra at gmail.com Sat Oct 4 12:11:51 2008 From: luca.capra at gmail.com (luca capra) Date: Sat, 04 Oct 2008 14:11:51 +0200 Subject: [support] Strange behavior of upload in drupal.js Message-ID: <48E75D87.2000106@gmail.com> Hi, I've got a multisite installation of drupal 5.10. In the main domain, when adding content the upload module give me back an error keeping the animation running. The #redirect-target has inside the json data but trought firebug I get a "data is null" referred to line 131 of drupal.js This is caused I think by this line (about 56) /response = (iframe.contentWindow || iframe.contentDocument || iframe).document.body.innerHTML; /If I try to see content with the console.log() command I get something like "Permission denied to obtain the property Window.document" This happens on various browsers and only in the main site (other upload in subdomains works well). (maybe a theme related error?) Did somebody ever had a similar problem ? Cheers, Lu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081004/c4df7720/attachment.htm From bharanikumariyerphp at gmail.com Sat Oct 4 12:38:01 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Sat, 4 Oct 2008 18:08:01 +0530 Subject: [support] refer some free drupal web hosting In-Reply-To: <1ef612350810040339h679152eep51353d9ca2eeb5d0@mail.gmail.com> References: <2240033d0810040311q7a2f052fne38212929c7510ce@mail.gmail.com> <1ef612350810040339h679152eep51353d9ca2eeb5d0@mail.gmail.com> Message-ID: <2240033d0810040538w6ac55149p429f7db269afe73b@mail.gmail.com> I Expecting free web host only On Sat, Oct 4, 2008 at 4:09 PM, Naresh Vajawat wrote: > try bluehost.com or site5. > > thanks, > Naresh > > On Sat, Oct 4, 2008 at 3:41 PM, bharani kumar < > bharanikumariyerphp at gmail.com> wrote: > >> Hi Friends >> >> Can any one refer some free web host which support the drupal CMS, >> >> Also one thing that is , >> >> Web Host FTP control must be given to my hand, >> >> >> Thanks >> >> >> >> >> -- >> [ 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/20081004/726594e0/attachment.htm From luca.capra at gmail.com Sat Oct 4 16:31:46 2008 From: luca.capra at gmail.com (luca capra) Date: Sat, 04 Oct 2008 18:31:46 +0200 Subject: [support] Strange behavior of upload in drupal.js Message-ID: <48E79A72.2000500@gmail.com> Hi all, I've got a multisite installation of drupal 5.10. In the main domain, when adding an item via upload form (or imagefield) the server give me back an error keeping the animation running. The #redirect-target has inside the json data but trought firebug I get a "data is null" referred to line 131 of drupal.js This is caused I think by this line (about 56) /response = (iframe.contentWindow || iframe.contentDocument || iframe).document.body.innerHTML; /that say (from console.log) "Permission denied to obtain the property Window.document" This happens on various browsers and only in the main site (upload in subdomains works well). (maybe a theme related error?) Did somebody ever had a similar problem ? Cheers, Lu From xavier.bestel at free.fr Sat Oct 4 16:36:07 2008 From: xavier.bestel at free.fr (Xavier Bestel) Date: Sat, 04 Oct 2008 18:36:07 +0200 Subject: [support] [Drupal 5] can't edit users anymore Message-ID: <1223138167.5816.7.camel@bip.parateam.prv> Hi, since not long ago, I can't edit my users anymore. When I try to edit an user, e.g. to go to: http://example.com/user/2/edit I'm redirected to: wyciwyg://20/http://example.com/user/2/edit (the "20" is increasing at each try) it's an empty unthemed page with only a "disable rich-text" link (the same that's present on the tinymce editor), which tries to load forever. Any hint ? Thanks, Xav From kyle at lodge.glasgownet.com Sun Oct 5 23:30:57 2008 From: kyle at lodge.glasgownet.com (Kyle Gordon) Date: Mon, 06 Oct 2008 00:30:57 +0100 Subject: [support] flickr photos from group Message-ID: <48E94E31.10008@lodge.glasgownet.com> Hi all, I'm wondering if it's at all possible to integrate Flickr group photos into Drupal 5? I have the Flickr module installed, and it seems to work well for photos from my personal account, but I'd like to use it to display photos from a group that I administer. Any hints or suggestions would be greatly appreciated. Regards Kyle -- Kyle Gordon - 2M1DIQ Web: http://lodge.glasgownet.com Jabber/Email/SIP: kyle at lodge.glasgownet.com From nick_young at ncsu.edu Mon Oct 6 12:49:33 2008 From: nick_young at ncsu.edu (Nick Young) Date: Mon, 06 Oct 2008 08:49:33 -0400 Subject: [support] block visibility based on role AND path In-Reply-To: <48E4D241.1000808@partialflow.com> References: <48E4D241.1000808@partialflow.com> Message-ID: <48EA095D.8070005@ncsu.edu> (Issue in Drupal 6) I need a php snippet that allows me to display (or hide) a block based on whether the user logged in is a member of a certain role, and that they are browsing the site at a certain path. I am able to display a block based on one of these things, but not both. IE: I can display a block if the user is a member of a role. I can display a block at a certain path (/node/path/x) However, if i combine the two pieces of php code, then if one of them returns true, the block shows. What i need is for it to check if the path is TRUE, and then also check for the role membership. I have tested the code externally to Drupal, to make sure the nested IF statements are working properly, and they are. It's almost as if Drupal sees the first TRUE, and then stops looking to see if there are multiple conditions to check for as well. Any ideas? Thanks in advance. ........................................................................ Nick Young Outreach, Communications & Consulting Office of Information Technology North Carolina State University Box 7109, Raleigh 27695 Ph. 919.513.2716 | E-Mail: nick_young at ncsu.edu ........................................................................ From bharanikumariyerphp at gmail.com Mon Oct 6 13:34:09 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Mon, 6 Oct 2008 19:04:09 +0530 Subject: [support] block visibility based on role AND path In-Reply-To: <48EA095D.8070005@ncsu.edu> References: <48E4D241.1000808@partialflow.com> <48EA095D.8070005@ncsu.edu> Message-ID: <2240033d0810060634s25896344qc9eaf7e577ecec19@mail.gmail.com> May this is clue, If you know member id, , Go to block configure select " Show if the following PHP code returns TRUE (PHP-mode, experts only). " and write the code global $user $userid=$user->uid; if($userid ==10 || $userid ==10 ){ return TRUE; } else{ return FALSE; } On Mon, Oct 6, 2008 at 6:19 PM, Nick Young wrote: > (Issue in Drupal 6) > I need a php snippet that allows me to display (or hide) a block based > on whether the user logged in is a member of a certain role, and that > they are browsing the site at a certain path. I am able to display a > block based on one of these things, but not both. > > IE: > I can display a block if the user is a member of a role. > I can display a block at a certain path (/node/path/x) > > However, if i combine the two pieces of php code, then if one of them > returns true, the block shows. What i need is for it to check if the > path is TRUE, and then also check for the role membership. I have tested > the code externally to Drupal, to make sure the nested IF statements are > working properly, and they are. It's almost as if Drupal sees the first > TRUE, and then stops looking to see if there are multiple conditions to > check for as well. > > Any ideas? Thanks in advance. > > ........................................................................ > Nick Young > Outreach, Communications & Consulting > Office of Information Technology > North Carolina State University > Box 7109, Raleigh 27695 > Ph. 919.513.2716 | E-Mail: nick_young at ncsu.edu > > ........................................................................ > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081006/6d413ca2/attachment-0001.htm From skessler at denverdataman.com Mon Oct 6 13:59:51 2008 From: skessler at denverdataman.com (Steve Kessler) Date: Mon, 6 Oct 2008 07:59:51 -0600 Subject: [support] block visibility based on role AND path In-Reply-To: <2240033d0810060634s25896344qc9eaf7e577ecec19@mail.gmail.com> References: <48E4D241.1000808@partialflow.com> <48EA095D.8070005@ncsu.edu> <2240033d0810060634s25896344qc9eaf7e577ecec19@mail.gmail.com> Message-ID: <036f01c927bb$ce0bb090$6a2311b0$@com> Why does PHP need to be used. In the blocks settings you can determine visibility for a specific roles as well as specific paths. For example you could say that only editors see an editing tool bar on all pages content/* I may be missing what is going on here but this sounds similar than needing to do PHP. Thanks, Steve Steve Kessler Denver DataMan 303-587-4428 Sign up for the Denver DataMan Free eNewsletter From: bharani kumar [mailto:bharanikumariyerphp at gmail.com] Sent: Monday, October 06, 2008 7:34 AM To: support at drupal.org; nick_young at ncsu.edu Subject: Re: [support] block visibility based on role AND path May this is clue, If you know member id, , Go to block configure select " Show if the following PHP code returns TRUE (PHP-mode, experts only). " and write the code global $user $userid=$user->uid; if($userid ==10 || $userid ==10 ){ return TRUE; } else{ return FALSE; } On Mon, Oct 6, 2008 at 6:19 PM, Nick Young wrote: (Issue in Drupal 6) I need a php snippet that allows me to display (or hide) a block based on whether the user logged in is a member of a certain role, and that they are browsing the site at a certain path. I am able to display a block based on one of these things, but not both. IE: I can display a block if the user is a member of a role. I can display a block at a certain path (/node/path/x) However, if i combine the two pieces of php code, then if one of them returns true, the block shows. What i need is for it to check if the path is TRUE, and then also check for the role membership. I have tested the code externally to Drupal, to make sure the nested IF statements are working properly, and they are. It's almost as if Drupal sees the first TRUE, and then stops looking to see if there are multiple conditions to check for as well. Any ideas? Thanks in advance. ........................................................................ Nick Young Outreach, Communications & Consulting Office of Information Technology North Carolina State University Box 7109, Raleigh 27695 Ph. 919.513.2716 | E-Mail: nick_young at ncsu.edu ........................................................................ -- [ Drupal support list | http://lists.drupal.org/ ] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081006/2748cfc8/attachment.htm From nick_young at ncsu.edu Mon Oct 6 14:09:30 2008 From: nick_young at ncsu.edu (Nick Young) Date: Mon, 06 Oct 2008 10:09:30 -0400 Subject: [support] block visibility based on role AND path In-Reply-To: <036f01c927bb$ce0bb090$6a2311b0$@com> References: <48E4D241.1000808@partialflow.com> <48EA095D.8070005@ncsu.edu> <2240033d0810060634s25896344qc9eaf7e577ecec19@mail.gmail.com> <036f01c927bb$ce0bb090$6a2311b0$@com> Message-ID: <48EA1C1A.209@ncsu.edu> The issue is that i need to check on the combination of conditions, rather than just one. IE: I need the block to display only if BOTH conditions are met. I need the block to NOT display if none or only one condition is met. The built-in options only allow you to check for one type of condition (path OR role). I need it to check for path AND role. --Nick ........................................................................ Nick Young Outreach, Communications & Consulting Office of Information Technology North Carolina State University Box 7109, Raleigh 27695 Ph. 919.513.2716 | E-Mail: nick_young at ncsu.edu ........................................................................ Steve Kessler wrote: > > Why does PHP need to be used. In the blocks settings you can determine > visibility for a specific roles as well as specific paths. > > > > For example you could say that only editors see an editing tool bar on > all pages content/* > > > > I may be missing what is going on here but this sounds similar than > needing to do PHP. > > > > Thanks, > > Steve > > > > Steve Kessler > > *Denver DataMan * > > 303-587-4428 > > Sign up for the Denver DataMan Free eNewsletter > > > > > *From:* bharani kumar [mailto:bharanikumariyerphp at gmail.com] > *Sent:* Monday, October 06, 2008 7:34 AM > *To:* support at drupal.org; nick_young at ncsu.edu > *Subject:* Re: [support] block visibility based on role AND path > > > > May this is clue, > > If you know member id, , > > Go to block configure > > select " Show if the following PHP code returns |TRUE| (PHP-mode, > experts only). " > > and write the code > > global $user > > $userid=$user->uid; > if($userid ==10 || $userid ==10 ){ > > return TRUE; > > } > else{ > > return FALSE; > } > > On Mon, Oct 6, 2008 at 6:19 PM, Nick Young > wrote: > > (Issue in Drupal 6) > I need a php snippet that allows me to display (or hide) a block based > on whether the user logged in is a member of a certain role, and that > they are browsing the site at a certain path. I am able to display a > block based on one of these things, but not both. > > IE: > I can display a block if the user is a member of a role. > I can display a block at a certain path (/node/path/x) > > However, if i combine the two pieces of php code, then if one of them > returns true, the block shows. What i need is for it to check if the > path is TRUE, and then also check for the role membership. I have tested > the code externally to Drupal, to make sure the nested IF statements are > working properly, and they are. It's almost as if Drupal sees the first > TRUE, and then stops looking to see if there are multiple conditions to > check for as well. > > Any ideas? Thanks in advance. > > ........................................................................ > Nick Young > Outreach, Communications & Consulting > Office of Information Technology > North Carolina State University > Box 7109, Raleigh 27695 > Ph. 919.513.2716 | E-Mail: nick_young at ncsu.edu > > > ........................................................................ > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > > From skessler at denverdataman.com Mon Oct 6 14:43:32 2008 From: skessler at denverdataman.com (Steve Kessler) Date: Mon, 6 Oct 2008 08:43:32 -0600 Subject: [support] block visibility based on role AND path In-Reply-To: <48EA1C1A.209@ncsu.edu> References: <48E4D241.1000808@partialflow.com> <48EA095D.8070005@ncsu.edu> <2240033d0810060634s25896344qc9eaf7e577ecec19@mail.gmail.com> <036f01c927bb$ce0bb090$6a2311b0$@com> <48EA1C1A.209@ncsu.edu> Message-ID: <038001c927c1$e8600cb0$b9202610$@com> I will need to take this down latter today bit the block on this page http://www.coredinatedmovement.com/content/contact-coredinated-movement (conditions test) only appears if you are anonymous and you are on the specific page. Conditions built into Drupal are AND not OR. Steve Kessler Denver DataMan 303-587-4428 Sign up for the Denver DataMan Free eNewsletter -----Original Message----- From: Nick Young [mailto:nick_young at ncsu.edu] Sent: Monday, October 06, 2008 8:10 AM To: support at drupal.org Subject: Re: [support] block visibility based on role AND path The issue is that i need to check on the combination of conditions, rather than just one. IE: I need the block to display only if BOTH conditions are met. I need the block to NOT display if none or only one condition is met. The built-in options only allow you to check for one type of condition (path OR role). I need it to check for path AND role. --Nick ........................................................................ Nick Young Outreach, Communications & Consulting Office of Information Technology North Carolina State University Box 7109, Raleigh 27695 Ph. 919.513.2716 | E-Mail: nick_young at ncsu.edu ........................................................................ Steve Kessler wrote: > > Why does PHP need to be used. In the blocks settings you can determine > visibility for a specific roles as well as specific paths. > > > > For example you could say that only editors see an editing tool bar on > all pages content/* > > > > I may be missing what is going on here but this sounds similar than > needing to do PHP. > > > > Thanks, > > Steve > > > > Steve Kessler > > *Denver DataMan * > > 303-587-4428 > > Sign up for the Denver DataMan Free eNewsletter > > > > > *From:* bharani kumar [mailto:bharanikumariyerphp at gmail.com] > *Sent:* Monday, October 06, 2008 7:34 AM > *To:* support at drupal.org; nick_young at ncsu.edu > *Subject:* Re: [support] block visibility based on role AND path > > > > May this is clue, > > If you know member id, , > > Go to block configure > > select " Show if the following PHP code returns |TRUE| (PHP-mode, > experts only). " > > and write the code > > global $user > > $userid=$user->uid; > if($userid ==10 || $userid ==10 ){ > > return TRUE; > > } > else{ > > return FALSE; > } > > On Mon, Oct 6, 2008 at 6:19 PM, Nick Young > wrote: > > (Issue in Drupal 6) > I need a php snippet that allows me to display (or hide) a block based > on whether the user logged in is a member of a certain role, and that > they are browsing the site at a certain path. I am able to display a > block based on one of these things, but not both. > > IE: > I can display a block if the user is a member of a role. > I can display a block at a certain path (/node/path/x) > > However, if i combine the two pieces of php code, then if one of them > returns true, the block shows. What i need is for it to check if the > path is TRUE, and then also check for the role membership. I have tested > the code externally to Drupal, to make sure the nested IF statements are > working properly, and they are. It's almost as if Drupal sees the first > TRUE, and then stops looking to see if there are multiple conditions to > check for as well. > > Any ideas? Thanks in advance. > > ........................................................................ > Nick Young > Outreach, Communications & Consulting > Office of Information Technology > North Carolina State University > Box 7109, Raleigh 27695 > Ph. 919.513.2716 | E-Mail: nick_young at ncsu.edu > > > ........................................................................ > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > > -- [ Drupal support list | http://lists.drupal.org/ ] From skessler at denverdataman.com Mon Oct 6 14:51:23 2008 From: skessler at denverdataman.com (Steve Kessler) Date: Mon, 6 Oct 2008 08:51:23 -0600 Subject: [support] block visibility based on role AND path In-Reply-To: <48EA2499.5010602@ncsu.edu> References: <48E4D241.1000808@partialflow.com> <48EA095D.8070005@ncsu.edu> <2240033d0810060634s25896344qc9eaf7e577ecec19@mail.gmail.com> <036f01c927bb$ce0bb090$6a2311b0$@com> <48EA1C1A.209@ncsu.edu> <038001c927c1$e8600cb0$b9202610$@com> <48EA2499.5010602@ncsu.edu> Message-ID: <038401c927c3$00f39840$02dac8c0$@com> I am not using any PHP. In Show block for specific roles: I have anonymous user checked and then in page specific viability settings I have Show on only the listed pages selected and then I have the path content/contact-coredinated-movement for the page listed. Thanks, Steve Steve Kessler Denver DataMan 303-587-4428 Sign up for the Denver DataMan Free eNewsletter -----Original Message----- From: Nick Young [mailto:nick_young at ncsu.edu] Sent: Monday, October 06, 2008 8:46 AM To: Steve Kessler Subject: Re: [support] block visibility based on role AND path This looks like what i want to do. What is the setting/php snippet that you are using to achieve this? --Nick ........................................................................ Nick Young Outreach, Communications & Consulting Office of Information Technology North Carolina State University Box 7109, Raleigh 27695 Ph. 919.513.2716 | E-Mail: nick_young at ncsu.edu ........................................................................ Steve Kessler wrote: > I will need to take this down latter today bit the block on this page > http://www.coredinatedmovement.com/content/contact-coredinated-movement > (conditions test) only appears if you are anonymous and you are on the > specific page. Conditions built into Drupal are AND not OR. > > Steve Kessler > Denver DataMan > 303-587-4428 > Sign up for the Denver DataMan Free eNewsletter > > > -----Original Message----- > From: Nick Young [mailto:nick_young at ncsu.edu] > Sent: Monday, October 06, 2008 8:10 AM > To: support at drupal.org > Subject: Re: [support] block visibility based on role AND path > > The issue is that i need to check on the combination of conditions, > rather than just one. > > IE: > I need the block to display only if BOTH conditions are met. > I need the block to NOT display if none or only one condition is met. > > The built-in options only allow you to check for one type of condition > (path OR role). > > I need it to check for path AND role. > > --Nick > > ........................................................................ > Nick Young > Outreach, Communications & Consulting > Office of Information Technology > North Carolina State University > Box 7109, Raleigh 27695 > Ph. 919.513.2716 | E-Mail: nick_young at ncsu.edu > ........................................................................ > > > > Steve Kessler wrote: > >> Why does PHP need to be used. In the blocks settings you can determine >> visibility for a specific roles as well as specific paths. >> >> >> >> For example you could say that only editors see an editing tool bar on >> all pages content/* >> >> >> >> I may be missing what is going on here but this sounds similar than >> needing to do PHP. >> >> >> >> Thanks, >> >> Steve >> >> >> >> Steve Kessler >> >> *Denver DataMan * >> >> 303-587-4428 >> >> Sign up for the Denver DataMan Free eNewsletter >> >> >> >> >> *From:* bharani kumar [mailto:bharanikumariyerphp at gmail.com] >> *Sent:* Monday, October 06, 2008 7:34 AM >> *To:* support at drupal.org; nick_young at ncsu.edu >> *Subject:* Re: [support] block visibility based on role AND path >> >> >> >> May this is clue, >> >> If you know member id, , >> >> Go to block configure >> >> select " Show if the following PHP code returns |TRUE| (PHP-mode, >> experts only). " >> >> and write the code >> >> global $user >> >> $userid=$user->uid; >> if($userid ==10 || $userid ==10 ){ >> >> return TRUE; >> >> } >> else{ >> >> return FALSE; >> } >> >> On Mon, Oct 6, 2008 at 6:19 PM, Nick Young > > wrote: >> >> (Issue in Drupal 6) >> I need a php snippet that allows me to display (or hide) a block based >> on whether the user logged in is a member of a certain role, and that >> they are browsing the site at a certain path. I am able to display a >> block based on one of these things, but not both. >> >> IE: >> I can display a block if the user is a member of a role. >> I can display a block at a certain path (/node/path/x) >> >> However, if i combine the two pieces of php code, then if one of them >> returns true, the block shows. What i need is for it to check if the >> path is TRUE, and then also check for the role membership. I have tested >> the code externally to Drupal, to make sure the nested IF statements are >> working properly, and they are. It's almost as if Drupal sees the first >> TRUE, and then stops looking to see if there are multiple conditions to >> check for as well. >> >> Any ideas? Thanks in advance. >> >> ........................................................................ >> Nick Young >> Outreach, Communications & Consulting >> Office of Information Technology >> North Carolina State University >> Box 7109, Raleigh 27695 >> Ph. 919.513.2716 | E-Mail: nick_young at ncsu.edu >> > > >> ........................................................................ >> >> >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> >> >> >> > > From nick_young at ncsu.edu Mon Oct 6 14:56:51 2008 From: nick_young at ncsu.edu (Nick Young) Date: Mon, 06 Oct 2008 10:56:51 -0400 Subject: [support] block visibility based on User Account AND Path (formerly: block visibility based on user role AND path) In-Reply-To: <038401c927c3$00f39840$02dac8c0$@com> References: <48E4D241.1000808@partialflow.com> <48EA095D.8070005@ncsu.edu> <2240033d0810060634s25896344qc9eaf7e577ecec19@mail.gmail.com> <036f01c927bb$ce0bb090$6a2311b0$@com> <48EA1C1A.209@ncsu.edu> <038001c927c1$e8600cb0$b9202610$@com> <48EA2499.5010602@ncsu.edu> <038401c927c3$00f39840$02dac8c0$@com> Message-ID: <48EA2733.7000406@ncsu.edu> sorry -- this was my mistake in my explanation, and now that i realize it, the subject line of the email too. I meant to say in my previous email that i need to display/hide blocks based on user account (not role) & path. I knew the core abilities were there to do role-based + path settings. I need it to be based on individual users, not roles. This is essentially to save administration time that would be required to create new roles, just to see very specific blocks. --Nick ........................................................................ Nick Young Outreach, Communications & Consulting Office of Information Technology North Carolina State University Box 7109, Raleigh 27695 Ph. 919.513.2716 | E-Mail: nick_young at ncsu.edu ........................................................................ Steve Kessler wrote: > I am not using any PHP. > > In Show block for specific roles: I have anonymous user checked and then in > page specific viability settings I have Show on only the listed pages > selected and then I have the path content/contact-coredinated-movement for > the page listed. > > Thanks, > Steve > > Steve Kessler > Denver DataMan > 303-587-4428 > Sign up for the Denver DataMan Free eNewsletter > > > -----Original Message----- > From: Nick Young [mailto:nick_young at ncsu.edu] > Sent: Monday, October 06, 2008 8:46 AM > To: Steve Kessler > Subject: Re: [support] block visibility based on role AND path > > This looks like what i want to do. > > What is the setting/php snippet that you are using to achieve this? > > --Nick > > ........................................................................ > Nick Young > Outreach, Communications & Consulting > Office of Information Technology > North Carolina State University > Box 7109, Raleigh 27695 > Ph. 919.513.2716 | E-Mail: nick_young at ncsu.edu > ........................................................................ > > > > Steve Kessler wrote: > >> I will need to take this down latter today bit the block on this page >> http://www.coredinatedmovement.com/content/contact-coredinated-movement >> (conditions test) only appears if you are anonymous and you are on the >> specific page. Conditions built into Drupal are AND not OR. >> >> Steve Kessler >> Denver DataMan >> 303-587-4428 >> Sign up for the Denver DataMan Free eNewsletter >> >> >> -----Original Message----- >> From: Nick Young [mailto:nick_young at ncsu.edu] >> Sent: Monday, October 06, 2008 8:10 AM >> To: support at drupal.org >> Subject: Re: [support] block visibility based on role AND path >> >> The issue is that i need to check on the combination of conditions, >> rather than just one. >> >> IE: >> I need the block to display only if BOTH conditions are met. >> I need the block to NOT display if none or only one condition is met. >> >> The built-in options only allow you to check for one type of condition >> (path OR role). >> >> I need it to check for path AND role. >> >> --Nick >> >> ........................................................................ >> Nick Young >> Outreach, Communications & Consulting >> Office of Information Technology >> North Carolina State University >> Box 7109, Raleigh 27695 >> Ph. 919.513.2716 | E-Mail: nick_young at ncsu.edu >> > > >> ........................................................................ >> >> >> >> Steve Kessler wrote: >> >> >>> Why does PHP need to be used. In the blocks settings you can determine >>> visibility for a specific roles as well as specific paths. >>> >>> >>> >>> For example you could say that only editors see an editing tool bar on >>> all pages content/* >>> >>> >>> >>> I may be missing what is going on here but this sounds similar than >>> needing to do PHP. >>> >>> >>> >>> Thanks, >>> >>> Steve >>> >>> >>> >>> Steve Kessler >>> >>> *Denver DataMan * >>> >>> 303-587-4428 >>> >>> Sign up for the Denver DataMan Free eNewsletter >>> >>> >>> >>> >>> *From:* bharani kumar [mailto:bharanikumariyerphp at gmail.com] >>> *Sent:* Monday, October 06, 2008 7:34 AM >>> *To:* support at drupal.org; nick_young at ncsu.edu >>> *Subject:* Re: [support] block visibility based on role AND path >>> >>> >>> >>> May this is clue, >>> >>> If you know member id, , >>> >>> Go to block configure >>> >>> select " Show if the following PHP code returns |TRUE| (PHP-mode, >>> experts only). " >>> >>> and write the code >>> >>> global $user >>> >>> $userid=$user->uid; >>> if($userid ==10 || $userid ==10 ){ >>> >>> return TRUE; >>> >>> } >>> else{ >>> >>> return FALSE; >>> } >>> >>> On Mon, Oct 6, 2008 at 6:19 PM, Nick Young >> > wrote: >>> >>> (Issue in Drupal 6) >>> I need a php snippet that allows me to display (or hide) a block based >>> on whether the user logged in is a member of a certain role, and that >>> they are browsing the site at a certain path. I am able to display a >>> block based on one of these things, but not both. >>> >>> IE: >>> I can display a block if the user is a member of a role. >>> I can display a block at a certain path (/node/path/x) >>> >>> However, if i combine the two pieces of php code, then if one of them >>> returns true, the block shows. What i need is for it to check if the >>> path is TRUE, and then also check for the role membership. I have tested >>> the code externally to Drupal, to make sure the nested IF statements are >>> working properly, and they are. It's almost as if Drupal sees the first >>> TRUE, and then stops looking to see if there are multiple conditions to >>> check for as well. >>> >>> Any ideas? Thanks in advance. >>> >>> ........................................................................ >>> Nick Young >>> Outreach, Communications & Consulting >>> Office of Information Technology >>> North Carolina State University >>> Box 7109, Raleigh 27695 >>> Ph. 919.513.2716 | E-Mail: nick_young at ncsu.edu >>> >> > >>> ........................................................................ >>> >>> >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >>> >>> >>> >>> >> >> > > From skessler at denverdataman.com Mon Oct 6 15:04:34 2008 From: skessler at denverdataman.com (Steve Kessler) Date: Mon, 6 Oct 2008 09:04:34 -0600 Subject: [support] block visibility based on User Account AND Path (formerly: block visibility based on user role AND path) In-Reply-To: <48EA2733.7000406@ncsu.edu> References: <48E4D241.1000808@partialflow.com> <48EA095D.8070005@ncsu.edu> <2240033d0810060634s25896344qc9eaf7e577ecec19@mail.gmail.com> <036f01c927bb$ce0bb090$6a2311b0$@com> <48EA1C1A.209@ncsu.edu> <038001c927c1$e8600cb0$b9202610$@com> <48EA2499.5010602@ncsu.edu> <038401c927c3$00f39840$02dac8c0$@com> <48EA2733.7000406@ncsu.edu> Message-ID: <038b01c927c4$d8c963c0$8a5c2b40$@com> Is your user list static for this site? It would appear to be a bigger challenge to edit the PHP code based on new users. Have you looked at Organic Groups (http://drupal.org/project/og) Hope this helps. Steve Kessler Denver DataMan 303-587-4428 Sign up for the Denver DataMan Free eNewsletter -----Original Message----- From: Nick Young [mailto:nick_young at ncsu.edu] Sent: Monday, October 06, 2008 8:57 AM To: support at drupal.org Subject: [support] block visibility based on User Account AND Path (formerly: block visibility based on user role AND path) sorry -- this was my mistake in my explanation, and now that i realize it, the subject line of the email too. I meant to say in my previous email that i need to display/hide blocks based on user account (not role) & path. I knew the core abilities were there to do role-based + path settings. I need it to be based on individual users, not roles. This is essentially to save administration time that would be required to create new roles, just to see very specific blocks. --Nick ........................................................................ Nick Young Outreach, Communications & Consulting Office of Information Technology North Carolina State University Box 7109, Raleigh 27695 Ph. 919.513.2716 | E-Mail: nick_young at ncsu.edu ........................................................................ Steve Kessler wrote: > I am not using any PHP. > > In Show block for specific roles: I have anonymous user checked and then in > page specific viability settings I have Show on only the listed pages > selected and then I have the path content/contact-coredinated-movement for > the page listed. > > Thanks, > Steve > > Steve Kessler > Denver DataMan > 303-587-4428 > Sign up for the Denver DataMan Free eNewsletter > > > -----Original Message----- > From: Nick Young [mailto:nick_young at ncsu.edu] > Sent: Monday, October 06, 2008 8:46 AM > To: Steve Kessler > Subject: Re: [support] block visibility based on role AND path > > This looks like what i want to do. > > What is the setting/php snippet that you are using to achieve this? > > --Nick > > ........................................................................ > Nick Young > Outreach, Communications & Consulting > Office of Information Technology > North Carolina State University > Box 7109, Raleigh 27695 > Ph. 919.513.2716 | E-Mail: nick_young at ncsu.edu > ........................................................................ > > > > Steve Kessler wrote: > >> I will need to take this down latter today bit the block on this page >> http://www.coredinatedmovement.com/content/contact-coredinated-movement >> (conditions test) only appears if you are anonymous and you are on the >> specific page. Conditions built into Drupal are AND not OR. >> >> Steve Kessler >> Denver DataMan >> 303-587-4428 >> Sign up for the Denver DataMan Free eNewsletter >> >> >> -----Original Message----- >> From: Nick Young [mailto:nick_young at ncsu.edu] >> Sent: Monday, October 06, 2008 8:10 AM >> To: support at drupal.org >> Subject: Re: [support] block visibility based on role AND path >> >> The issue is that i need to check on the combination of conditions, >> rather than just one. >> >> IE: >> I need the block to display only if BOTH conditions are met. >> I need the block to NOT display if none or only one condition is met. >> >> The built-in options only allow you to check for one type of condition >> (path OR role). >> >> I need it to check for path AND role. >> >> --Nick >> >> ........................................................................ >> Nick Young >> Outreach, Communications & Consulting >> Office of Information Technology >> North Carolina State University >> Box 7109, Raleigh 27695 >> Ph. 919.513.2716 | E-Mail: nick_young at ncsu.edu >> > > >> ........................................................................ >> >> >> >> Steve Kessler wrote: >> >> >>> Why does PHP need to be used. In the blocks settings you can determine >>> visibility for a specific roles as well as specific paths. >>> >>> >>> >>> For example you could say that only editors see an editing tool bar on >>> all pages content/* >>> >>> >>> >>> I may be missing what is going on here but this sounds similar than >>> needing to do PHP. >>> >>> >>> >>> Thanks, >>> >>> Steve >>> >>> >>> >>> Steve Kessler >>> >>> *Denver DataMan * >>> >>> 303-587-4428 >>> >>> Sign up for the Denver DataMan Free eNewsletter >>> >>> >>> >>> >>> *From:* bharani kumar [mailto:bharanikumariyerphp at gmail.com] >>> *Sent:* Monday, October 06, 2008 7:34 AM >>> *To:* support at drupal.org; nick_young at ncsu.edu >>> *Subject:* Re: [support] block visibility based on role AND path >>> >>> >>> >>> May this is clue, >>> >>> If you know member id, , >>> >>> Go to block configure >>> >>> select " Show if the following PHP code returns |TRUE| (PHP-mode, >>> experts only). " >>> >>> and write the code >>> >>> global $user >>> >>> $userid=$user->uid; >>> if($userid ==10 || $userid ==10 ){ >>> >>> return TRUE; >>> >>> } >>> else{ >>> >>> return FALSE; >>> } >>> >>> On Mon, Oct 6, 2008 at 6:19 PM, Nick Young >> > wrote: >>> >>> (Issue in Drupal 6) >>> I need a php snippet that allows me to display (or hide) a block based >>> on whether the user logged in is a member of a certain role, and that >>> they are browsing the site at a certain path. I am able to display a >>> block based on one of these things, but not both. >>> >>> IE: >>> I can display a block if the user is a member of a role. >>> I can display a block at a certain path (/node/path/x) >>> >>> However, if i combine the two pieces of php code, then if one of them >>> returns true, the block shows. What i need is for it to check if the >>> path is TRUE, and then also check for the role membership. I have tested >>> the code externally to Drupal, to make sure the nested IF statements are >>> working properly, and they are. It's almost as if Drupal sees the first >>> TRUE, and then stops looking to see if there are multiple conditions to >>> check for as well. >>> >>> Any ideas? Thanks in advance. >>> >>> ........................................................................ >>> Nick Young >>> Outreach, Communications & Consulting >>> Office of Information Technology >>> North Carolina State University >>> Box 7109, Raleigh 27695 >>> Ph. 919.513.2716 | E-Mail: nick_young at ncsu.edu >>> >> > >>> ........................................................................ >>> >>> >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >>> >>> >>> >>> >> >> > > -- [ Drupal support list | http://lists.drupal.org/ ] From edward.peters at uk.iofc.org Mon Oct 6 19:30:12 2008 From: edward.peters at uk.iofc.org (Edward Peters) Date: Mon, 6 Oct 2008 20:30:12 +0100 Subject: [support] Capturing data before file download Message-ID: <046501c927e9$f4177110$dc465330$@peters@uk.iofc.org> I need to capture a visitor's name and email address before allowing them to download a file, on a per-file basis, and without wanting them to register for the site. This is so that we can track exactly who is downloading certain files. Does anyone know of a module(s) that can offer this - or have any ideas how this might be achieved? Edward Peters Oxford, UK www.iofc.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081006/3ea96ca7/attachment.htm From killshot91 at comcast.net Mon Oct 6 21:03:22 2008 From: killshot91 at comcast.net (Steve Edwards) Date: Mon, 06 Oct 2008 14:03:22 -0700 Subject: [support] Problems displaying views tabs under page Message-ID: <48EA7D1A.9050003@comcast.net> I've created a new content type, and associated with that content type is a taxonomy vocabulary with two levels. I would like to have a page that gives general information about the content, and then a tab for each top level term in the vocabulary. On each tab, I would like to list the nodes for that top level term, and also display in the list the second level term that is assigned to the particular node. I spent a few hours yesterday trying to get this to work using the Menu Tab functionality in Views. I can get the three tabs to show up, but with a couple problems: 1) I can't get them to be displayed under a page that already exists. According to the help on the Default Menu Tab page for the Parent Menu Item Type, "or to use the menu item that already exists at the specified URL. For example, if the URL for the default tab is 'tracker/all', then 'tracker' would already have to be a valid menu item to use this final choice." So it my case, I have a page node with the url of mypage. For the view tab, then , I would like to go to mysite.com/mypage and see the three tabs. I set the URL of mypage/view1 and set the Parent Menu Item Type to "Already exists (don't create)". I also have two other views set up with URLs of mypage/view2 and mypage/view3. If I go to mysite.com/mypage, I get my static page just fine. However, if I go to mysite.com/mypage/view1, I just get my three views, without the main parent page. Is there a way to set my page and the tabs up this way? 2) On each tab, I would like to display the second level term that is assigned to each node in the field list (using Table view). However, it seems that in Views, I can only display the top level term, not the second level term. Is it possible to do what I need to do with just Views, or will I need to do some custom coding? Thanks. Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081006/19532087/attachment-0001.htm From pinky at evakoss.com Tue Oct 7 06:28:20 2008 From: pinky at evakoss.com (pinky) Date: Tue, 7 Oct 2008 11:58:20 +0530 Subject: [support] mysite module : user warning: error in your SQL syntax near '* FROM cache_content' Message-ID: <20081007062845.2ABC3D9BEE@silver.osuosl.org> Hello, i am getting a warning. user warning: 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 '* FROM cache_content' at line 1 query: DELETE * FROM cache_content in /home/cmswebsi/public_html/webserver9/lstwtnew/includes/database.mysql.inc on line 172. i found that it is appearing due to the line code in mysite.module position][$i]['output'] = module_invoke('mysite_type', $item->type .'_data', $item->type_id, $settings); ?> if i place @ operator, this warning gets disappear. position][$i]['output'] = @module_invoke('mysite_type', $item->type .'_data', $item->type_id, $settings); ?> Please tell me what is the reason behind this and provide the solution(it's urgent :( ). Thanks in advance, sweetie -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081007/57030208/attachment.htm From vishakhatambe.mcs at gmail.com Tue Oct 7 09:09:28 2008 From: vishakhatambe.mcs at gmail.com (Vishakha Tambe) Date: Tue, 7 Oct 2008 14:39:28 +0530 Subject: [support] SiteMap module Message-ID: Hello All, I want to create a sitemap page. I tried xmlsitemap module. But it is not what i want. I want to display the sitemap page in my site in the CONTENT section. I've tried footermap module, bt it displays the sitemap at the footer obviously. GoogleSitemap module is also not as per my needs. I want sitepage as follows : Header Primary Links Main Menu Site Map Page(Content) RightSideBar (Navigation) Section1 Section2 Section3 1.1 2.1 3.1 1.2 2.2 3.2 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081007/49ff5049/attachment.htm From vishakhatambe.mcs at gmail.com Tue Oct 7 11:09:57 2008 From: vishakhatambe.mcs at gmail.com (Vishakha Tambe) Date: Tue, 7 Oct 2008 16:39:57 +0530 Subject: [support] Flash Header Message-ID: Hello people, I want to add flash images/contents to my site but i'm not getting the proper module. I've installed flash_gallery, flash node, image, image_gallery, swf tools, but they are giving pagewise flash. I want to add flash to my header or just below the header horizontally. So, plz kindly suggest me the write module. Regards, Vishakha -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081007/e62d8a25/attachment.htm From earnie at users.sourceforge.net Tue Oct 7 11:25:22 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Tue, 07 Oct 2008 07:25:22 -0400 Subject: [support] block visibility based on role AND path In-Reply-To: <48EA1C1A.209@ncsu.edu> References: <48E4D241.1000808@partialflow.com> <48EA095D.8070005@ncsu.edu> <2240033d0810060634s25896344qc9eaf7e577ecec19@mail.gmail.com> <036f01c927bb$ce0bb090$6a2311b0$@com> <48EA1C1A.209@ncsu.edu> Message-ID: <20081007072522.nfx59mv01ds008gk@mail.progw.org> Quoting Nick Young : >> >> If you know member id, , >> >> Go to block configure >> >> select " Show if the following PHP code returns |TRUE| (PHP-mode, >> experts only). " >> >> and write the code >> >> global $user >> >> $userid=$user->uid; >> if($userid ==10 || $userid ==10 ){ >> >> return TRUE; >> >> } >> else{ >> >> return FALSE; >> } >> --8<-- > I need the block to display only if BOTH conditions are met. > I need the block to NOT display if none or only one condition is met. > > The built-in options only allow you to check for one type of condition > (path OR role). > > I need it to check for path AND role. > So just change the condition. return ($user->uid == 10 && $_GET['q'] = 'my/uri/path') Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From nick_young at ncsu.edu Tue Oct 7 12:03:52 2008 From: nick_young at ncsu.edu (Nick Young) Date: Tue, 07 Oct 2008 08:03:52 -0400 Subject: [support] block visibility based on role AND path In-Reply-To: <20081007072522.nfx59mv01ds008gk@mail.progw.org> References: <48E4D241.1000808@partialflow.com> <48EA095D.8070005@ncsu.edu> <2240033d0810060634s25896344qc9eaf7e577ecec19@mail.gmail.com> <036f01c927bb$ce0bb090$6a2311b0$@com> <48EA1C1A.209@ncsu.edu> <20081007072522.nfx59mv01ds008gk@mail.progw.org> Message-ID: <48EB5028.6070206@ncsu.edu> This would work if there were only one path or one user to match to. What if there are multiple paths, and multiple users to match? IE: return TRUE if user = Mark or Tom or Paul or Peter AND path = /path1 or /path2 or /path3 --Nick ........................................................................ Nick Young Outreach, Communications & Consulting Office of Information Technology North Carolina State University Box 7109, Raleigh 27695 Ph. 919.513.2716 | E-Mail: nick_young at ncsu.edu ........................................................................ Earnie Boyd wrote: > So just change the condition. > > return ($user->uid == 10 && $_GET['q'] = 'my/uri/path') > > Earnie -- http://for-my-kids.com/ > -- http://give-me-an-offer.com/ > > > From xavier.bestel at free.fr Tue Oct 7 14:19:46 2008 From: xavier.bestel at free.fr (Xavier Bestel) Date: Tue, 07 Oct 2008 16:19:46 +0200 Subject: [support] [Drupal 5] can't edit users anymore In-Reply-To: <1223138167.5816.7.camel@bip.parateam.prv> References: <1223138167.5816.7.camel@bip.parateam.prv> Message-ID: <1223389186.6637.19.camel@skunk.anacadf.mentorg.com> On Sat, 2008-10-04 at 18:36 +0200, Xavier Bestel wrote: > Hi, > > since not long ago, I can't edit my users anymore. > When I try to edit an user, e.g. to go to: > http://example.com/user/2/edit > I'm redirected to: > wyciwyg://20/http://example.com/user/2/edit > > (the "20" is increasing at each try) > it's an empty unthemed page with only a "disable rich-text" link (the > same that's present on the tinymce editor), which tries to load forever. > > Any hint ? No answer .. I workarounded it by disabling TinyMCE in the /user/* pages. Xav From ryan at etrafficsolutions.com Tue Oct 7 15:41:12 2008 From: ryan at etrafficsolutions.com (Ryan Thomson) Date: Tue, 07 Oct 2008 08:41:12 -0700 Subject: [support] Flash Header In-Reply-To: References: Message-ID: <48EB8318.40008@etrafficsolutions.com> I would think you just have to edit the page.tpl.php file in your theme folder, just add the embed stuff to the header area and tweak. Ryan Vishakha Tambe wrote: > Hello people, > I want to add flash images/contents to my site but i'm not getting > the proper module. > > I've installed flash_gallery, flash node, image, image_gallery, swf > tools, but they are giving pagewise flash. > I want to add flash to my header or just below the header horizontally. > > So, plz kindly suggest me the write module. > > Regards, > Vishakha From nicolast at logis.com.mx Tue Oct 7 16:16:37 2008 From: nicolast at logis.com.mx (Nicolas Tostin) Date: Tue, 7 Oct 2008 11:16:37 -0500 Subject: [support] [views] build a list of users associated with a node (cck userreference) Message-ID: <009701c92898$12fcb0a0$b400a8c0@Nikko> Hi everybody, I'm evaluating views 2 and the option to build views of users (it's important to stay with this setting for the last part). I couldn't find any way to retrieve the users referenced in a node (thanks to CCK userreference module), there's no relationship available for "user view" so I don't know how to restrics my users. Here is the example I'd like to create. - I build a "classroom" content which reference a teacher and many students. - the teacher will create an "exam" content which give a result (A, B, C...) to a student (user reference field: field_exam_student) I'd like to restrict the field_exam_student to only student which are in the same "classroom" as the teacher (to prevent the teacher capturing exam result for other students). Doing this in SQL in fairly trivial, but userreference doesn't have a "php code" field for allowed values, so I'm stuck with using views to restrict my field (user view) and haven't been able to make it. Is there a way to create such a view ? Do I have to write a custom module to make my field_exam_student available in a relationship ? Thanks a lot for your answers. I hope I was clear enough. Regards From larry at garfieldtech.com Wed Oct 8 00:17:36 2008 From: larry at garfieldtech.com (Larry Garfield) Date: Tue, 7 Oct 2008 19:17:36 -0500 Subject: [support] SiteMap module In-Reply-To: References: Message-ID: <200810071917.36995.larry@garfieldtech.com> On Tuesday 07 October 2008 4:09:28 am Vishakha Tambe wrote: > I want sitepage as follows : > > Header > Primary Links > > > Main Menu Site Map Page(Content) > RightSideBar > (Navigation) Section1 Section2 Section3 > 1.1 > 2.1 3.1 > 1.2 > 2.2 3.2 Perhaps menutree[1] is closer to what you're looking for? [1] http://drupal.org/project/menutree -- Larry Garfield larry at garfieldtech.com From noufal.kodur at gmail.com Wed Oct 8 06:19:28 2008 From: noufal.kodur at gmail.com (noufal kodur) Date: Wed, 8 Oct 2008 11:49:28 +0530 Subject: [support] Flash Header In-Reply-To: <48EB8318.40008@etrafficsolutions.com> References: <48EB8318.40008@etrafficsolutions.com> Message-ID: <5215ff9d0810072319m4d70050btca465148495f5cc8@mail.gmail.com> Hello I have tried to installDrupal with WAMP server. but i am unable to get past database confogertaion. can you help me On Tue, Oct 7, 2008 at 9:11 PM, Ryan Thomson wrote: > I would think you just have to edit the page.tpl.php file in your theme > folder, just add the embed stuff to the header area and tweak. > > Ryan > > > Vishakha Tambe wrote: > > Hello people, > > I want to add flash images/contents to my site but i'm not getting > > the proper module. > > > > I've installed flash_gallery, flash node, image, image_gallery, swf > > tools, but they are giving pagewise flash. > > I want to add flash to my header or just below the header > horizontally. > > > > So, plz kindly suggest me the write module. > > > > Regards, > > Vishakha > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081008/a3c3068c/attachment.htm From rohanasmith at gmail.com Wed Oct 8 13:48:58 2008 From: rohanasmith at gmail.com (Rohan Smith) Date: Wed, 8 Oct 2008 08:48:58 -0500 Subject: [support] Average age from date of birth Message-ID: <44659aeb0810080648s1e659e9aw60e575e10977578a@mail.gmail.com> how could i calculate average age of my members using a profile date_of_birth date field? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081008/7156eef2/attachment.htm From kenrbnsn at rbnsn.com Wed Oct 8 19:31:06 2008 From: kenrbnsn at rbnsn.com (Ken Robinson) Date: Wed, 8 Oct 2008 15:31:06 -0400 Subject: [support] Integrating Drupal 6 & KnowledgeTree In-Reply-To: <44659aeb0810080648s1e659e9aw60e575e10977578a@mail.gmail.com> References: <44659aeb0810080648s1e659e9aw60e575e10977578a@mail.gmail.com> Message-ID: <01a201c9297c$6a683eb0$3f38bc10$@com> Hi, Does anyone on the list have experience integrating Drupal 6 & KnowledgeTree? I've installed Knowledge Tree and the KT Module. It seems to work, except that when I connect from within Drupal, the output is restricted to a very small area of the screen and there are no scrollbars. Ken -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081008/be6bb8b2/attachment.htm From mvgrootel at gmail.com Wed Oct 8 22:50:17 2008 From: mvgrootel at gmail.com (Maarten van Grootel) Date: Thu, 9 Oct 2008 00:50:17 +0200 Subject: [support] Average age from date of birth In-Reply-To: <44659aeb0810080648s1e659e9aw60e575e10977578a@mail.gmail.com> References: <44659aeb0810080648s1e659e9aw60e575e10977578a@mail.gmail.com> Message-ID: <9f8bbf980810081550m7bbff02ci638e186ed35f88fd@mail.gmail.com> Calculate the current age of all users. Then sum and divide by the total amount of users. For a less accurate solution you could suffice by calculating the age just by averaging over all the years of birth, and subtracting 0.25. We assume then that birthdays are spread out uniformly, and thus subtraction of 0.25 is necessary to compensate for the birthdays in Oct, Nov, and Dec that still haven't passed yet. Problem is that the Profile module saves its date field as a serialized array, so you have to do all the work in PHP in stead of directly on the database. Because I use the Birthdays module (which stores its birthdays as datetime values), I can directly calculate it from the database using the below methods. // Short, inaccurate method avg(year(now() - year(birthday)) - 0.25 = 24,2 years old // Longer, but more accurate method. avg((year(now()) - year(birthday))+(DAYOFYEAR(now()) > DAYOFYEAR(birthday))) = 24.2 years old In PHP you want something like this: value); if(is_array($dob)) { extract($dob); } if ($day && $month && $year) { // Current year - birthday_year - (1 if birthday hasn't been yet) $age = (date('Y') - $year) - (date('nd') < $month . str_pad($day, 2, 0, STR_PAD_LEFT)); $sum += $age; $i++; } } $average_age = $sum / $i; ?> On Wed, Oct 8, 2008 at 3:48 PM, Rohan Smith wrote: > how could i calculate average age of my members using a profile > date_of_birth date field? > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081009/50062b11/attachment-0001.htm From nick_young at ncsu.edu Fri Oct 10 18:52:03 2008 From: nick_young at ncsu.edu (Nick Young) Date: Fri, 10 Oct 2008 14:52:03 -0400 Subject: [support] block visibility based on role AND path (SOLUTION) In-Reply-To: <48EB5028.6070206@ncsu.edu> References: <48E4D241.1000808@partialflow.com> <48EA095D.8070005@ncsu.edu> <2240033d0810060634s25896344qc9eaf7e577ecec19@mail.gmail.com> <036f01c927bb$ce0bb090$6a2311b0$@com> <48EA1C1A.209@ncsu.edu> <20081007072522.nfx59mv01ds008gk@mail.progw.org> <48EB5028.6070206@ncsu.edu> Message-ID: <48EFA453.4040104@ncsu.edu> FYI: Here is the solution: name, $userlist)) { return true; } } return false; ?> ........................................................................ Nick Young Outreach, Communications & Consulting Office of Information Technology North Carolina State University Box 7109, Raleigh 27695 Ph. 919.513.2716 | E-Mail: nick_young at ncsu.edu ........................................................................ From nick_young at ncsu.edu Fri Oct 10 18:55:39 2008 From: nick_young at ncsu.edu (Nick Young) Date: Fri, 10 Oct 2008 14:55:39 -0400 Subject: [support] Display all nodes a user has permissions to edit Message-ID: <48EFA52B.3040903@ncsu.edu> (For Drupal 6) I would like to create a page that displays all the pages a particular user has permissions to. I assume this would be done by somehow creating a view that looks at the user's roles, and then displays all the nodes that those roles have permissions to. Anyone have any ideas if such a module exists? I've seen a few content/node access modules, but none seem to create this view that i'm looking for. Essentially, what i'm looking for is a very similar page to what the 'My Pages' node displays. Except that instead of displaying just the pages I have authored, i want it to display the full list of pages that i can edit. Thanks in advance for any assistance, Nick -- ........................................................................ Nick Young Outreach, Communications & Consulting Office of Information Technology North Carolina State University Box 7109, Raleigh 27695 Ph. 919.513.2716 | E-Mail: nick_young at ncsu.edu ........................................................................ From bharanikumariyerphp at gmail.com Sun Oct 12 16:39:19 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Sun, 12 Oct 2008 22:09:19 +0530 Subject: [support] display event details for particular Event Message-ID: <2240033d0810120939s3d175216uf0f03286c6b89ef6@mail.gmail.com> Hi Dear drupals Am using the event module , when i create the event date assume example , Event date start from 10-oct-08 to 15-oct-08 , Event caledar Bold date from 10-oct-08 to 15-oct-08 , now what i want here , When i click the Bolded date 11-oct-08, i want to display the event details one this date, Any great idea share -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081012/d72b15e5/attachment.htm From pierre.rineau at makina-corpus.com Mon Oct 13 10:27:05 2008 From: pierre.rineau at makina-corpus.com (Pierre Rineau) Date: Mon, 13 Oct 2008 12:27:05 +0200 Subject: [support] Clarification about hook_schema(), hook_update() and hook_install() in D6 Message-ID: <1223893625.8658.15.camel@localhost> Hello! I need some clarification on D6 behavior with hook_install(), hook_update() and hook_schema(). This is my question within a simple use case: When I write a module, I implement hook_schema(). I then do a hook_install() which call drupal_install_schema() function. Then ok, it works. BUT, then I have to add a single field to my database. So, I write a hook_update_N() and use drupal_add_field(). Ok, this works. The question is: do I have to modify my hook_schema so it carries the new field or not ? When a new user will install the module, does drupal just assume that the schema is up to date then it does not need to do the updates ? Simple question. It was this behavior with D5, but I'm not sure with D6. Thanks. From earnie at users.sourceforge.net Mon Oct 13 11:16:22 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Mon, 13 Oct 2008 07:16:22 -0400 Subject: [support] Clarification about hook_schema(), hook_update() and hook_install() in D6 In-Reply-To: <1223893625.8658.15.camel@localhost> References: <1223893625.8658.15.camel@localhost> Message-ID: <20081013071622.p295ai3ur134wgw8@mail.progw.org> Quoting Pierre Rineau : > > The question is: do I have to modify my hook_schema so it carries the > new field or not ? Yes, hook_schema needs updated. > When a new user will install the module, does drupal just assume that > the schema is up to date then it does not need to do the updates ? > Yes, no updates are run on new install. > Simple question. It was this behavior with D5, but I'm not sure with D6. > AFAIK, there is no change to this in D7 as well. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From cjones at partialflow.com Mon Oct 13 15:30:57 2008 From: cjones at partialflow.com (Christopher M. Jones) Date: Mon, 13 Oct 2008 11:30:57 -0400 Subject: [support] fields missing when editing cck content Message-ID: <48F369B1.8020608@partialflow.com> I'm a little confused. I just installed CCK on Drupal 5.10, and created my first content type. Then I created content with my new type. But when I try to edit my new content, I have none of my cck fields in the edit form. In fact, I have fewer options than I normally would: gone are all the workflow and filter settings... I have just title, body, taxonomy, log, and file attachments. What did I misconfigure? From nicolast at logis.com.mx Mon Oct 13 17:29:03 2008 From: nicolast at logis.com.mx (Nicolas Tostin) Date: Mon, 13 Oct 2008 12:29:03 -0500 Subject: [support] fields missing when editing cck content References: <48F369B1.8020608@partialflow.com> Message-ID: <0b3e01c92d59$3bbd49d0$b400a8c0@Nikko> Did you activate the "fields permission" module ? If so, check that your role have the correct "edit/view" permission set for your fields. ----- Original Message ----- From: "Christopher M. Jones" To: Sent: Monday, October 13, 2008 10:30 AM Subject: [support] fields missing when editing cck content > I'm a little confused. I just installed CCK on Drupal 5.10, and created > my first content type. Then I created content with my new type. But when > I try to edit my new content, I have none of my cck fields in the edit > form. In fact, I have fewer options than I normally would: gone are all > the workflow and filter settings... I have just title, body, taxonomy, > log, and file attachments. > > What did I misconfigure? > -- > [ Drupal support list | http://lists.drupal.org/ ] From cjones at partialflow.com Mon Oct 13 17:34:11 2008 From: cjones at partialflow.com (Christopher M. Jones) Date: Mon, 13 Oct 2008 13:34:11 -0400 Subject: [support] fields missing when editing cck content In-Reply-To: <0b3e01c92d59$3bbd49d0$b400a8c0@Nikko> References: <48F369B1.8020608@partialflow.com> <0b3e01c92d59$3bbd49d0$b400a8c0@Nikko> Message-ID: <48F38693.5030100@partialflow.com> Nicolas Tostin wrote: > Did you activate the "fields permission" module ? If so, check that your > role have the correct "edit/view" permission set for your fields. > > ----- Original Message ----- > From: "Christopher M. Jones" > To: > Sent: Monday, October 13, 2008 10:30 AM > Subject: [support] fields missing when editing cck content > > >> I'm a little confused. I just installed CCK on Drupal 5.10, and created >> my first content type. Then I created content with my new type. But when >> I try to edit my new content, I have none of my cck fields in the edit >> form. In fact, I have fewer options than I normally would: gone are all >> the workflow and filter settings... I have just title, body, taxonomy, >> log, and file attachments. >> >> What did I misconfigure? >> -- >> [ Drupal support list | http://lists.drupal.org/ ] > Thanks for your reply. No, I don't "fields permission" enabled. I only have the core CCK modules installed, all of which I enabled. From larry at garfieldtech.com Tue Oct 14 03:26:02 2008 From: larry at garfieldtech.com (Larry Garfield) Date: Mon, 13 Oct 2008 22:26:02 -0500 Subject: [support] =?iso-8859-1?q?Clarification_about_hook=5Fschema=28=29?= =?iso-8859-1?q?=2C_hook=5Fupdate=28=29_and=09hook=5Finstall_=28=29?= =?iso-8859-1?q?_in_D6?= In-Reply-To: <20081013071622.p295ai3ur134wgw8@mail.progw.org> References: <1223893625.8658.15.camel@localhost> <20081013071622.p295ai3ur134wgw8@mail.progw.org> Message-ID: <200810132226.02932.larry@garfieldtech.com> On Monday 13 October 2008 6:16:22 am Earnie Boyd wrote: > Quoting Pierre Rineau : > > The question is: do I have to modify my hook_schema so it carries the > > new field or not ? > > Yes, hook_schema needs updated. > > > When a new user will install the module, does drupal just assume that > > the schema is up to date then it does not need to do the updates ? > > Yes, no updates are run on new install. > > > Simple question. It was this behavior with D5, but I'm not sure with D6. > > AFAIK, there is no change to this in D7 as well. Yet. :-) -- Larry Garfield larry at garfieldtech.com From xgonzalo at gmail.com Tue Oct 14 07:05:15 2008 From: xgonzalo at gmail.com (Gorosito Gonzalo) Date: Tue, 14 Oct 2008 05:05:15 -0200 Subject: [support] Views and .tpl filenames Message-ID: <8deaace90810140005y3f048222k7a1a91e80841609d@mail.gmail.com> Hi everyone!!!! I lost 2 hours trying to find a .tpl name for my view: My view is called: banners_encabezado This is a view with block output selected. i've tried: views-view--banners-encabezado.tpl.php views-view--banners_encabezado.tpl.php blocks-view--banners-encabezado.tpl.php and more How can I discover the .tpl name for my view?? I'm using fourseasons theme. Thanks for all! -- ####################################### # Gonzalo Gorosito # Web Programmer / Sys Admin # http://www.ggorosito.com.ar ####################################### From dcirotteau at rue89.com Tue Oct 14 07:24:25 2008 From: dcirotteau at rue89.com (Damien Cirotteau) Date: Tue, 14 Oct 2008 09:24:25 +0200 Subject: [support] Views and .tpl filenames In-Reply-To: <8deaace90810140005y3f048222k7a1a91e80841609d@mail.gmail.com> References: <8deaace90810140005y3f048222k7a1a91e80841609d@mail.gmail.com> Message-ID: You can use whatever tp name you want but you have to call it in your template.php You can find some info here : http://drupal.org/node/42597 Damien Cirotteau www.rue89.com On Tue, Oct 14, 2008 at 9:05 AM, Gorosito Gonzalo wrote: > Hi everyone!!!! > > I lost 2 hours trying to find a .tpl name for my view: > > My view is called: banners_encabezado > > This is a view with block output selected. > > i've tried: > > views-view--banners-encabezado.tpl.php > views-view--banners_encabezado.tpl.php > blocks-view--banners-encabezado.tpl.php > > and more > > How can I discover the .tpl name for my view?? > > I'm using fourseasons theme. > > Thanks for all! > > -- > ####################################### > # Gonzalo Gorosito > # Web Programmer / Sys Admin > # http://www.ggorosito.com.ar > ####################################### > -- > [ Drupal support list | http://lists.drupal.org/ ] > From vishakhatambe.mcs at gmail.com Tue Oct 14 09:14:55 2008 From: vishakhatambe.mcs at gmail.com (Vishakha Tambe) Date: Tue, 14 Oct 2008 14:44:55 +0530 Subject: [support] Changing Default Settings in Drupal Message-ID: *Hello all, I'm currently working on drupal -5.11. I've following hierarchy in my site. * * * * Section 1.1* * Section 1.2* * ---------Section 1.2.1* * ---------Section 1.2.2* * ---------Section 1.2.3* * Section 1.3* * ---------Section 1.3.1* * Section 1.4* There are some Administers (we'll call them Section Admin and Site Admin). Site Admin will create some Section Admin and will assign them sections. And section Admin will only create the sub sections, e.g Section 1.2.1 and so on. Now the basic access control is One Section Admin can create sub sections only in his allocated section. And subsection is nothing but a page. There is setting in create page, Menu Settings. In that Section Admin can give any parent element. So, the security gets compromised here. I dont want that. So, i want to modify it in such a way that , If Section Admin is of section 1, then in menu settings Parent element will be by default only, Section 1, Section 1.1, Section 1.1.1 and so on. So is there any way? Sorry for so much long query. But i'm badly stuck at this point which is the last functionality. Regards, Vishakha -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081014/bbda5fb2/attachment.htm From mfioretti at nexaima.net Tue Oct 14 13:30:35 2008 From: mfioretti at nexaima.net (M. Fioretti) Date: Tue, 14 Oct 2008 15:30:35 +0200 Subject: [support] Blocks, login links and content disappeared from front page Message-ID: <20081014133035.GP3442@nexaima.net> Greetings, I did google a bit before posting, but only found suggestions to hack the code of some source files and am not even sure if they apply to my case. I have *no* problem to do that, but before messing with the code I'd rather hear some expert advice on the symptoms reported below. I have just realized that the front page of *one* of the websites I'm running off the **same** Drupal 5.7 installation went seriously broken. Please have a look at these two URLs to know what I mean: http://digifreedom.net/node/103 (works perfectly, excepted login link) http://digifreedom.net/ (empty) In the home page there are no left side blocks and no content (it should display a list of the N most recently added nodes). Besides, if you click on "Login" in the first page you get an error. Ditto if you try to go directly to http://digifreedom.net/admin Running cron.php manually doesn't do anything. As I said, the other drupal websites on the server are fine. They run off the same Drupal install, but each has its own separate MySql database. A couple of days ago the VPS hosting Drupal had an out-of-memory crash, so this looks to me like the Digifreedom MySql database got corrupted, but how to fix it and go back to a working admin page? TIA, Marco -- Your own civil rights and the quality of your life heavily depend on how software is used *around* you: http://digifreedom.net/node/84 From skessler at denverdataman.com Tue Oct 14 14:18:45 2008 From: skessler at denverdataman.com (Steve Kessler) Date: Tue, 14 Oct 2008 08:18:45 -0600 Subject: [support] Changing Default Settings in Drupal In-Reply-To: References: Message-ID: <047801c92e07$c5061a10$4f124e30$@com> So the same person who can admin 1.2.1 can admin 1.2.2 and would be allowed to make changes and add content for these sections? There may be a more elegant solution but based on my understanding of what you are trying to do you could do this by creating many content types. In the security for the content types you can control what roles can edit/create/delete them. You would also need a role for each level. I know this would work but there may be a more elegant solution out there but maybe this can spark some creativity. -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: Tuesday, October 14, 2008 3:15 AM To: support at drupal.org Subject: [support] Changing Default Settings in Drupal Hello all, I'm currently working on drupal -5.11. I've following hierarchy in my site. Section 1.1 Section 1.2 ---------Section 1.2.1 ---------Section 1.2.2 ---------Section 1.2.3 Section 1.3 ---------Section 1.3.1 Section 1.4 There are some Administers (we'll call them Section Admin and Site Admin). Site Admin will create some Section Admin and will assign them sections. And section Admin will only create the sub sections, e.g Section 1.2.1 and so on. Now the basic access control is One Section Admin can create sub sections only in his allocated section. And subsection is nothing but a page. There is setting in create page, Menu Settings. In that Section Admin can give any parent element. So, the security gets compromised here. I dont want that. So, i want to modify it in such a way that , If Section Admin is of section 1, then in menu settings Parent element will be by default only, Section 1, Section 1.1, Section 1.1.1 and so on. So is there any way? Sorry for so much long query. But i'm badly stuck at this point which is the last functionality. Regards, Vishakha -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081014/6e039ec3/attachment-0001.htm From georgedamonkey at gmail.com Tue Oct 14 14:45:55 2008 From: georgedamonkey at gmail.com (Jody Cleveland) Date: Tue, 14 Oct 2008 09:45:55 -0500 Subject: [support] Different front page based on browser? Message-ID: Hello, I'm wondering... Is there a way to feed specific home pages to users based on what browser they're using? (I've got a node carousel running that doesn't work with IE 6) - jody From xgonzalo at gmail.com Tue Oct 14 15:04:32 2008 From: xgonzalo at gmail.com (Gorosito Gonzalo) Date: Tue, 14 Oct 2008 12:04:32 -0300 Subject: [support] Views and .tpl filenames In-Reply-To: References: <8deaace90810140005y3f048222k7a1a91e80841609d@mail.gmail.com> Message-ID: <8deaace90810140804n167fb8bbtfc635bfa5207c45a@mail.gmail.com> I've forgot to say this: I'm using drupal 6.5 with views 1.1 , if I have a view called "lala" The tpl file will be: - views-view--lala.tpl.php ??? (it doenst work) - view-view--lala.tpl.php ??? (it doenst work) - views-view-lala.tpl.php ??? (it doenst work) Can anyone help me with this? :$ Thanks!!!!! On Tue, Oct 14, 2008 at 4:24 AM, Damien Cirotteau wrote: > You can use whatever tp name you want but you have to call it in your > template.php > You can find some info here : > http://drupal.org/node/42597 > Damien Cirotteau > www.rue89.com > > > > On Tue, Oct 14, 2008 at 9:05 AM, Gorosito Gonzalo wrote: >> Hi everyone!!!! >> >> I lost 2 hours trying to find a .tpl name for my view: >> >> My view is called: banners_encabezado >> >> This is a view with block output selected. >> >> i've tried: >> >> views-view--banners-encabezado.tpl.php >> views-view--banners_encabezado.tpl.php >> blocks-view--banners-encabezado.tpl.php >> >> and more >> >> How can I discover the .tpl name for my view?? >> >> I'm using fourseasons theme. >> >> Thanks for all! >> >> -- >> ####################################### >> # Gonzalo Gorosito >> # Web Programmer / Sys Admin >> # http://www.ggorosito.com.ar >> ####################################### >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- ####################################### # Gonzalo Gorosito # Web Programmer / Sys Admin # http://www.ggorosito.com.ar ####################################### From florent.jousseaume at makina-corpus.com Tue Oct 14 15:11:07 2008 From: florent.jousseaume at makina-corpus.com (Florent JOUSSEAUME) Date: Tue, 14 Oct 2008 17:11:07 +0200 Subject: [support] Views and .tpl filenames In-Reply-To: <8deaace90810140804n167fb8bbtfc635bfa5207c45a@mail.gmail.com> References: <8deaace90810140005y3f048222k7a1a91e80841609d@mail.gmail.com> <8deaace90810140804n167fb8bbtfc635bfa5207c45a@mail.gmail.com> Message-ID: <48F4B68B.8080009@makina-corpus.com> Did you try page-lala.tpl.php ? Regards Florent, Gorosito Gonzalo a ?crit : > I've forgot to say this: > > I'm using drupal 6.5 with views 1.1 , if I have a view called "lala" > > The tpl file will be: > - views-view--lala.tpl.php ??? (it doenst work) > - view-view--lala.tpl.php ??? (it doenst work) > - views-view-lala.tpl.php ??? (it doenst work) > > Can anyone help me with this? :$ > > Thanks!!!!! > > On Tue, Oct 14, 2008 at 4:24 AM, Damien Cirotteau wrote: > >> You can use whatever tp name you want but you have to call it in your >> template.php >> You can find some info here : >> http://drupal.org/node/42597 >> Damien Cirotteau >> www.rue89.com >> >> >> >> On Tue, Oct 14, 2008 at 9:05 AM, Gorosito Gonzalo wrote: >> >>> Hi everyone!!!! >>> >>> I lost 2 hours trying to find a .tpl name for my view: >>> >>> My view is called: banners_encabezado >>> >>> This is a view with block output selected. >>> >>> i've tried: >>> >>> views-view--banners-encabezado.tpl.php >>> views-view--banners_encabezado.tpl.php >>> blocks-view--banners-encabezado.tpl.php >>> >>> and more >>> >>> How can I discover the .tpl name for my view?? >>> >>> I'm using fourseasons theme. >>> >>> Thanks for all! >>> >>> -- >>> ####################################### >>> # Gonzalo Gorosito >>> # Web Programmer / Sys Admin >>> # http://www.ggorosito.com.ar >>> ####################################### >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >>> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> >> > > > > From xgonzalo at gmail.com Tue Oct 14 15:43:47 2008 From: xgonzalo at gmail.com (Gorosito Gonzalo) Date: Tue, 14 Oct 2008 12:43:47 -0300 Subject: [support] Views and .tpl filenames In-Reply-To: <48F4B68B.8080009@makina-corpus.com> References: <8deaace90810140005y3f048222k7a1a91e80841609d@mail.gmail.com> <8deaace90810140804n167fb8bbtfc635bfa5207c45a@mail.gmail.com> <48F4B68B.8080009@makina-corpus.com> Message-ID: <8deaace90810140843w321a3b8ew53967b81ac7d20fe@mail.gmail.com> I Have all these .tpl.php files and nothing happens: the real view is called "banners_encabezado" $ ls -la *banners* -rw-r--r-- 1 fundidores pg1788088 41 2008-10-14 08:39 banners_encabezado.tpl.php -rw-r--r-- 1 fundidores pg1788088 41 2008-10-14 08:39 banners-encabezado.tpl.php -rw-r--r-- 1 fundidores pg1788088 41 2008-10-14 08:41 blocks-views-banners-encabezado.tpl.php -rw-r--r-- 1 fundidores pg1788088 62 2008-10-13 23:54 views-view--banners_encabezado.tpl.php -rw-r--r-- 1 fundidores pg1788088 41 2008-10-13 23:51 views-view--banners-encabezado.tpl.php -rw-r--r-- 1 fundidores pg1788088 41 2008-10-13 23:50 views-view-banners-encabezado.tpl.php -rw-r--r-- 1 fundidores pg1788088 41 2008-10-14 00:00 views-view-unformatted--banners_encabezado.tpl.php -rw-r--r-- 1 fundidores pg1788088 41 2008-10-13 23:55 view-view--banners_encabezado.tpl.php -rw-r--r-- 1 fundidores pg1788088 41 2008-10-13 23:55 view-view-banners_encabezado.tpl.php The view is of type "block", and the cache is disabled on views configuration. Please help i'm more than half of a day on this :( On Tue, Oct 14, 2008 at 12:11 PM, Florent JOUSSEAUME wrote: > Did you try page-lala.tpl.php ? > > Regards > > Florent, > > Gorosito Gonzalo a ?crit : >> I've forgot to say this: >> >> I'm using drupal 6.5 with views 1.1 , if I have a view called "lala" >> >> The tpl file will be: >> - views-view--lala.tpl.php ??? (it doenst work) >> - view-view--lala.tpl.php ??? (it doenst work) >> - views-view-lala.tpl.php ??? (it doenst work) >> >> Can anyone help me with this? :$ >> >> Thanks!!!!! >> >> On Tue, Oct 14, 2008 at 4:24 AM, Damien Cirotteau wrote: >> >>> You can use whatever tp name you want but you have to call it in your >>> template.php >>> You can find some info here : >>> http://drupal.org/node/42597 >>> Damien Cirotteau >>> www.rue89.com >>> >>> >>> >>> On Tue, Oct 14, 2008 at 9:05 AM, Gorosito Gonzalo wrote: >>> >>>> Hi everyone!!!! >>>> >>>> I lost 2 hours trying to find a .tpl name for my view: >>>> >>>> My view is called: banners_encabezado >>>> >>>> This is a view with block output selected. >>>> >>>> i've tried: >>>> >>>> views-view--banners-encabezado.tpl.php >>>> views-view--banners_encabezado.tpl.php >>>> blocks-view--banners-encabezado.tpl.php >>>> >>>> and more >>>> >>>> How can I discover the .tpl name for my view?? >>>> >>>> I'm using fourseasons theme. >>>> >>>> Thanks for all! >>>> >>>> -- >>>> ####################################### >>>> # Gonzalo Gorosito >>>> # Web Programmer / Sys Admin >>>> # http://www.ggorosito.com.ar >>>> ####################################### >>>> -- >>>> [ Drupal support list | http://lists.drupal.org/ ] >>>> >>>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >>> >> >> >> >> > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- ####################################### # Gonzalo Gorosito # Web Programmer / Sys Admin # http://www.ggorosito.com.ar ####################################### From bchoc at t4tcolorado.org Tue Oct 14 15:01:44 2008 From: bchoc at t4tcolorado.org (Brian Choc) Date: Tue, 14 Oct 2008 09:01:44 -0600 Subject: [support] Views and .tpl filenames In-Reply-To: <8deaace90810140005y3f048222k7a1a91e80841609d@mail.gmail.com> References: <8deaace90810140005y3f048222k7a1a91e80841609d@mail.gmail.com> Message-ID: <507b282e0810140801r335b1b0akd3c6bebea21008be@mail.gmail.com> If you're on Drupal 6, both the View itself ("Theme" under basic settings) and the Developer module (Theme Developer submodule) can provide the options you need. Brian On Tue, Oct 14, 2008 at 1:05 AM, Gorosito Gonzalo wrote: > Hi everyone!!!! > > I lost 2 hours trying to find a .tpl name for my view: > > My view is called: banners_encabezado > > This is a view with block output selected. > > i've tried: > > views-view--banners-encabezado.tpl.php > views-view--banners_encabezado.tpl.php > blocks-view--banners-encabezado.tpl.php > > and more > > How can I discover the .tpl name for my view?? > > I'm using fourseasons theme. > > Thanks for all! > > -- > ####################################### > # Gonzalo Gorosito > # Web Programmer / Sys Admin > # http://www.ggorosito.com.ar > ####################################### > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Brian Choc Technology Manager Teaming for Technology Colorado 2505 18th St. Denver, CO 80211 P: 303.561.2377, F: 303.455.6462 http://www.t4tcolorado.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081014/e38aa894/attachment.htm From xgonzalo at gmail.com Tue Oct 14 16:12:42 2008 From: xgonzalo at gmail.com (Gorosito Gonzalo) Date: Tue, 14 Oct 2008 13:12:42 -0300 Subject: [support] Views and .tpl filenames In-Reply-To: <507b282e0810140801r335b1b0akd3c6bebea21008be@mail.gmail.com> References: <8deaace90810140005y3f048222k7a1a91e80841609d@mail.gmail.com> <507b282e0810140801r335b1b0akd3c6bebea21008be@mail.gmail.com> Message-ID: <8deaace90810140912u354a6401qff75ca1662c39957@mail.gmail.com> So I'm using fourseasons theme. I still do not undestand the criteria to determine the names of the tpl. Is there a way to determine these names with an standard? On Tue, Oct 14, 2008 at 12:01 PM, Brian Choc wrote: > If you're on Drupal 6, both the View itself ("Theme" under basic settings) > and the Developer module (Theme Developer submodule) can provide the options > you need. > Brian > > > > On Tue, Oct 14, 2008 at 1:05 AM, Gorosito Gonzalo > wrote: >> >> Hi everyone!!!! >> >> I lost 2 hours trying to find a .tpl name for my view: >> >> My view is called: banners_encabezado >> >> This is a view with block output selected. >> >> i've tried: >> >> views-view--banners-encabezado.tpl.php >> views-view--banners_encabezado.tpl.php >> blocks-view--banners-encabezado.tpl.php >> >> and more >> >> How can I discover the .tpl name for my view?? >> >> I'm using fourseasons theme. >> >> Thanks for all! >> >> -- >> ####################################### >> # Gonzalo Gorosito >> # Web Programmer / Sys Admin >> # http://www.ggorosito.com.ar >> ####################################### >> -- >> [ Drupal support list | http://lists.drupal.org/ ] > > > > -- > Brian Choc > Technology Manager > > Teaming for Technology Colorado > 2505 18th St. Denver, CO 80211 > P: 303.561.2377, F: 303.455.6462 > http://www.t4tcolorado.org > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- ####################################### # Gonzalo Gorosito # Web Programmer / Sys Admin # http://www.ggorosito.com.ar ####################################### From vishakhatambe.mcs at gmail.com Tue Oct 14 16:44:01 2008 From: vishakhatambe.mcs at gmail.com (Vishakha Tambe) Date: Tue, 14 Oct 2008 09:44:01 -0700 Subject: [support] support Digest, Vol 70, Issue 9 In-Reply-To: References: Message-ID: > Date: Tue, 14 Oct 2008 08:18:45 -0600 > From: "Steve Kessler" > Subject: Re: [support] Changing Default Settings in Drupal > To: > Message-ID: <047801c92e07$c5061a10$4f124e30$@com> > Content-Type: text/plain; charset="us-ascii" > > So the same person who can admin 1.2.1 can admin 1.2.2 and would be allowed > to make changes and add content for these sections? > > > --> Ya you are right steve admin 1.2.1 can admin 1.2.2. What u r saying, i'm getting it. But i tried this also. It is not feasible for the admin whose is creating the Sections Admin and Section. So is there any other way out? Thanx and Regards, Vishakha -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081014/64632549/attachment-0001.htm From skessler at denverdataman.com Tue Oct 14 17:14:21 2008 From: skessler at denverdataman.com (Steve Kessler) Date: Tue, 14 Oct 2008 11:14:21 -0600 Subject: [support] support Digest, Vol 70, Issue 9 In-Reply-To: References: Message-ID: <053001c92e20$4ce3abb0$e6ab0310$@com> I am not sure I understand your problem. If you make a top content type that one role can work with and then create views based on the types of the sub-content types you could organize it that way. Please be more specific about the challenge and I willsee if I can help you work through it. -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: Tuesday, October 14, 2008 10:44 AM To: support at drupal.org Subject: Re: [support] support Digest, Vol 70, Issue 9 Date: Tue, 14 Oct 2008 08:18:45 -0600 From: "Steve Kessler" Subject: Re: [support] Changing Default Settings in Drupal To: Message-ID: <047801c92e07$c5061a10$4f124e30$@com> Content-Type: text/plain; charset="us-ascii" So the same person who can admin 1.2.1 can admin 1.2.2 and would be allowed to make changes and add content for these sections? --> Ya you are right steve admin 1.2.1 can admin 1.2.2. What u r saying, i'm getting it. But i tried this also. It is not feasible for the admin whose is creating the Sections Admin and Section. So is there any other way out? Thanx and Regards, Vishakha -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081014/56d59eca/attachment.htm From xgonzalo at gmail.com Tue Oct 14 17:46:42 2008 From: xgonzalo at gmail.com (Gorosito Gonzalo) Date: Tue, 14 Oct 2008 14:46:42 -0300 Subject: [support] Views and .tpl filenames In-Reply-To: <8deaace90810140912u354a6401qff75ca1662c39957@mail.gmail.com> References: <8deaace90810140005y3f048222k7a1a91e80841609d@mail.gmail.com> <507b282e0810140801r335b1b0akd3c6bebea21008be@mail.gmail.com> <8deaace90810140912u354a6401qff75ca1662c39957@mail.gmail.com> Message-ID: <8deaace90810141046w30ab8477gdfce4a0b10ebd692@mail.gmail.com> its any function like phptemplate_views_view() to call to handle the views? On Tue, Oct 14, 2008 at 1:12 PM, Gorosito Gonzalo wrote: > So I'm using fourseasons theme. > > I still do not undestand the criteria to determine the names of the tpl. > > Is there a way to determine these names with an standard? > > > On Tue, Oct 14, 2008 at 12:01 PM, Brian Choc wrote: >> If you're on Drupal 6, both the View itself ("Theme" under basic settings) >> and the Developer module (Theme Developer submodule) can provide the options >> you need. >> Brian >> >> >> >> On Tue, Oct 14, 2008 at 1:05 AM, Gorosito Gonzalo >> wrote: >>> >>> Hi everyone!!!! >>> >>> I lost 2 hours trying to find a .tpl name for my view: >>> >>> My view is called: banners_encabezado >>> >>> This is a view with block output selected. >>> >>> i've tried: >>> >>> views-view--banners-encabezado.tpl.php >>> views-view--banners_encabezado.tpl.php >>> blocks-view--banners-encabezado.tpl.php >>> >>> and more >>> >>> How can I discover the .tpl name for my view?? >>> >>> I'm using fourseasons theme. >>> >>> Thanks for all! >>> >>> -- >>> ####################################### >>> # Gonzalo Gorosito >>> # Web Programmer / Sys Admin >>> # http://www.ggorosito.com.ar >>> ####################################### >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >> >> >> >> -- >> Brian Choc >> Technology Manager >> >> Teaming for Technology Colorado >> 2505 18th St. Denver, CO 80211 >> P: 303.561.2377, F: 303.455.6462 >> http://www.t4tcolorado.org >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > > -- > ####################################### > # Gonzalo Gorosito > # Web Programmer / Sys Admin > # http://www.ggorosito.com.ar > ####################################### > -- ####################################### # Gonzalo Gorosito # Web Programmer / Sys Admin # http://www.ggorosito.com.ar ####################################### From ext237 at gmail.com Tue Oct 14 20:51:39 2008 From: ext237 at gmail.com (ext237 ext237) Date: Tue, 14 Oct 2008 15:51:39 -0500 Subject: [support] List Handler question, sending email to new users Message-ID: <4a3a00060810141351n2715351cxa44f83e5cb4d2c16@mail.gmail.com> When Listhandler posts a message from an email and creates a new user, is there a way to automatically trigger the "the admin has created an account for you" email for the new user? We've experienced that some users don't realize that when they send an email via the list, an account is created for them. Hopefully someone else has needed this too. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081014/7a995617/attachment.htm From xgonzalo at gmail.com Wed Oct 15 00:14:39 2008 From: xgonzalo at gmail.com (Gorosito Gonzalo) Date: Tue, 14 Oct 2008 22:14:39 -0200 Subject: [support] Drupal 6 Views Message-ID: <8deaace90810141714sff43c1u89a81f995ae6a05f@mail.gmail.com> hi everyone!! Now I've got a view working. Now I have a view with content called "test". in views-view--test.tpl.php I have access to $view. is a view Object, so what methods and properties I have in it? how can I get the content? Regards -- ####################################### # Gonzalo Gorosito # Web Programmer / Sys Admin # http://www.ggorosito.com.ar ####################################### From georger at depiction.com Wed Oct 15 11:04:34 2008 From: georger at depiction.com (George Rodgers-Clark) Date: Wed, 15 Oct 2008 04:04:34 -0700 Subject: [support] PHP & MySQL Message-ID: <3E34DF2D43A0AA47828FCCC0AC9C579B02C206@simioserver.Simio.local> I'm doing a new install on an Ubuntu 8.04 server w/PHP5, MySQL server and apache2. I'm getting the "We're unable to use the MySQL database because the MySQL extension for PHP is not installed" error. If found the "extension=mysql.so" statement in the php.ini file and activated it, but find no "mysql.so" file on the server (even after installing mysql-client per a couple of forum/site recommendations. Any ideas? Thanks in advance, George George Rodgers-Clark http://testweb.depiction.com (troubled site) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081015/d9d86297/attachment.htm From earnie at users.sourceforge.net Wed Oct 15 11:22:31 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Wed, 15 Oct 2008 07:22:31 -0400 Subject: [support] PHP & MySQL In-Reply-To: <3E34DF2D43A0AA47828FCCC0AC9C579B02C206@simioserver.Simio.local> References: <3E34DF2D43A0AA47828FCCC0AC9C579B02C206@simioserver.Simio.local> Message-ID: <20081015072231.tbg8d0j343k04sc8@mail.progw.org> Quoting George Rodgers-Clark : > I'm doing a new install on an Ubuntu 8.04 server w/PHP5, MySQL server > and apache2. I'm getting the "We're unable to use the MySQL database > because the MySQL extension for PHP is not installed" error. If found > the "extension=mysql.so" statement in the php.ini file and activated > it, but find no "mysql.so" file on the server (even after installing > mysql-client per a couple of forum/site recommendations. Any ideas? > You have to install the extension separately. PHP can no longer distribute it. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From victorkane at gmail.com Wed Oct 15 11:42:06 2008 From: victorkane at gmail.com (Victor Kane) Date: Wed, 15 Oct 2008 08:42:06 -0300 Subject: [support] PHP & MySQL In-Reply-To: <20081015072231.tbg8d0j343k04sc8@mail.progw.org> References: <3E34DF2D43A0AA47828FCCC0AC9C579B02C206@simioserver.Simio.local> <20081015072231.tbg8d0j343k04sc8@mail.progw.org> Message-ID: A typical installation might look like this: $ sudo aptitude install apache2-mpm-prefork mysql-server php5-mysql cvs Victor Kane http://awebfactory.com.ar On Wed, Oct 15, 2008 at 8:22 AM, Earnie Boyd wrote: > Quoting George Rodgers-Clark : > >> I'm doing a new install on an Ubuntu 8.04 server w/PHP5, MySQL server >> and apache2. I'm getting the "We're unable to use the MySQL database >> because the MySQL extension for PHP is not installed" error. If found >> the "extension=mysql.so" statement in the php.ini file and activated >> it, but find no "mysql.so" file on the server (even after installing >> mysql-client per a couple of forum/site recommendations. Any ideas? >> > > You have to install the extension separately. PHP can no longer > distribute it. > > Earnie -- http://for-my-kids.com/ > -- http://give-me-an-offer.com/ > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From joe at openconcept.ca Wed Oct 15 11:35:59 2008 From: joe at openconcept.ca (Joe Stewart) Date: Wed, 15 Oct 2008 06:35:59 -0500 Subject: [support] PHP & MySQL In-Reply-To: <3E34DF2D43A0AA47828FCCC0AC9C579B02C206@simioserver.Simio.local> References: <3E34DF2D43A0AA47828FCCC0AC9C579B02C206@simioserver.Simio.local> Message-ID: <989c1ca30810150435k606534b4k7fa4c91c68ec683f@mail.gmail.com> On Wed, Oct 15, 2008 at 6:04 AM, George Rodgers-Clark wrote: > I'm doing a new install on an Ubuntu 8.04 server w/PHP5, MySQL server and > apache2. I'm getting the "We're unable to use the MySQL database because the > MySQL extension for PHP is not installed" error. If found the > "extension=mysql.so" statement in the php.ini file and activated it, but > find no "mysql.so" file on the server (even after installing mysql-client > per a couple of forum/site recommendations. Any ideas? > > If you are using the Ubuntu php packages, try installing the php5 mysql extension: sudo apt-get install php5-mysql Joe Thanks in advance, > George > > George Rodgers-Clark > http://testweb.depiction.com (troubled site) > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081015/68de7f44/attachment.htm From simone.dalmaso at juvox.it Wed Oct 15 12:36:05 2008 From: simone.dalmaso at juvox.it (Simone Dal Maso) Date: Wed, 15 Oct 2008 14:36:05 +0200 Subject: [support] updating drupal5 Message-ID: <00c601c92ec2$98227d20$06000a0a@csa> Hi, I have drupal 5.6. Should I upgrade before to drupal 5.7, 5.8 and so on or can I upgrade directly to the last drupal 5 version? 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 lakbay.taodev at gmail.com Wed Oct 15 12:42:34 2008 From: lakbay.taodev at gmail.com (tata dano) Date: Wed, 15 Oct 2008 20:42:34 +0800 Subject: [support] PHP & MySQL In-Reply-To: <20081015072231.tbg8d0j343k04sc8@mail.progw.org> References: <3E34DF2D43A0AA47828FCCC0AC9C579B02C206@simioserver.Simio.local> <20081015072231.tbg8d0j343k04sc8@mail.progw.org> Message-ID: <4acfed4e0810150542h6ada5b9fied6b35cbceae326d@mail.gmail.com> Hi, You can also try install via Synaptic then click Marked by Task and select LAMP Server. Hope that helps. On Wed, Oct 15, 2008 at 7:22 PM, Earnie Boyd wrote: > Quoting George Rodgers-Clark : > > > I'm doing a new install on an Ubuntu 8.04 server w/PHP5, MySQL server > > and apache2. I'm getting the "We're unable to use the MySQL database > > because the MySQL extension for PHP is not installed" error. If found > > the "extension=mysql.so" statement in the php.ini file and activated > > it, but find no "mysql.so" file on the server (even after installing > > mysql-client per a couple of forum/site recommendations. Any ideas? > > > > You have to install the extension separately. PHP can no longer > distribute it. > > Earnie -- http://for-my-kids.com/ > -- http://give-me-an-offer.com/ > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Linux Registered User #383849 http://kngphil.proboards58.com/ http://atats.blogspot.com/ http://sedemdbs.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081015/5b1c87bb/attachment.htm From bharanikumariyerphp at gmail.com Wed Oct 15 12:46:27 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Wed, 15 Oct 2008 18:16:27 +0530 Subject: [support] document management system Message-ID: <2240033d0810150546i3a5463far522130a52cc2627@mail.gmail.com> Hi Friends Is there any module for document management system (include multiple file upload support [Drag and Drop]) , regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081015/84494724/attachment.htm From earnie at users.sourceforge.net Wed Oct 15 13:21:15 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Wed, 15 Oct 2008 09:21:15 -0400 Subject: [support] document management system In-Reply-To: <2240033d0810150546i3a5463far522130a52cc2627@mail.gmail.com> References: <2240033d0810150546i3a5463far522130a52cc2627@mail.gmail.com> Message-ID: <20081015092115.m6olkbvssrr480w4@mail.progw.org> Quoting bharani kumar : > Hi Friends > > Is there any module for > > document management system (include multiple file upload support [Drag and > Drop]) , Maybe http://drupal.org/project/kt might be what you're looking for. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From earnie at users.sourceforge.net Wed Oct 15 13:43:52 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Wed, 15 Oct 2008 09:43:52 -0400 Subject: [support] updating drupal5 In-Reply-To: <00c601c92ec2$98227d20$06000a0a@csa> References: <00c601c92ec2$98227d20$06000a0a@csa> Message-ID: <20081015094352.44xzhx8cbizkk0wk@mail.progw.org> Quoting Simone Dal Maso : > Hi, > I have drupal 5.6. > Should I upgrade before to drupal 5.7, 5.8 and so on or can I upgrade > directly to the last drupal 5 version? This is asked so often it isn't funny. The real answer is "maybe". You'll have to try 5.6 -> 5.11 and see what breaks for you. Should be a "good to go". However, don't do D5 -> D6 without doing 5.6 -> 5.11 first. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From sivaji2009 at gmail.com Wed Oct 15 13:44:12 2008 From: sivaji2009 at gmail.com (sivaji j.g) Date: Wed, 15 Oct 2008 19:14:12 +0530 Subject: [support] PHP & MySQL In-Reply-To: References: <3E34DF2D43A0AA47828FCCC0AC9C579B02C206@simioserver.Simio.local> <20081015072231.tbg8d0j343k04sc8@mail.progw.org> Message-ID: > > $ sudo aptitude install apache2-mpm-prefork mysql-server php5-mysql cvs yup this is enough to install php-mysql extension its better to run this command "sudo apt-get update" before installing a new software/package Also do "sudo a2enmod rewrite" to enable clean url Ubuntu is not using httpd.conf instead its using 000-default as configuration file where you can change your document root, overridding and other things -- Thanks a lot ----------------------------------------- http://ubuntuslave.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081015/65131aa9/attachment-0001.htm From sivaji2009 at gmail.com Wed Oct 15 13:46:33 2008 From: sivaji2009 at gmail.com (sivaji j.g) Date: Wed, 15 Oct 2008 19:16:33 +0530 Subject: [support] updating drupal5 In-Reply-To: <00c601c92ec2$98227d20$06000a0a@csa> References: <00c601c92ec2$98227d20$06000a0a@csa> Message-ID: Hi, > I have drupal 5.6. > Should I upgrade before to drupal 5.7, 5.8 and so on > I would say because its always better to use latest version -- Thanks a lot ----------------------------------------- http://ubuntuslave.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081015/0b8bd2d1/attachment-0001.htm From bharanikumariyerphp at gmail.com Wed Oct 15 13:50:48 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Wed, 15 Oct 2008 19:20:48 +0530 Subject: [support] document management system In-Reply-To: <20081015092115.m6olkbvssrr480w4@mail.progw.org> References: <2240033d0810150546i3a5463far522130a52cc2627@mail.gmail.com> <20081015092115.m6olkbvssrr480w4@mail.progw.org> Message-ID: <2240033d0810150650x46915eedvf3282e96b416cebe@mail.gmail.com> Hi Other then kt module, On Wed, Oct 15, 2008 at 6:51 PM, Earnie Boyd wrote: > Quoting bharani kumar : > > > Hi Friends > > > > Is there any module for > > > > document management system (include multiple file upload support [Drag > and > > Drop]) , > > Maybe http://drupal.org/project/kt might be what you're looking for. > > Earnie -- http://for-my-kids.com/ > -- http://give-me-an-offer.com/ > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081015/0fcba2ce/attachment.htm From victorkane at gmail.com Wed Oct 15 14:05:37 2008 From: victorkane at gmail.com (Victor Kane) Date: Wed, 15 Oct 2008 11:05:37 -0300 Subject: [support] PHP & MySQL In-Reply-To: References: <3E34DF2D43A0AA47828FCCC0AC9C579B02C206@simioserver.Simio.local> <20081015072231.tbg8d0j343k04sc8@mail.progw.org> Message-ID: For a complete guide to installing Drupal on Ubuntu see my article on installing Drupal and Ubuntu on a VPS (there are 5-6 references at the bottom of the article to similar how-to articles): http://awebfactory.com.ar/node/275 On Wed, Oct 15, 2008 at 10:44 AM, sivaji j.g wrote: > > >> >> >> $ sudo aptitude install apache2-mpm-prefork mysql-server php5-mysql cvs > > yup this is enough to install php-mysql extension > > its better to run this command "sudo apt-get update" before installing a > new software/package > > Also do "sudo a2enmod rewrite" to enable clean url > > Ubuntu is not using httpd.conf instead its using 000-default as > configuration file where you can change your document root, overridding and > other things > > > > > > -- > Thanks a lot > ----------------------------------------- > http://ubuntuslave.blogspot.com/ > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From earnie at users.sourceforge.net Wed Oct 15 15:56:54 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Wed, 15 Oct 2008 11:56:54 -0400 Subject: [support] document management system In-Reply-To: <2240033d0810150650x46915eedvf3282e96b416cebe@mail.gmail.com> References: <2240033d0810150546i3a5463far522130a52cc2627@mail.gmail.com> <20081015092115.m6olkbvssrr480w4@mail.progw.org> <2240033d0810150650x46915eedvf3282e96b416cebe@mail.gmail.com> Message-ID: <20081015115654.wuep765a99a80coo@mail.progw.org> Quoting bharani kumar : > Hi > > Other then kt module, > Maybe some ideas at http://groups.drupal.org/document-management will help. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From dan at karran.net Wed Oct 15 16:24:52 2008 From: dan at karran.net (Dan Karran) Date: Wed, 15 Oct 2008 17:24:52 +0100 Subject: [support] document management system In-Reply-To: <2240033d0810150546i3a5463far522130a52cc2627@mail.gmail.com> References: <2240033d0810150546i3a5463far522130a52cc2627@mail.gmail.com> Message-ID: <37d514850810150924s3fcbda29ida4a3773860fb35c@mail.gmail.com> On Wed, Oct 15, 2008 at 1:46 PM, bharani kumar wrote: > Hi Friends > > Is there any module for > > document management system (include multiple file upload support [Drag and > Drop]) , You may be interested in WebDAV support that http://drupal.org/project/dav gives you, and also http://drupal.org/project/fileserver with http://drupal.org/project/fileframework Cheers, Dan -- Dan Karran dan at karran.net www.dankarran.com From bharanikumariyerphp at gmail.com Wed Oct 15 17:36:56 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Wed, 15 Oct 2008 23:06:56 +0530 Subject: [support] document management system In-Reply-To: <37d514850810150924s3fcbda29ida4a3773860fb35c@mail.gmail.com> References: <2240033d0810150546i3a5463far522130a52cc2627@mail.gmail.com> <37d514850810150924s3fcbda29ida4a3773860fb35c@mail.gmail.com> Message-ID: <2240033d0810151036m6906a164o6b7f02da8f15ccfc@mail.gmail.com> Hi Am seeking towards for drupal 5.x version.. On Wed, Oct 15, 2008 at 9:54 PM, Dan Karran wrote: > On Wed, Oct 15, 2008 at 1:46 PM, bharani kumar > wrote: > > Hi Friends > > > > Is there any module for > > > > document management system (include multiple file upload support [Drag > and > > Drop]) , > > You may be interested in WebDAV support that > http://drupal.org/project/dav gives you, and also > http://drupal.org/project/fileserver with > http://drupal.org/project/fileframework > > > Cheers, > Dan > > -- > Dan Karran > dan at karran.net > www.dankarran.com > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081015/80b7db12/attachment.htm From georger at depiction.com Wed Oct 15 18:02:24 2008 From: georger at depiction.com (George Rodgers-Clark) Date: Wed, 15 Oct 2008 11:02:24 -0700 Subject: [support] PHP & MySQL In-Reply-To: References: <3E34DF2D43A0AA47828FCCC0AC9C579B02C206@simioserver.Simio.local><20081015072231.tbg8d0j343k04sc8@mail.progw.org> Message-ID: <3E34DF2D43A0AA47828FCCC0AC9C579B16C75F@simioserver.Simio.local> Thanks for all the responses. I've tried the options given, and am now running into "No install profiles found". Any recommendations? Thanks again, George -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Victor Kane Sent: Wednesday, October 15, 2008 7:06 AM To: support at drupal.org Subject: Re: [support] PHP & MySQL For a complete guide to installing Drupal on Ubuntu see my article on installing Drupal and Ubuntu on a VPS (there are 5-6 references at the bottom of the article to similar how-to articles): http://awebfactory.com.ar/node/275 On Wed, Oct 15, 2008 at 10:44 AM, sivaji j.g wrote: > > >> >> >> $ sudo aptitude install apache2-mpm-prefork mysql-server php5-mysql cvs > > yup this is enough to install php-mysql extension > > its better to run this command "sudo apt-get update" before installing a > new software/package > > Also do "sudo a2enmod rewrite" to enable clean url > > Ubuntu is not using httpd.conf instead its using 000-default as > configuration file where you can change your document root, overridding and > other things > > > > > > -- > Thanks a lot > ----------------------------------------- > http://ubuntuslave.blogspot.com/ > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- [ Drupal support list | http://lists.drupal.org/ ] From bchoc at t4tcolorado.org Wed Oct 15 18:58:31 2008 From: bchoc at t4tcolorado.org (Brian Choc) Date: Wed, 15 Oct 2008 12:58:31 -0600 Subject: [support] Views and .tpl filenames In-Reply-To: <8deaace90810140804n167fb8bbtfc635bfa5207c45a@mail.gmail.com> References: <8deaace90810140005y3f048222k7a1a91e80841609d@mail.gmail.com> <8deaace90810140804n167fb8bbtfc635bfa5207c45a@mail.gmail.com> Message-ID: <507b282e0810151158p8766d0al7e5595db7ddf56c3@mail.gmail.com> Ensure you've cleared the theme registry. On Tue, Oct 14, 2008 at 9:04 AM, Gorosito Gonzalo wrote: > I've forgot to say this: > > I'm using drupal 6.5 with views 1.1 , if I have a view called "lala" > > The tpl file will be: > - views-view--lala.tpl.php ??? (it doenst work) > - view-view--lala.tpl.php ??? (it doenst work) > - views-view-lala.tpl.php ??? (it doenst work) > > Can anyone help me with this? :$ > > Thanks!!!!! > > On Tue, Oct 14, 2008 at 4:24 AM, Damien Cirotteau > wrote: > > You can use whatever tp name you want but you have to call it in your > > template.php > > You can find some info here : > > http://drupal.org/node/42597 > > Damien Cirotteau > > www.rue89.com > > > > > > > > On Tue, Oct 14, 2008 at 9:05 AM, Gorosito Gonzalo > wrote: > >> Hi everyone!!!! > >> > >> I lost 2 hours trying to find a .tpl name for my view: > >> > >> My view is called: banners_encabezado > >> > >> This is a view with block output selected. > >> > >> i've tried: > >> > >> views-view--banners-encabezado.tpl.php > >> views-view--banners_encabezado.tpl.php > >> blocks-view--banners-encabezado.tpl.php > >> > >> and more > >> > >> How can I discover the .tpl name for my view?? > >> > >> I'm using fourseasons theme. > >> > >> Thanks for all! > >> > >> -- > >> ####################################### > >> # Gonzalo Gorosito > >> # Web Programmer / Sys Admin > >> # http://www.ggorosito.com.ar > >> ####################################### > >> -- > >> [ Drupal support list | http://lists.drupal.org/ ] > >> > > -- > > [ Drupal support list | http://lists.drupal.org/ ] > > > > > > -- > ####################################### > # Gonzalo Gorosito > # Web Programmer / Sys Admin > # http://www.ggorosito.com.ar > ####################################### > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Brian Choc Technology Manager Teaming for Technology Colorado 2505 18th St. Denver, CO 80211 P: 303.561.2377, F: 303.455.6462 http://www.t4tcolorado.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081015/7cade694/attachment-0001.htm From merlin at logrus.com Fri Oct 17 05:29:07 2008 From: merlin at logrus.com (Earl Miles) Date: Thu, 16 Oct 2008 22:29:07 -0700 Subject: [support] Views and .tpl filenames In-Reply-To: <8deaace90810140005y3f048222k7a1a91e80841609d@mail.gmail.com> References: <8deaace90810140005y3f048222k7a1a91e80841609d@mail.gmail.com> Message-ID: <48F822A3.7000103@logrus.com> Gorosito Gonzalo wrote: > Hi everyone!!!! > > I lost 2 hours trying to find a .tpl name for my view: > > My view is called: banners_encabezado > > This is a view with block output selected. > > i've tried: > > views-view--banners-encabezado.tpl.php > views-view--banners_encabezado.tpl.php > blocks-view--banners-encabezado.tpl.php > > and more > > How can I discover the .tpl name for my view?? > > I'm using fourseasons theme. > > Thanks for all! > On any view you can visit the "Theme: information" link and it lists all the possible .tpl.php names. I'm sorry you lost 2 hours on this, but you skipped a really important link in the UI. From xgonzalo at gmail.com Fri Oct 17 06:11:26 2008 From: xgonzalo at gmail.com (Gorosito Gonzalo) Date: Fri, 17 Oct 2008 03:11:26 -0300 Subject: [support] Views and .tpl filenames In-Reply-To: <48F822A3.7000103@logrus.com> References: <8deaace90810140005y3f048222k7a1a91e80841609d@mail.gmail.com> <48F822A3.7000103@logrus.com> Message-ID: <8deaace90810162311n7c3a65a1sf10251a70618c31c@mail.gmail.com> Yep!!!!!! I've found it! Now I'm trying to develop a module for ads, because the ad module doent show the blocks when I set it. Anyone made it work in drupal 6?? On Fri, Oct 17, 2008 at 2:29 AM, Earl Miles wrote: > Gorosito Gonzalo wrote: >> Hi everyone!!!! >> >> I lost 2 hours trying to find a .tpl name for my view: >> >> My view is called: banners_encabezado >> >> This is a view with block output selected. >> >> i've tried: >> >> views-view--banners-encabezado.tpl.php >> views-view--banners_encabezado.tpl.php >> blocks-view--banners-encabezado.tpl.php >> >> and more >> >> How can I discover the .tpl name for my view?? >> >> I'm using fourseasons theme. >> >> Thanks for all! >> > > On any view you can visit the "Theme: information" link and it lists all > the possible .tpl.php names. I'm sorry you lost 2 hours on this, but you > skipped a really important link in the UI. > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- ####################################### # Gonzalo Gorosito # Web Programmer / Sys Admin # http://www.ggorosito.com.ar ####################################### From amont at 5net.hu Fri Oct 17 09:59:07 2008 From: amont at 5net.hu (=?ISO-8859-2?Q?=C1mon_Tam=E1s?=) Date: Fri, 17 Oct 2008 11:59:07 +0200 Subject: [support] Why changing the session id? Message-ID: <48F861EB.7050205@5net.hu> Hello, I like to make a little shop, on my website. I like to give possibility to anonymous users to add some products to the cart. In the cart I try to store the user id and the session id (what is give the session_id() function). But the problem is, if a user is logged in the session id is changing. Why? And How can I access the anonymous user session? ?mon Tam?s Sitefejleszt? ?s programoz? -- 5NET Informatikai Kft. 1062 Budapest, Aradi utca 38. A 3/11 telefon: (1) 461-0205 | fax: (1) 461-0206 e-mail: amont at 5net.hu | web: http://www.5net.hu From marolijo at yahoo.es Fri Oct 17 11:37:36 2008 From: marolijo at yahoo.es (Marolijo / Pol Maresma) Date: Fri, 17 Oct 2008 13:37:36 +0200 Subject: [support] Internal server error (with .htaccess and mod_rewrite installed) Message-ID: <000601c9304c$c249bd30$0601a8c0@zeus> Hi, I'm on a new server and have the Internal server error when I copy the ..htaccess file Without it instal.lation goes well. Mod_rewrite is installed, PHP4.3.9, Apache2. (see below the results of a phpinfo() call: ) What Can I do to test what-s happening+ Thank's! Pol phpinfo() _____ PHP Version 4.3.9 System Linux mlwd335.servidoresdns.net 2.6.9-55.ELsmp #1 SMP Fri Apr 20 17:03:35 EDT 2007 i686 Build Date Sep 12 2007 11:11:02 Configure Command './configure' '--build=i686-redhat-linux-gnu' '--host=i686-redhat-linux-gnu' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--enable-force-cgi-redirect' '--disable-debug' '--enable-pic' '--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-db4=/usr' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd=shared' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-ncurses=shared' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-xml' '--with-expat-dir=/usr' '--with-dom=shared,/usr' '--with-dom-xslt=/usr' '--with-dom-exslt=/usr' '--with-xmlrpc=shared' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--with-pear=/usr/share/pear' '--with-imap=shared' '--with-imap-ssl' '--with-kerberos' '--with-ldap=shared' '--with-mysql=shared,/usr' '--with-pgsql=shared' '--with-snmp=shared,/usr' '--with-snmp=shared' '--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr' '--enable-memory-limit' '--enable-shmop' '--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mbstring=shared' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-mime-magic=/usr/share/file/magic.mime' '--with-apxs2=/usr/sbin/apxs' Server API Apache 2.0 Handler Virtual Directory Support disabled Configuration File (php.ini) Path /etc/php.ini Scan this dir for additional .ini files /etc/php.d additional .ini files parsed /etc/php.d/mbstring.ini, /etc/php.d/mysql.ini, /etc/php.d/pgsql.ini PHP API 20020918 PHP Extension 20020429 Zend Extension 20021010 Debug Build no Thread Safety disabled Registered PHP Streams php, http, ftp, https, ftps, compress.bzip2, compress.zlib Zend logo This program makes use of the Zend Scripting Language Engine: Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies _____ PHP Credits _____ Configuration PHP Core Directive Local Value Master Value allow_call_time_pass_reference Off Off allow_url_fopen On On always_populate_raw_post_data Off Off arg_separator.input & & arg_separator.output & & asp_tags Off Off auto_append_file no value no value auto_prepend_file no value no value browscap no value no value default_charset no value no value default_mimetype text/html text/html define_syslog_variables Off Off disable_classes no value no value disable_functions no value no value display_errors Off Off display_startup_errors Off Off doc_root no value no value docref_ext no value no value docref_root no value no value enable_dl On On error_append_string no value no value error_log no value no value error_prepend_string no value no value error_reporting 2047 2047 expose_php On On extension_dir /usr/lib/php4 /usr/lib/php4 file_uploads On On gpc_order GPC GPC highlight.bg #FFFFFF #FFFFFF highlight.comment #FF8000 #FF8000 highlight.default #0000BB #0000BB highlight.html #000000 #000000 highlight.keyword #007700 #007700 highlight.string #DD0000 #DD0000 html_errors On On ignore_repeated_errors Off Off ignore_repeated_source Off Off ignore_user_abort Off Off implicit_flush Off Off include_path .:/usr/share/pear .:/usr/share/pear log_errors On On log_errors_max_len 1024 1024 magic_quotes_gpc Off Off magic_quotes_runtime Off Off magic_quotes_sybase Off Off max_execution_time 30 30 max_input_nesting_level 64 64 max_input_time 60 60 memory_limit 8M 8M open_basedir no value no value output_buffering no value no value output_handler no value no value post_max_size 8M 8M precision 14 14 register_argc_argv On On register_globals Off Off report_memleaks On On safe_mode Off Off safe_mode_exec_dir no value no value safe_mode_gid Off Off safe_mode_include_dir no value no value sendmail_from no value no value sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i serialize_precision 100 100 short_open_tag On On SMTP localhost localhost smtp_port 25 25 sql.safe_mode Off Off track_errors Off Off unserialize_callback_func no value no value upload_max_filesize 2M 2M upload_tmp_dir no value no value user_dir no value no value variables_order EGPCS EGPCS xmlrpc_error_number 0 0 xmlrpc_errors Off Off y2k_compliance On On apache2handler Apache Version Apache/2.0.52 (Red Hat) DAV/2 FrontPage/5.0.2.2635 PHP/4.3.9 mod_ssl/2.0.52 OpenSSL/0.9.7a Apache API Version 20020903 Server Administrator webmaster at test.gruponovaenergia.com Hostname:Port test.gruponovaenergia.com:0 User/Group apache(48)/48 Max Requests Per Child: 4000 - Keep Alive: off - Max Per Connection: 100 Timeouts Connection: 120 - Keep-Alive: 15 Virtual Server Yes Server Root /etc/httpd Loaded Modules core prefork http_core mod_so mod_access mod_auth mod_auth_anon mod_auth_dbm mod_auth_digest mod_include mod_log_config mod_env mod_mime_magic mod_cern_meta mod_expires mod_deflate mod_headers mod_usertrack mod_setenvif mod_mime mod_dav mod_status mod_autoindex mod_asis mod_info mod_dav_fs mod_vhost_alias mod_negotiation mod_dir mod_imap mod_actions mod_speling mod_userdir mod_alias mod_rewrite mod_proxy proxy_ftp proxy_http proxy_connect mod_cache mod_suexec mod_disk_cache mod_file_cache mod_mem_cache mod_cgi mod_fpcgid sapi_apache2 mod_ssl Directive Local Value Master Value engine 1 1 last_modified 0 0 xbithack 0 0 Apache Environment Variable Value HTTP_ACCEPT */* HTTP_ACCEPT_LANGUAGE es HTTP_UA_CPU x86 HTTP_ACCEPT_ENCODING gzip, deflate HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; ..NET CLR 1.1.4322; .NET CLR 2.0.50727; uE v7; uE v7) HTTP_HOST test.gruponovaenergia.com HTTP_CONNECTION Keep-Alive PATH /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin SERVER_SIGNATURE
Apache/2.0.52 (Red Hat) DAV/2 FrontPage/5.0.2.2635 PHP/4.3.9 mod_ssl/2.0.52 OpenSSL/0.9.7a Server at test.gruponovaenergia.com Port 80
SERVER_SOFTWARE Apache/2.0.52 (Red Hat) DAV/2 FrontPage/5.0.2.2635 PHP/4.3.9 mod_ssl/2.0.52 OpenSSL/0.9.7a SERVER_NAME test.gruponovaenergia.com SERVER_ADDR 82.223.162.108 SERVER_PORT 80 REMOTE_ADDR 79.150.90.3 DOCUMENT_ROOT /var/www/vhost/test.gruponovaenergia.com/home/html/ SERVER_ADMIN webmaster at test.gruponovaenergia.com SCRIPT_FILENAME /var/www/vhost/test.gruponovaenergia.com/home/html/info.php REMOTE_PORT 29188 GATEWAY_INTERFACE CGI/1.1 SERVER_PROTOCOL HTTP/1.1 REQUEST_METHOD GET QUERY_STRING no value REQUEST_URI /info.php SCRIPT_NAME /info.php HTTP Headers Information HTTP Request Headers HTTP Request GET /info.php HTTP/1.1 Accept */* Accept-Language es UA-CPU x86 Accept-Encoding gzip, deflate User-Agent Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; uE v7; uE v7) Host test.gruponovaenergia.com Connection Keep-Alive HTTP Response Headers X-Powered-By PHP/4.3.9 Connection close Transfer-Encoding chunked Content-Type text/html; charset=ISO-8859-1 bcmath BCMath support enabled bz2 BZip2 Support Enabled BZip2 Version 1.0.2, 30-Dec-2001 calendar Calendar support enabled ctype ctype functions enabled curl CURL support enabled CURL Information libcurl/7.12.1 OpenSSL/0.9.7a zlib/1.2.1.2 libidn/0.5.6 dba DBA support enabled Supported handlers cdb cdb_make db4 inifile flatfile dbx dbx support enabled dbx version 1.0.0 supported databases MySQL ODBC PostgreSQL Microsoft SQL Server FrontBase Oracle 8 (oci8) Sybase-CT Directive Local Value Master Value dbx.colnames_case lowercase lowercase dio dio support enabled exif EXIF Support enabled EXIF Version 1.4 $Id: exif.c,v 1.118.2.35 2005/03/05 18:30:47 rasmus Exp $ Supported EXIF Version 0220 Supported filetypes JPEG,TIFF ftp FTP support enabled gettext GetText Support enabled gmp gmp support enabled iconv iconv support enabled iconv implementation glibc iconv library version 2.3.4 Directive Local Value Master Value iconv.input_encoding ISO-8859-1 ISO-8859-1 iconv.internal_encoding ISO-8859-1 ISO-8859-1 iconv.output_encoding ISO-8859-1 ISO-8859-1 mbstring Multibyte Support enabled Japanese support enabled Simplified chinese support enabled Traditional chinese support enabled Korean support enabled Russian support enabled Multibyte (japanese) regex support enabled mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1. Directive Local Value Master Value mbstring.detect_order no value no value mbstring.encoding_translation Off Off mbstring.func_overload 0 0 mbstring.http_input pass pass mbstring.http_output pass pass mbstring.internal_encoding no value no value mbstring.language neutral neutral mbstring.substitute_character no value no value mime_magic mime_magic support enabled Directive Local Value Master Value mime_magic.magicfile /usr/share/file/magic.mime /usr/share/file/magic.mime mysql MySQL Support enabled Active Persistent Links 0 Active Links 0 Client API version 4.1.20 MYSQL_MODULE_TYPE external MYSQL_SOCKET /var/lib/mysql/mysql.sock MYSQL_INCLUDE -I/usr/include/mysql MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient Directive Local Value Master Value mysql.allow_persistent On On mysql.connect_timeout 60 60 mysql.default_host no value no value mysql.default_password no value no value mysql.default_port no value no value mysql.default_socket no value no value mysql.default_user no value no value mysql.max_links Unlimited Unlimited mysql.max_persistent Unlimited Unlimited mysql.trace_mode Off Off openssl OpenSSL support enabled OpenSSL Version OpenSSL 0.9.7a Feb 19 2003 overload User-Space Object Overloading Support enabled pcre PCRE (Perl Compatible Regular Expressions) Support enabled PCRE Library Version 4.5 01-December-2003 pgsql PostgreSQL Support enabled PostgreSQL(libpq) Version 7.4.16 Multibyte character support enabled SSL support enabled Active Persistent Links 0 Active Links 0 Directive Local Value Master Value pgsql.allow_persistent On On pgsql.auto_reset_persistent Off Off pgsql.ignore_notice Off Off pgsql.log_notice Off Off pgsql.max_links Unlimited Unlimited pgsql.max_persistent Unlimited Unlimited posix Revision $Revision: 1.51.2.2 $ pspell PSpell Support enabled session Session Support enabled Registered save handlers files user Directive Local Value Master Value session.auto_start Off Off session.bug_compat_42 Off Off session.bug_compat_warn On On session.cache_expire 180 180 session.cache_limiter nocache nocache session.cookie_domain no value no value session.cookie_lifetime 0 0 session.cookie_path / / session.cookie_secure Off Off session.entropy_file no value no value session.entropy_length 0 0 session.gc_divisor 1000 1000 session.gc_maxlifetime 1440 1440 session.gc_probability 1 1 session.name PHPSESSID PHPSESSID session.referer_check no value no value session.save_handler files files session.save_path /tmp /tmp session.serialize_handler php php session.use_cookies On On session.use_only_cookies Off Off session.use_trans_sid Off Off shmop shmop support enabled sockets Sockets Support enabled standard Regex Library Bundled library enabled Dynamic Library Support enabled Path to sendmail /usr/sbin/sendmail -t -i Directive Local Value Master Value assert.active 1 1 assert.bail 0 0 assert.callback no value no value assert.quiet_eval 0 0 assert.warning 1 1 auto_detect_line_endings 0 0 default_socket_timeout 60 60 safe_mode_allowed_env_vars PHP_ PHP_ safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH url_rewriter.tags a=href,area=href,frame=src,input=src,form=fakeentry a=href,area=href,frame=src,input=src,form=fakeentry user_agent no value no value tokenizer Tokenizer Support enabled wddx WDDX Support enabled WDDX Session Serializer enabled xml XML Support active XML Namespace Support active EXPAT Version expat_1.95.7 yp YP Support enabled zlib ZLib Support enabled Compiled Version 1.2.1.2 Linked Version 1.2.1.2 Directive Local Value Master Value zlib.output_compression Off Off zlib.output_compression_level -1 -1 zlib.output_handler no value no value Additional Modules Module Name sysvsem sysvshm Environment Variable Value LANG C SELINUX_INIT YES CONSOLE /dev/console TERM linux INIT_VERSION sysvinit-2.85 PATH /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin RUNLEVEL 3 runlevel 3 PWD / PREVLEVEL N previous N HOME / SHLVL 2 _ /sbin/initlog PHP Variables Variable Value _SERVER["HTTP_ACCEPT"] */* _SERVER["HTTP_ACCEPT_LANGUAGE"] es _SERVER["HTTP_UA_CPU"] x86 _SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate _SERVER["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; uE v7; uE v7) _SERVER["HTTP_HOST"] test.gruponovaenergia.com _SERVER["HTTP_CONNECTION"] Keep-Alive _SERVER["PATH"] /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin _SERVER["SERVER_SIGNATURE"]
Apache/2.0.52 (Red Hat) DAV/2 FrontPage/5.0.2.2635 PHP/4.3.9 mod_ssl/2.0.52 OpenSSL/0.9.7a Server at test.gruponovaenergia.com Port 80
_SERVER["SERVER_SOFTWARE"] Apache/2.0.52 (Red Hat) DAV/2 FrontPage/5.0.2.2635 PHP/4.3.9 mod_ssl/2.0.52 OpenSSL/0.9.7a _SERVER["SERVER_NAME"] test.gruponovaenergia.com _SERVER["SERVER_ADDR"] 82.223.162.108 _SERVER["SERVER_PORT"] 80 _SERVER["REMOTE_ADDR"] 79.150.90.3 _SERVER["DOCUMENT_ROOT"] /var/www/vhost/test.gruponovaenergia.com/home/html/ _SERVER["SERVER_ADMIN"] webmaster at test.gruponovaenergia.com _SERVER["SCRIPT_FILENAME"] /var/www/vhost/test.gruponovaenergia.com/home/html/info.php _SERVER["REMOTE_PORT"] 29188 _SERVER["GATEWAY_INTERFACE"] CGI/1.1 _SERVER["SERVER_PROTOCOL"] HTTP/1.1 _SERVER["REQUEST_METHOD"] GET _SERVER["QUERY_STRING"] no value _SERVER["REQUEST_URI"] /info.php _SERVER["SCRIPT_NAME"] /info.php _SERVER["PHP_SELF"] /info.php _SERVER["PATH_TRANSLATED"] /var/www/vhost/test.gruponovaenergia.com/home/html/info.php _SERVER["argv"] Array _SERVER["argc"] 0 _ENV["LANG"] C _ENV["SELINUX_INIT"] YES _ENV["CONSOLE"] /dev/console _ENV["TERM"] linux _ENV["INIT_VERSION"] sysvinit-2.85 _ENV["PATH"] /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin _ENV["RUNLEVEL"] 3 _ENV["runlevel"] 3 _ENV["PWD"] / _ENV["PREVLEVEL"] N _ENV["previous"] N _ENV["HOME"] / _ENV["SHLVL"] 2 _ENV["_"] /sbin/initlog PHP License This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license at php.net. 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/20081017/c3b6c4c7/attachment-0001.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/octet-stream Size: 4440 bytes Desc: not available Url : http://lists.drupal.org/pipermail/support/attachments/20081017/c3b6c4c7/attachment-0001.obj From nick_young at ncsu.edu Fri Oct 17 11:54:40 2008 From: nick_young at ncsu.edu (Nick Young) Date: Fri, 17 Oct 2008 07:54:40 -0400 Subject: [support] Mass Change Node Taxonomy In-Reply-To: <000601c9304c$c249bd30$0601a8c0@zeus> References: <000601c9304c$c249bd30$0601a8c0@zeus> Message-ID: <48F87D00.7020503@ncsu.edu> Surely there has to be a way to do this: (Drupal 6) I have a bunch of nodes in the same content type, that all have the same taxonomy term applied to them. What i need to do, is update/change the term on all the nodes. I know i can do this individually, but what if i had 100 nodes....1000 nodes that i needed to change? Do i have to go to each node, edit, change the term, and then save? Surely not (i hope not). I've searched the modules and boards for answers, but none seem to provide the functionality im looking for. A comparable solution is the 'Mass Change' module, but that does not affect taxonomy settings. Thanks in advance for any help offered, Nick ........................................................................ Nick Young Outreach, Communications & Consulting Office of Information Technology North Carolina State University Box 7109, Raleigh 27695 Ph. 919.513.2716 | E-Mail: nick_young at ncsu.edu ........................................................................ From earnie at users.sourceforge.net Fri Oct 17 13:33:22 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Fri, 17 Oct 2008 09:33:22 -0400 Subject: [support] Mass Change Node Taxonomy In-Reply-To: <48F87D00.7020503@ncsu.edu> References: <000601c9304c$c249bd30$0601a8c0@zeus> <48F87D00.7020503@ncsu.edu> Message-ID: <20081017093322.5j04b0s2lgj4s4ks@mail.progw.org> Quoting Nick Young : > Surely there has to be a way to do this: (Drupal 6) > > I have a bunch of nodes in the same content type, that all have the same > taxonomy term applied to them. What i need to do, is update/change the > term on all the nodes. I know i can do this individually, but what if i > had 100 nodes....1000 nodes that i needed to change? > > Do i have to go to each node, edit, change the term, and then save? > Surely not (i hope not). > Will all nodes with taxonomy foo change to taxonomy bar? Do you have a need to keep taxonomy foo after the change? > I've searched the modules and boards for answers, but none seem to > provide the functionality im looking for. A comparable solution is the > 'Mass Change' module, but that does not affect taxonomy settings. > You can do this in a batch operation but I don't know of a module that has been created for you. Check the api.drupal.org for node_load, node_save and taxonomy_nodeapi. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From skessler at denverdataman.com Fri Oct 17 13:42:41 2008 From: skessler at denverdataman.com (Steve Kessler) Date: Fri, 17 Oct 2008 07:42:41 -0600 Subject: [support] Mass Change Node Taxonomy In-Reply-To: <48F87D00.7020503@ncsu.edu> References: <000601c9304c$c249bd30$0601a8c0@zeus> <48F87D00.7020503@ncsu.edu> Message-ID: <008601c9305e$3aa300f0$afe902d0$@com> If the case that term foo needs to become term bar Taxonomy Manager will work very well. http://drupal.org/project/taxonomy_manager Because it even has merge you can bring together term1 term2 and change them to term3. Hope this helps, Steve Steve Kessler Denver DataMan 303-587-4428 Sign up for the Denver DataMan Free eNewsletter -----Original Message----- From: Nick Young [mailto:nick_young at ncsu.edu] Sent: Friday, October 17, 2008 5:55 AM To: support at drupal.org Subject: [support] Mass Change Node Taxonomy Surely there has to be a way to do this: (Drupal 6) I have a bunch of nodes in the same content type, that all have the same taxonomy term applied to them. What i need to do, is update/change the term on all the nodes. I know i can do this individually, but what if i had 100 nodes....1000 nodes that i needed to change? Do i have to go to each node, edit, change the term, and then save? Surely not (i hope not). I've searched the modules and boards for answers, but none seem to provide the functionality im looking for. A comparable solution is the 'Mass Change' module, but that does not affect taxonomy settings. Thanks in advance for any help offered, Nick ........................................................................ Nick Young Outreach, Communications & Consulting Office of Information Technology North Carolina State University Box 7109, Raleigh 27695 Ph. 919.513.2716 | E-Mail: nick_young at ncsu.edu ........................................................................ -- [ Drupal support list | http://lists.drupal.org/ ] From nick_young at ncsu.edu Fri Oct 17 13:50:31 2008 From: nick_young at ncsu.edu (Nick Young) Date: Fri, 17 Oct 2008 09:50:31 -0400 Subject: [support] Mass Change Node Taxonomy In-Reply-To: <008601c9305e$3aa300f0$afe902d0$@com> References: <000601c9304c$c249bd30$0601a8c0@zeus> <48F87D00.7020503@ncsu.edu> <008601c9305e$3aa300f0$afe902d0$@com> Message-ID: <48F89827.80900@ncsu.edu> I don't need to change the term, i need to change the node's term associations. I have found, in my random searchings, this module: "Views Bulk Operations" (http://drupal.org/project/views_bulk_operations) which alters the Views module to provide another style with (you guessed it)......bulk operations that include taxonomy alterations on nodes. This seems to be working, but what is kind of frustrating is that this important feature seems to be a throw-away part of another module. I cant believe that more people with large sites wouldnt need this as a core feature, or at least a standalone module. Thanks for the couple of responses, and at least there seems to be a solution for me, even if it was hidden inside another module. --Nick ........................................................................ Nick Young Outreach, Communications & Consulting Office of Information Technology North Carolina State University Box 7109, Raleigh 27695 Ph. 919.513.2716 | E-Mail: nick_young at ncsu.edu ........................................................................ > From Greg at GrowingVentureSolutions.com Fri Oct 17 14:07:57 2008 From: Greg at GrowingVentureSolutions.com (Greg Knaddison - GVS) Date: Fri, 17 Oct 2008 08:07:57 -0600 Subject: [support] Why changing the session id? In-Reply-To: <48F861EB.7050205@5net.hu> References: <48F861EB.7050205@5net.hu> Message-ID: <3861c6770810170707j164aa33dv65650a9d41524339@mail.gmail.com> 2008/10/17 ?mon Tam?s : > I like to make a little shop, on my website. I like to give possibility > to anonymous users to add some products to the cart. In the cart I try > to store the user id and the session id (what is give the session_id() > function). But the problem is, if a user is logged in the session id is > changing. Why? And How can I access the anonymous user session? If the same session is used before and after login then the site is vulnerable to "session fixation." That's a fancy way to say "someone could steal their account and use it for bad things." You could add a destination to the login form which contains a unique identifier that corresponds to whatever data you need to persist. Regards, Greg -- Greg Knaddison Denver, CO | http://knaddison.com | 303-800-5623 Growing Venture Solutions, LLC | http://growingventuresolutions.com From mail at tola.me.uk Fri Oct 17 18:11:48 2008 From: mail at tola.me.uk (Ben Francis) Date: Fri, 17 Oct 2008 19:11:48 +0100 Subject: [support] Upgrade from 4.7.2 to 5.10 Message-ID: <45f6d7430810171111i30e94b5fybd3458313ca27e2@mail.gmail.com> Hi, I would like to migrate a web site from Drupal 4.7.2 to 5.10 (specifically 5.10-1~bpo40+1 from Debian etch-backports). I imagine this migration might be quite painful, does anyone have any advice? I'm wondering whether I might be best to start with a fresh Drupal installation and semi-manually transfer the data from the old database using a script. Thanks Ben -- Ben Francis http://tola.me.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081017/8d4b9402/attachment.htm From victorkane at gmail.com Fri Oct 17 18:46:55 2008 From: victorkane at gmail.com (Victor Kane) Date: Fri, 17 Oct 2008 15:46:55 -0300 Subject: [support] Upgrade from 4.7.2 to 5.10 In-Reply-To: <45f6d7430810171111i30e94b5fybd3458313ca27e2@mail.gmail.com> References: <45f6d7430810171111i30e94b5fybd3458313ca27e2@mail.gmail.com> Message-ID: The upgrade process itself (upgrade to latest 4.7.x before upgrading to Drupal 5.x) is safe and well documented. 1. http://drupal.org/node/36996 (Introduction to upgrading) 2. http://drupal.org/videocasts/upgrading-to-5 You might, however, run into problems with modules you might be using, so you should read up on their 5.x state, and the upgrade problems others might have registered in the issue queues first. Victor Kane http://awebfactory.com.ar On Fri, Oct 17, 2008 at 3:11 PM, Ben Francis wrote: > Hi, > > I would like to migrate a web site from Drupal 4.7.2 to 5.10 (specifically > 5.10-1~bpo40+1 from Debian etch-backports). > > I imagine this migration might be quite painful, does anyone have any > advice? > > I'm wondering whether I might be best to start with a fresh Drupal > installation and semi-manually transfer the data from the old database using > a script. > > Thanks > > Ben > > -- > Ben Francis > http://tola.me.uk > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From victorkane at gmail.com Fri Oct 17 18:47:41 2008 From: victorkane at gmail.com (Victor Kane) Date: Fri, 17 Oct 2008 15:47:41 -0300 Subject: [support] Upgrade from 4.7.2 to 5.10 In-Reply-To: References: <45f6d7430810171111i30e94b5fybd3458313ca27e2@mail.gmail.com> Message-ID: forgot to mention golden rules: 1. Backup your site first. 2. Perform the upgrade on a test site first Victor On Fri, Oct 17, 2008 at 3:46 PM, Victor Kane wrote: > The upgrade process itself (upgrade to latest 4.7.x before upgrading > to Drupal 5.x) is safe and well documented. > > 1. http://drupal.org/node/36996 (Introduction to upgrading) > 2. http://drupal.org/videocasts/upgrading-to-5 > > You might, however, run into problems with modules you might be using, > so you should read up on their 5.x state, and the upgrade problems > others might have registered in the issue queues first. > > Victor Kane > http://awebfactory.com.ar > > On Fri, Oct 17, 2008 at 3:11 PM, Ben Francis wrote: >> Hi, >> >> I would like to migrate a web site from Drupal 4.7.2 to 5.10 (specifically >> 5.10-1~bpo40+1 from Debian etch-backports). >> >> I imagine this migration might be quite painful, does anyone have any >> advice? >> >> I'm wondering whether I might be best to start with a fresh Drupal >> installation and semi-manually transfer the data from the old database using >> a script. >> >> Thanks >> >> Ben >> >> -- >> Ben Francis >> http://tola.me.uk >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > From shai at content2zero.com Fri Oct 17 19:07:43 2008 From: shai at content2zero.com (Shai Gluskin) Date: Fri, 17 Oct 2008 15:07:43 -0400 Subject: [support] Upgrade from 4.7.2 to 5.10 In-Reply-To: References: <45f6d7430810171111i30e94b5fybd3458313ca27e2@mail.gmail.com> Message-ID: <9f68efb70810171207jf307dd9r566b2c6223890df9@mail.gmail.com> Ben, Adding to what Victor wrote... the complexity really depends on how complex the site is. It isn't necessarily so difficult. You need to go to the project page of each and every contrib module and scour it for info on upgrade issues.Since D5 is so mature -- there is no shortage of information. Just invest the time on those project pages and you should be golden. Shai On Fri, Oct 17, 2008 at 2:47 PM, Victor Kane wrote: > forgot to mention golden rules: > > 1. Backup your site first. > 2. Perform the upgrade on a test site first > > Victor > > On Fri, Oct 17, 2008 at 3:46 PM, Victor Kane wrote: > > The upgrade process itself (upgrade to latest 4.7.x before upgrading > > to Drupal 5.x) is safe and well documented. > > > > 1. http://drupal.org/node/36996 (Introduction to upgrading) > > 2. http://drupal.org/videocasts/upgrading-to-5 > > > > You might, however, run into problems with modules you might be using, > > so you should read up on their 5.x state, and the upgrade problems > > others might have registered in the issue queues first. > > > > Victor Kane > > http://awebfactory.com.ar > > > > On Fri, Oct 17, 2008 at 3:11 PM, Ben Francis wrote: > >> Hi, > >> > >> I would like to migrate a web site from Drupal 4.7.2 to 5.10 > (specifically > >> 5.10-1~bpo40+1 from Debian etch-backports). > >> > >> I imagine this migration might be quite painful, does anyone have any > >> advice? > >> > >> I'm wondering whether I might be best to start with a fresh Drupal > >> installation and semi-manually transfer the data from the old database > using > >> a script. > >> > >> Thanks > >> > >> Ben > >> > >> -- > >> Ben Francis > >> http://tola.me.uk > >> > >> -- > >> [ 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/20081017/cb8d6722/attachment-0001.htm From pinglaura at gmail.com Fri Oct 17 19:38:13 2008 From: pinglaura at gmail.com (Laura Scott) Date: Fri, 17 Oct 2008 13:38:13 -0600 Subject: [support] Upgrade from 4.7.2 to 5.10 In-Reply-To: <9f68efb70810171207jf307dd9r566b2c6223890df9@mail.gmail.com> References: <45f6d7430810171111i30e94b5fybd3458313ca27e2@mail.gmail.com> <9f68efb70810171207jf307dd9r566b2c6223890df9@mail.gmail.com> Message-ID: > I would like to migrate a web site from Drupal 4.7.2 to 5.10 > (specifically > >> 5.10-1~bpo40+1 from Debian etch-backports). And adding to everyone else's xlnt advice, you will want to upgrade to 5.11. http://drupal.org/node/318696 4.7.x - 5.x was a pretty smooth upgrade overall, in my experience. Laura From madflute at anonemusic.com Sat Oct 18 05:16:52 2008 From: madflute at anonemusic.com (A-NO-NE Music) Date: Sat, 18 Oct 2008 01:16:52 -0400 Subject: [support] Internal server error (with .htaccess and mod_rewrite installed) In-Reply-To: <000601c9304c$c249bd30$0601a8c0@zeus> References: <000601c9304c$c249bd30$0601a8c0@zeus> Message-ID: <5F74CE02-6DF8-4287-8F1D-7946F2D1F87D@anonemusic.com> On 2008/10/17(?), at ?7:37, Marolijo / Pol Maresma wrote: > Hi, I'm on a new server and have the Internal server error when I > copy the .htaccess file > Without it instal?lation goes well. > Mod_rewrite is installed, PHP4.3.9, Apache2. (see below the results > of a phpinfo() call: ) I was in a similar situation, and I solved it buy asking the ISP for PHP5. -- - Hiro Hiroaki Honshuku, A-NO-NE Music, Greater Boston http://a-no-ne.com http://anonemusic.com From madflute at anonemusic.com Sat Oct 18 16:42:25 2008 From: madflute at anonemusic.com (A-NO-NE Music) Date: Sat, 18 Oct 2008 12:42:25 -0400 Subject: [support] Need help on site for classes - student management Message-ID: <1D8A6389-18AB-4CEE-BC89-1F6B184CEC2E@anonemusic.com> Hello, I need to come up with a solution really quick and hoping someone could help. Drupal 6.5. I created a site for my classes I teach. 4 sections, 25 students each. I want to have each students registered, not for blog or forum, but for them to see their grade/assignment status for themselves. Is this possible? What I need is that they see their personal page upon login, where I post their grade on each quiz/assignment, and message from me when needed. I have been trying to check OG, which doesn't seems to be the right module for this, while OG page has been off line since last night. Any advice would be much appreciated. I need to get this done this weekend. -- - Hiro Hiroaki Honshuku, A-NO-NE Music, Greater Boston http://a-no-ne.com http://anonemusic.com From bill at funnymonkey.com Sat Oct 18 18:22:54 2008 From: bill at funnymonkey.com (Bill Fitzgerald) Date: Sat, 18 Oct 2008 11:22:54 -0700 Subject: [support] Need help on site for classes - student management In-Reply-To: <1D8A6389-18AB-4CEE-BC89-1F6B184CEC2E@anonemusic.com> References: <1D8A6389-18AB-4CEE-BC89-1F6B184CEC2E@anonemusic.com> Message-ID: <48FA297E.4020503@funnymonkey.com> The coherent access module might do just what you are looking for: http://drupal.org/project/coherent_access We have used it to accomplish what you describe on several sites. Cheers, Bill A-NO-NE Music wrote: > Hello, I need to come up with a solution really quick and hoping > someone could help. > > Drupal 6.5. I created a site for my classes I teach. 4 sections, 25 > students each. I want to have each students registered, not for blog > or forum, but for them to see their grade/assignment status for > themselves. Is this possible? > > What I need is that they see their personal page upon login, where I > post their grade on each quiz/assignment, and message from me when > needed. I have been trying to check OG, which doesn't seems to be the > right module for this, while OG page has been off line since last night. > > Any advice would be much appreciated. I need to get this done this > weekend. > > -- > - Hiro > > Hiroaki Honshuku, A-NO-NE Music, Greater Boston > http://a-no-ne.com http://anonemusic.com > > -- Bill Fitzgerald http://funnymonkey.com FunnyMonkey -- Tools for Teachers ph. 503 897 7160 From madflute at anonemusic.com Sat Oct 18 18:48:54 2008 From: madflute at anonemusic.com (A-NO-NE Music) Date: Sat, 18 Oct 2008 14:48:54 -0400 Subject: [support] Need help on site for classes - student management In-Reply-To: <48FA297E.4020503@funnymonkey.com> References: <1D8A6389-18AB-4CEE-BC89-1F6B184CEC2E@anonemusic.com> <48FA297E.4020503@funnymonkey.com> Message-ID: On 2008/10/18(?), at ?2:22, Bill Fitzgerald wrote: > The coherent access module might do just what you are looking for: > http://drupal.org/project/coherent_access > > We have used it to accomplish what you describe on several sites. Nice! Thank you so much for this info. I think this would do. I am installing on my local server. -- - Hiro Hiroaki Honshuku, A-NO-NE Music, Greater Boston http://a-no-ne.com http://anonemusic.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081018/f021e99c/attachment.htm From bharanikumariyerphp at gmail.com Sun Oct 19 13:58:19 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Sun, 19 Oct 2008 19:28:19 +0530 Subject: [support] Diff MYSQL - MYSQLi Message-ID: <2240033d0810190658n1c79d05fid3c99efa18f8ea39@mail.gmail.com> Hi Drupal What is the diffrent between mysql and mysqli, I am having interest to move mysqli, any great different u know, Just share it -- Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081019/37f95351/attachment.htm From sivaji2009 at gmail.com Sun Oct 19 16:15:46 2008 From: sivaji2009 at gmail.com (sivaji j.g) Date: Sun, 19 Oct 2008 21:45:46 +0530 Subject: [support] Diff MYSQL - MYSQLi In-Reply-To: <2240033d0810190658n1c79d05fid3c99efa18f8ea39@mail.gmail.com> References: <2240033d0810190658n1c79d05fid3c99efa18f8ea39@mail.gmail.com> Message-ID: On Sun, Oct 19, 2008 at 7:28 PM, bharani kumar < bharanikumariyerphp at gmail.com> wrote: > Hi Drupal > > What is the diffrent between mysql and mysqli, > This is mailing list is not a search engine drupal_goto('google.com'); -- Thanks a lot ----------------------------------------- http://ubuntuslave.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081019/c04ab36a/attachment.htm From foss at jsomers.eu Sun Oct 19 16:16:51 2008 From: foss at jsomers.eu (Jensen Somers) Date: Sun, 19 Oct 2008 18:16:51 +0200 Subject: [support] Diff MYSQL - MYSQLi In-Reply-To: <2240033d0810190658n1c79d05fid3c99efa18f8ea39@mail.gmail.com> References: <2240033d0810190658n1c79d05fid3c99efa18f8ea39@mail.gmail.com> Message-ID: <48FB5D73.10409@jsomers.eu> bharani kumar wrote: > Hi Drupal > > What is the diffrent between mysql and mysqli, > > I am having interest to move mysqli, > > any great different u know, > > Just share it > MySQLi (MySQL improved) is designed to be used with MySQL version 4.1 and upwards. It contains various improvements. Read the PHP manual pages [1] to get a better view of the difference and [2] contains a benchmark result. [1] http://php.net/manual/en/intro.mysqli.php [2] http://www.johnjawed.com/benchmarks/ - Jensen From victorkane at gmail.com Sun Oct 19 16:35:23 2008 From: victorkane at gmail.com (Victor Kane) Date: Sun, 19 Oct 2008 14:35:23 -0200 Subject: [support] Diff MYSQL - MYSQLi In-Reply-To: <48FB5D73.10409@jsomers.eu> References: <2240033d0810190658n1c79d05fid3c99efa18f8ea39@mail.gmail.com> <48FB5D73.10409@jsomers.eu> Message-ID: It's worth adding that Drupal automatically selects mysqli from release 6 onwards On Sun, Oct 19, 2008 at 2:16 PM, Jensen Somers wrote: > bharani kumar wrote: >> Hi Drupal >> >> What is the diffrent between mysql and mysqli, >> >> I am having interest to move mysqli, >> >> any great different u know, >> >> Just share it >> > > MySQLi (MySQL improved) is designed to be used with MySQL version 4.1 > and upwards. It contains various improvements. Read the PHP manual pages > [1] to get a better view of the difference and [2] contains a benchmark > result. > > [1] http://php.net/manual/en/intro.mysqli.php > [2] http://www.johnjawed.com/benchmarks/ > > - Jensen > -- > [ Drupal support list | http://lists.drupal.org/ ] > From max.linuxtime at gmail.com Sun Oct 19 21:46:36 2008 From: max.linuxtime at gmail.com (Massimiliano Marini) Date: Sun, 19 Oct 2008 23:46:36 +0200 Subject: [support] Advice on how to implement Message-ID: <441bcae80810191446w384c49d7ja1b3a364d148c852@mail.gmail.com> Hi, in Drupal 6 I've imported a table where is stored data that I need to display in my website, but I don't know how to implement it. What I need to achieve is something like that: - a page(?) with search form (for the search in the table, no insert, no update) and than display the results in the page. What I need to create? A module for a block? A module for a new content type? Or something else? Any kind of help will be appreciated. -- Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/ "It's easier to invent the future than to predict it." -- Alan Kay From madflute at anonemusic.com Mon Oct 20 06:14:49 2008 From: madflute at anonemusic.com (A-NO-NE Music) Date: Mon, 20 Oct 2008 02:14:49 -0400 Subject: [support] Need help on site for classes - student management In-Reply-To: <48FA297E.4020503@funnymonkey.com> References: <1D8A6389-18AB-4CEE-BC89-1F6B184CEC2E@anonemusic.com> <48FA297E.4020503@funnymonkey.com> Message-ID: <20D29346-DF32-4956-8FBC-6E4D9564AA4B@anonemusic.com> This Coherent Access module seems to work well for my purpose. I have one additional question. Is there any way to catalog each students by tagging them? For example, < class name> and
. Without some ways to categorize them, I am afraid student management will be quite chaotic down the road. I did installed OG to see how it works but I removed it since it seems to be aimed at different purpose than what I need. Any advice would be appreciated. --- Hiro Hiroaki Honshuku, A-NO-NE Music, Greater Boston http://a-no-ne.com http://anonemusic.com On 08/10/18(?), at 14:22, Bill Fitzgerald wrote: > The coherent access module might do just what you are looking for: > http://drupal.org/project/coherent_access > > We have used it to accomplish what you describe on several sites. > > Cheers, > > Bill > > A-NO-NE Music wrote: >> Hello, I need to come up with a solution really quick and hoping >> someone could help. >> >> Drupal 6.5. I created a site for my classes I teach. 4 sections, 25 >> students each. I want to have each students registered, not for blog >> or forum, but for them to see their grade/assignment status for >> themselves. Is this possible? >> >> What I need is that they see their personal page upon login, where I >> post their grade on each quiz/assignment, and message from me when >> needed. I have been trying to check OG, which doesn't seems to be >> the >> right module for this, while OG page has been off line since last >> night. >> >> Any advice would be much appreciated. I need to get this done this >> weekend. >> >> -- >> - Hiro >> >> Hiroaki Honshuku, A-NO-NE Music, Greater Boston >> http://a-no-ne.com http://anonemusic.com >> >> > > > -- > > Bill Fitzgerald From bill at funnymonkey.com Mon Oct 20 06:42:04 2008 From: bill at funnymonkey.com (Bill Fitzgerald) Date: Sun, 19 Oct 2008 23:42:04 -0700 Subject: [support] Need help on site for classes - student management In-Reply-To: <20D29346-DF32-4956-8FBC-6E4D9564AA4B@anonemusic.com> References: <1D8A6389-18AB-4CEE-BC89-1F6B184CEC2E@anonemusic.com> <48FA297E.4020503@funnymonkey.com> <20D29346-DF32-4956-8FBC-6E4D9564AA4B@anonemusic.com> Message-ID: <48FC283C.3090409@funnymonkey.com> You could use either core profile module or the Content Profile (http://drupal.org/project/content_profile)module to get this done. Core profile would probably be easier, although content profile provides a lot more flexibility. Then, you'd want to use Views to generate your class lists -- Views will work with either method. A-NO-NE Music wrote: > This Coherent Access module seems to work well for my purpose. I have > one additional question. Is there any way to catalog each students by > tagging them? For example, < class name> and
. > Without some ways to categorize them, I am afraid student management > will be quite chaotic down the road. > > I did installed OG to see how it works but I removed it since it seems > to be aimed at different purpose than what I need. Any advice would > be appreciated. > > --- Hiro > > Hiroaki Honshuku, A-NO-NE Music, Greater Boston > http://a-no-ne.com http://anonemusic.com > > > > On 08/10/18(?), at 14:22, Bill Fitzgerald wrote: > > >> The coherent access module might do just what you are looking for: >> http://drupal.org/project/coherent_access >> >> We have used it to accomplish what you describe on several sites. >> >> Cheers, >> >> Bill >> >> A-NO-NE Music wrote: >> >>> Hello, I need to come up with a solution really quick and hoping >>> someone could help. >>> >>> Drupal 6.5. I created a site for my classes I teach. 4 sections, 25 >>> students each. I want to have each students registered, not for blog >>> or forum, but for them to see their grade/assignment status for >>> themselves. Is this possible? >>> >>> What I need is that they see their personal page upon login, where I >>> post their grade on each quiz/assignment, and message from me when >>> needed. I have been trying to check OG, which doesn't seems to be >>> the >>> right module for this, while OG page has been off line since last >>> night. >>> >>> Any advice would be much appreciated. I need to get this done this >>> weekend. >>> >>> -- >>> - Hiro >>> >>> Hiroaki Honshuku, A-NO-NE Music, Greater Boston >>> http://a-no-ne.com http://anonemusic.com >>> >>> >>> >> -- >> >> Bill Fitzgerald >> -- Bill Fitzgerald http://funnymonkey.com FunnyMonkey -- Tools for Teachers ph. 503 897 7160 From marolijo at yahoo.es Mon Oct 20 07:55:05 2008 From: marolijo at yahoo.es (Marolijo / Pol Maresma) Date: Mon, 20 Oct 2008 09:55:05 +0200 Subject: [support] Internal server error (with .htaccess and mod_rewriteinstalled) In-Reply-To: <5F74CE02-6DF8-4287-8F1D-7946F2D1F87D@anonemusic.com> References: <000601c9304c$c249bd30$0601a8c0@zeus> <5F74CE02-6DF8-4287-8F1D-7946F2D1F87D@anonemusic.com> Message-ID: <005f01c93289$2b5440a0$0601a8c0@zeus> Thank's! I'm waiting for the apache's logs to see what happens. See you -----Mensaje original----- De: support-bounces at drupal.org [mailto:support-bounces at drupal.org] En nombre de A-NO-NE Music Enviado el: s?bado, 18 de octubre de 2008 7:17 Para: support at drupal.org Asunto: Re: [support] Internal server error (with .htaccess and mod_rewriteinstalled) On 2008/10/17(?), at ?7:37, Marolijo / Pol Maresma wrote: > Hi, I'm on a new server and have the Internal server error when I copy > the .htaccess file Without it instal?lation goes well. > Mod_rewrite is installed, PHP4.3.9, Apache2. (see below the results of > a phpinfo() call: ) I was in a similar situation, and I solved it buy asking the ISP for PHP5. -- - Hiro Hiroaki Honshuku, A-NO-NE Music, Greater Boston http://a-no-ne.com http://anonemusic.com -- [ Drupal support list | http://lists.drupal.org/ ] From max.linuxtime at gmail.com Mon Oct 20 09:07:37 2008 From: max.linuxtime at gmail.com (Massimiliano Marini) Date: Mon, 20 Oct 2008 11:07:37 +0200 Subject: [support] Advice on how to implement In-Reply-To: <441bcae80810191446w384c49d7ja1b3a364d148c852@mail.gmail.com> References: <441bcae80810191446w384c49d7ja1b3a364d148c852@mail.gmail.com> Message-ID: <441bcae80810200207y594ac671n2e6535f4f7ff617@mail.gmail.com> Any hint? something like that: - a static page with a search form - the results must be displayed in the same page under the search form Some help on how can I start to get this? -- Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/ "It's easier to invent the future than to predict it." -- Alan Kay From mail at webthatworks.it Mon Oct 20 09:43:20 2008 From: mail at webthatworks.it (Ivan Sergio Borgonovo) Date: Mon, 20 Oct 2008 11:43:20 +0200 Subject: [support] Advice on how to implement In-Reply-To: <441bcae80810200207y594ac671n2e6535f4f7ff617@mail.gmail.com> References: <441bcae80810191446w384c49d7ja1b3a364d148c852@mail.gmail.com> <441bcae80810200207y594ac671n2e6535f4f7ff617@mail.gmail.com> Message-ID: <20081020114320.35ed5cc3@dawn.webthatworks.it> On Mon, 20 Oct 2008 11:07:37 +0200 "Massimiliano Marini" wrote: > Any hint? > > something like that: > > - a static page with a search form > - the results must be displayed in the same page under the search > form > > Some help on how can I start to get this? http://www.lullabot.com/articles/drupal_5_making_forms_that_display_their_own_results you've to adapt it a bit for 6. http://drupal.org/node/144132 -- Ivan Sergio Borgonovo http://www.webthatworks.it From shai at content2zero.com Mon Oct 20 12:52:25 2008 From: shai at content2zero.com (Shai Gluskin) Date: Mon, 20 Oct 2008 08:52:25 -0400 Subject: [support] Internal server error (with .htaccess and mod_rewriteinstalled) In-Reply-To: <005f01c93289$2b5440a0$0601a8c0@zeus> References: <000601c9304c$c249bd30$0601a8c0@zeus> <5F74CE02-6DF8-4287-8F1D-7946F2D1F87D@anonemusic.com> <005f01c93289$2b5440a0$0601a8c0@zeus> Message-ID: <9f68efb70810200552u53be3354h974acf776aef6829@mail.gmail.com> Hi Hiro, Is the server running SuPHP? When I moved to a new server I had the same "internal server error" problem and it turned out to be the different way that SuPHP deals with permissions. I do the following at the command line in the directory above public_html and it solves all my problems: chmod -R 755 public_html Obviously this applies ONLY if the issue is related to SuPHP -- don't mess with your permissions unless you know the issue is related to SuPHP. The reason I didn't respond upon your first message was because the issue isn't really related to the .htacess file specifically, it is related to permissions in general. But given that it seems your problem is not yet solved, I thought I'd share my experience and have you investigate whether your server is running SuPHP. Best, Shai Gluskin content2zero 2008/10/20 Marolijo / Pol Maresma > Thank's! I'm waiting for the apache's logs to see what happens. > > See you > > -----Mensaje original----- > De: support-bounces at drupal.org [mailto:support-bounces at drupal.org] En > nombre > de A-NO-NE Music > Enviado el: s?bado, 18 de octubre de 2008 7:17 > Para: support at drupal.org > Asunto: Re: [support] Internal server error (with .htaccess and > mod_rewriteinstalled) > > > On 2008/10/17(?), at ?7:37, Marolijo / Pol Maresma wrote: > > > Hi, I'm on a new server and have the Internal server error when I copy > > the .htaccess file Without it instal?lation goes well. > > Mod_rewrite is installed, PHP4.3.9, Apache2. (see below the results of > > a phpinfo() call: ) > > > > I was in a similar situation, and I solved it buy asking the ISP for PHP5. > > > -- > - Hiro > > Hiroaki Honshuku, A-NO-NE Music, Greater Boston > http://a-no-ne.com http://anonemusic.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/20081020/810af1d1/attachment-0001.htm From tonyc at boldfish.co.uk Mon Oct 20 16:47:03 2008 From: tonyc at boldfish.co.uk (Tony Crockford) Date: Mon, 20 Oct 2008 17:47:03 +0100 Subject: [support] module for user contact form control Message-ID: <01E058C6-93D1-4EF1-AB55-55796BA7B867@boldfish.co.uk> Hi I'm new, please go easy on me. I've been looking through the modules for Drupal 6.x and I can't quite match what I'm looking for, what i want to be able to do is have a user role that can access personal contact forms (if the user has allowed them) e.g. anonymous can't see the personal contact form authenticated user can't see the personal contact form gold_authenticated user *can* see the personal contact form *if* the user has allowed it any ideas? TIA From kevin at kevincdavis.net Mon Oct 20 21:42:15 2008 From: kevin at kevincdavis.net (Kevin Davis) Date: Mon, 20 Oct 2008 14:42:15 -0700 (PDT) Subject: [support] Passing Variable between Forms Message-ID: <987990.52222.qm@web1112.biz.mail.sk1.yahoo.com> Hello, I would like to know how to pass variables or information between on form in drupal to another form in drupal. Kevin From jhedstrom at opensourcery.com Tue Oct 21 00:47:40 2008 From: jhedstrom at opensourcery.com (Jonathan Hedstrom) Date: Mon, 20 Oct 2008 17:47:40 -0700 Subject: [support] module for user contact form control In-Reply-To: <01E058C6-93D1-4EF1-AB55-55796BA7B867@boldfish.co.uk> References: <01E058C6-93D1-4EF1-AB55-55796BA7B867@boldfish.co.uk> Message-ID: <48FD26AC.8030508@opensourcery.com> Tony Crockford wrote: > Hi > > I'm new, please go easy on me. > > I've been looking through the modules for Drupal 6.x and I can't quite > match what I'm looking for, what i want to be able to do is have a > user role that can access personal contact forms (if the user has > allowed them) > > e.g. anonymous can't see the personal contact form > > authenticated user can't see the personal contact form > > gold_authenticated user *can* see the personal contact form *if* the > user has allowed it > > any ideas? > Not sure if there's an existing module, but one idea for writing a simple one: By using hook_menu_alter [1] you could re-define the access function: function mymodule_menu_alter(&$callbacks) { $callbacks['user/%user/contact']['access callback'] = 'mymodule_contact_access_function_name'; } then you could define: function mymodule_contact_access_function($account) { ...implement whatever logic you want... } You can see how contact defines access by default here [2]. 1. http://api.drupal.org/api/function/hook_menu_alter/6 2. http://api.drupal.org/api/function/_contact_user_tab_access/6 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/20081020/7ceef2be/attachment.pgp From Robin.Clarke at networkrail.co.uk Tue Oct 21 14:06:53 2008 From: Robin.Clarke at networkrail.co.uk (Clarke Robin) Date: Tue, 21 Oct 2008 15:06:53 +0100 Subject: [support] Hacking core (user) References: <01E058C6-93D1-4EF1-AB55-55796BA7B867@boldfish.co.uk> Message-ID: <0CF90D6CE50B98468B96FECD3CEFE7C9D6FC34@sr1mm02.corp.UKrail.net> Hi, I have a requirement to include more information in the notification email that is sent to the site administrator when a user registers on the site (users can register, but admin approval is required to activate the account). The additional information required is the new user's email address. The only way I can think of satisfying this requirement is to change the User module in core (5.10). I could simply change this one line in user.module: drupal_mail('user-register-approval-admin', $from, $subject, t("!username has applied for an account.\n\n!edit_uri", $variables), $from); To this: drupal_mail('user-register-approval-admin', $from, $subject, t("!username (!mailto) has applied for an account.\n\n!edit_uri", $variables), $from); But I am not really happy about changing core, especially after reading the first article on Planet Drupal at the moment (http://robloach.net/node/128) which says that the first rule of Drupal is to 'do not hack core'. I can see changes becoming very hard to track, especially when it comes to upgrade time. So can someone suggest to me another way to acheive a solution to changing the content in this email? 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: 4176 bytes Desc: not available Url : http://lists.drupal.org/pipermail/support/attachments/20081021/a853b0d7/attachment.bin From hall.blake at gmail.com Tue Oct 21 14:21:39 2008 From: hall.blake at gmail.com (Blake Hall) Date: Tue, 21 Oct 2008 09:21:39 -0500 Subject: [support] Hacking core (user) In-Reply-To: <0CF90D6CE50B98468B96FECD3CEFE7C9D6FC34@sr1mm02.corp.UKrail.net> References: <01E058C6-93D1-4EF1-AB55-55796BA7B867@boldfish.co.uk> <0CF90D6CE50B98468B96FECD3CEFE7C9D6FC34@sr1mm02.corp.UKrail.net> Message-ID: <429f91ed0810210721v1705445aw96bdebf8520089b4@mail.gmail.com> This should do the trick... (assuming you're using Drupal 6): http://api.drupal.org/api/function/hook_mail_alter You'll have to create a little custom module, those docs are http://drupal.org/node/231276 Cheers, blake hall On Tue, Oct 21, 2008 at 9:06 AM, Clarke Robin < Robin.Clarke at networkrail.co.uk> wrote: > Hi, > > I have a requirement to include more information in the notification email > that is sent to the site administrator when a user registers on the site > (users can register, but admin approval is required to activate the > account). The additional information required is the new user's email > address. The only way I can think of satisfying this requirement is to > change the User module in core (5.10). > > I could simply change this one line in user.module: > drupal_mail('user-register-approval-admin', $from, $subject, > t("!username has applied for an account.\n\n!edit_uri", $variables), $from); > > To this: > drupal_mail('user-register-approval-admin', $from, $subject, > t("!username (!mailto) has applied for an account.\n\n!edit_uri", > $variables), $from); > > But I am not really happy about changing core, especially after reading the > first article on Planet Drupal at the moment (http://robloach.net/node/128) > which says that the first rule of Drupal is to 'do not hack core'. I can see > changes becoming very hard to track, especially when it comes to upgrade > time. > > So can someone suggest to me another way to acheive a solution to changing > the content in this email? > > 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/20081021/cb6387d7/attachment-0001.htm From dan at karran.net Tue Oct 21 14:35:02 2008 From: dan at karran.net (Dan Karran) Date: Tue, 21 Oct 2008 15:35:02 +0100 Subject: [support] Hacking core (user) In-Reply-To: <0CF90D6CE50B98468B96FECD3CEFE7C9D6FC34@sr1mm02.corp.UKrail.net> References: <01E058C6-93D1-4EF1-AB55-55796BA7B867@boldfish.co.uk> <0CF90D6CE50B98468B96FECD3CEFE7C9D6FC34@sr1mm02.corp.UKrail.net> Message-ID: <37d514850810210735h199e4889i421a616868f4bb5b@mail.gmail.com> On Tue, Oct 21, 2008 at 3:06 PM, Clarke Robin wrote: > I have a requirement to include more information in the notification email that is sent to the site administrator when a user registers on the site (users can register, but admin approval is required to activate the account). The additional information required is the new user's email address. The only way I can think of satisfying this requirement is to change the User module in core (5.10). You could use the String Overrides module[1] (also written by Rob Loach :) to override any string in Drupal that is wrapped in the t() function. It gives a much simpler way of managing string changes than actually having to change any code. [1] http://drupal.org/project/stringoverrides Cheers, Dan > I could simply change this one line in user.module: > drupal_mail('user-register-approval-admin', $from, $subject, t("!username has applied for an account.\n\n!edit_uri", $variables), $from); > > To this: > drupal_mail('user-register-approval-admin', $from, $subject, t("!username (!mailto) has applied for an account.\n\n!edit_uri", $variables), $from); > > But I am not really happy about changing core, especially after reading the first article on Planet Drupal at the moment (http://robloach.net/node/128) which says that the first rule of Drupal is to 'do not hack core'. I can see changes becoming very hard to track, especially when it comes to upgrade time. > > So can someone suggest to me another way to acheive a solution to changing the content in this email? > > Thanks > robin -- Dan Karran dan at karran.net www.dankarran.com From cjones at partialflow.com Tue Oct 21 14:57:36 2008 From: cjones at partialflow.com (Christopher M. Jones) Date: Tue, 21 Oct 2008 10:57:36 -0400 Subject: [support] module for user contact form control In-Reply-To: <01E058C6-93D1-4EF1-AB55-55796BA7B867@boldfish.co.uk> References: <01E058C6-93D1-4EF1-AB55-55796BA7B867@boldfish.co.uk> Message-ID: <48FDEDE0.8050805@partialflow.com> My memory is fuzzy, here, but have a look at privatemsg Tony Crockford wrote: > Hi > > I'm new, please go easy on me. > > I've been looking through the modules for Drupal 6.x and I can't quite > match what I'm looking for, what i want to be able to do is have a > user role that can access personal contact forms (if the user has > allowed them) > > e.g. anonymous can't see the personal contact form > > authenticated user can't see the personal contact form > > gold_authenticated user *can* see the personal contact form *if* the > user has allowed it > > any ideas? > > TIA > From cjones at partialflow.com Tue Oct 21 15:00:13 2008 From: cjones at partialflow.com (Christopher M. Jones) Date: Tue, 21 Oct 2008 11:00:13 -0400 Subject: [support] How to add effects to AJAX Views? Message-ID: <48FDEE7D.1000502@partialflow.com> I'm brand new to AJAX. In fact I know little to nothing about it, so I need some help. I'm using the AJAX Views module to provide ajax paging within in a block. I need to add a fade in / fade out effect when new content is loaded. Could someone give me a hint for what I need to do to go about this, or provide a snippet? From bharanikumariyerphp at gmail.com Tue Oct 21 16:18:57 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Tue, 21 Oct 2008 21:48:57 +0530 Subject: [support] Form submit error - - - -Fatal error: Unsupported operand types Message-ID: <2240033d0810210918h18bc0567hc84abb080bde08c1@mail.gmail.com> my code : 'textfield', '#title' => t('Quiz title'), '#required' => TRUE, '#default_value' => 'My quiz', ); // The current number of questions, plus three more if // the user requested them. if (isset($form_values)) { $question_count = $form_values['question_count']; if ($form_values['op'] == t('More questions')) { $question_count = $question_count + 3; } } else { $question_count = 3; } $form['question_count'] = array( '#type' => 'hidden', '#value' => $question_count, ); // We'll loop from 1 to n, where n is the current number of questions to // be displayed. for ($i = 1; $i <= $question_count; $i++) { $form['question_' . $i] = array( '#type' => 'textfield', '#title' => t('Question !count', array('!count' => $i)), ); } // This part is important! $form['#multistep'] = TRUE; $form['more'] = array( '#type' => 'button', '#value' => t('More questions'), ); $form['submit'] = array( '#type' => 'submit', '#value' => t('Submit'), ); return $form; } function my_form_submit($form_id, $form_values) { for ($i = 1; $i <= $form_values['question_count']; $i++) { drupal_set_message($current_question = $form_values['question_' . $i]); // Process $current_question } //return 'node/1'; // set redirect after submission, if desired } print drupal_get_form('my_form', 1, 2); ?> When i run the site i got error like *Fatal error*: Unsupported operand types in *C:\Program Files\xampp\htdocs\cancom\includes\form.inc* on line *342 *-- Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081021/d312e179/attachment.htm From earnie at users.sourceforge.net Tue Oct 21 16:21:14 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Tue, 21 Oct 2008 12:21:14 -0400 Subject: [support] Hacking core (user) In-Reply-To: <0CF90D6CE50B98468B96FECD3CEFE7C9D6FC34@sr1mm02.corp.UKrail.net> References: <01E058C6-93D1-4EF1-AB55-55796BA7B867@boldfish.co.uk> <0CF90D6CE50B98468B96FECD3CEFE7C9D6FC34@sr1mm02.corp.UKrail.net> Message-ID: <20081021122114.eox80864hzb4k0s0@mail.progw.org> Quoting Clarke Robin : > > So can someone suggest to me another way to acheive a solution to > changing the content in this email? > http://drupal.org/project/mail_edit Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From sivaji2009 at gmail.com Tue Oct 21 17:40:20 2008 From: sivaji2009 at gmail.com (sivaji j.g) Date: Tue, 21 Oct 2008 23:10:20 +0530 Subject: [support] Passing Variable between Forms In-Reply-To: <987990.52222.qm@web1112.biz.mail.sk1.yahoo.com> References: <987990.52222.qm@web1112.biz.mail.sk1.yahoo.com> Message-ID: On Tue, Oct 21, 2008 at 3:12 AM, Kevin Davis wrote: > > Hello, > > I would like to know how to pass variables or information between on form in drupal to another form in drupal. variable_set('variable_name','value') --> set the variable name and its value in table {variable} and makes it accessible via varialbe_get() //from bootstrap.inc drupal_get('variable_name','default_vaule') --> this function will check the table named {variable} for variable if its found it will take its value otherwise default_value will be taken //from bootstrap.inc References: <00c601c92ec2$98227d20$06000a0a@csa> Message-ID: <1224615768.4029.56.camel@k6-2.c-c-i.com> Hi, I am using the Garland theme on Drupal 5. The theme lets me set several of the colors, but I can't find a way to change the background color on the main part of the displayed window. I assume it is somewhere in /themes/garland/style.css but not being anywhere near a CSS expert it is escaping me. Can anyone tell me how to set the background color in this theme? Many thanks, -- Bob Smither, PhD Circuit Concepts, Inc. ========================================================================= Never Trust a Closed Source Operating System ========================================================================= Smither at C-C-I.Com http://www.C-C-I.Com 281-331-2744(office) -4616(fax) From metzlerd at evergreen.edu Tue Oct 21 19:17:50 2008 From: metzlerd at evergreen.edu (Metzler, David) Date: Tue, 21 Oct 2008 12:17:50 -0700 Subject: [support] Question on Garland Theme In-Reply-To: <1224615768.4029.56.camel@k6-2.c-c-i.com> References: <00c601c92ec2$98227d20$06000a0a@csa> <1224615768.4029.56.camel@k6-2.c-c-i.com> Message-ID: <384BE444EEC12143B241C72BCD7E9BA8016BC5F7@birch.evergreen.edu> IIRC, the color that you're looking for is the combination of a background color and an image mask, which is why you're having trouble. See thei following page for more info on how this works. http://drupal.org/node/108459 Dave -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Bob Smither Sent: Tuesday, October 21, 2008 12:03 PM To: support at drupal.org Subject: [support] Question on Garland Theme Hi, I am using the Garland theme on Drupal 5. The theme lets me set several of the colors, but I can't find a way to change the background color on the main part of the displayed window. I assume it is somewhere in /themes/garland/style.css but not being anywhere near a CSS expert it is escaping me. Can anyone tell me how to set the background color in this theme? Many thanks, -- Bob Smither, PhD Circuit Concepts, Inc. ======================================================================== = Never Trust a Closed Source Operating System ======================================================================== = Smither at C-C-I.Com http://www.C-C-I.Com 281-331-2744(office) -4616(fax) -- [ Drupal support list | http://lists.drupal.org/ ] From daniel.carrera at zmsl.com Tue Oct 21 21:46:37 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Tue, 21 Oct 2008 23:46:37 +0200 Subject: [support] Login problems Message-ID: <48FE4DBD.6070807@zmsl.com> Hello, I have a strange problem on my Drupal 5 site. Some times you have to login twice. That is, you enter your user name and password and when the page reloads you are not logged in at all. So you have to go back to the login page and login again. This seems to happen randomly. It happens perhaps 20% of the time. Any ideas? Daniel. From bharanikumariyerphp at gmail.com Wed Oct 22 04:14:58 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Wed, 22 Oct 2008 09:44:58 +0530 Subject: [support] Login problems In-Reply-To: <48FE4DBD.6070807@zmsl.com> References: <48FE4DBD.6070807@zmsl.com> Message-ID: <2240033d0810212114g177e6b25m9a9ac3d92b2fab5e@mail.gmail.com> Yes, am in same boat, Thanks On Wed, Oct 22, 2008 at 3:16 AM, Daniel Carrera wrote: > Hello, > > I have a strange problem on my Drupal 5 site. Some times you have to > login twice. That is, you enter your user name and password and when the > page reloads you are not logged in at all. So you have to go back to the > login page and login again. > > This seems to happen randomly. It happens perhaps 20% of the time. > > Any ideas? > > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081022/896d961e/attachment.htm From simone.dalmaso at juvox.it Wed Oct 22 12:05:01 2008 From: simone.dalmaso at juvox.it (Simone Dal Maso) Date: Wed, 22 Oct 2008 14:05:01 +0200 Subject: [support] Login problems References: <48FE4DBD.6070807@zmsl.com> Message-ID: <003401c9343e$6b09f080$06000a0a@csa> Have you enabled the blockcache? sometimes if you put in cache many blocks, they don't update regularly. ----- Original Message ----- From: "Daniel Carrera" To: Sent: Tuesday, October 21, 2008 11:46 PM Subject: [support] Login problems > Hello, > > I have a strange problem on my Drupal 5 site. Some times you have to > login twice. That is, you enter your user name and password and when the > page reloads you are not logged in at all. So you have to go back to the > login page and login again. > > This seems to happen randomly. It happens perhaps 20% of the time. > > Any ideas? > > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] > From daniel.carrera at zmsl.com Wed Oct 22 12:25:35 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Wed, 22 Oct 2008 14:25:35 +0200 Subject: [support] Login problems In-Reply-To: <003401c9343e$6b09f080$06000a0a@csa> References: <48FE4DBD.6070807@zmsl.com> <003401c9343e$6b09f080$06000a0a@csa> Message-ID: <48FF1BBF.2030701@zmsl.com> I don't know what block cache is. Where do I enable/disable it? Simone Dal Maso wrote: > Have you enabled the blockcache? > sometimes if you put in cache many blocks, they don't update regularly. > > > > ----- Original Message ----- > From: "Daniel Carrera" > To: > Sent: Tuesday, October 21, 2008 11:46 PM > Subject: [support] Login problems > > >> Hello, >> >> I have a strange problem on my Drupal 5 site. Some times you have to >> login twice. That is, you enter your user name and password and when the >> page reloads you are not logged in at all. So you have to go back to the >> login page and login again. >> >> This seems to happen randomly. It happens perhaps 20% of the time. >> >> Any ideas? >> >> Daniel. >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> From earnie at users.sourceforge.net Wed Oct 22 12:39:21 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Wed, 22 Oct 2008 08:39:21 -0400 Subject: [support] Login problems In-Reply-To: <2240033d0810212114g177e6b25m9a9ac3d92b2fab5e@mail.gmail.com> References: <48FE4DBD.6070807@zmsl.com> <2240033d0810212114g177e6b25m9a9ac3d92b2fab5e@mail.gmail.com> Message-ID: <20081022083921.94gm5deo5ag4800s@mail.progw.org> Quoting bharani kumar : > Yes, am in same boat, > > Thanks > > On Wed, Oct 22, 2008 at 3:16 AM, Daniel Carrera > wrote: > >> Hello, >> >> I have a strange problem on my Drupal 5 site. Some times you have to >> login twice. That is, you enter your user name and password and when the >> page reloads you are not logged in at all. So you have to go back to the >> login page and login again. >> >> This seems to happen randomly. It happens perhaps 20% of the time. >> >> Any ideas? >> Set the $cookie_domain variable in the settings.php file. The issue is that you have links going to sample.com and www.sample.com and they are different domains as far as the browser is concerned. Another option is to use the .htaccess file to redirect to www.sample.com. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From simone.dalmaso at juvox.it Wed Oct 22 12:41:08 2008 From: simone.dalmaso at juvox.it (Simone Dal Maso) Date: Wed, 22 Oct 2008 14:41:08 +0200 Subject: [support] Login problems References: <48FE4DBD.6070807@zmsl.com> <003401c9343e$6b09f080$06000a0a@csa> <48FF1BBF.2030701@zmsl.com> Message-ID: <001b01c93443$7611c8e0$06000a0a@csa> Ok don't worry. Blockcache is a module, but if you haven't installed it, this is not the problem ----- Original Message ----- From: "Daniel Carrera" To: Sent: Wednesday, October 22, 2008 2:25 PM Subject: Re: [support] Login problems > I don't know what block cache is. Where do I enable/disable it? > > Simone Dal Maso wrote: > > Have you enabled the blockcache? > > sometimes if you put in cache many blocks, they don't update regularly. > > > > > > > > ----- Original Message ----- > > From: "Daniel Carrera" > > To: > > Sent: Tuesday, October 21, 2008 11:46 PM > > Subject: [support] Login problems > > > > > >> Hello, > >> > >> I have a strange problem on my Drupal 5 site. Some times you have to > >> login twice. That is, you enter your user name and password and when the > >> page reloads you are not logged in at all. So you have to go back to the > >> login page and login again. > >> > >> This seems to happen randomly. It happens perhaps 20% of the time. > >> > >> Any ideas? > >> > >> Daniel. > >> -- > >> [ Drupal support list | http://lists.drupal.org/ ] > >> > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From madflute at anonemusic.com Wed Oct 22 12:44:04 2008 From: madflute at anonemusic.com (A-NO-NE Music) Date: Wed, 22 Oct 2008 08:44:04 -0400 Subject: [support] Need help on site for classes - student management In-Reply-To: <48FC283C.3090409@funnymonkey.com> References: <1D8A6389-18AB-4CEE-BC89-1F6B184CEC2E@anonemusic.com> <48FA297E.4020503@funnymonkey.com> <20D29346-DF32-4956-8FBC-6E4D9564AA4B@anonemusic.com> <48FC283C.3090409@funnymonkey.com> Message-ID: <8AE504CF-8594-4382-9E8B-E95BE20B5F3E@anonemusic.com> On 08/10/20(?), at 2:42, Bill Fitzgerald wrote: > You could use either core profile module or the Content Profile > (http://drupal.org/project/content_profile)module to get this done. > Core > profile would probably be easier, although content profile provides a > lot more flexibility. > > Then, you'd want to use Views to generate your class lists -- Views > will > work with either method. Thank you so much. Un fortunately I haven't been able to make this to work. The new Views 2 under Drupal 6 is so different from previous Views. I even installed the advanced help as well as Simple Views module. I originally had a problem with Views path, which Simple Views module kinda solved for me, but I feel I should be able to create the path without Simple Views module. I attached class sections with Core Profile to every user, but Views doesn't show it as a filter option. I then installed Content Profile, but I can't figure out how to associate it with each user accounts, especially I don't need to create bio/profile for users. I only need to be able to list students by class sections. P.S., I feel I should had started this site with Drupal 5, where I am much more comfortable with. -- - Hiro Hiroaki Honshuku, A-NO-NE Music, Greater Boston http://a-no-ne.com http://anonemusic.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081022/3db66475/attachment.htm From Smither at C-C-I.com Wed Oct 22 13:06:17 2008 From: Smither at C-C-I.com (Bob Smither) Date: Wed, 22 Oct 2008 08:06:17 -0500 Subject: [support] Question on Garland Theme In-Reply-To: <384BE444EEC12143B241C72BCD7E9BA8016BC5F7@birch.evergreen.edu> References: <00c601c92ec2$98227d20$06000a0a@csa> <1224615768.4029.56.camel@k6-2.c-c-i.com> <384BE444EEC12143B241C72BCD7E9BA8016BC5F7@birch.evergreen.edu> Message-ID: <1224680777.4029.69.camel@k6-2.c-c-i.com> On Tue, 2008-10-21 at 12:17 -0700, Metzler, David wrote: > IIRC, the color that you're looking for is the combination of a > background color and an image mask, which is why you're having trouble. > > See thei following page for more info on how this works. > > http://drupal.org/node/108459 Yikes! - but many thanks. I will try to dig through this. Regards, -- Bob Smither, PhD Circuit Concepts, Inc. ========================================================================= No man's life, liberty, or property are safe while the legislature is in session. --Mark Twain (1866) ========================================================================= Smither at C-C-I.Com http://www.C-C-I.Com 281-331-2744(office) -4616(fax) From daniel.carrera at zmsl.com Wed Oct 22 13:36:58 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Wed, 22 Oct 2008 15:36:58 +0200 Subject: [support] Login problems In-Reply-To: <20081022083921.94gm5deo5ag4800s@mail.progw.org> References: <48FE4DBD.6070807@zmsl.com> <2240033d0810212114g177e6b25m9a9ac3d92b2fab5e@mail.gmail.com> <20081022083921.94gm5deo5ag4800s@mail.progw.org> Message-ID: <48FF2C7A.5090705@zmsl.com> Earnie Boyd wrote: > Set the $cookie_domain variable in the settings.php file. I already have it set to something: $cookie_domain = 'www.theingots.org'; I've tried testing the hypothesis that the problem only happens when 'www.' is missing from the URL. But I have not managed to confirm the hypothesis because once I manage to login once, the browser seems to login correctly every time, even if I delete cookies. > Another option is to use the .htaccess file to redirect to www.sample.com. Thanks. I'll look up HTTP redirects. But I'll first try to confirm if the problem has something to do with the domain or not. Daniel. From daniel.carrera at zmsl.com Wed Oct 22 13:37:12 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Wed, 22 Oct 2008 15:37:12 +0200 Subject: [support] Login problems In-Reply-To: <001b01c93443$7611c8e0$06000a0a@csa> References: <48FE4DBD.6070807@zmsl.com> <003401c9343e$6b09f080$06000a0a@csa> <48FF1BBF.2030701@zmsl.com> <001b01c93443$7611c8e0$06000a0a@csa> Message-ID: <48FF2C88.4000409@zmsl.com> Ok, thanks. Simone Dal Maso wrote: > Ok don't worry. > Blockcache is a module, but if you haven't installed it, this is not the problem > > > ----- Original Message ----- > From: "Daniel Carrera" > To: > Sent: Wednesday, October 22, 2008 2:25 PM > Subject: Re: [support] Login problems > > >> I don't know what block cache is. Where do I enable/disable it? >> >> Simone Dal Maso wrote: >>> Have you enabled the blockcache? >>> sometimes if you put in cache many blocks, they don't update regularly. >>> >>> >>> >>> ----- Original Message ----- >>> From: "Daniel Carrera" >>> To: >>> Sent: Tuesday, October 21, 2008 11:46 PM >>> Subject: [support] Login problems >>> >>> >>>> Hello, >>>> >>>> I have a strange problem on my Drupal 5 site. Some times you have to >>>> login twice. That is, you enter your user name and password and when the >>>> page reloads you are not logged in at all. So you have to go back to the >>>> login page and login again. >>>> >>>> This seems to happen randomly. It happens perhaps 20% of the time. >>>> >>>> Any ideas? >>>> >>>> Daniel. >>>> -- >>>> [ Drupal support list | http://lists.drupal.org/ ] >>>> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> From madflute at anonemusic.com Wed Oct 22 13:38:15 2008 From: madflute at anonemusic.com (A-NO-NE Music) Date: Wed, 22 Oct 2008 09:38:15 -0400 Subject: [support] Need help on site for classes - student management In-Reply-To: <8AE504CF-8594-4382-9E8B-E95BE20B5F3E@anonemusic.com> References: <1D8A6389-18AB-4CEE-BC89-1F6B184CEC2E@anonemusic.com> <48FA297E.4020503@funnymonkey.com> <20D29346-DF32-4956-8FBC-6E4D9564AA4B@anonemusic.com> <48FC283C.3090409@funnymonkey.com> <8AE504CF-8594-4382-9E8B-E95BE20B5F3E@anonemusic.com> Message-ID: <68654623-A908-434D-B9FA-207F83811E0A@anonemusic.com> As soon as I hit [Send], I realized my error. Core User Profile isn't listed under User! Huh. Also noticed I need to create Page Display first in order to create the path. I think I can get this done now. Thank you so much for your help. --- Hiro Hiroaki Honshuku, A-NO-NE Music, Greater Boston http://a-no-ne.com http://anonemusic.com On 08/10/22(?), at 8:44, A-NO-NE Music wrote: > > On 08/10/20(?), at 2:42, Bill Fitzgerald wrote: > >> You could use either core profile module or the Content Profile >> (http://drupal.org/project/content_profile)module to get this done. >> Core >> profile would probably be easier, although content profile provides a >> lot more flexibility. >> >> Then, you'd want to use Views to generate your class lists -- Views >> will >> work with either method. > > Thank you so much. Un fortunately I haven't been able to make this > to work. The new Views 2 under Drupal 6 is so different from > previous Views. I even installed the advanced help as well as > Simple Views module. > > I originally had a problem with Views path, which Simple Views > module kinda solved for me, but I feel I should be able to create > the path without Simple Views module. > > I attached class sections with Core Profile to every user, but Views > doesn't show it as a filter option. I then installed Content > Profile, but I can't figure out how to associate it with each user > accounts, especially I don't need to create bio/profile for users. > I only need to be able to list students by class sections. > > P.S., I feel I should had started this site with Drupal 5, where I > am much more comfortable with. > > > -- > - Hiro -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081022/94c1fcac/attachment.htm From earnie at users.sourceforge.net Wed Oct 22 14:21:32 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Wed, 22 Oct 2008 10:21:32 -0400 Subject: [support] Passing Variable between Forms In-Reply-To: References: <987990.52222.qm@web1112.biz.mail.sk1.yahoo.com> Message-ID: <20081022102132.u0o3pmi5d9b4cskk@mail.progw.org> Quoting "sivaji j.g" : > On Tue, Oct 21, 2008 at 3:12 AM, Kevin Davis wrote: >> >> Hello, >> >> I would like to know how to pass variables or information between on >> form in drupal to another form in drupal. > > variable_set('variable_name','value') --> set the variable name and > its value in table {variable} and makes it accessible via > varialbe_get() > > //from bootstrap.inc > function variable_set($name, $value) { > global $conf; > > db_lock_table('variable'); > db_query("DELETE FROM {variable} WHERE name = '%s'", $name); > db_query("INSERT INTO {variable} (name, value) VALUES ('%s', '%s')", > $name, serialize($value)); > db_unlock_tables(); > > cache_clear_all('variables', 'cache'); > > $conf[$name] = $value; > } > ?> > > > drupal_get('variable_name','default_vaule') --> this function will > check the table named {variable} > for variable if its found it will take its value otherwise > default_value will be taken > > //from bootstrap.inc > function variable_get($name, $default) { > global $conf; > return isset($conf[$name]) ? $conf[$name] : $default; > } > This suggestion is a misuse of the variable_set/get methods as a resolution to the OP's question. Store the serialized data in a $_SESSION['mymod'] data and then set the default values of your new form using the unserialized data from $_SESSION['mymod']. However, if you have sensitive data you'll need to encrypt and decrypt it as well as serialize the data. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From tetsuo2k6 at web.de Wed Oct 22 14:52:48 2008 From: tetsuo2k6 at web.de (Paul Schewietzek) Date: Wed, 22 Oct 2008 16:52:48 +0200 Subject: [support] FCKeditor doesn't show up Message-ID: <1224687168.5453.20.camel@tetsuo.powmark.local> Hi, Drupal newbie here :) I'm having trouble getting the FCKeditor to work on Drupal 6.5, FCK version is 2.6.3. I was able to activate the module and FCKeditor itself, set role permissions and put the FCK profiles right, following the README that came with the module. I even activated 'Full HTML'-filter. However, when I try to create content (just a page, to start out), Drupal only shows the standart text field. Also, 'edit-pages' is an 'Included' field in the relevant FCK profile. The global profile 'Excludes' an empty list, so that shouldn't be the problem I think. When creating content, there's no showing up of FCKeditor at all... Did I miss something? Where should I start debugging? Regards, Paul From tetsuo2k6 at web.de Wed Oct 22 14:59:49 2008 From: tetsuo2k6 at web.de (Paul Schewietzek) Date: Wed, 22 Oct 2008 16:59:49 +0200 Subject: [support] FCKeditor doesn't show up In-Reply-To: <1224687168.5453.20.camel@tetsuo.powmark.local> References: <1224687168.5453.20.camel@tetsuo.powmark.local> Message-ID: <1224687589.5453.23.camel@tetsuo.powmark.local> Just realised I needed to add 'edit-body' to the list of 'Included' fields. Sorry for the noise and thanks anyways :) - Paul Am Mittwoch, den 22.10.2008, 16:52 +0200 schrieb Paul Schewietzek: > Hi, Drupal newbie here :) > > > > I'm having trouble getting the FCKeditor to work on Drupal 6.5, FCK > version is 2.6.3. > > I was able to activate the module and FCKeditor itself, set role > permissions and put the FCK profiles right, following the README that > came with the module. I even activated 'Full HTML'-filter. However, when > I try to create content (just a page, to start out), Drupal only shows > the standart text field. Also, 'edit-pages' is an 'Included' field in > the relevant FCK profile. The global profile 'Excludes' an empty list, > so that shouldn't be the problem I think. > > > When creating content, there's no showing up of FCKeditor at all... Did > I miss something? Where should I start debugging? > > > > Regards, Paul > From killshot91 at comcast.net Wed Oct 22 15:11:23 2008 From: killshot91 at comcast.net (Steve Edwards) Date: Wed, 22 Oct 2008 08:11:23 -0700 Subject: [support] Hidden menus showing up for anonymous user Message-ID: <48FF429B.6030400@comcast.net> I've created six different views. and specified access in the views themselves to certain roles. I'm using menu tabs, putting them in groups of three. I've created two menu items pointing to the default tab, and I've used Menu Per Role to limit access to the menu item. All of that works great, except for one thing: the menu items are available on the Navigation menu to the anonymous user. Part of the reason this is weird is that I didn't put them in the Navigation menu at all, so I'm not sure why they're showing up there. Any idea why they are? Thanks,. Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081022/7b91196c/attachment-0001.htm From daniel.carrera at zmsl.com Wed Oct 22 15:29:50 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Wed, 22 Oct 2008 17:29:50 +0200 Subject: [support] Login problems In-Reply-To: <48FF2C7A.5090705@zmsl.com> References: <48FE4DBD.6070807@zmsl.com> <2240033d0810212114g177e6b25m9a9ac3d92b2fab5e@mail.gmail.com> <20081022083921.94gm5deo5ag4800s@mail.progw.org> <48FF2C7A.5090705@zmsl.com> Message-ID: <48FF46EE.8090500@zmsl.com> Daniel Carrera wrote: > I already have it set to something: > > $cookie_domain = 'www.theingots.org'; > > > I've tried testing the hypothesis that the problem only happens when > 'www.' is missing from the URL. But I have not managed to confirm the > hypothesis because once I manage to login once, the browser seems to > login correctly every time, even if I delete cookies. I can confirm now that the problem is not in the URL. I downloaded a pristine browser and reproduced the problem using the www. URL. Daniel. From marolijo at yahoo.es Wed Oct 22 15:39:42 2008 From: marolijo at yahoo.es (Marolijo / Pol Maresma) Date: Wed, 22 Oct 2008 17:39:42 +0200 Subject: [support] Internal server error (with .htaccess andmod_rewriteinstalled) In-Reply-To: <005f01c93289$2b5440a0$0601a8c0@zeus> References: <000601c9304c$c249bd30$0601a8c0@zeus><5F74CE02-6DF8-4287-8F1D-7946F2D1F87D@anonemusic.com> <005f01c93289$2b5440a0$0601a8c0@zeus> Message-ID: <005e01c9345c$68304800$0601a8c0@zeus> Hi! Finally I have the log. It says /var/www/vhost/test.thedomain.com/home/html/.htaccess: ErrorDocument not allowed here I google'd and still can't solve the problem. Thank's! -----Mensaje original----- De: support-bounces at drupal.org [mailto:support-bounces at drupal.org] En nombre de Marolijo / Pol Maresma Enviado el: lunes, 20 de octubre de 2008 9:55 Para: support at drupal.org Asunto: Re: [support] Internal server error (with .htaccess andmod_rewriteinstalled) Thank's! I'm waiting for the apache's logs to see what happens. See you -----Mensaje original----- De: support-bounces at drupal.org [mailto:support-bounces at drupal.org] En nombre de A-NO-NE Music Enviado el: s?bado, 18 de octubre de 2008 7:17 Para: support at drupal.org Asunto: Re: [support] Internal server error (with .htaccess and mod_rewriteinstalled) On 2008/10/17(?), at ?7:37, Marolijo / Pol Maresma wrote: > Hi, I'm on a new server and have the Internal server error when I copy > the .htaccess file Without it instal?lation goes well. > Mod_rewrite is installed, PHP4.3.9, Apache2. (see below the results of > a phpinfo() call: ) I was in a similar situation, and I solved it buy asking the ISP for PHP5. -- - Hiro Hiroaki Honshuku, A-NO-NE Music, Greater Boston http://a-no-ne.com http://anonemusic.com -- [ Drupal support list | http://lists.drupal.org/ ] -- [ Drupal support list | http://lists.drupal.org/ ] From earnie at users.sourceforge.net Wed Oct 22 16:07:32 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Wed, 22 Oct 2008 12:07:32 -0400 Subject: [support] Login problems In-Reply-To: <48FF46EE.8090500@zmsl.com> References: <48FE4DBD.6070807@zmsl.com> <2240033d0810212114g177e6b25m9a9ac3d92b2fab5e@mail.gmail.com> <20081022083921.94gm5deo5ag4800s@mail.progw.org> <48FF2C7A.5090705@zmsl.com> <48FF46EE.8090500@zmsl.com> Message-ID: <20081022120732.bxs147dvvjs0k004@mail.progw.org> Quoting Daniel Carrera : > Daniel Carrera wrote: >> I already have it set to something: >> >> $cookie_domain = 'www.theingots.org'; >> >> >> I've tried testing the hypothesis that the problem only happens when >> 'www.' is missing from the URL. But I have not managed to confirm the >> hypothesis because once I manage to login once, the browser seems to >> login correctly every time, even if I delete cookies. > > > I can confirm now that the problem is not in the URL. I downloaded a > pristine browser and reproduced the problem using the www. URL. > Hmm... Are you behind a proxy? Or are your sessions being duplicated or destroyed? Try emptying your sessions and cache tables. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From daniel.carrera at zmsl.com Wed Oct 22 16:18:17 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Wed, 22 Oct 2008 18:18:17 +0200 Subject: [support] Login problems In-Reply-To: <20081022120732.bxs147dvvjs0k004@mail.progw.org> References: <48FE4DBD.6070807@zmsl.com> <2240033d0810212114g177e6b25m9a9ac3d92b2fab5e@mail.gmail.com> <20081022083921.94gm5deo5ag4800s@mail.progw.org> <48FF2C7A.5090705@zmsl.com> <48FF46EE.8090500@zmsl.com> <20081022120732.bxs147dvvjs0k004@mail.progw.org> Message-ID: <48FF5249.3010008@zmsl.com> Earnie Boyd wrote: > Hmm... Are you behind a proxy? Or are your sessions being duplicated > or destroyed? Try emptying your sessions and cache tables. Nope, no proxy. I don't think that duplicated sessions are the problem. On the contrary, the problem seems to happen when the browser has no previous history with the website. The following seems to be a reliable (if inconvenient) way to reproduce the problem: 1) Download a brand new browser. No previous history. 2) Go to the site. 3) Login. ** At this point the login silently fails ** ** You are sent to the front page without being logged in ** 4) Login a second time. ** Now the login works. ** 5) Now you can log out and log back in and it'll work the first time. At this point it becomes difficult to reproduce the problem again without downloading a new browser. It is strange that simply deleting the cookies doesn't seem to be enough to reproduce the problem. But if you haven't used the browser for a while (don't know how long), the problem is replicated. The problem is not annoying, but it frustrates some users. Daniel. From earnie at users.sourceforge.net Wed Oct 22 19:34:36 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Wed, 22 Oct 2008 15:34:36 -0400 Subject: [support] Login problems In-Reply-To: <48FF5249.3010008@zmsl.com> References: <48FE4DBD.6070807@zmsl.com> <2240033d0810212114g177e6b25m9a9ac3d92b2fab5e@mail.gmail.com> <20081022083921.94gm5deo5ag4800s@mail.progw.org> <48FF2C7A.5090705@zmsl.com> <48FF46EE.8090500@zmsl.com> <20081022120732.bxs147dvvjs0k004@mail.progw.org> <48FF5249.3010008@zmsl.com> Message-ID: <20081022153436.cd253awb6ndc8c48@mail.progw.org> Quoting Daniel Carrera : > Earnie Boyd wrote: >> Hmm... Are you behind a proxy? Or are your sessions being duplicated >> or destroyed? Try emptying your sessions and cache tables. > > Nope, no proxy. I don't think that duplicated sessions are the problem. > On the contrary, the problem seems to happen when the browser has no > previous history with the website. The following seems to be a reliable > (if inconvenient) way to reproduce the problem: > > 1) Download a brand new browser. No previous history. > 2) Go to the site. > 3) Login. > > ** At this point the login silently fails ** > ** You are sent to the front page without being logged in ** > > 4) Login a second time. > > ** Now the login works. ** > > 5) Now you can log out and log back in and it'll work the first time. At > this point it becomes difficult to reproduce the problem again without > downloading a new browser. It is strange that simply deleting the > cookies doesn't seem to be enough to reproduce the problem. But if you > haven't used the browser for a while (don't know how long), the problem > is replicated. > > > The problem is not annoying, but it frustrates some users. > See http://drupal.org/node/293612 - "user_authenticate() should work when $_COOKIE is empty" Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From daniel.carrera at zmsl.com Wed Oct 22 20:07:29 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Wed, 22 Oct 2008 22:07:29 +0200 Subject: [support] Drupal on HTTPS Message-ID: <48FF8801.6080208@zmsl.com> Hello, Is there any harm in serving Drupal over HTTPS instead of HTTP? I want the Drupal login to be on HTTPS because I just don't like sending passwords in plain text. But with Apache it is no more work to make the entire site run on HTTPS versus just one page. In fact, it seems easier. So, I was wondering, is there any good reason not to serve a Drupal site over HTTPS? It seems a bit odd, but I figure, if I already have an SSL certificate, I figure, what's the harm? Thanks. Daniel From jhedstrom at opensourcery.com Wed Oct 22 20:54:44 2008 From: jhedstrom at opensourcery.com (Jonathan Hedstrom) Date: Wed, 22 Oct 2008 13:54:44 -0700 Subject: [support] Passing Variable between Forms In-Reply-To: <20081022102132.u0o3pmi5d9b4cskk@mail.progw.org> References: <987990.52222.qm@web1112.biz.mail.sk1.yahoo.com> <20081022102132.u0o3pmi5d9b4cskk@mail.progw.org> Message-ID: <48FF9314.2080205@opensourcery.com> Earnie Boyd wrote: > This suggestion is a misuse of the variable_set/get methods as a > resolution to the OP's question. Store the serialized data in a > $_SESSION['mymod'] data and then set the default values of your new > form using the unserialized data from $_SESSION['mymod']. However, if > you have sensitive data you'll need to encrypt and decrypt it as well > as serialize the data. > What would encrypting the sensitive data in the $_SESSION variable accomplish, since the final resting place (the Drupal node/user/variable tables etc), aren't encrypted? 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/20081022/97d55449/attachment.pgp From gordon at heydon.com.au Wed Oct 22 21:50:53 2008 From: gordon at heydon.com.au (Gordon Heydon) Date: Thu, 23 Oct 2008 08:50:53 +1100 Subject: [support] Drupal on HTTPS In-Reply-To: <48FF8801.6080208@zmsl.com> References: <48FF8801.6080208@zmsl.com> Message-ID: Hi, Yes you can do this with the securepages module. http://drupal.org/project/securepages This will help you set up which pages are to displayed via SSL and which pages are not to be. You still need to set up SSL so you can browse the site via https, and then you just use secure pages to do the switching. Gordon. On 23/10/2008, at 7:07 AM, Daniel Carrera wrote: > Hello, > > Is there any harm in serving Drupal over HTTPS instead of HTTP? > > I want the Drupal login to be on HTTPS because I just don't like > sending > passwords in plain text. But with Apache it is no more work to make > the > entire site run on HTTPS versus just one page. In fact, it seems > easier. > > So, I was wondering, is there any good reason not to serve a Drupal > site > over HTTPS? It seems a bit odd, but I figure, if I already have an SSL > certificate, I figure, what's the harm? > > Thanks. > Daniel > -- > [ Drupal support list | http://lists.drupal.org/ ] From metzlerd at evergreen.edu Wed Oct 22 22:21:57 2008 From: metzlerd at evergreen.edu (Metzler, David) Date: Wed, 22 Oct 2008 15:21:57 -0700 Subject: [support] Drupal on HTTPS In-Reply-To: <48FF8801.6080208@zmsl.com> References: <48FF8801.6080208@zmsl.com> Message-ID: <384BE444EEC12143B241C72BCD7E9BA8016BC5FC@birch.evergreen.edu> Naw we do this (Aside from the obvious performance issues about decripting data for large numbers of hits). There's a securepages module out there to force redirects on certain pages if your interested in making sur ethat just the login informatioin or user information happens over https. http://drupal.org/project/securepages Dave -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Daniel Carrera Sent: Wednesday, October 22, 2008 1:07 PM To: support at drupal.org Subject: [support] Drupal on HTTPS Hello, Is there any harm in serving Drupal over HTTPS instead of HTTP? I want the Drupal login to be on HTTPS because I just don't like sending passwords in plain text. But with Apache it is no more work to make the entire site run on HTTPS versus just one page. In fact, it seems easier. So, I was wondering, is there any good reason not to serve a Drupal site over HTTPS? It seems a bit odd, but I figure, if I already have an SSL certificate, I figure, what's the harm? Thanks. Daniel -- [ Drupal support list | http://lists.drupal.org/ ] From metzlerd at evergreen.edu Wed Oct 22 22:33:21 2008 From: metzlerd at evergreen.edu (Metzler, David) Date: Wed, 22 Oct 2008 15:33:21 -0700 Subject: [support] Passing Variable between Forms In-Reply-To: <48FF9314.2080205@opensourcery.com> References: <987990.52222.qm@web1112.biz.mail.sk1.yahoo.com> <20081022102132.u0o3pmi5d9b4cskk@mail.progw.org> <48FF9314.2080205@opensourcery.com> Message-ID: <384BE444EEC12143B241C72BCD7E9BA8016BC5FD@birch.evergreen.edu> Yes and while we're at it, serialization is unneccesary unless you're talking about objects. I store nested arrays of data in session variables all the time ind drupal code. -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Jonathan Hedstrom Sent: Wednesday, October 22, 2008 1:55 PM To: support at drupal.org Subject: Re: [support] Passing Variable between Forms Earnie Boyd wrote: > This suggestion is a misuse of the variable_set/get methods as a > resolution to the OP's question. Store the serialized data in a > $_SESSION['mymod'] data and then set the default values of your new > form using the unserialized data from $_SESSION['mymod']. However, if > you have sensitive data you'll need to encrypt and decrypt it as well > as serialize the data. > What would encrypting the sensitive data in the $_SESSION variable accomplish, since the final resting place (the Drupal node/user/variable tables etc), aren't encrypted? Cheers, Jonathan -- Jonathan Hedstrom OpenSourcery http://opensourcery.com Technology for Good From mlandman at hvc.rr.com Thu Oct 23 00:36:14 2008 From: mlandman at hvc.rr.com (Marty Landman) Date: Wed, 22 Oct 2008 20:36:14 -0400 Subject: [support] horizontal cascading menu Message-ID: <20081023003821.JNQW15876.hrndva-omta05.mail.rr.com@nosoup4u.hvc.rr.com> I'm running into a problem trying to get a menu block to display horizontally. AFAIK the menu items are supposed to come out as an unordered list, but I can't figure out how to override the css properly to make them display across instead of up and down. This code in page.tpl.php seems to fix that: 'links primary-links')) ?> However when I then add child links to some of these menu items they do not display. FWIW I'd like those links to behave like they do on the left sidebar by default, cascading downwards after the parent link has been clicked. Thanks. Marty From daniel.carrera at zmsl.com Thu Oct 23 08:48:26 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Thu, 23 Oct 2008 10:48:26 +0200 Subject: [support] Drupal on HTTPS In-Reply-To: <384BE444EEC12143B241C72BCD7E9BA8016BC5FC@birch.evergreen.edu> References: <48FF8801.6080208@zmsl.com> <384BE444EEC12143B241C72BCD7E9BA8016BC5FC@birch.evergreen.edu> Message-ID: <49003A5A.7050108@zmsl.com> Thanks. You mention performance issues. How bad is it? I spent several hours Googling and I found two papers. One that claims that the delay due to HTTPS is minimal and another that claims that the delay is significant. :-( Metzler, David wrote: > Naw we do this (Aside from the obvious performance issues about > decripting data for large numbers of hits). There's a securepages > module out there to force redirects on certain pages if your interested > in making sur ethat just the login informatioin or user information > happens over https. > > http://drupal.org/project/securepages > > Dave > > -----Original Message----- > From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On > Behalf Of Daniel Carrera > Sent: Wednesday, October 22, 2008 1:07 PM > To: support at drupal.org > Subject: [support] Drupal on HTTPS > > Hello, > > Is there any harm in serving Drupal over HTTPS instead of HTTP? > > I want the Drupal login to be on HTTPS because I just don't like sending > passwords in plain text. But with Apache it is no more work to make the > entire site run on HTTPS versus just one page. In fact, it seems easier. > > So, I was wondering, is there any good reason not to serve a Drupal site > over HTTPS? It seems a bit odd, but I figure, if I already have an SSL > certificate, I figure, what's the harm? > > Thanks. > Daniel > -- > [ Drupal support list | http://lists.drupal.org/ ] From earnie at users.sourceforge.net Thu Oct 23 12:22:40 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Thu, 23 Oct 2008 08:22:40 -0400 Subject: [support] Passing Variable between Forms In-Reply-To: <384BE444EEC12143B241C72BCD7E9BA8016BC5FD@birch.evergreen.edu> References: <987990.52222.qm@web1112.biz.mail.sk1.yahoo.com> <20081022102132.u0o3pmi5d9b4cskk@mail.progw.org> <48FF9314.2080205@opensourcery.com> <384BE444EEC12143B241C72BCD7E9BA8016BC5FD@birch.evergreen.edu> Message-ID: <20081023082240.uk7wj0e64gis8swg@mail.progw.org> Quoting "Metzler, David" : > Yes and while we're at it, serialization is unneccesary unless you're > talking about objects. I store nested arrays of data in session > variables all the time ind drupal code. > Yes but I always do so that I don't have to worry about the type of data stored. > -----Original Message----- > From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On > Behalf Of Jonathan Hedstrom > Sent: Wednesday, October 22, 2008 1:55 PM > To: support at drupal.org > Subject: Re: [support] Passing Variable between Forms > > > > Earnie Boyd wrote: >> This suggestion is a misuse of the variable_set/get methods as a >> resolution to the OP's question. Store the serialized data in a >> $_SESSION['mymod'] data and then set the default values of your new >> form using the unserialized data from $_SESSION['mymod']. However, if > >> you have sensitive data you'll need to encrypt and decrypt it as well > >> as serialize the data. >> > What would encrypting the sensitive data in the $_SESSION variable > accomplish, since the final resting place (the Drupal node/user/variable > tables etc), aren't encrypted? > Why wouldn't you encrypt sensitive data stored in the DB? If the data shouldn't be for all eyes it better be encrypted when stored. Yes, I know the arguments about the ease of decryption but at least you can prove you obscured the data in a court of law. You also made an assumption that may not be true, the OP may store his data in his own tables and perhaps in a different DB. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From metzlerd at evergreen.edu Thu Oct 23 16:27:35 2008 From: metzlerd at evergreen.edu (Metzler, David) Date: Thu, 23 Oct 2008 09:27:35 -0700 Subject: [support] Drupal on HTTPS In-Reply-To: <49003A5A.7050108@zmsl.com> References: <48FF8801.6080208@zmsl.com><384BE444EEC12143B241C72BCD7E9BA8016BC5FC@birch.evergreen.edu> <49003A5A.7050108@zmsl.com> Message-ID: <384BE444EEC12143B241C72BCD7E9BA8016BC600@birch.evergreen.edu> It depends on many factors. The primary performance concern is encrypt/decrypt of the data and its impact on cpu. Image files, large pdf documents, etc when encrypted can cause CPU performance impact. If your browsers cache much of this content it's not a huge load, but of course you need to think about how many concurrent hits you're likely to get on your site. Also understand that this means that the clients need to decrypt the data. So again if you're sending say a big .wav file to grandmas 6 year old computer that is loaded with AV software and that old clunker has to decrypt the content and then scan it for viruses, well grandma may decide not to watch that movie after all. I guess what I'm saying is that if you're doing regular text, with small numbers of images and you don't expect an insane amount of hits, and you're not shared hosting, and you're server is reasonably current as far as CPU is concerned, you probably aren't going to notice too much. But if your target audience has old clunkers, or you are planning on putting up heavy content, or you aren't blessed with an abundance of CPU, then it's probably worth your while to set up securepages, and make sure your site can respond to https and http. Frankly that last step I'd do anyway so you can advertise example.com without users having to remember to type https. Either way you can pretty much look at CPU load to determine whether this is an issue for you. Good luck, Dave -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Daniel Carrera Sent: Thursday, October 23, 2008 1:48 AM To: support at drupal.org Subject: Re: [support] Drupal on HTTPS Thanks. You mention performance issues. How bad is it? I spent several hours Googling and I found two papers. One that claims that the delay due to HTTPS is minimal and another that claims that the delay is significant. :-( Metzler, David wrote: > Naw we do this (Aside from the obvious performance issues about > decripting data for large numbers of hits). There's a securepages > module out there to force redirects on certain pages if your > interested in making sur ethat just the login informatioin or user > information happens over https. > > http://drupal.org/project/securepages > > Dave > > -----Original Message----- > From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] > On Behalf Of Daniel Carrera > Sent: Wednesday, October 22, 2008 1:07 PM > To: support at drupal.org > Subject: [support] Drupal on HTTPS > > Hello, > > Is there any harm in serving Drupal over HTTPS instead of HTTP? > > I want the Drupal login to be on HTTPS because I just don't like > sending passwords in plain text. But with Apache it is no more work to > make the entire site run on HTTPS versus just one page. In fact, it seems easier. > > So, I was wondering, is there any good reason not to serve a Drupal > site over HTTPS? It seems a bit odd, but I figure, if I already have > an SSL certificate, I figure, what's the harm? > > Thanks. > Daniel > -- > [ Drupal support list | http://lists.drupal.org/ ] -- [ Drupal support list | http://lists.drupal.org/ ] From ryan at etrafficsolutions.com Thu Oct 23 16:46:10 2008 From: ryan at etrafficsolutions.com (Ryan Thomson) Date: Thu, 23 Oct 2008 09:46:10 -0700 Subject: [support] select text from list, then display in block? Message-ID: <4900AA52.1040201@etrafficsolutions.com> Hi all This is probably simple, but I can't seem to figure it out... I'm making a site for a restaurant. They want to be able to go to a page where all possible menu items are listed, select the items for todays menu and save so only the menu items they picked would be displayed on a 'today's menu' page. Does anyone know of a module for this sort of thing or perhaps point me to some method to do this? I've been reading up all over and can't seem to wrap my head around where to begin.. Thanks all! From jhedstrom at opensourcery.com Thu Oct 23 17:40:33 2008 From: jhedstrom at opensourcery.com (Jonathan Hedstrom) Date: Thu, 23 Oct 2008 10:40:33 -0700 Subject: [support] select text from list, then display in block? In-Reply-To: <4900AA52.1040201@etrafficsolutions.com> References: <4900AA52.1040201@etrafficsolutions.com> Message-ID: <4900B711.7080109@opensourcery.com> Ryan Thomson wrote: > Hi all > > This is probably simple, but I can't seem to figure it out... I'm making > a site for a restaurant. They want to be able to go to a page where all > possible menu items are listed, select the items for todays menu and > save so only the menu items they picked would be displayed on a 'today's > menu' page. Does anyone know of a module for this sort of thing or > perhaps point me to some method to do this? I've been reading up all > over and can't seem to wrap my head around where to begin.. > The nodequeue module allows for this sort of manual list creation. http://drupal.org/project/nodequeue 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/20081023/f0e3b1ec/attachment-0001.pgp From amandil001 at gmail.com Thu Oct 23 18:43:56 2008 From: amandil001 at gmail.com (amandil 001) Date: Thu, 23 Oct 2008 20:43:56 +0200 Subject: [support] Block edit user profile Message-ID: <1e8959140810231143v399900d0y5fc0ab6416f1ef4a@mail.gmail.com> Hallo, I'd like to block users with a specific role from accessing and editing their profile. Could someone kindly suggest me a module that fit with my needs? I searched thoroughly myself but I didn't find anyone... :( Thanks, Mark From ryan at etrafficsolutions.com Thu Oct 23 18:56:09 2008 From: ryan at etrafficsolutions.com (Ryan Thomson) Date: Thu, 23 Oct 2008 11:56:09 -0700 Subject: [support] select text from list, then display in block? In-Reply-To: <4900B711.7080109@opensourcery.com> References: <4900AA52.1040201@etrafficsolutions.com> <4900B711.7080109@opensourcery.com> Message-ID: <4900C8C9.9020209@etrafficsolutions.com> Thanks! works great ;) Jonathan Hedstrom wrote: > Ryan Thomson wrote: > >> Hi all >> >> This is probably simple, but I can't seem to figure it out... I'm making >> a site for a restaurant. They want to be able to go to a page where all >> possible menu items are listed, select the items for todays menu and >> save so only the menu items they picked would be displayed on a 'today's >> menu' page. Does anyone know of a module for this sort of thing or >> perhaps point me to some method to do this? I've been reading up all >> over and can't seem to wrap my head around where to begin.. >> >> > The nodequeue module allows for this sort of manual list creation. > > http://drupal.org/project/nodequeue > > Cheers, > > Jonathan > > From fabio.varesano at gmail.com Thu Oct 23 19:28:22 2008 From: fabio.varesano at gmail.com (Fabio Varesano) Date: Thu, 23 Oct 2008 21:28:22 +0200 Subject: [support] Drupal on HTTPS In-Reply-To: <384BE444EEC12143B241C72BCD7E9BA8016BC5FC@birch.evergreen.edu> References: <48FF8801.6080208@zmsl.com> <384BE444EEC12143B241C72BCD7E9BA8016BC5FC@birch.evergreen.edu> Message-ID: <4900D056.6020407@gmail.com> Personally I wouldn't consider the HTTP + HTTPS (just for some pages) approach 100% secure. There are some security attacks which are still possible with this solution. If you are playing with a site where security is a key factor I would consider running everything on HTTPS, redirecting HTTP requests to HTTPS. Moreover I would actively advise users to always check the secure lock to appears on their browsers. Just my 2 cents. Fabio Varesano Metzler, David wrote: > Naw we do this (Aside from the obvious performance issues about > decripting data for large numbers of hits). There's a securepages > module out there to force redirects on certain pages if your interested > in making sur ethat just the login informatioin or user information > happens over https. > > http://drupal.org/project/securepages > > Dave > > -----Original Message----- > From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On > Behalf Of Daniel Carrera > Sent: Wednesday, October 22, 2008 1:07 PM > To: support at drupal.org > Subject: [support] Drupal on HTTPS > > Hello, > > Is there any harm in serving Drupal over HTTPS instead of HTTP? > > I want the Drupal login to be on HTTPS because I just don't like sending > passwords in plain text. But with Apache it is no more work to make the > entire site run on HTTPS versus just one page. In fact, it seems easier. > > So, I was wondering, is there any good reason not to serve a Drupal site > over HTTPS? It seems a bit odd, but I figure, if I already have an SSL > certificate, I figure, what's the harm? > > Thanks. > Daniel > -- > [ Drupal support list | http://lists.drupal.org/ ] From daniel.carrera at zmsl.com Thu Oct 23 20:10:54 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Thu, 23 Oct 2008 22:10:54 +0200 Subject: [support] Drupal on HTTPS In-Reply-To: <384BE444EEC12143B241C72BCD7E9BA8016BC600@birch.evergreen.edu> References: <48FF8801.6080208@zmsl.com><384BE444EEC12143B241C72BCD7E9BA8016BC5FC@birch.evergreen.edu> <49003A5A.7050108@zmsl.com> <384BE444EEC12143B241C72BCD7E9BA8016BC600@birch.evergreen.edu> Message-ID: <4900DA4E.1090008@zmsl.com> Thanks. I guess I might need to benchmark during a high period and see. The website generally doesn't get a lot of hits, and we don't serve very large files. It's mostly text. But we might see more traffic on the last week of school. Metzler, David wrote: > It depends on many factors. The primary performance concern is > encrypt/decrypt of the data and its impact on cpu. Image files, large > pdf documents, etc when encrypted can cause CPU performance impact. If > your browsers cache much of this content it's not a huge load, but of > course you need to think about how many concurrent hits you're likely to > get on your site. > > Also understand that this means that the clients need to decrypt the > data. So again if you're sending say a big .wav file to grandmas 6 year > old computer that is loaded with AV software and that old clunker has to > decrypt the content and then scan it for viruses, well grandma may > decide not to watch that movie after all. > > I guess what I'm saying is that if you're doing regular text, with small > numbers of images and you don't expect an insane amount of hits, and > you're not shared hosting, and you're server is reasonably current as > far as CPU is concerned, you probably aren't going to notice too much. > > But if your target audience has old clunkers, or you are planning on > putting up heavy content, or you aren't blessed with an abundance of > CPU, then it's probably worth your while to set up securepages, and make > sure your site can respond to https and http. Frankly that last step > I'd do anyway so you can advertise example.com without users having to > remember to type https. > > Either way you can pretty much look at CPU load to determine whether > this is an issue for you. > > Good luck, > > Dave > > > > -----Original Message----- > From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On > Behalf Of Daniel Carrera > Sent: Thursday, October 23, 2008 1:48 AM > To: support at drupal.org > Subject: Re: [support] Drupal on HTTPS > > Thanks. > > You mention performance issues. How bad is it? I spent several hours > Googling and I found two papers. One that claims that the delay due to > HTTPS is minimal and another that claims that the delay is significant. > :-( > > Metzler, David wrote: >> Naw we do this (Aside from the obvious performance issues about >> decripting data for large numbers of hits). There's a securepages >> module out there to force redirects on certain pages if your >> interested in making sur ethat just the login informatioin or user >> information happens over https. >> >> http://drupal.org/project/securepages >> >> Dave >> >> -----Original Message----- >> From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] >> On Behalf Of Daniel Carrera >> Sent: Wednesday, October 22, 2008 1:07 PM >> To: support at drupal.org >> Subject: [support] Drupal on HTTPS >> >> Hello, >> >> Is there any harm in serving Drupal over HTTPS instead of HTTP? >> >> I want the Drupal login to be on HTTPS because I just don't like >> sending passwords in plain text. But with Apache it is no more work to > >> make the entire site run on HTTPS versus just one page. In fact, it > seems easier. >> So, I was wondering, is there any good reason not to serve a Drupal >> site over HTTPS? It seems a bit odd, but I figure, if I already have >> an SSL certificate, I figure, what's the harm? >> >> Thanks. >> Daniel >> -- >> [ Drupal support list | http://lists.drupal.org/ ] > > -- > [ Drupal support list | http://lists.drupal.org/ ] From z.stolar at gmail.com Thu Oct 23 20:26:35 2008 From: z.stolar at gmail.com (Zohar Stolar) Date: Thu, 23 Oct 2008 22:26:35 +0200 Subject: [support] select text from list, then display in block? In-Reply-To: <4900B711.7080109@opensourcery.com> References: <4900AA52.1040201@etrafficsolutions.com> <4900B711.7080109@opensourcery.com> Message-ID: <4900DDFB.2020705@gmail.com> Jonathan Hedstrom wrote: > Ryan Thomson wrote: > >> Hi all >> >> This is probably simple, but I can't seem to figure it out... I'm making >> a site for a restaurant. They want to be able to go to a page where all >> possible menu items are listed, select the items for todays menu and >> save so only the menu items they picked would be displayed on a 'today's >> menu' page. Does anyone know of a module for this sort of thing or >> perhaps point me to some method to do this? I've been reading up all >> over and can't seem to wrap my head around where to begin.. >> >> > The nodequeue module allows for this sort of manual list creation. > > http://drupal.org/project/nodequeue > > You could also keep the menu's history, if you used a node type for today's menu, which will have a multiple node reference field. This way you can choose the dishes for each part of the meal, and have a dedicated page for each day. From killshot91 at comcast.net Thu Oct 23 21:21:38 2008 From: killshot91 at comcast.net (Steve Edwards) Date: Thu, 23 Oct 2008 14:21:38 -0700 Subject: [support] Displaying Multiple Images in CCK Node Message-ID: <4900EAE2.9090505@comcast.net> I need to display multiple images in a CCK node (an Ubercart product) in a nice pretty fashion. I've been looking at the various jQuery modules, and I'm thinking about something like jCarousel (I'm still trying to figure out how to incorporate the jQuery code). Does anybody have some recommendations or how they've done a similar thing? I'm sort of drowning in options, so I'm looking for suggestions, whether it's a jQuery type module, simple CCK theming, or something else. Thanks. Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081023/1ccdbee9/attachment.htm From gordon at heydon.com.au Thu Oct 23 21:49:45 2008 From: gordon at heydon.com.au (Gordon Heydon) Date: Fri, 24 Oct 2008 08:49:45 +1100 Subject: [support] Drupal on HTTPS In-Reply-To: <4900DA4E.1090008@zmsl.com> References: <48FF8801.6080208@zmsl.com><384BE444EEC12143B241C72BCD7E9BA8016BC5FC@birch.evergreen.edu> <49003A5A.7050108@zmsl.com> <384BE444EEC12143B241C72BCD7E9BA8016BC600@birch.evergreen.edu> <4900DA4E.1090008@zmsl.com> Message-ID: <01F9CA85-3B68-4D7A-8327-43D3C0D70335@heydon.com.au> Hi, it is not so much the additional load on your server to encrypt all the pages, but it is the flow on effect which is where the load gets bigger. Mainly the SSL break proxy servers who can only pass thru pages and other artifacts without being able to cache anything. This means that you will use more bandwidth, and loading of pages for the most part will not be as snappy as users will always be getting stuff from your server and not something closer. Gordon. On 24/10/2008, at 7:10 AM, Daniel Carrera wrote: > Thanks. I guess I might need to benchmark during a high period and > see. > > The website generally doesn't get a lot of hits, and we don't serve > very > large files. It's mostly text. But we might see more traffic on the > last > week of school. > > Metzler, David wrote: >> It depends on many factors. The primary performance concern is >> encrypt/decrypt of the data and its impact on cpu. Image files, >> large >> pdf documents, etc when encrypted can cause CPU performance >> impact. If >> your browsers cache much of this content it's not a huge load, but of >> course you need to think about how many concurrent hits you're >> likely to >> get on your site. >> >> Also understand that this means that the clients need to decrypt the >> data. So again if you're sending say a big .wav file to grandmas 6 >> year >> old computer that is loaded with AV software and that old clunker >> has to >> decrypt the content and then scan it for viruses, well grandma may >> decide not to watch that movie after all. >> >> I guess what I'm saying is that if you're doing regular text, with >> small >> numbers of images and you don't expect an insane amount of hits, and >> you're not shared hosting, and you're server is reasonably current as >> far as CPU is concerned, you probably aren't going to notice too >> much. >> >> But if your target audience has old clunkers, or you are planning on >> putting up heavy content, or you aren't blessed with an abundance of >> CPU, then it's probably worth your while to set up securepages, and >> make >> sure your site can respond to https and http. Frankly that last step >> I'd do anyway so you can advertise example.com without users having >> to >> remember to type https. >> >> Either way you can pretty much look at CPU load to determine whether >> this is an issue for you. >> >> Good luck, >> >> Dave >> >> >> >> -----Original Message----- >> From: support-bounces at drupal.org [mailto:support- >> bounces at drupal.org] On >> Behalf Of Daniel Carrera >> Sent: Thursday, October 23, 2008 1:48 AM >> To: support at drupal.org >> Subject: Re: [support] Drupal on HTTPS >> >> Thanks. >> >> You mention performance issues. How bad is it? I spent several hours >> Googling and I found two papers. One that claims that the delay due >> to >> HTTPS is minimal and another that claims that the delay is >> significant. >> :-( >> >> Metzler, David wrote: >>> Naw we do this (Aside from the obvious performance issues about >>> decripting data for large numbers of hits). There's a securepages >>> module out there to force redirects on certain pages if your >>> interested in making sur ethat just the login informatioin or user >>> information happens over https. >>> >>> http://drupal.org/project/securepages >>> >>> Dave >>> >>> -----Original Message----- >>> From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] >>> On Behalf Of Daniel Carrera >>> Sent: Wednesday, October 22, 2008 1:07 PM >>> To: support at drupal.org >>> Subject: [support] Drupal on HTTPS >>> >>> Hello, >>> >>> Is there any harm in serving Drupal over HTTPS instead of HTTP? >>> >>> I want the Drupal login to be on HTTPS because I just don't like >>> sending passwords in plain text. But with Apache it is no more >>> work to >> >>> make the entire site run on HTTPS versus just one page. In fact, it >> seems easier. >>> So, I was wondering, is there any good reason not to serve a Drupal >>> site over HTTPS? It seems a bit odd, but I figure, if I already have >>> an SSL certificate, I figure, what's the harm? >>> >>> Thanks. >>> Daniel >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] > > -- > [ Drupal support list | http://lists.drupal.org/ ] From ryan at etrafficsolutions.com Thu Oct 23 22:17:12 2008 From: ryan at etrafficsolutions.com (Ryan Thomson) Date: Thu, 23 Oct 2008 15:17:12 -0700 Subject: [support] select text from list, then display in block? In-Reply-To: <4900DDFB.2020705@gmail.com> References: <4900AA52.1040201@etrafficsolutions.com> <4900B711.7080109@opensourcery.com> <4900DDFB.2020705@gmail.com> Message-ID: <4900F7E8.6090804@etrafficsolutions.com> I think that's more what i was after.. I forgot about the manage fields option lol. thanks! Now it's working perfectly. Zohar Stolar wrote: > Jonathan Hedstrom wrote: > >> Ryan Thomson wrote: >> >> >>> Hi all >>> >>> This is probably simple, but I can't seem to figure it out... I'm making >>> a site for a restaurant. They want to be able to go to a page where all >>> possible menu items are listed, select the items for todays menu and >>> save so only the menu items they picked would be displayed on a 'today's >>> menu' page. Does anyone know of a module for this sort of thing or >>> perhaps point me to some method to do this? I've been reading up all >>> over and can't seem to wrap my head around where to begin.. >>> >>> >>> >> The nodequeue module allows for this sort of manual list creation. >> >> http://drupal.org/project/nodequeue >> >> >> > You could also keep the menu's history, if you used a node type for > today's menu, which will have a multiple node reference field. > This way you can choose the dishes for each part of the meal, and have a > dedicated page for each day. > From MYan at rblt.com Fri Oct 24 15:49:26 2008 From: MYan at rblt.com (Min Yan) Date: Fri, 24 Oct 2008 08:49:26 -0700 Subject: [support] Help with login needed Message-ID: <2227CD91D1DB054DAC571AB02E202F3401D9F933@CBA0E2K05.CBA0.centerbeam.com> Hi there, I cannot login to my Drupal site. I tried to request a new password using my email address, and got no reply. And I also try the following, UPDATE `users` SET pass = MD5('newpwd') WHERE uid=1; On my MySQL DB, then try to login, but still failed, (I use PC for my site). Any help is greatly appreciated! Min Yan From tetsuo2k6 at web.de Fri Oct 24 16:00:43 2008 From: tetsuo2k6 at web.de (Paul Schewietzek) Date: Fri, 24 Oct 2008 18:00:43 +0200 Subject: [support] Help with login needed In-Reply-To: <2227CD91D1DB054DAC571AB02E202F3401D9F933@CBA0E2K05.CBA0.centerbeam.com> References: <2227CD91D1DB054DAC571AB02E202F3401D9F933@CBA0E2K05.CBA0.centerbeam.com> Message-ID: <1224864043.5422.15.camel@tetsuo.powmark.local> Am Freitag, den 24.10.2008, 08:49 -0700 schrieb Min Yan: > Hi there, > I cannot login to my Drupal site. I tried to request a new > password using my email address, and got no reply. Is an SMTP server correctly configured in php.ini? > And I also try the > following, > UPDATE `users` SET pass = MD5('newpwd') WHERE uid=1; > On my MySQL DB, then try to login, but still failed, (I use PC for my > site). Any help is greatly appreciated! I don't know anything about the database structure of Drupal, but I think you're strongly supposed to NOT do any SQL directly in Drupal's DB..... > > Min Yan > - Paul From metzlerd at evergreen.edu Fri Oct 24 16:07:02 2008 From: metzlerd at evergreen.edu (Metzler, David) Date: Fri, 24 Oct 2008 09:07:02 -0700 Subject: [support] Help with login needed In-Reply-To: <1224864043.5422.15.camel@tetsuo.powmark.local> References: <2227CD91D1DB054DAC571AB02E202F3401D9F933@CBA0E2K05.CBA0.centerbeam.com> <1224864043.5422.15.camel@tetsuo.powmark.local> Message-ID: <384BE444EEC12143B241C72BCD7E9BA8016BC602@birch.evergreen.edu> The way I have been successful whacking the admin password when I've needed to is Update users set pass=null where uid=1; This means admin no longer has a password, and you can leave it blank to login. Then login without a password and change it immediately. Dave -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Paul Schewietzek Sent: Friday, October 24, 2008 9:01 AM To: support at drupal.org Subject: Re: [support] Help with login needed Am Freitag, den 24.10.2008, 08:49 -0700 schrieb Min Yan: > Hi there, > I cannot login to my Drupal site. I tried to request a > new password using my email address, and got no reply. Is an SMTP server correctly configured in php.ini? > And I also try the > following, > UPDATE `users` SET pass = MD5('newpwd') WHERE uid=1; On my MySQL DB, > then try to login, but still failed, (I use PC for my site). Any help > is greatly appreciated! I don't know anything about the database structure of Drupal, but I think you're strongly supposed to NOT do any SQL directly in Drupal's DB..... > > Min Yan > - Paul -- [ Drupal support list | http://lists.drupal.org/ ] From madflute at anonemusic.com Fri Oct 24 16:12:07 2008 From: madflute at anonemusic.com (A-NO-NE Music) Date: Fri, 24 Oct 2008 12:12:07 -0400 Subject: [support] Need help on site for classes - student management In-Reply-To: <68654623-A908-434D-B9FA-207F83811E0A@anonemusic.com> References: <1D8A6389-18AB-4CEE-BC89-1F6B184CEC2E@anonemusic.com> <48FA297E.4020503@funnymonkey.com> <20D29346-DF32-4956-8FBC-6E4D9564AA4B@anonemusic.com> <48FC283C.3090409@funnymonkey.com> <8AE504CF-8594-4382-9E8B-E95BE20B5F3E@anonemusic.com> <68654623-A908-434D-B9FA-207F83811E0A@anonemusic.com> Message-ID: <85B96082-D3AB-4D1C-B458-91F98F8525F2@anonemusic.com> Drupal 6.5. I thought Coherent Access module was the ticket but I am having problems with 6.x-1.0. Every time the node is modified, Private setting flips to public, and everyone can see the node. There is no such issue I found on the project page. Before I investigate this problem, I need to ask if I am on the right track. To recap, I needed to create a private page for each student where they can see their grade status. I need to have student upload assignments. I made their private page editable except all the fields those which shows their grades per quiz/ project. I couldn't find any other way for them to be able to upload files which is attached to their private page. The problem is that, because of Coherent Access module problem, as soon as they attach > save, the page becomes public. Note that I do not want to give permission to student for creating any content. I want Comments only, and Comment won't allow uploading files other than images even with FCKeditor, as far as I can see. Any help would be appreciated. -- - Hiro Hiroaki Honshuku, A-NO-NE Music, Greater Boston http://a-no-ne.com http://anonemusic.com From bill at funnymonkey.com Fri Oct 24 19:04:35 2008 From: bill at funnymonkey.com (Bill Fitzgerald) Date: Fri, 24 Oct 2008 12:04:35 -0700 Subject: [support] Need help on site for classes - student management In-Reply-To: <85B96082-D3AB-4D1C-B458-91F98F8525F2@anonemusic.com> References: <1D8A6389-18AB-4CEE-BC89-1F6B184CEC2E@anonemusic.com> <48FA297E.4020503@funnymonkey.com> <20D29346-DF32-4956-8FBC-6E4D9564AA4B@anonemusic.com> <48FC283C.3090409@funnymonkey.com> <8AE504CF-8594-4382-9E8B-E95BE20B5F3E@anonemusic.com> <68654623-A908-434D-B9FA-207F83811E0A@anonemusic.com> <85B96082-D3AB-4D1C-B458-91F98F8525F2@anonemusic.com> Message-ID: <49021C43.2020806@funnymonkey.com> This sounds like a bug; I put a placeholder ticket in the issue queue at http://drupal.org/node/325776 RE the files issue, you could try the filefield module at http://drupal.org/project/filefield -- this would also allow field-level permissions. A-NO-NE Music wrote: > Drupal 6.5. > I thought Coherent Access module was the ticket but I am having > problems with 6.x-1.0. > > Every time the node is modified, Private setting flips to public, and > everyone can see the node. There is no such issue I found on the > project page. Before I investigate this problem, I need to ask if I > am on the right track. To recap, I needed to create a private page > for each student where they can see their grade status. > > I need to have student upload assignments. I made their private page > editable except all the fields those which shows their grades per quiz/ > project. I couldn't find any other way for them to be able to upload > files which is attached to their private page. > > The problem is that, because of Coherent Access module problem, as > soon as they attach > save, the page becomes public. Note that I do > not want to give permission to student for creating any content. I > want Comments only, and Comment won't allow uploading files other than > images even with FCKeditor, as far as I can see. > > Any help would be appreciated. > > > -- > - Hiro > > Hiroaki Honshuku, A-NO-NE Music, Greater Boston > http://a-no-ne.com http://anonemusic.com > > -- Bill Fitzgerald http://funnymonkey.com FunnyMonkey -- Tools for Teachers ph. 503 897 7160 From jacob.roufa at gmail.com Fri Oct 24 19:43:54 2008 From: jacob.roufa at gmail.com (Jacob Roufa) Date: Fri, 24 Oct 2008 14:43:54 -0500 Subject: [support] Need help on site for classes - student management In-Reply-To: <49021C43.2020806@funnymonkey.com> References: <1D8A6389-18AB-4CEE-BC89-1F6B184CEC2E@anonemusic.com> <48FA297E.4020503@funnymonkey.com> <20D29346-DF32-4956-8FBC-6E4D9564AA4B@anonemusic.com> <48FC283C.3090409@funnymonkey.com> <8AE504CF-8594-4382-9E8B-E95BE20B5F3E@anonemusic.com> <68654623-A908-434D-B9FA-207F83811E0A@anonemusic.com> <85B96082-D3AB-4D1C-B458-91F98F8525F2@anonemusic.com> <49021C43.2020806@funnymonkey.com> Message-ID: <527197b50810241243r330548d5qf0da7e1f1cc677e9@mail.gmail.com> You could try the Publish Content module. Unfortunately, I have had problems uploading to CVS, but there is a working copy I attached to this thread in the issue queue http://drupal.org/node/275994#comment-952926 Good luck! Jake Roufa Jake Roufa Web Consultant http://jacobroufa.com On Fri, Oct 24, 2008 at 2:04 PM, Bill Fitzgerald wrote: > This sounds like a bug; I put a placeholder ticket in the issue queue at > http://drupal.org/node/325776 > > RE the files issue, you could try the filefield module at > http://drupal.org/project/filefield -- this would also allow field-level > permissions. > > A-NO-NE Music wrote: > > Drupal 6.5. > > I thought Coherent Access module was the ticket but I am having > > problems with 6.x-1.0. > > > > Every time the node is modified, Private setting flips to public, and > > everyone can see the node. There is no such issue I found on the > > project page. Before I investigate this problem, I need to ask if I > > am on the right track. To recap, I needed to create a private page > > for each student where they can see their grade status. > > > > I need to have student upload assignments. I made their private page > > editable except all the fields those which shows their grades per quiz/ > > project. I couldn't find any other way for them to be able to upload > > files which is attached to their private page. > > > > The problem is that, because of Coherent Access module problem, as > > soon as they attach > save, the page becomes public. Note that I do > > not want to give permission to student for creating any content. I > > want Comments only, and Comment won't allow uploading files other than > > images even with FCKeditor, as far as I can see. > > > > Any help would be appreciated. > > > > > > -- > > - Hiro > > > > Hiroaki Honshuku, A-NO-NE Music, Greater Boston > > http://a-no-ne.com http://anonemusic.com > > > > > > > -- > > Bill Fitzgerald > http://funnymonkey.com > FunnyMonkey -- Tools for Teachers > ph. 503 897 7160 > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081024/62d9d621/attachment.htm From nebodysguess at gmail.com Fri Oct 24 22:27:49 2008 From: nebodysguess at gmail.com (nebodysguess at gmail.com) Date: Fri, 24 Oct 2008 17:27:49 -0500 Subject: [support] Drupal Gmap module displaying grey area on Google maps Message-ID: <49024BE5.8060704@gmail.com> Hello, I'm using Gmap module 6.x-1.0-rc2 on Drupal 6.2. I'm displaying google map on a tpl.php page with Gmap api. I'm facing the following problems: 1. The Gmap API settings given as a macro or gmap array are not obeyed properly, instead some of the settings are taken from Gmap default settings (as set on the admin/settings/gmap page ). For instance, the size of the map, type of map, etc. 2. The map displayed on the page has a grey area which persists for a long time (about 20 min) before disappearing. This is the same on IE & FF browsers, but the map is displayed fully on the admin/settings/gmap page. Thanks, Praveen From nebodysguess at gmail.com Fri Oct 24 22:44:21 2008 From: nebodysguess at gmail.com (nebodysguess at gmail.com) Date: Fri, 24 Oct 2008 17:44:21 -0500 Subject: [support] Form API help needed Message-ID: <49024FC5.8010006@gmail.com> Hi, I created a form module which is displayed as a block on the home page. On submitting this form you get something like this : http://website_name.com/pages/?location=chicago°ree=MBBS ....... and so on but I want the parameters to be sent to the results.tpl.php page I'm using 'get' method & $form_state['redirect'] = "?q=results". I'm using Drupal 6.2 What else should I do ? Thank you, Praveen From jhedstrom at opensourcery.com Fri Oct 24 23:00:16 2008 From: jhedstrom at opensourcery.com (Jonathan Hedstrom) Date: Fri, 24 Oct 2008 16:00:16 -0700 Subject: [support] Form API help needed In-Reply-To: <49024FC5.8010006@gmail.com> References: <49024FC5.8010006@gmail.com> Message-ID: <49025380.1070808@opensourcery.com> nebodysguess at gmail.com wrote: > Hi, > > I created a form module which is displayed as a block on the home page. > On submitting this form you get something like this : > > http://website_name.com/pages/?location=chicago°ree=MBBS ....... and > so on > > but I want the parameters to be sent to the results.tpl.php page > > I'm using 'get' method & $form_state['redirect'] = "?q=results". I'm > using Drupal 6.2 > > What else should I do ? Try setting the #action to whatever path you need it to go to. $form['#action'] = url('foo/bar') http://api.drupal.org/api/file/developer/topics/forms_api_reference.html#action 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/20081024/00d74448/attachment.pgp From madflute at anonemusic.com Sat Oct 25 03:54:16 2008 From: madflute at anonemusic.com (A-NO-NE Music) Date: Fri, 24 Oct 2008 23:54:16 -0400 Subject: [support] Need help on site for classes - student management In-Reply-To: <49021C43.2020806@funnymonkey.com> References: <1D8A6389-18AB-4CEE-BC89-1F6B184CEC2E@anonemusic.com> <48FA297E.4020503@funnymonkey.com> <20D29346-DF32-4956-8FBC-6E4D9564AA4B@anonemusic.com> <48FC283C.3090409@funnymonkey.com> <8AE504CF-8594-4382-9E8B-E95BE20B5F3E@anonemusic.com> <68654623-A908-434D-B9FA-207F83811E0A@anonemusic.com> <85B96082-D3AB-4D1C-B458-91F98F8525F2@anonemusic.com> <49021C43.2020806@funnymonkey.com> Message-ID: On 08/10/24(?), at 15:04, Bill Fitzgerald wrote: > This sounds like a bug; I put a placeholder ticket in the issue > queue at > http://drupal.org/node/325776 Thank you. Do I need to do anything about this? I don't think there is anything I need to add. > RE the files issue, you could try the filefield module at > http://drupal.org/project/filefield -- this would also allow field- > level > permissions. Thank you but, unfortunately, this won't solve my problem since I still need to make the node to be editable to the students for File Field CCK to work, and once they hit Save, the private page will be public. Is there any other way? -- - Hiro Hiroaki Honshuku, A-NO-NE Music, Greater Boston http://a-no-ne.com http://anonemusic.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081024/6874a0e5/attachment.htm From madflute at anonemusic.com Sat Oct 25 04:01:11 2008 From: madflute at anonemusic.com (A-NO-NE Music) Date: Sat, 25 Oct 2008 00:01:11 -0400 Subject: [support] Recent Comments Block Message-ID: <17688C4E-B706-4FEB-A2CA-0F0068F9E1BC@anonemusic.com> Drupal 6.5 In the Block lists, there is Recent Comment predefined. This works with Coherent Access out of the box. When student logged in, only the comments written to the private page for that student will be shown. Very nice. The problem is that I can't find the way to limit the number of the comments and 'more' link. It will show all the comments, which can be a long list. So, I created a View, where I have the control on the number of the comments and 'more' link. But this doesn't work with Coherent Access so all the comments throughout the site will be listed even though they are not for the student who logged in. It doesn't seems to associate with Coherent Access as far as I could tell. Any help would be appreciated. -- - Hiro Hiroaki Honshuku, A-NO-NE Music, Greater Boston http://a-no-ne.com http://anonemusic.com From madflute at anonemusic.com Sat Oct 25 04:53:39 2008 From: madflute at anonemusic.com (A-NO-NE Music) Date: Sat, 25 Oct 2008 00:53:39 -0400 Subject: [support] Forum setting question Message-ID: <7C79BFB1-F2C8-4076-8594-EB1CE7BBD12B@anonemusic.com> Drupal 6.5 Since I have to create an way for student to upload project files, I created a forum. This is a compromise but it serves the purpose for now. A few problems. I do not want to show this forum to public. I don't mind hiding forum all together if not logged in by Student Role, but I even can't figure out how to do this. Also I can't disable RSS icon. This is rather puzzling since I even do not enable Aggregator module. Any help would be appreciated. -- - Hiro Hiroaki Honshuku, A-NO-NE Music, Greater Boston http://a-no-ne.com http://anonemusic.com From killshot91 at comcast.net Sat Oct 25 16:27:51 2008 From: killshot91 at comcast.net (Steve Edwards) Date: Sat, 25 Oct 2008 09:27:51 -0700 Subject: [support] Forum setting question In-Reply-To: <7C79BFB1-F2C8-4076-8594-EB1CE7BBD12B@anonemusic.com> References: <7C79BFB1-F2C8-4076-8594-EB1CE7BBD12B@anonemusic.com> Message-ID: <49034907.9070007@comcast.net> Take a look at the taxonomy access control module. http://drupal.org/project/taxonomy_access. Steve A-NO-NE Music wrote: > Drupal 6.5 > > Since I have to create an way for student to upload project files, I > created a forum. This is a compromise but it serves the purpose for > now. A few problems. > > I do not want to show this forum to public. I don't mind hiding forum > all together if not logged in by Student Role, but I even can't figure > out how to do this. Also I can't disable RSS icon. This is rather > puzzling since I even do not enable Aggregator module. > > Any help would be appreciated. > > > -- > - Hiro > > Hiroaki Honshuku, A-NO-NE Music, Greater Boston > http://a-no-ne.com http://anonemusic.com > From madflute at anonemusic.com Sat Oct 25 16:44:06 2008 From: madflute at anonemusic.com (A-NO-NE Music) Date: Sat, 25 Oct 2008 12:44:06 -0400 Subject: [support] Forum setting question In-Reply-To: <49034907.9070007@comcast.net> References: <7C79BFB1-F2C8-4076-8594-EB1CE7BBD12B@anonemusic.com> <49034907.9070007@comcast.net> Message-ID: On 08/10/25(?), at 12:27, Steve Edwards wrote: > Take a look at the taxonomy access control module. http://drupal.org/project/taxonomy_access > . Thanks. It doesn't have one for Drupal 6 yet. I just tried Forum Access module, which works fine except the menu item is still shown to the public. Menu per Role module is also not available for Drupal 6. I should had built this site with Drupal 5! -- - Hiro Hiroaki Honshuku, A-NO-NE Music, Greater Boston http://a-no-ne.com http://anonemusic.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081025/b5868dd8/attachment-0001.htm From xgonzalo at gmail.com Sat Oct 25 16:47:55 2008 From: xgonzalo at gmail.com (Gorosito Gonzalo) Date: Sat, 25 Oct 2008 13:47:55 -0300 Subject: [support] Advertisement Module in Drupal 6 In-Reply-To: <8deaace90810250946s7582dd63o1ececcae45825650@mail.gmail.com> References: <8deaace90810250946s7582dd63o1ececcae45825650@mail.gmail.com> Message-ID: <8deaace90810250947q515c61d6vbd0d08daf3b501b@mail.gmail.com> Hi there!! Anyone used this module un D6? How did you to make advertisement blocks appear? I mean, I've installed this module on my D6 (6.5) and uploaded 2 Image Ads and then setted the block of advertisement to show in left block, and nothing happens, when I edit block.tpl.php and do a print_r( $block ); I can see all code for other blocks but for advertisements nothing... Regards gonzalo -- ####################################### # Gonzalo Gorosito # Web Programmer / Sys Admin # http://www.ggorosito.com.ar ####################################### From brian at brianpuccio.net Sat Oct 25 18:34:52 2008 From: brian at brianpuccio.net (Brian Puccio) Date: Sat, 25 Oct 2008 14:34:52 -0400 Subject: [support] Internal server error (with .htaccess andmod_rewriteinstalled) In-Reply-To: <005e01c9345c$68304800$0601a8c0@zeus> References: <000601c9304c$c249bd30$0601a8c0@zeus><5F74CE02-6DF8-4287-8F1D-7946F2D1F87D@anonemusic.com> <005f01c93289$2b5440a0$0601a8c0@zeus> <005e01c9345c$68304800$0601a8c0@zeus> Message-ID: <7D4FD8EC-C1DC-4FAE-95FA-B056AF725F85@brianpuccio.net> On Oct 22, 2008, at 11:39 AM, Marolijo / Pol Maresma wrote: > Hi! Finally I have the log. > It says > /var/www/vhost/test.thedomain.com/home/html/.htaccess: ErrorDocument > not > allowed here It means that Drupal's .htaccess is setting the ErrorDocument (specifically, ErrorDocument 404 /index.php) but your webhost's apache configuration does not allow you to override what page to bring up for 404's. > I google'd and still can't solve the problem. Google has tons of hits if you need more information: http://www.google.com/search?client=safari&rls=en-us&q=.htaccess:+ErrorDocument+not+allowed+here&ie=UTF-8&oe=UTF-8 From Smither at C-C-I.com Sun Oct 26 17:00:47 2008 From: Smither at C-C-I.com (Bob Smither) Date: Sun, 26 Oct 2008 12:00:47 -0500 Subject: [support] Logo Tool for D6? In-Reply-To: <7D4FD8EC-C1DC-4FAE-95FA-B056AF725F85@brianpuccio.net> References: <000601c9304c$c249bd30$0601a8c0@zeus> <5F74CE02-6DF8-4287-8F1D-7946F2D1F87D@anonemusic.com> <005f01c93289$2b5440a0$0601a8c0@zeus> <005e01c9345c$68304800$0601a8c0@zeus> <7D4FD8EC-C1DC-4FAE-95FA-B056AF725F85@brianpuccio.net> Message-ID: <1225040447.15373.2.camel@k6-2.c-c-i.com> I recently found logotool and am a happy user of it on a D5 site. Is there anything comparable for D6? (logotool lets you use different logos on different pages or classes of pages) I note that logotool was last revised in May of 2007 so it may not remain under active development. Thanks, -- Bob Smither, PhD Circuit Concepts, Inc. ========================================================================= A foreign policy for the united States: http://www.house.gov/paul/cr090502.htm ========================================================================= Smither at C-C-I.Com http://www.C-C-I.Com 281-331-2744(office) -4616(fax) From xgonzalo at gmail.com Sun Oct 26 22:21:02 2008 From: xgonzalo at gmail.com (Gorosito Gonzalo) Date: Sun, 26 Oct 2008 19:21:02 -0300 Subject: [support] Advertisement Module in Drupal 6 In-Reply-To: <8deaace90810250947q515c61d6vbd0d08daf3b501b@mail.gmail.com> References: <8deaace90810250946s7582dd63o1ececcae45825650@mail.gmail.com> <8deaace90810250947q515c61d6vbd0d08daf3b501b@mail.gmail.com> Message-ID: <8deaace90810261521y7b5daee5gf989992400b33fef@mail.gmail.com> Hi! Someone there??? 8-) On Sat, Oct 25, 2008 at 1:47 PM, Gorosito Gonzalo wrote: > Hi there!! > > Anyone used this module un D6? > > How did you to make advertisement blocks appear? > > I mean, I've installed this module on my D6 (6.5) and uploaded 2 Image > Ads and then setted the block of advertisement to show in left block, > and nothing happens, when I edit block.tpl.php and do a print_r( > $block ); I can see all code for other blocks but for advertisements > nothing... > > Regards > gonzalo > > -- > ####################################### > # Gonzalo Gorosito > # Web Programmer / Sys Admin > # http://www.ggorosito.com.ar > ####################################### > -- ####################################### # Gonzalo Gorosito # Web Programmer / Sys Admin # http://www.ggorosito.com.ar ####################################### From earnie at users.sourceforge.net Mon Oct 27 14:37:10 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Mon, 27 Oct 2008 10:37:10 -0400 Subject: [support] Logo Tool for D6? In-Reply-To: <1225040447.15373.2.camel@k6-2.c-c-i.com> References: <000601c9304c$c249bd30$0601a8c0@zeus> <5F74CE02-6DF8-4287-8F1D-7946F2D1F87D@anonemusic.com> <005f01c93289$2b5440a0$0601a8c0@zeus> <005e01c9345c$68304800$0601a8c0@zeus> <7D4FD8EC-C1DC-4FAE-95FA-B056AF725F85@brianpuccio.net> <1225040447.15373.2.camel@k6-2.c-c-i.com> Message-ID: <20081027103710.s9zg3r5n6884w44k@mail.progw.org> Quoting Bob Smither : > I recently found logotool and am a happy user of it on a D5 site. Is > there anything comparable for D6? > > (logotool lets you use different logos on different pages or classes of > pages) > > I note that logotool was last revised in May of 2007 so it may not > remain under active development. > I found http://drupal.org/node/229330 by looking at http://drupal.org/project/issues/logotool?states=all Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From skessler at denverdataman.com Mon Oct 27 17:23:23 2008 From: skessler at denverdataman.com (Steve Kessler) Date: Mon, 27 Oct 2008 11:23:23 -0600 Subject: [support] Admin Area In-Reply-To: <20081027103710.s9zg3r5n6884w44k@mail.progw.org> References: <000601c9304c$c249bd30$0601a8c0@zeus> <5F74CE02-6DF8-4287-8F1D-7946F2D1F87D@anonemusic.com> <005f01c93289$2b5440a0$0601a8c0@zeus> <005e01c9345c$68304800$0601a8c0@zeus> <7D4FD8EC-C1DC-4FAE-95FA-B056AF725F85@brianpuccio.net> <1225040447.15373.2.camel@k6-2.c-c-i.com> <20081027103710.s9zg3r5n6884w44k@mail.progw.org> Message-ID: <013601c93858$b7b59ce0$2720d6a0$@com> When I go to /admin or other admin screens (admin/build) I get " You do not have any administrative items." This is ture as any user including user 1. I am running Drupal 6.6 and was running 6.4 before doing an upgrade hoping it would resolve the problem. I am sure this was not true when I installed the site but could not tell you a specific moudle I installed to have this happen. The other symptom of this problem is that when I go to node/add not all the types show up. This is also with user 1 and other users. Thanks, Steve From Smither at C-C-I.com Mon Oct 27 19:37:20 2008 From: Smither at C-C-I.com (Bob Smither) Date: Mon, 27 Oct 2008 14:37:20 -0500 Subject: [support] Logo Tool for D6? In-Reply-To: <20081027103710.s9zg3r5n6884w44k@mail.progw.org> References: <000601c9304c$c249bd30$0601a8c0@zeus> <5F74CE02-6DF8-4287-8F1D-7946F2D1F87D@anonemusic.com> <005f01c93289$2b5440a0$0601a8c0@zeus> <005e01c9345c$68304800$0601a8c0@zeus> <7D4FD8EC-C1DC-4FAE-95FA-B056AF725F85@brianpuccio.net> <1225040447.15373.2.camel@k6-2.c-c-i.com> <20081027103710.s9zg3r5n6884w44k@mail.progw.org> Message-ID: <1225136240.1345.3.camel@k6-2.c-c-i.com> On Mon, 2008-10-27 at 10:37 -0400, Earnie Boyd wrote: > I found http://drupal.org/node/229330 by looking at > http://drupal.org/project/issues/logotool?states=all Thanks Earnie. I guess I will wait for the official release, although it looks like the developer has other more pressing interests! Regards, -- Bob Smither, PhD Circuit Concepts, Inc. ========================================================================= "The Constitution is not an instrument for the government to restrain the people, it is an instrument for the people to restrain the government." ---Patrick Henry ========================================================================= Smither at C-C-I.Com http://www.C-C-I.Com 281-331-2744(office) -4616(fax) From marolijo at yahoo.es Tue Oct 28 01:04:29 2008 From: marolijo at yahoo.es (Marolijo / Pol Maresma) Date: Tue, 28 Oct 2008 02:04:29 +0100 Subject: [support] Internal server error (with .htaccessandmod_rewriteinstalled) In-Reply-To: <7D4FD8EC-C1DC-4FAE-95FA-B056AF725F85@brianpuccio.net> References: <000601c9304c$c249bd30$0601a8c0@zeus><5F74CE02-6DF8-4287-8F1D-7946F2D1F87D@anonemusic.com><005f01c93289$2b5440a0$0601a8c0@zeus><005e01c9345c$68304800$0601a8c0@zeus> <7D4FD8EC-C1DC-4FAE-95FA-B056AF725F85@brianpuccio.net> Message-ID: <000601c93899$22a5c210$0601a8c0@zeus> Solved! Red Has creates a .conf file for each virtual domain and I was lookin' only the "master" .conf file, and there was an Allowoverride parameter. See you, and thanks again! -----Mensaje original----- De: support-bounces at drupal.org [mailto:support-bounces at drupal.org] En nombre de Brian Puccio Enviado el: s?bado, 25 de octubre de 2008 20:35 Para: support at drupal.org Asunto: Re: [support] Internal server error (with ..htaccessandmod_rewriteinstalled) On Oct 22, 2008, at 11:39 AM, Marolijo / Pol Maresma wrote: > Hi! Finally I have the log. > It says > /var/www/vhost/test.thedomain.com/home/html/.htaccess: ErrorDocument > not allowed here It means that Drupal's .htaccess is setting the ErrorDocument (specifically, ErrorDocument 404 /index.php) but your webhost's apache configuration does not allow you to override what page to bring up for 404's. > I google'd and still can't solve the problem. Google has tons of hits if you need more information: http://www.google.com/search?client=safari&rls=en-us&q=.htaccess:+ErrorDocum ent+not+allowed+here&ie=UTF-8&oe=UTF-8 -- [ Drupal support list | http://lists.drupal.org/ ] __________ Informacisn de NOD32, revisisn 3555 (20081025) __________ Este mensaje ha sido analizado con NOD32 antivirus system http://www.nod32.com From iom at netvision.net.il Tue Oct 28 13:16:50 2008 From: iom at netvision.net.il (Moses Elias) Date: Tue, 28 Oct 2008 15:16:50 +0200 Subject: [support] Basic Questions about Organic Groups In-Reply-To: <000601c93899$22a5c210$0601a8c0@zeus> Message-ID: <0K9G003CNAHAKQ90@mxout3.netvision.net.il> I am new to Organic Groups, and I have a couple of basic questions. If anyone could help out it would be much appreciated. 1) When I watched Zacker's famous OG tutorial video-cast, I noticed that when a new OG group is created, you can assign a mailing group name in the typical yahoogroup format, for example, xxx, which is then represented as xxx at mysite.com when the mail is sent out to group members. Just like in the form: support at drupal.org has, which this mailing list itself belongs to. Surely the drupal site is using a 6.x version flavor of Drupal, and this can be achieved in 6.x - but currently I don't see how it's done. Zacker did this when he created a new group? How can I achieve the same thing? I don't see a field where the unique group-name can be provided as input. I was told to try and use the og2list module. However, I notice that og2list isn't available for any 6.x version. Is this feature possible using a related module or maybe I've overlooked some feature? 2) When you create a new organic group, any messages sent from the organic group defaults to a mailing list style message. If I want the very same mail to appear both as a mail message sent to a group member and is also an identical forum message as well, how do I achieve that? I was told to try and use triggers/actions but I don't see exactly how this can be done. 3) What is the relationship between OG forums and OG groups. Can anyone please explain the relationship/difference between the two? Can someone also explain the difference between OG forums and regular forums? 4) How do I have a one to one relationship between an OG group that's created and an OG forum? I understand OG sends out a mail messages to all members subscribed to an OG group. But I want the same mail message that's sent out to the OG group members to also identically appear as a forum message. One to one relationship between OG group email message and OG forum message. Is that possible? 5) How do I associate only one OG group with only one OG forum? For each OG group that I create I want to have one and only one forum created. Authenticated users will be creating groups/forums on the fly so I want to limit their scope for errors. How do I link between the two of them? 6) Is it possible to moderate an OG group? In other words, any email message that is sent out under the group's name, is it possible to moderate the message if the group owner/administrator decides that this group member should be moderated? Thanks,Moses Technical Writing Services http://www.itwrite.com From iom at netvision.net.il Tue Oct 28 13:27:32 2008 From: iom at netvision.net.il (Moses Elias) Date: Tue, 28 Oct 2008 15:27:32 +0200 Subject: [support] Basic Questions About Organic Groups Message-ID: <0K9G0036MAZ4JUA0@mxout3.netvision.net.il> I am new to Organic Groups, and I have a couple of basic questions. If anyone could help out it would be much appreciated. 1) When I watched Zacker's famous OG tutorial video-cast, I noticed that when a new OG group is created, you can assign a mailing group name in the typical yahoogroup format, for example, xxx, which is then represented as xxx at mysite.com when the mail is sent out to group members. Just like in the form: support at drupal.org has, which this mailing list itself belongs to. Surely the drupal site is using a 6.x version flavor of Drupal, and this can be achieved in 6.x - but currently I don't see how it's done. Zacker did this when he created a new group? How can I achieve the same thing? I don't see a field where the unique group-name can be provided as input. I was told to try and use the og2list module. However, I notice that og2list isn't available for any 6.x version. Is this feature possible using a related module or maybe I've overlooked some feature? 2) When you create a new organic group, any messages sent from the organic group defaults to a mailing list style message. If I want the very same mail to appear both as a mail message sent to a group member and is also an identical forum message as well, how do I achieve that? I was told to try and use triggers/actions but I don't see exactly how this can be done. 3) What is the relationship between OG forums and OG groups. Can anyone please explain the relationship/difference between the two? Can someone also explain the difference between OG forums and regular forums? 4) How do I have a one to one relationship between an OG group that's created and an OG forum? I understand OG sends out a mail messages to all members subscribed to an OG group. But I want the same mail message that's sent out to the OG group members to also identically appear as a forum message. One to one relationship between OG group email message and OG forum message. Is that possible? 5) How do I associate only one OG group with only one OG forum? For each OG group that I create I want to have one and only one forum created. Authenticated users will be creating groups/forums on the fly so I want to limit their scope for errors. How do I link between the two of them? 6) Is it possible to moderate an OG group? In other words, any email message that is sent out under the group's name, is it possible to moderate the message if the group owner/administrator decides that this group member should be moderated? Thanks,Moses Technical Writing Services http://www.itwrite.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081028/29798e03/attachment.htm From shai at content2zero.com Tue Oct 28 14:59:26 2008 From: shai at content2zero.com (Shai Gluskin) Date: Tue, 28 Oct 2008 10:59:26 -0400 Subject: [support] Basic Questions About Organic Groups In-Reply-To: <0K9G0036MAZ4JUA0@mxout3.netvision.net.il> References: <0K9G0036MAZ4JUA0@mxout3.netvision.net.il> Message-ID: <9f68efb70810280759p7cb23e16n2c2d28c593815dde@mail.gmail.com> Moses, Lots of questions, I don't have much time now, but I thought a partial answer would at least make you feel like someone is listening. FYI, OG is not what I would call a "beginners" module in Drupal. It's really complex, it's trying to do a lot and be very flexible which can make things confusing at times. If you could, I'd build a bunch of Drupal web sites without OG first before diving into OG. I appologize if you do already have a bunch of Drupal experience. On Tue, Oct 28, 2008 at 9:27 AM, Moses Elias wrote: > I am new to Organic Groups, and I have a couple of basic questions. If > anyone could help out it would be much appreciated. > > > > 1) > > > > When I watched Zacker's famous OG tutorial video-cast, I noticed that when > a new OG group is created, you can assign a mailing group name in the > typical yahoogroup format, for example, xxx, which is then represented as > xxx at mysite.com when the mail is sent out to group members. Just like in > the > > form: support at drupal.org has, which this mailing list itself belongs to. > > > > Surely the drupal site is using a 6.x version flavor of Drupal, and this > can be achieved in 6.x - but currently I don't see how it's done. Zacker did > this when he created a new group? How can I achieve the same thing? I don't > see a field where the unique group-name can be provided as input. > > > > I was told to try and use the og2list module. However, I notice that > og2list isn't available for any 6.x version. Is this feature possible using > a related module or maybe I've overlooked some feature? > > > This list is, maybe ironically, is not Drupal connected in anyway. It uses Mailman software. This tutorial might get you moving in the right direction: "Add Content to Your Site Via Email": http://drupal.org/node/200647 This wouldn't be a classic listserve. But it is possible to make a forum list serve like by using that tutorial, possibly in combination with a module like: http://drupal.org/watcher and/or http://drupal.org/comment_notify That og2list module looks dead. Try to find some people who used it and what they changed to. > 2) > > > > When you create a new organic group, any messages sent from the organic > group defaults to a mailing list style message. If I want the very same mail > to appear both as a mail message sent to a group member and is also an > identical forum message as well, how do I achieve that? I was told to try > and use triggers/actions but I don't see exactly how this can be done. > Moses, there are a lot of skills/experiences etc. you need to build a complex Drupal web site. Your requirements, from what I can tell, are complex. Should you decide on the triggers/actions approach to this problem -- there is often more than one way to solve a problem in Drupal --- start off by learning the skill to do something basic with it. A quick search turned up this tutorial... it's for Drupal 5 and uses the Workflow_ng module. There might be comments there or other links on how to do it in D6: http://drupal.org/node/175414 3) > > > > What is the relationship between OG forums and OG groups. Can anyone please > explain the relationship/difference between the two? > > > > Can someone also explain the difference between OG forums and regular > forums? > > > > 4) > > > > How do I have a one to one relationship between an OG group that's created > and an OG forum? I understand OG sends out a mail messages to all members > subscribed to an OG group. But I want the same mail message that's sent out > to the OG group members to also identically appear as a forum message. > > > > One to one relationship between OG group email message and OG forum > message. > > Is that possible? > > > > 5) > > > > How do I associate only one OG group with only one OG forum? For each OG > group that I create I want to have one and only one forum created. > > Authenticated users will be creating groups/forums on the fly so I want to > limit their scope for errors. How do I link between the two of them? > > > > 6) > > > > Is it possible to moderate an OG group? In other words, any email message > that is sent out under the group's name, is it possible to moderate the > message if the group owner/administrator decides that this group member > should be moderated? > > > Using the techniques described in the Tutorial above "publishing content via email" you create a content-type for this purpose, or use one that already exists, but make sure to set the default publishing mode to "unpublished." That is the start, at least, to an approach toward moderation. Again, there are lots of solutions to this, but that is the basic starting place. As you move along and begin to break down the pieces... I've found that, either on the Drupal forums or list serves, and even IRC for that matter -- you are more likely to get helpful responses when the question is bite sized. That is indeed an overgeneralization, but it has generally been my experience. Hang in there, Shai > > > Thanks,Moses > > > > Technical Writing Services > > http://www.itwrite.com > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081028/134ab1b7/attachment-0001.htm From allen at centernetworks.com Tue Oct 28 22:15:04 2008 From: allen at centernetworks.com (Allen Stern) Date: Tue, 28 Oct 2008 18:15:04 -0400 Subject: [support] Issue with a Query that's running wild In-Reply-To: <013601c93858$b7b59ce0$2720d6a0$@com> References: <000601c9304c$c249bd30$0601a8c0@zeus> <5F74CE02-6DF8-4287-8F1D-7946F2D1F87D@anonemusic.com> <005f01c93289$2b5440a0$0601a8c0@zeus> <005e01c9345c$68304800$0601a8c0@zeus> <7D4FD8EC-C1DC-4FAE-95FA-B056AF725F85@brianpuccio.net> <1225040447.15373.2.camel@k6-2.c-c-i.com> <20081027103710.s9zg3r5n6884w44k@mail.progw.org> <013601c93858$b7b59ce0$2720d6a0$@com> Message-ID: <49078EE8.7080304@centernetworks.com> My hoster is telling me that the query below is processing 52 million records every time it's run. Any ideas on where this query is, what it does or how to fix it would very much be appreciated. I have not changed anything in the installation in forever. The host thinks that the more content I write, somehow the query was pushed over the limit for warnings. QUERY: SELECT n.nid, n.type, n.status, n.promote, n.changed, u.dst FROM node n LEFT JOIN url_alias u ON u.src=CONCAT('node/',n.nid) EXPLAIN: explain SELECT n.nid, n.type, n.status, n.promote, n.changed, u.dst FROM node n LEFT JOIN url_alias u ON u.src=CONCAT('node/',n.nid)\G *************************** 1. row *************************** id: 1 select_type: SIMPLE table: n type: ALL possible_keys: NULL key: NULL key_len: NULL ref: NULL rows: 3971 Extra: *************************** 2. row *************************** id: 1 select_type: SIMPLE table: u type: ALL possible_keys: src key: NULL key_len: NULL ref: NULL rows: 15110 Extra: 2 rows in set (0.00 sec) Other Info: Time: 081028 16:01:51 # User at Host: root[root] @ [127.0.0.1] # Query_time: 53 Lock_time: 0 Rows_sent: 1644 Rows_examined: 22021902 use 351357_drupal5; SELECT n.nid, n.type, n.status, n.promote, n.changed, u.dst FROM node n LEFT JOIN url_alias u ON u.src=CONCAT('node/',n.nid); Thanks in advance. From madflute at anonemusic.com Wed Oct 29 04:36:06 2008 From: madflute at anonemusic.com (A-NO-NE Music) Date: Wed, 29 Oct 2008 00:36:06 -0400 Subject: [support] Coherent Access Module Patch Message-ID: <20C7BFB6-DFBB-4014-9205-D90A2E20ECF3@anonemusic.com> Drupal 6.5 Coherent Access 6.x-1.0 shows the list of the private posts those which belong to someone else under My Account. This is a big problem. I then found someone's patch: http://drupal.org/node/317413 However, I have no idea what to do with this. The patch article at drupal.org seems to be aimed at published patches, while this one doesn't seems to be the same thing. Any help would be appreciated. Yes, I am PHP challenged! -- - Hiro Hiroaki Honshuku, A-NO-NE Music, Greater Boston http://a-no-ne.com http://anonemusic.com From earnie at users.sourceforge.net Wed Oct 29 11:49:48 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Wed, 29 Oct 2008 07:49:48 -0400 Subject: [support] Issue with a Query that's running wild In-Reply-To: <49078EE8.7080304@centernetworks.com> References: <000601c9304c$c249bd30$0601a8c0@zeus> <5F74CE02-6DF8-4287-8F1D-7946F2D1F87D@anonemusic.com> <005f01c93289$2b5440a0$0601a8c0@zeus> <005e01c9345c$68304800$0601a8c0@zeus> <7D4FD8EC-C1DC-4FAE-95FA-B056AF725F85@brianpuccio.net> <1225040447.15373.2.camel@k6-2.c-c-i.com> <20081027103710.s9zg3r5n6884w44k@mail.progw.org> <013601c93858$b7b59ce0$2720d6a0$@com> <49078EE8.7080304@centernetworks.com> Message-ID: <20081029074948.ujraq4nv7xw8csog@mail.progw.org> Quoting Allen Stern : > My hoster is telling me that the query below is processing 52 million > records every time it's run. Any ideas on where this query is, what it > does or how to fix it would very much be appreciated. I have not changed > anything in the installation in forever. The host thinks that the more > content I write, somehow the query was pushed over the limit for warnings. > > QUERY: > SELECT n.nid, n.type, n.status, n.promote, n.changed, u.dst FROM node n > LEFT JOIN url_alias u ON u.src=CONCAT('node/',n.nid) > This query needs a "WHERE n.nid = %d" added to it. What version of Drupal? What modules? Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From allen at centernetworks.com Wed Oct 29 12:05:21 2008 From: allen at centernetworks.com (Allen Stern) Date: Wed, 29 Oct 2008 08:05:21 -0400 Subject: [support] Issue with a Query that's running wild In-Reply-To: <20081029074948.ujraq4nv7xw8csog@mail.progw.org> References: <000601c9304c$c249bd30$0601a8c0@zeus> <5F74CE02-6DF8-4287-8F1D-7946F2D1F87D@anonemusic.com> <005f01c93289$2b5440a0$0601a8c0@zeus> <005e01c9345c$68304800$0601a8c0@zeus> <7D4FD8EC-C1DC-4FAE-95FA-B056AF725F85@brianpuccio.net> <1225040447.15373.2.camel@k6-2.c-c-i.com> <20081027103710.s9zg3r5n6884w44k@mail.progw.org> <013601c93858$b7b59ce0$2720d6a0$@com> <49078EE8.7080304@centernetworks.com> <20081029074948.ujraq4nv7xw8csog@mail.progw.org> Message-ID: <49085181.1000602@centernetworks.com> Thanks for the reply - the host also said it needs a where statement. I tried searching the code for the query but was unable to find it. I am using Drupal 5.9. here's a list of modules currently "on": -- frontpage -- cck: content, content copy, fieldgroup, image, link, number, option widgets, text -- core-optional: blog, book, comment, forum, help, path, ping, profile, search, statistics, taxonomy -- core-required: all checked -- other: comment closer, comment notify, comment subjects, excerpt, feedback, forward, meta tags, mollom, openid, outbrain, page title, path auto, related links, search 404, spam, taxonomy introduction, tell a friend, tinymce, trackback, url list -- views: views, viewsrss, views theme wizard, views ui Thanks! -- Allen Earnie Boyd wrote: > Quoting Allen Stern : > > >> My hoster is telling me that the query below is processing 52 million >> records every time it's run. Any ideas on where this query is, what it >> does or how to fix it would very much be appreciated. I have not changed >> anything in the installation in forever. The host thinks that the more >> content I write, somehow the query was pushed over the limit for warnings. >> >> QUERY: >> SELECT n.nid, n.type, n.status, n.promote, n.changed, u.dst FROM node n >> LEFT JOIN url_alias u ON u.src=CONCAT('node/',n.nid) >> >> > > This query needs a "WHERE n.nid = %d" added to it. What version of > Drupal? What modules? > > Earnie -- http://for-my-kids.com/ > -- http://give-me-an-offer.com/ > > -- 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 earnie at users.sourceforge.net Wed Oct 29 12:22:24 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Wed, 29 Oct 2008 08:22:24 -0400 Subject: [support] Basic Questions About Organic Groups In-Reply-To: <0K9G0036MAZ4JUA0@mxout3.netvision.net.il> References: <0K9G0036MAZ4JUA0@mxout3.netvision.net.il> Message-ID: <20081029082224.49j5az8g69s4k4wg@mail.progw.org> Quoting Moses Elias : > I am new to Organic Groups, and I have a couple of basic questions. If > anyone could help out it would be much appreciated. > > You probably want to review http://groups.drupal.org/taxonomy/term/1568 to familiarize yourself then. > > 1) > > > > When I watched Zacker's famous OG tutorial video-cast, I noticed that when a > new OG group is created, you can assign a mailing group name in the typical > yahoogroup format, for example, xxx, which is then represented as > xxx at mysite.com when the mail is sent out to group members. Just like in the > > form: support at drupal.org has, which this mailing list itself belongs to. > Haven't seen the video. > > > Surely the drupal site is using a 6.x version flavor of Drupal, and this can > be achieved in 6.x - but currently I don't see how it's done. Zacker did > this when he created a new group? How can I achieve the same thing? I don't > see a field where the unique group-name can be provided as input. > The d.o and g.d.o sites are not yet on Drupal 6 that I know of. Many of the modules they use still need to be converted. OG has many contributed modules, is what you're looking for in one of those modules? > > > I was told to try and use the og2list module. However, I notice that og2list > isn't available for any 6.x version. Is this feature possible using a > related module or maybe I've overlooked some feature? > Time to check the issue queue and create a patch if needed. Really, Drupal 6, while good isn't quite ready where modules are concerned; especially if you need them for production. That doesn't mean that you can't make the necessary changes yourself. > > > 2) > > > > When you create a new organic group, any messages sent from the organic > group defaults to a mailing list style message. If I want the very same mail > to appear both as a mail message sent to a group member and is also an > identical forum message as well, how do I achieve that? I was told to try > and use triggers/actions but I don't see exactly how this can be done. > Don't know. > > > 3) > > > > What is the relationship between OG forums and OG groups. Can anyone please > explain the relationship/difference between the two? > A group is a wrapper around applications and a targeted data set. A forum is one of the applications. > > > Can someone also explain the difference between OG forums and regular > forums? > I assume OG forums to use the forums module. The difference is a control for the set of data for the group. > > > 4) > > > > How do I have a one to one relationship between an OG group that's created > and an OG forum? I understand OG sends out a mail messages to all members > subscribed to an OG group. But I want the same mail message that's sent out > to the OG group members to also identically appear as a forum message. > The group administrator needs to create a forum for the group. The forum then belongs to the group. > > > One to one relationship between OG group email message and OG forum message. > I'm not sure I get it. The user subscribes to a group and can choose to receive email notices from the group. I haven't played with OG forum to know if you can separately subscribe to each forum or not. > Is that possible? > > > > 5) > > > > How do I associate only one OG group with only one OG forum? For each OG > group that I create I want to have one and only one forum created. > > Authenticated users will be creating groups/forums on the fly so I want to > limit their scope for errors. How do I link between the two of them? > I'm not getting it. I think you want to just create a group and allow posting and commenting within that group and forget about the forum. Can you explain what you plan to use the forum for? How is it different from just posting stories to the group? > > > 6) > > > > Is it possible to moderate an OG group? In other words, any email message > that is sent out under the group's name, is it possible to moderate the > message if the group owner/administrator decides that this group member > should be moderated? > That is a possible workflow, yes. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From bharanikumariyerphp at gmail.com Wed Oct 29 12:26:57 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Wed, 29 Oct 2008 17:56:57 +0530 Subject: [support] Form API help needed In-Reply-To: <49025380.1070808@opensourcery.com> References: <49024FC5.8010006@gmail.com> <49025380.1070808@opensourcery.com> Message-ID: <2240033d0810290526i410d2f30o34b309798243e3b0@mail.gmail.com> function custom_submit($form_id, $form_values) { print db_query("INSERT INTO {node_revisions} (title, body, teaser, timestamp) VALUES ('%s', '%s', %s, '%d')", $form_values['first_name'], $form_values['last_name'], $form_values['city']); drupal_set_message(t('Your form has been saved.')); } How to supply values for form_id arugument ? On Sat, Oct 25, 2008 at 4:30 AM, Jonathan Hedstrom < jhedstrom at opensourcery.com> wrote: > > > nebodysguess at gmail.com wrote: > > Hi, > > > > I created a form module which is displayed as a block on the home page. > > On submitting this form you get something like this : > > > > http://website_name.com/pages/?location=chicago°ree=MBBS ....... and > > so on > > > > but I want the parameters to be sent to the results.tpl.php page > > > > I'm using 'get' method & $form_state['redirect'] = "?q=results". I'm > > using Drupal 6.2 > > > > What else should I do ? > Try setting the #action to whatever path you need it to go to. > > $form['#action'] = url('foo/bar') > > > http://api.drupal.org/api/file/developer/topics/forms_api_reference.html#action > > Cheers, > > Jonathan > > -- > Jonathan Hedstrom OpenSourcery > http://opensourcery.com Technology for Good > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- ?????? ?????? ???? ?????? Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081029/0e429eeb/attachment-0001.htm From Greg at growingventuresolutions.com Wed Oct 29 15:19:54 2008 From: Greg at growingventuresolutions.com (Greg Knaddison - GVS) Date: Wed, 29 Oct 2008 09:19:54 -0600 Subject: [support] Issue with a Query that's running wild In-Reply-To: <49078EE8.7080304@centernetworks.com> References: <000601c9304c$c249bd30$0601a8c0@zeus> <5F74CE02-6DF8-4287-8F1D-7946F2D1F87D@anonemusic.com> <005f01c93289$2b5440a0$0601a8c0@zeus> <005e01c9345c$68304800$0601a8c0@zeus> <7D4FD8EC-C1DC-4FAE-95FA-B056AF725F85@brianpuccio.net> <1225040447.15373.2.camel@k6-2.c-c-i.com> <20081027103710.s9zg3r5n6884w44k@mail.progw.org> <013601c93858$b7b59ce0$2720d6a0$@com> <49078EE8.7080304@centernetworks.com> Message-ID: <3861c6770810290819o746507fdv48ee1f793fe520f6@mail.gmail.com> On Tue, Oct 28, 2008 at 4:15 PM, Allen Stern wrote: > My hoster is telling me that the query below is processing 52 million > records every time it's run. It shouldn't be run very often... > Any ideas on where this query is, what it > does or how to fix it would very much be appreciated. That's a query from Pathauto that is used to do the "bulk update" of aliases. It only runs when you do a "bulk update" which is a maintenance procedure that should only be run if you change your Pathauto patterns or install Pathauto on an existing site that had a lot of content without aliases. > I have not changed > anything in the installation in forever. Apparently you haven't ;) The performance of this query was improved in the version of Pathauto released on June 26th (my birthday, so I remember it well). Regards, Greg -- Greg Knaddison Denver, CO | http://knaddison.com | 303-800-5623 Growing Venture Solutions, LLC | http://growingventuresolutions.com From allen at centernetworks.com Wed Oct 29 17:08:39 2008 From: allen at centernetworks.com (Allen Stern) Date: Wed, 29 Oct 2008 13:08:39 -0400 Subject: [support] FW: Re: Issue with a Query that's running wild In-Reply-To: <1225295642.58235331@192.168.1.201> References: <1225295642.58235331@192.168.1.201> Message-ID: <49089897.7090404@centernetworks.com> Thanks Greg, I appreciate the help - Just updated the module with your birthday edition. Let's hope this fixes the issue! -- Allen allen at centernetworks.com wrote: > -----Original Message----- > From: "Greg Knaddison - GVS" > Sent: Wednesday, October 29, 2008 11:19am > To: support at drupal.org > Subject: Re: [support] Issue with a Query that's running wild > > On Tue, Oct 28, 2008 at 4:15 PM, Allen Stern wrote: > >> My hoster is telling me that the query below is processing 52 million >> records every time it's run. >> > > It shouldn't be run very often... > > >> Any ideas on where this query is, what it >> does or how to fix it would very much be appreciated. >> > > That's a query from Pathauto that is used to do the "bulk update" of > aliases. It only runs when you do a "bulk update" which is a > maintenance procedure that should only be run if you change your > Pathauto patterns or install Pathauto on an existing site that had a > lot of content without aliases. > > >> I have not changed >> anything in the installation in forever. >> > > Apparently you haven't ;) The performance of this query was improved > in the version of Pathauto released on June 26th (my birthday, so I > remember it well). > > Regards, > Greg > > -- 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 earnie at users.sourceforge.net Wed Oct 29 19:50:24 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Wed, 29 Oct 2008 15:50:24 -0400 Subject: [support] Issue with a Query that's running wild In-Reply-To: <49085181.1000602@centernetworks.com> References: <000601c9304c$c249bd30$0601a8c0@zeus> <5F74CE02-6DF8-4287-8F1D-7946F2D1F87D@anonemusic.com> <005f01c93289$2b5440a0$0601a8c0@zeus> <005e01c9345c$68304800$0601a8c0@zeus> <7D4FD8EC-C1DC-4FAE-95FA-B056AF725F85@brianpuccio.net> <1225040447.15373.2.camel@k6-2.c-c-i.com> <20081027103710.s9zg3r5n6884w44k@mail.progw.org> <013601c93858$b7b59ce0$2720d6a0$@com> <49078EE8.7080304@centernetworks.com> <20081029074948.ujraq4nv7xw8csog@mail.progw.org> <49085181.1000602@centernetworks.com> Message-ID: <20081029155024.l6tpznil938ks8co@mail.progw.org> Quoting Allen Stern : > Thanks for the reply - the host also said it needs a where statement. I > tried searching the code for the query but was unable to find it. I am > using Drupal 5.9. > When searching for a SQL statement that is the result of an actual query from the db logs you will need to reformat the query to Drupal syntax and in D7 it will even be more difficult to revert the query. Maybe we should think of adding a comment to the query to give the __FILE__ and __LINE__ from where the query originated. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From mike at mikeyp.net Wed Oct 29 21:22:52 2008 From: mike at mikeyp.net (Michael Prasuhn) Date: Wed, 29 Oct 2008 14:22:52 -0700 Subject: [support] Issue with a Query that's running wild In-Reply-To: <20081029155024.l6tpznil938ks8co@mail.progw.org> References: <000601c9304c$c249bd30$0601a8c0@zeus> <5F74CE02-6DF8-4287-8F1D-7946F2D1F87D@anonemusic.com> <005f01c93289$2b5440a0$0601a8c0@zeus> <005e01c9345c$68304800$0601a8c0@zeus> <7D4FD8EC-C1DC-4FAE-95FA-B056AF725F85@brianpuccio.net> <1225040447.15373.2.camel@k6-2.c-c-i.com> <20081027103710.s9zg3r5n6884w44k@mail.progw.org> <013601c93858$b7b59ce0$2720d6a0$@com> <49078EE8.7080304@centernetworks.com> <20081029074948.ujraq4nv7xw8csog@mail.progw.org> <49085181.1000602@centernetworks.com> <20081029155024.l6tpznil938ks8co@mail.progw.org> Message-ID: Query tagging, FTW. http://drupal.org/node/310077 On Oct 29, 2008, at 12:50 PM, Earnie Boyd wrote: > Quoting Allen Stern : > >> Thanks for the reply - the host also said it needs a where >> statement. I >> tried searching the code for the query but was unable to find it. I >> am >> using Drupal 5.9. >> > > When searching for a SQL statement that is the result of an actual > query from the db logs you will need to reformat the query to Drupal > syntax and in D7 it will even be more difficult to revert the query. > Maybe we should think of adding a comment to the query to give the > __FILE__ and __LINE__ from where the query originated. > > Earnie -- http://for-my-kids.com/ > -- http://give-me-an-offer.com/ > > -- > [ Drupal support list | http://lists.drupal.org/ ] __________________ Michael Prasuhn mike at mikeyp.net http://mikeyp.net From michel at ziobudda.net Wed Oct 29 22:59:26 2008 From: michel at ziobudda.net (Davide Michel 'ZioBudda' Morelli) Date: Wed, 29 Oct 2008 23:59:26 +0100 Subject: [support] Drupal SQL function and DB Access Message-ID: <4908EACE.6090405@ziobudda.net> Hi, In a client site I need to connect to a DB MS Access via Drupal. Is this possibile ? How can I set the db and credentials ? 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 larry at garfieldtech.com Thu Oct 30 05:46:23 2008 From: larry at garfieldtech.com (Larry Garfield) Date: Thu, 30 Oct 2008 00:46:23 -0500 Subject: [support] Drupal SQL function and DB Access In-Reply-To: <4908EACE.6090405@ziobudda.net> References: <4908EACE.6090405@ziobudda.net> Message-ID: <200810300046.23076.larry@garfieldtech.com> On Wednesday 29 October 2008 5:59:26 pm Davide Michel 'ZioBudda' Morelli wrote: > Hi, In a client site I need to connect to a DB MS Access via Drupal. > > Is this possibile ? How can I set the db and credentials ? > > M. Drupal currently does not support MS Access, and I don't believe it would be at all feasible to do so in Drupal 6. For Drupal 7, connecting to an MS SQL server is hypothetically possible using Microsoft's new MS SQL PDO driver, but a Drupal driver for MS SQL would still need to be written and maintained. I am not aware of any community effort to do so at this time. -- Larry Garfield larry at garfieldtech.com From bharanikumariyerphp at gmail.com Thu Oct 30 06:01:17 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Thu, 30 Oct 2008 11:31:17 +0530 Subject: [support] Document Management Module Message-ID: <2240033d0810292301r7320ebbfha563810d5f948641@mail.gmail.com> Hi Is there Any Document Management Module , Module must satisfy below requirements Requirement Are : 1.Drag and Drop file upload, 2.Multiple Upload And etc -- ?????? ?????? ???? ?????? Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081030/f9b45388/attachment.htm From me at saurocesaretti.com Thu Oct 30 08:07:35 2008 From: me at saurocesaretti.com (Sauro Cesaretti) Date: Thu, 30 Oct 2008 09:07:35 +0100 Subject: [support] problems with zen subtheme Message-ID: Hi all, I'm developing a zen subtheme. Is there a way to remove the "configure" tab that appears on every block/menu? How can I do that? I've noticed that there's a css for this editing function, but I'd like to disable it definitely. Where is it implemented? Thanks in advance for you help! Regards, Sauro -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081030/1b283c25/attachment.htm From bharanikumariyerphp at gmail.com Thu Oct 30 09:32:42 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Thu, 30 Oct 2008 15:02:42 +0530 Subject: [support] Need Drag and drop file upload modules Message-ID: <2240033d0810300232p306de03dy182fe66199e15c10@mail.gmail.com> Hi Friends Refer some Drag and Drop file upload modules -- ?????? ?????? ???? ?????? Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081030/511155d2/attachment-0001.htm From michel at ziobudda.net Thu Oct 30 10:03:47 2008 From: michel at ziobudda.net (Davide Michel 'ZioBudda' Morelli) Date: Thu, 30 Oct 2008 11:03:47 +0100 Subject: [support] Drupal SQL function and DB Access In-Reply-To: <200810300046.23076.larry@garfieldtech.com> References: <4908EACE.6090405@ziobudda.net> <200810300046.23076.larry@garfieldtech.com> Message-ID: <49098683.1050101@ziobudda.net> Larry Garfield ha scritto: > On Wednesday 29 October 2008 5:59:26 pm Davide Michel 'ZioBudda' Morelli > wrote: > >> Hi, In a client site I need to connect to a DB MS Access via Drupal. >> >> Is this possibile ? How can I set the db and credentials ? >> >> M. >> > > Drupal currently does not support MS Access, and I don't believe it would be > at all feasible to do so in Drupal 6. > A moment. I don't want to install Drupal 6 on a MS Acess. I need only to connect to it. I need to exec some query. 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/20081030/988f9d72/attachment.htm From mail at webthatworks.it Thu Oct 30 11:09:07 2008 From: mail at webthatworks.it (Ivan Sergio Borgonovo) Date: Thu, 30 Oct 2008 12:09:07 +0100 Subject: [support] Drupal SQL function and DB Access In-Reply-To: <49098683.1050101@ziobudda.net> References: <4908EACE.6090405@ziobudda.net> <200810300046.23076.larry@garfieldtech.com> <49098683.1050101@ziobudda.net> Message-ID: <20081030120907.5749ad16@dawn.webthatworks.it> On Thu, 30 Oct 2008 11:03:47 +0100 Davide Michel 'ZioBudda' Morelli wrote: > Larry Garfield ha scritto: > > On Wednesday 29 October 2008 5:59:26 pm Davide Michel 'ZioBudda' > > Morelli wrote: > > > >> Hi, In a client site I need to connect to a DB MS Access via > >> Drupal. > >> > >> Is this possibile ? How can I set the db and credentials ? > >> > >> M. > >> > > > > Drupal currently does not support MS Access, and I don't believe > > it would be at all feasible to do so in Drupal 6. > > > A moment. I don't want to install Drupal 6 on a MS Acess. I need > only to connect to it. > I need to exec some query. Your best bet would be odbc but it's not going to be nice. Or you could think about importing the data... after all Access has(had?) a bad reputation for concurrent access [sic]. http://www.php.net/manual/en/faq.databases.php#faq.databases.access http://bryanmills.net/archives/2003/11/microsoft-access-database-using-linux-and-php/ Get ready to have DB corruption or do further research about the sanity of working with Access at the back end. -- Ivan Sergio Borgonovo http://www.webthatworks.it From victorkane at gmail.com Thu Oct 30 11:27:20 2008 From: victorkane at gmail.com (Victor Kane) Date: Thu, 30 Oct 2008 09:27:20 -0200 Subject: [support] problems with zen subtheme In-Reply-To: References: Message-ID: Assuming that you have installed and enabled the Theme Settings API (in Drupal 5, in Drupal 6 it is part of core), if you go to configure your theme in Administer > Themes, you will see a checkbox: "Show block editing on hover" It is actually a wonderful feature, saving a lot of time hunting around in admin menus, and which only appears for those with the appropriate permissions, but if you don't want it, de-select this checkbox. Victor Kane http://awebfactory.com.ar On Thu, Oct 30, 2008 at 6:07 AM, Sauro Cesaretti wrote: > Hi all, > > I'm developing a zen subtheme. > Is there a way to remove the > "configure" tab that appears on every block/menu? > How can I do that? > I've noticed that there's a css > for this editing function, but > I'd like to disable it definitely. > Where is it implemented? > > Thanks in advance for you help! > Regards, Sauro > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From earnie at users.sourceforge.net Thu Oct 30 12:09:32 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Thu, 30 Oct 2008 08:09:32 -0400 Subject: [support] Drupal SQL function and DB Access In-Reply-To: <49098683.1050101@ziobudda.net> References: <4908EACE.6090405@ziobudda.net> <200810300046.23076.larry@garfieldtech.com> <49098683.1050101@ziobudda.net> Message-ID: <20081030080932.g384adqoivc4g8cg@mail.progw.org> Quoting Davide Michel 'ZioBudda' Morelli : > Larry Garfield ha scritto: >> On Wednesday 29 October 2008 5:59:26 pm Davide Michel 'ZioBudda' >> Morelli wrote: >> >>> Hi, In a client site I need to connect to a DB MS Access via Drupal. >>> >>> Is this possibile ? How can I set the db and credentials ? >>> >>> M. >>> >> >> Drupal currently does not support MS Access, and I don't believe it >> would be at all feasible to do so in Drupal 6. > A moment. I don't want to install Drupal 6 on a MS Acess. I need only > to connect to it. > I need to exec some query. > You can create an MS Access db engine. That would be the only way to accomplish this in a drupalish way. You can also just do the PHP calls yourself. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From bharanikumariyerphp at gmail.com Thu Oct 30 12:16:29 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Thu, 30 Oct 2008 17:46:29 +0530 Subject: [support] Drupal 6 installation problem Message-ID: <2240033d0810300516o681f0e79ob9fbc47da4a1f349@mail.gmail.com> when i try to install the drupal 6 , showing Error like Operations on Unicode strings are emulated on a best-effort basis. Install the PHP mbstring extension for improved Unicode support. (Currently using Unicode library Standard PHP) Even i remove the mbstring in php.ini -- ?????? ?????? ???? ?????? Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081030/a6240f23/attachment.htm From daniel.carrera at zmsl.com Thu Oct 30 12:27:29 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Thu, 30 Oct 2008 13:27:29 +0100 Subject: [support] Visible menu entries Message-ID: <4909A831.4090104@zmsl.com> Hello, Is it possible to make a menu entry visible only to authenticated users? Ultimately, what I want is to replace the "create content" page by a custom page, but naturally, I only want that link to be visible to authenticated users, otherwise I'll just confuse the other users. Daniel. From foss at jsomers.eu Thu Oct 30 12:25:20 2008 From: foss at jsomers.eu (Jensen Somers) Date: Thu, 30 Oct 2008 13:25:20 +0100 Subject: [support] Drupal 6 installation problem In-Reply-To: <2240033d0810300516o681f0e79ob9fbc47da4a1f349@mail.gmail.com> References: <2240033d0810300516o681f0e79ob9fbc47da4a1f349@mail.gmail.com> Message-ID: <4909A7B0.20901@jsomers.eu> bharani kumar wrote: > when i try to install the drupal 6 , showing Error like > > Operations on Unicode strings are emulated on a best-effort basis. > Install the PHP mbstring extension for > improved Unicode support. (Currently using Unicode library Standard PHP) > > Even i remove the mbstring in php.ini > > That's not an error but simply a warning saying the 'mbstring' module is not (correctly) installed and Unicode characters might not be shown correctly. Not really a major issue. - Jensen From bharanikumariyerphp at gmail.com Thu Oct 30 12:53:04 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Thu, 30 Oct 2008 18:23:04 +0530 Subject: [support] Drupal 6 installation problem In-Reply-To: <4909A7B0.20901@jsomers.eu> References: <2240033d0810300516o681f0e79ob9fbc47da4a1f349@mail.gmail.com> <4909A7B0.20901@jsomers.eu> Message-ID: <2240033d0810300553r7e213251u663bf90d80a8c1e0@mail.gmail.com> but you see , when i given the details form not moving next stag.. On Thu, Oct 30, 2008 at 5:55 PM, Jensen Somers wrote: > bharani kumar wrote: > > when i try to install the drupal 6 , showing Error like > > > > Operations on Unicode strings are emulated on a best-effort basis. > > Install the PHP mbstring extension for > > improved Unicode support. (Currently using Unicode library Standard PHP) > > > > Even i remove the mbstring in php.ini > > > > > > That's not an error but simply a warning saying the 'mbstring' module > is not (correctly) installed and Unicode characters might not be shown > correctly. > > Not really a major issue. > > - Jensen > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- ?????? ?????? ???? ?????? Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyer.hyperphp.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081030/f5d12f92/attachment-0001.htm From daniel.carrera at zmsl.com Thu Oct 30 13:38:44 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Thu, 30 Oct 2008 14:38:44 +0100 Subject: [support] Views and Menu Message-ID: <4909B8E4.6000001@zmsl.com> Hello, I have made a view with the views module (Drupal 5). The URL for my view is "user/$arg/pages" and it shows a list of pages for that user. Now, I would really really like to put this on the menu and I can't. I want to have a menu entry that says "My pages". I am on the "edit view" page. I'm looking at the menu section, but I can't make it do what I want. The Menu section looks like this: ---- SNIP START ---- [x] Provide Menu If checked this view be given a menu entry in the Drupal menu system. If not checked the data in this group will be ignored. [ ] Provide Menu as Tab If checked this view's menu entry will be provided as a tab rather than in the main menu system. Tab Weight: [ 1 ] If this is a menu tab, select the weight; lower numbers will be further to the left. Menu Title: [ My pages ] Enter the title to use for the menu entry or tab. If blank, the page title will be used. ---- SNIP END ---- So "Provide menu" is checked, but there is no menu. If I check "Provide menu as tab", I see a tab in the "My account" page, so this function is at least partially working. But when I un-check it, I don't see anything in the menu. I go to admin/build/menu and I don't see my entry there. Not even disabled. Help? I would be grateful for any guidance you might offer. Daniel. From me at saurocesaretti.com Thu Oct 30 14:14:55 2008 From: me at saurocesaretti.com (Sauro Cesaretti) Date: Thu, 30 Oct 2008 15:14:55 +0100 Subject: [support] Problems with i18n module Message-ID: <061A1C18BD5A4EB5802F2BD9C7E15A4B@sauro> Hi all, I've got my drupal installation up and running. I've followed the instructions to set up the Internationalization module (i18n) I need to build a multi-language site. I've put the language selection in a region I specifically created. Now, I've entered a page of content, called " www.example.com/en/conference ", and I have translated that to all the other languages, saving it as "fr/conferences", "nl/conferences", etc. Now, when I am in that page in English (but it is the same in all other languages), and I want to change the language I'm viewing it, it happens that the language selection link do not report " www.example.com/fr/conference " for the French, or " www.example.com/nl/conference " for Dutch, and so on, but rather " www.example.com/fr/node/33". Thus, when I click on a link in the page in French (for example), obviously the links don't work, since I've used relative paths. How can I fix it? It's a serious problem for me. thank you very much in advance Regards, Sauro -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081030/ed74c29d/attachment.htm From killshot91 at comcast.net Thu Oct 30 14:49:10 2008 From: killshot91 at comcast.net (Steve Edwards) Date: Thu, 30 Oct 2008 07:49:10 -0700 Subject: [support] Visible menu entries In-Reply-To: <4909A831.4090104@zmsl.com> References: <4909A831.4090104@zmsl.com> Message-ID: <4909C966.6030702@comcast.net> Have you looked at the Menu Per Role module (http://drupal.org/project/menu_per_role)? Unfortunately it only exists for D5, but it works for me. Steve Daniel Carrera wrote: > Hello, > > Is it possible to make a menu entry visible only to authenticated users? > > Ultimately, what I want is to replace the "create content" page by a > custom page, but naturally, I only want that link to be visible to > authenticated users, otherwise I'll just confuse the other users. > > Daniel. > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081030/99b3120b/attachment.htm From mail at webthatworks.it Thu Oct 30 15:16:35 2008 From: mail at webthatworks.it (Ivan Sergio Borgonovo) Date: Thu, 30 Oct 2008 16:16:35 +0100 Subject: [support] Problems with i18n module In-Reply-To: <061A1C18BD5A4EB5802F2BD9C7E15A4B@sauro> References: <061A1C18BD5A4EB5802F2BD9C7E15A4B@sauro> Message-ID: <20081030161635.4663752a@dawn.webthatworks.it> On Thu, 30 Oct 2008 15:14:55 +0100 "Sauro Cesaretti" wrote: > Hi all, > > I've got my drupal installation up and running. > I've followed the instructions to set up the Internationalization > module (i18n) > I need to build a multi-language site. > I've put the language selection in a region I specifically created. > Now, I've entered a page of content, called " > > www.example.com/en/conference ", and I have translated that to all > the other languages, saving it as "fr/conferences", > "nl/conferences", etc. > Now, when I am in that page in English (but it is the same in all > other languages), and I want to change the language I'm viewing > it, it happens that the > language selection link do not report " > www.example.com/fr/conference > " for the French, or " > www.example.com/nl/conference > " for Dutch, and so on, but rather " > www.example.com/fr/node/33". > Thus, when I click on a link in the page in French (for example), > obviously the links don't work, since I've used relative paths. If I'm understanding right the "language selection" is i18n block (the one with flags...). I've experience with i18n just on 5.X. I think things may work a bit differently and even better on 6.X. I'd explicitly define url aliases for each page in each language. Pathauto can cope quite well with multi-language sites... so if you don't want your user to autonomously chose the path... use pathauto so that urls will follow your policies. If a page is a "static" node (no module code involved...) you actually have to write the RIGHT url to other pages (including the language prefix). I'd say that if it is a "static" page... anyway you're "translating" it so "translating" urls shouldn't be an issue. If the page is a dynamic page... l() and url() do a pretty good job prefixing the urls for you. l(t('some link'), 'pippo/pluto'... will link to it/pippo/pluto or en/pippo/pluto depending on the language of the page you're viewing. -- Ivan Sergio Borgonovo http://www.webthatworks.it From daniel.carrera at zmsl.com Thu Oct 30 15:39:48 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Thu, 30 Oct 2008 16:39:48 +0100 Subject: [support] Visible menu entries In-Reply-To: <4909C966.6030702@comcast.net> References: <4909A831.4090104@zmsl.com> <4909C966.6030702@comcast.net> Message-ID: <4909D544.10007@zmsl.com> Steve Edwards wrote: > Have you looked at the Menu Per Role module > (http://drupal.org/project/menu_per_role)? Unfortunately it only exists > for D5, but it works for me. Hmm... it's marked "dev", and as you said, it's not going to be ported to D6. I think instead I'll focus on getting the views menu working. Did you see my other note about the menu entry for a view? If I could get that working and Drupal only showed the menu entry to authenticated users, that would be enough for me. That would do everything I need. From killshot91 at comcast.net Thu Oct 30 16:12:03 2008 From: killshot91 at comcast.net (Steve Edwards) Date: Thu, 30 Oct 2008 09:12:03 -0700 Subject: [support] Visible menu entries In-Reply-To: <4909D544.10007@zmsl.com> References: <4909A831.4090104@zmsl.com> <4909C966.6030702@comcast.net> <4909D544.10007@zmsl.com> Message-ID: <4909DCD3.7020009@comcast.net> Yes, I did. I've actually used the Menus part of Views to limit the view and menu to only members of certain roles, and it's worked well for me. Tabs in Views is a whole other story, though. I've been fighting with that for a couple weeks now, and it still won't work. For instance, I have a view where I've selected only certain roles to display it, and it works fine when someone has logged in, but then the menu item is displayed for the anonymous user. I've submitted a bug report, but haven't has any response yet. Very frustrating... Steve Daniel Carrera wrote: > Steve Edwards wrote: > >> Have you looked at the Menu Per Role module >> (http://drupal.org/project/menu_per_role)? Unfortunately it only exists >> for D5, but it works for me. >> > > > Hmm... it's marked "dev", and as you said, it's not going to be ported > to D6. I think instead I'll focus on getting the views menu working. Did > you see my other note about the menu entry for a view? If I could get > that working and Drupal only showed the menu entry to authenticated > users, that would be enough for me. That would do everything I need. > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081030/ba4367e6/attachment.htm From daniel.carrera at zmsl.com Fri Oct 31 10:58:21 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Fri, 31 Oct 2008 11:58:21 +0100 Subject: [support] Views and Menu In-Reply-To: <4909B8E4.6000001@zmsl.com> References: <4909B8E4.6000001@zmsl.com> Message-ID: <490AE4CD.7080103@zmsl.com> I found the menu entry. It turns out that the views module does add a menu entry but it puts it under "My account": * My account ** My pages Is there any way I can move it elsewhere? Daniel Carrera wrote: > Hello, > > I have made a view with the views module (Drupal 5). The URL for my view > is "user/$arg/pages" and it shows a list of pages for that user. Now, I > would really really like to put this on the menu and I can't. I want to > have a menu entry that says "My pages". > > I am on the "edit view" page. I'm looking at the menu section, but I > can't make it do what I want. The Menu section looks like this: > > ---- SNIP START ---- > [x] Provide Menu > If checked this view be given a menu entry in the Drupal menu system. If > not checked the data in this group will be ignored. > > [ ] Provide Menu as Tab > If checked this view's menu entry will be provided as a tab rather than > in the main menu system. > > Tab Weight: [ 1 ] > > If this is a menu tab, select the weight; lower numbers will be further > to the left. > > Menu Title: [ My pages ] > > Enter the title to use for the menu entry or tab. If blank, the page > title will be used. > ---- SNIP END ---- > > > So "Provide menu" is checked, but there is no menu. If I check "Provide > menu as tab", I see a tab in the "My account" page, so this function is > at least partially working. But when I un-check it, I don't see anything > in the menu. I go to admin/build/menu and I don't see my entry there. > Not even disabled. > > Help? > > I would be grateful for any guidance you might offer. > > Daniel. From earnie at users.sourceforge.net Fri Oct 31 12:00:34 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Fri, 31 Oct 2008 08:00:34 -0400 Subject: [support] Views and Menu In-Reply-To: <490AE4CD.7080103@zmsl.com> References: <4909B8E4.6000001@zmsl.com> <490AE4CD.7080103@zmsl.com> Message-ID: <20081031080034.7wvjfhj7ck8c8gck@mail.progw.org> Quoting Daniel Carrera : > I found the menu entry. It turns out that the views module does add a > menu entry but it puts it under "My account": > > * My account > ** My pages > > Is there any way I can move it elsewhere? > > > Daniel Carrera wrote: >> Hello, >> >> I have made a view with the views module (Drupal 5). The URL for my view >> is "user/$arg/pages" and it shows a list of pages for that user. Now, I >> would really really like to put this on the menu and I can't. I want to >> have a menu entry that says "My pages". >> I'm not really one to answer Views questions but my thought is that you'll need to change the URL to something besides a path under user/. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From kevin at kevincdavis.net Fri Oct 31 15:11:31 2008 From: kevin at kevincdavis.net (Kevin Davis) Date: Fri, 31 Oct 2008 08:11:31 -0700 (PDT) Subject: [support] Taxomony Issues Message-ID: <406157.90180.qm@web1102.biz.mail.sk1.yahoo.com> Hello, I'm having some Taxomony issues. What it is I have more than one item in the same page for example: Item 1 Item 2 However, only Item 2 is showing.. What could be the cause of it? Kevin From bchoc at t4tcolorado.org Fri Oct 31 16:04:16 2008 From: bchoc at t4tcolorado.org (Brian Choc) Date: Fri, 31 Oct 2008 10:04:16 -0600 Subject: [support] Visible menu entries In-Reply-To: <4909D544.10007@zmsl.com> References: <4909A831.4090104@zmsl.com> <4909C966.6030702@comcast.net> <4909D544.10007@zmsl.com> Message-ID: <507b282e0810310904u4e921e78j449a890cbd0d7e5d@mail.gmail.com> On Thu, Oct 30, 2008 at 9:39 AM, Daniel Carrera wrote: > Steve Edwards wrote: > > Have you looked at the Menu Per Role module > > (http://drupal.org/project/menu_per_role)? Unfortunately it only exists > > for D5, but it works for me. > > > Hmm... it's marked "dev", and as you said, it's not going to be ported > to D6. I think instead I'll focus on getting the views menu working. Did > you see my other note about the menu entry for a view? If I could get > that working and Drupal only showed the menu entry to authenticated > users, that would be enough for me. That would do everything I need. > -- > [ Drupal support list | http://lists.drupal.org/ ] > Somewhat quick 'n dirty, but you could put the menu in a registered-user-only block to avoid the need for any extra modules to control access. Brian -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20081031/91e7daf8/attachment.htm From pkim at reachlocal.com Fri Oct 31 17:44:20 2008 From: pkim at reachlocal.com (Paul Kim) Date: Fri, 31 Oct 2008 10:44:20 -0700 Subject: [support] CCK field database storage discrepancy Message-ID: <490B43F4.6050605@reachlocal.com> I have a content type with several CCK fields. This site goes through the standard dev -> qa -> prod workflow, and so I have at least 3 different servers that need updates pushed on a regular basis. I'm doing this through a internal database script that I wrote, and using a patched (with the patch provided in the dbscripts module) content_copy.module for cck changes that allow updates to content types with CCK fields. I am finding that some fields' content in my dev box is stored as a column in the content_type_xxxx (where xxxx is the content type name) table, whereas they are being stored in the content_field_yyyy (where yyyy is the CCK field name) on the QA machine. For some reason, these fields on the QA machine aren't being properly inserted into the $node variable, and they aren't being saved properly either. What's the difference between these fields being saved in content_type_xxxx and content_field_yyyy? How do I make sure these CCK fields are stored in the same way across all three databases? Thanks! Paul From yched.drupal at free.fr Fri Oct 31 23:26:27 2008 From: yched.drupal at free.fr (Yves Chedemois) Date: Sat, 01 Nov 2008 00:26:27 +0100 Subject: [support] CCK field database storage discrepancy In-Reply-To: <490B43F4.6050605@reachlocal.com> References: <490B43F4.6050605@reachlocal.com> Message-ID: <490B9423.8060204@free.fr> Fields that : - are used in several content types - or allow multiple values are stored in a content_field_xxx table dedicated to this field. Other fields (single and non shared) are stored in a per-content-type content_type_yyy I won't enter in the rationale for this here, but that's the pattern. So obviously something went wrong in the migration of the definition of your content types. Hard to tell what, though, esp. if you're using a patched version of content_copy. Also note that content_copy D5 does not support *updating* the definition of a field that already exists on the target site. Might be different in D6, but I have to say that I didn't actually test it. The CCK issue queue would be a better place to post this, btw. Yched Paul Kim a ecrit le 31/10/2008 18:44: > I have a content type with several CCK fields. This site goes through > the standard dev -> qa -> prod workflow, and so I have at least 3 > different servers that need updates pushed on a regular basis. I'm doing > this through a internal database script that I wrote, and using a > patched (with the patch provided in the dbscripts module) > content_copy.module for cck changes that allow updates to content types > with CCK fields. > > I am finding that some fields' content in my dev box is stored as a > column in the content_type_xxxx (where xxxx is the content type name) > table, whereas they are being stored in the content_field_yyyy (where > yyyy is the CCK field name) on the QA machine. For some reason, these > fields on the QA machine aren't being properly inserted into the $node > variable, and they aren't being saved properly either. > > What's the difference between these fields being saved in > content_type_xxxx and content_field_yyyy? How do I make sure these CCK > fields are stored in the same way across all three databases? > > Thanks! > Paul >