From ratadi2 at gmail.com Fri Aug 1 03:51:46 2008 From: ratadi2 at gmail.com (geniekids) Date: Thu, 31 Jul 2008 20:51:46 -0700 (PDT) Subject: [support] How to show various fields of the referenced node in views Message-ID: <18760939.post@talk.nabble.com> I think my need is simple but after a whole lot of search i am unable to get it working - hence this post i have one cck with book name, book author, Book number, book publisher, book references etc ( and some more fields); Next i have another cck called bookreading_schedule with two fields - one date and another (a node reference) to the above book name. Now I want a view (based on node: 'bookreading_schedule') which lists the date and with the date lists its referred book name AND ALSO book author and book number (these four fields) Through node reference i got the book name to show up in the view next to the relevant date. but how do i get the selected fields (about the book) to show up. So, How do i get only the selected fields from the referred node to show up in views in tabular form thanks ratnesh -- View this message in context: http://www.nabble.com/How-to-show-various-fields-of-the-referenced-node-in-views-tp18760939p18760939.html Sent from the Drupal - Support mailing list archive at Nabble.com. From bharanikumariyerphp at gmail.com Fri Aug 1 06:21:45 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Fri, 1 Aug 2008 11:51:45 +0530 Subject: [support] Include JS file Message-ID: <2240033d0807312321p6a075dd2x41a1d362c084e0b4@mail.gmail.com> Hi How to include the JS file , I tried drupal_add_js , but file not included Any idea -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080801/6d7b0777/attachment-0001.htm From bharanikumariyerphp at gmail.com Fri Aug 1 06:26:54 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Fri, 1 Aug 2008 11:56:54 +0530 Subject: [support] How to disable Login Message-ID: <2240033d0807312326p4c6db443x2a537681a0a3780f@mail.gmail.com> Hi I have disable the login from block, But it is displaying, I dont know the exact reason... Any great idea -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080801/ef58d9ff/attachment.htm From rolf at openusource.com Fri Aug 1 06:26:38 2008 From: rolf at openusource.com (rolf at openusource.com) Date: Fri, 1 Aug 2008 08:26:38 +0200 (CEST) Subject: [support] Include JS file In-Reply-To: <2240033d0807312321p6a075dd2x41a1d362c084e0b4@mail.gmail.com> References: <2240033d0807312321p6a075dd2x41a1d362c084e0b4@mail.gmail.com> Message-ID: <20727.193.47.71.253.1217571998.squirrel@gigahost.dk> Hi, That's the way to do it! >From which file do you call drupal_add_js? Make sure that the PHP file is part of your running installation. Which version of drupal are you using? Regards, Rolfington > Hi > > > How to include the JS file , > > I tried drupal_add_js , > > but file not included > > Any idea > -- > [ Drupal support list | http://lists.drupal.org/ ] From bharanikumariyerphp at gmail.com Fri Aug 1 08:03:01 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Fri, 1 Aug 2008 13:33:01 +0530 Subject: [support] Include JS file In-Reply-To: <20727.193.47.71.253.1217571998.squirrel@gigahost.dk> References: <2240033d0807312321p6a075dd2x41a1d362c084e0b4@mail.gmail.com> <20727.193.47.71.253.1217571998.squirrel@gigahost.dk> Message-ID: <2240033d0808010103y6d683f0ah9aee179c72930f2c@mail.gmail.com> Am using drupal 5.7 i created the custom events display, in that i added the search event , for that search , i written the validation , I include the JS file,... in the top of the search form, But no use... drupal_add_js("event_search.js") strSearch = ""; for(i=0;i'; $block['content'].= '
'; $block['content'].= '
'; $block['content'].= '
'; $block['content'].= ''; $block['content'].= '
'; $block['content'].= ''; $block['content'].= '
'; $block['content'].= '
'; $block['content'].= ''; $block['content'].= ''; $block['content'].= '
'; Thanks u On Fri, Aug 1, 2008 at 11:56 AM, wrote: > Hi, > > That's the way to do it! > > >From which file do you call drupal_add_js? Make sure that the PHP file is > part of your running installation. > > Which version of drupal are you using? > > Regards, > Rolfington > > > Hi > > > > > > How to include the JS file , > > > > I tried drupal_add_js , > > > > but file not included > > > > Any idea > > -- > > [ 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/20080801/10f699b9/attachment.htm From rolf at openusource.com Fri Aug 1 08:23:42 2008 From: rolf at openusource.com (rolf at openusource.com) Date: Fri, 1 Aug 2008 10:23:42 +0200 (CEST) Subject: [support] Include JS file In-Reply-To: <2240033d0808010103y6d683f0ah9aee179c72930f2c@mail.gmail.com> References: <2240033d0807312321p6a075dd2x41a1d362c084e0b4@mail.gmail.com> <20727.193.47.71.253.1217571998.squirrel@gigahost.dk> <2240033d0808010103y6d683f0ah9aee179c72930f2c@mail.gmail.com> Message-ID: <7242.193.47.71.253.1217579022.squirrel@gigahost.dk> In drupal_add_js you will have to specify the path and name to your js file. If you are calling drupal_add_js in a module and the js file is located within the module directory, you should call the function like this: drupal_add_js(drupal_get_path('module', 'my_module').'/my_javascript.js'); If know the absolute path to the file, you should call the function like this: drupal_add_js('some/path/my_javascript.js'); Note that if you are working with some special modules it might be necessary to add $base_url to the absolute path, like this: global $base_url; drupal_add_js($base_url.'some/path/my_javascript.js'); Regards, rolfington > Am using drupal 5.7 > > i created the custom events display, > > in that i added the search event , > > for that search , i written the validation , > > I include the JS file,... > in the top of the search form, > > But no use... > > drupal_add_js("event_search.js") > strSearch = ""; > for(i=0;i strSearch+=arrSearch[i]+"+"; > } > if(strSearch!=""){ > strSearch = strSearch.substr(0,(strSearch.length-1)); > //alert(strSearch); > } > window.location.href="/site1/?q=search/node/event/"+strSearch; return > false;}'; > $block['content'].= '
name="frm_search_event" accept-charset="UTF-8" method="post" > id="search-form" class="search-form" onsubmit="return > event_search_validation();">'; > $block['content'].= '
'; > > $block['content'].= '
style="margin-right:100px;">
'; > $block['content'].= ' id="edit-keys" name="txt_search_event" size="25" value="" > class="form-text"/>'; > $block['content'].= '
'; > $block['content'].= ' src="files/images/btn-search-events.jpg" align="middle" width="96" > height="21 name="ops" id="edit-submits" value="Events Search" > class="form-submit" onClick="javascript:return goToEventSearch();" />'; > $block['content'].= '
'; > $block['content'].= '
'; > $block['content'].= ' id="edit-search-form-form-token" value="29ae915e9bd7e3eb6d8a484b7095fed5" > />'; > $block['content'].= ' id="edit-search-form" value="search_form" />'; > $block['content'].= '
'; > > Thanks u > > > > > > > On Fri, Aug 1, 2008 at 11:56 AM, wrote: > >> Hi, >> >> That's the way to do it! >> >> >From which file do you call drupal_add_js? Make sure that the PHP file >> is >> part of your running installation. >> >> Which version of drupal are you using? >> >> Regards, >> Rolfington >> >> > Hi >> > >> > >> > How to include the JS file , >> > >> > I tried drupal_add_js , >> > >> > but file not included >> > >> > Any idea >> > -- >> > [ Drupal support list | http://lists.drupal.org/ ] >> >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > -- > [ Drupal support list | http://lists.drupal.org/ ] From bharanikumariyerphp at gmail.com Fri Aug 1 08:29:02 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Fri, 1 Aug 2008 13:59:02 +0530 Subject: [support] Include JS file In-Reply-To: <7242.193.47.71.253.1217579022.squirrel@gigahost.dk> References: <2240033d0807312321p6a075dd2x41a1d362c084e0b4@mail.gmail.com> <20727.193.47.71.253.1217571998.squirrel@gigahost.dk> <2240033d0808010103y6d683f0ah9aee179c72930f2c@mail.gmail.com> <7242.193.47.71.253.1217579022.squirrel@gigahost.dk> Message-ID: <2240033d0808010129s7b4fbc92t49418a72ac1312a4@mail.gmail.com> *Parse error*: syntax error, unexpected T_STRING in * E:\WorkingProjects\site\modules\mEvents\mEvents.module* on line *27* On Fri, Aug 1, 2008 at 1:53 PM, wrote: > In drupal_add_js you will have to specify the path and name to your js > file. > > If you are calling drupal_add_js in a module and the js file is located > within the module directory, you should call the function like this: > > drupal_add_js(drupal_get_path('module', 'my_module').'/my_javascript.js'); > > If know the absolute path to the file, you should call the function like > this: > > drupal_add_js('some/path/my_javascript.js'); > > Note that if you are working with some special modules it might be > necessary to add $base_url to the absolute path, like this: > > global $base_url; > drupal_add_js($base_url.'some/path/my_javascript.js'); > > Regards, > rolfington > > > > Am using drupal 5.7 > > > > i created the custom events display, > > > > in that i added the search event , > > > > for that search , i written the validation , > > > > I include the JS file,... > > in the top of the search form, > > > > But no use... > > > > drupal_add_js("event_search.js") > > strSearch = ""; > > for(i=0;i > strSearch+=arrSearch[i]+"+"; > > } > > if(strSearch!=""){ > > strSearch = strSearch.substr(0,(strSearch.length-1)); > > //alert(strSearch); > > } > > window.location.href="/site1/?q=search/node/event/"+strSearch; return > > false;}'; > > $block['content'].= '
> name="frm_search_event" accept-charset="UTF-8" method="post" > > id="search-form" class="search-form" onsubmit="return > > event_search_validation();">'; > > $block['content'].= '
'; > > > > $block['content'].= '
> style="margin-right:100px;">
'; > > $block['content'].= ' > id="edit-keys" name="txt_search_event" size="25" value="" > > class="form-text"/>'; > > $block['content'].= '
'; > > $block['content'].= ' > src="files/images/btn-search-events.jpg" align="middle" width="96" > > height="21 name="ops" id="edit-submits" value="Events Search" > > class="form-submit" onClick="javascript:return goToEventSearch();" />'; > > $block['content'].= '
'; > > $block['content'].= '
'; > > $block['content'].= ' > id="edit-search-form-form-token" value="29ae915e9bd7e3eb6d8a484b7095fed5" > > />'; > > $block['content'].= ' > id="edit-search-form" value="search_form" />'; > > $block['content'].= '
'; > > > > Thanks u > > > > > > > > > > > > > > On Fri, Aug 1, 2008 at 11:56 AM, wrote: > > > >> Hi, > >> > >> That's the way to do it! > >> > >> >From which file do you call drupal_add_js? Make sure that the PHP file > >> is > >> part of your running installation. > >> > >> Which version of drupal are you using? > >> > >> Regards, > >> Rolfington > >> > >> > Hi > >> > > >> > > >> > How to include the JS file , > >> > > >> > I tried drupal_add_js , > >> > > >> > but file not included > >> > > >> > Any idea > >> > -- > >> > [ Drupal support list | http://lists.drupal.org/ ] > >> > >> > >> -- > >> [ Drupal support list | http://lists.drupal.org/ ] > >> > > -- > > [ Drupal support list | http://lists.drupal.org/ ] > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080801/59a50761/attachment-0001.htm From florent.jousseaume at makina-corpus.com Fri Aug 1 09:02:14 2008 From: florent.jousseaume at makina-corpus.com (Florent JOUSSEAUME) Date: Fri, 01 Aug 2008 11:02:14 +0200 Subject: [support] How to disable Login In-Reply-To: <2240033d0807312326p4c6db443x2a537681a0a3780f@mail.gmail.com> References: <2240033d0807312326p4c6db443x2a537681a0a3780f@mail.gmail.com> Message-ID: <4892D116.9070205@makina-corpus.com> Hi, Is it displayed at the same place ? Did you disable the block for your personal theme ? Florent, bharani kumar a ?crit : > Hi > > I have disable the login from block, > > But it is displaying, > > I dont know the exact reason... > > > Any great idea -- MakinaCorpus - florent.jousseaume at makina-corpus.com - 02.51.79.80.83 D?veloppeur DRUPAL 44, Boulevard des Pas Enchant?s -- 44230 ST SEBASTIEN SUR LOIRE - FRANCE From bharanikumariyerphp at gmail.com Fri Aug 1 09:11:25 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Fri, 1 Aug 2008 14:41:25 +0530 Subject: [support] How to disable Login In-Reply-To: <4892D116.9070205@makina-corpus.com> References: <2240033d0807312326p4c6db443x2a537681a0a3780f@mail.gmail.com> <4892D116.9070205@makina-corpus.com> Message-ID: <2240033d0808010211o166779b2ma8939e84fb1244c4@mail.gmail.com> yes, ... i created the event detail module, I that i create custom event search, and i display that in my own theme... On Fri, Aug 1, 2008 at 2:32 PM, Florent JOUSSEAUME < florent.jousseaume at makina-corpus.com> wrote: > Hi, > > Is it displayed at the same place ? Did you disable the block for your > personal theme ? > > Florent, > > bharani kumar a ?crit : > > Hi > > > > I have disable the login from block, > > > > But it is displaying, > > > > I dont know the exact reason... > > > > > > Any great idea > > > -- > MakinaCorpus - florent.jousseaume at makina-corpus.com - 02.51.79.80.83 > D?veloppeur DRUPAL > 44, Boulevard des Pas Enchant?s -- 44230 ST SEBASTIEN SUR LOIRE - FRANCE > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080801/7fbc07d2/attachment.htm From florent.jousseaume at makina-corpus.com Fri Aug 1 09:23:21 2008 From: florent.jousseaume at makina-corpus.com (Florent JOUSSEAUME) Date: Fri, 01 Aug 2008 11:23:21 +0200 Subject: [support] how to disable the warnings In-Reply-To: <2240033d0807310951i836461bj5588d37bd6867262@mail.gmail.com> References: <2240033d0807310940x31899ba8n52fa193db181adbc@mail.gmail.com> <51182f4c0807310948x3bb7bf9aracfd87406987f085@mail.gmail.com> <2240033d0807310951i836461bj5588d37bd6867262@mail.gmail.com> Message-ID: <4892D609.3090301@makina-corpus.com> Case 1 : Displayed on screen and written in drupal's log Case 2 : Not displayed on screen but written in drupal's log bharani kumar a ?crit : > kkkkkkkkkk...... > > i also guess that one... but after ur mail i confirmed,,thanks,,, > > can u tell me... in that combo..there are two selection..what is the diff > > > can u plzzzzzzz > > On Thu, Jul 31, 2008 at 10:18 PM, Denis Lafont-Trevisan > > wrote: > > Administer ? Site > configuration > > Error Reporting > > On Thu, Jul 31, 2008 at 6:40 PM, bharani kumar > > wrote: > > Hi > > In drupal, how to disable the WARNING MSG > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > -- MakinaCorpus - florent.jousseaume at makina-corpus.com - 02.51.79.80.83 D?veloppeur DRUPAL 44, Boulevard des Pas Enchant?s -- 44230 ST SEBASTIEN SUR LOIRE - FRANCE From net at twoedged.org Fri Aug 1 09:31:56 2008 From: net at twoedged.org (John Fletcher) Date: Fri, 1 Aug 2008 11:31:56 +0200 Subject: [support] Views and i18n show other locale nodes In-Reply-To: <328977.8480.bm@omp102.mail.re1.yahoo.com> References: <712565.62650.bm@omp406.mail.mud.yahoo.com> <328977.8480.bm@omp102.mail.re1.yahoo.com> Message-ID: <000e01c8f3b9$724d0a50$56e71ef0$@org> Views recently changed how it deals with other language nodes. Previously it would only grab nodes for a view if they were in the same language as the language you are currently viewing. Now a view will grab all nodes by default. However a filter has been added which allows you to specify ?current language? or any particular language, to avoid this. From: marolijo - Pol Maresma Solved! I have more details... the problem is on the Imagecache derivate image generated as link, it links to the EN version. But if I generate a link on the views template with the NID it's ok. (so the NID are the CA version NID) Does anyone know if Imagecache with link on sincronized CCK imagefield syncronizes the link too? Thank's! Hi, I have a view on a site with 3 languages (en-es-ca) Suddenly, the view is showing the EN nodes when I'm on CA, but working well when I'm on ES. Any idea? I cleared the cache views... thank's! __________ Informaci?n de NOD32, revisi?n 3303 (20080728) __________ Este mensaje ha sido analizado con NOD32 antivirus system http://www.nod32.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080801/32615f17/attachment.htm From shai at content2zero.com Fri Aug 1 18:21:08 2008 From: shai at content2zero.com (Shai Gluskin) Date: Fri, 1 Aug 2008 14:21:08 -0400 Subject: [support] How to show various fields of the referenced node in views In-Reply-To: <18760939.post@talk.nabble.com> References: <18760939.post@talk.nabble.com> Message-ID: <9f68efb70808011121r41ca03e8s3cd12ecff9707c0a@mail.gmail.com> geniekids, In D6 I think this is pretty straightforward using, what I think is called, a "relationship" in Views. I'm still using 5 though, and can't speak first hand to that. In D5 you can do something I think this is pretty easy to do with PHP at the theming layer. I've watched someone do it, but haven't done it myself. It's also possible to do something like this. It's a bit complicated, I'm just learning -- using Panels 2. Also, I know how to do this to display one record at time (e.g. if you display the Book node page, the relevant info from the bookreading_schedule will also show up. If more than one reading is associated to the book -- then they will all show up. But it is one book at a time.) This is rough, but it may get you started. 1. Make a View for the book-scheduling node type. For display, choose a page and Full node, teaser, list, doesn't matter, whatever info you want to show from the book-scheduling node type. Filter on "node-type is one of booksheduling'. Add an argument which is the node-reference. 2. Make a panel page. Give it a title, makde the URL: node/%. THEN, Go to the "context" tab and add "Node ID" as an argument. Make sure to select the right box from the "node type" list -- in this case the book node type. 3. After you save that go to panes -> views pages. There you import the view you created in step one. 4. Now you go to the "content" tab of your panel. Click on one of the "+" symbols. From there you add "Node ID Content". Save. Go back to Content, click "+" and click on the Views pane that you imported. Remember this is panels 2. Get the most recent version. Remember in panels that you always need to keep saving every step or you lose it. Anything in yellow needs to be saved. I'm sure I'm forgetting something. Because this only does one record at a time, you might be looking for a different solution. Hope this at least adds to the conversation. Report back, Shai On Thu, Jul 31, 2008 at 11:51 PM, geniekids wrote: > > I think my need is simple but after a whole lot of search i am unable to > get > it working - hence this post > > i have one cck with book name, book author, Book number, book publisher, > book references etc ( and some more fields); > > Next i have another cck called bookreading_schedule with two fields - one > date and another (a node reference) to the above book name. > > Now I want a view (based on node: 'bookreading_schedule') which lists the > date and with the date lists its referred book name AND ALSO book author > and > book number (these four fields) > Through node reference i got the book name to show up in the view next to > the relevant date. > but how do i get the selected fields (about the book) to show up. > > So, How do i get only the selected fields from the referred node to show up > in views in tabular form > thanks > ratnesh > -- > View this message in context: > http://www.nabble.com/How-to-show-various-fields-of-the-referenced-node-in-views-tp18760939p18760939.html > Sent from the Drupal - Support mailing list archive at Nabble.com. > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080801/5e56481c/attachment-0001.htm From john at rivul.com Sat Aug 2 01:28:39 2008 From: john at rivul.com (John Horning) Date: Fri, 01 Aug 2008 21:28:39 -0400 Subject: [support] path problem In-Reply-To: <9406ee920807301655n22fa5f10h31741f0173fd0ce7@mail.gmail.com> References: <9406ee920807301655n22fa5f10h31741f0173fd0ce7@mail.gmail.com> Message-ID: <4893B847.8020509@rivul.com> An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080801/95382bf8/attachment.htm From bharanikumariyerphp at gmail.com Sat Aug 2 06:49:20 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Sat, 2 Aug 2008 12:19:20 +0530 Subject: [support] PATHAUTO not aliased all nodes Message-ID: <2240033d0808012349l2d244051x1f74faae9e62fa77@mail.gmail.com> Hi I am using the PATHAUTO module, ITs working fine, for few number of record, Am having around 25000 record, I tried , but only few no of record only aliased, Any idea for this situation Thanks Regards B.S.Bharani Kumar -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080802/bdd3d908/attachment.htm From victorkane at gmail.com Sat Aug 2 10:58:14 2008 From: victorkane at gmail.com (Victor Kane) Date: Sat, 2 Aug 2008 07:58:14 -0300 Subject: [support] path problem In-Reply-To: <4893B847.8020509@rivul.com> References: <9406ee920807301655n22fa5f10h31741f0173fd0ce7@mail.gmail.com> <4893B847.8020509@rivul.com> Message-ID: Try the following: /box_bottom.png " /> Victor Kane http://awebfactory.com.ar On Fri, Aug 1, 2008 at 10:28 PM, John Horning wrote: > Apparently Drupal does not allow you to reference absolute URL paths in > scripts, which is causing me a problem. I have a script in my page.tpl.php > that randomly picks images from a directory and displays them in the > header. This works when you're on the top level, but not below since I'm > using a relative path to get to the image directory. Can anyone tell me the > proper way of doing this? > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080802/12a89df9/attachment.htm From victorkane at gmail.com Sat Aug 2 10:59:57 2008 From: victorkane at gmail.com (Victor Kane) Date: Sat, 2 Aug 2008 07:59:57 -0300 Subject: [support] PATHAUTO not aliased all nodes In-Reply-To: <2240033d0808012349l2d244051x1f74faae9e62fa77@mail.gmail.com> References: <2240033d0808012349l2d244051x1f74faae9e62fa77@mail.gmail.com> Message-ID: If you are referring to bulk operations on unaliased paths, there is a maximum it will do every time. Keep on truckin'!! Victor Kane http://awebfactory.com.ar On Sat, Aug 2, 2008 at 3:49 AM, bharani kumar wrote: > Hi > > I am using the PATHAUTO module, > > ITs working fine, for few number of record, > > Am having around 25000 record, > > I tried , but only few no of record only aliased, > > Any idea for this situation > > Thanks > Regards > > B.S.Bharani Kumar > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080802/e5823ac2/attachment.htm From bharanikumariyerphp at gmail.com Sat Aug 2 11:16:03 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Sat, 2 Aug 2008 16:46:03 +0530 Subject: [support] PATHAUTO not aliased all nodes In-Reply-To: References: <2240033d0808012349l2d244051x1f74faae9e62fa77@mail.gmail.com> Message-ID: <2240033d0808020416kc6d2afboab7eba74f1211f02@mail.gmail.com> at the time shall i alias the 8000 records, For that i need to change the max execution time in php.ini ? On Sat, Aug 2, 2008 at 4:29 PM, Victor Kane wrote: > If you are referring to bulk operations on unaliased paths, there is a > maximum it will do every time. > > Keep on truckin'!! > > Victor Kane > http://awebfactory.com.ar > > On Sat, Aug 2, 2008 at 3:49 AM, bharani kumar < > bharanikumariyerphp at gmail.com> wrote: > >> Hi >> >> I am using the PATHAUTO module, >> >> ITs working fine, for few number of record, >> >> Am having around 25000 record, >> >> I tried , but only few no of record only aliased, >> >> Any idea for this situation >> >> Thanks >> Regards >> >> B.S.Bharani Kumar >> >> -- >> [ 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/20080802/bee6d5ee/attachment.htm From victorkane at gmail.com Sat Aug 2 11:38:45 2008 From: victorkane at gmail.com (Victor Kane) Date: Sat, 2 Aug 2008 08:38:45 -0300 Subject: [support] PATHAUTO not aliased all nodes In-Reply-To: <2240033d0808020416kc6d2afboab7eba74f1211f02@mail.gmail.com> References: <2240033d0808012349l2d244051x1f74faae9e62fa77@mail.gmail.com> <2240033d0808020416kc6d2afboab7eba74f1211f02@mail.gmail.com> Message-ID: No, just execute many times. See the Drupal Handbook, in general, and in particular, this page: http://drupal.org/node/236304 (Bulk updating Pathauto node aliases from cron or command line). Victor Kane http://awebfactory.com.ar On Sat, Aug 2, 2008 at 8:16 AM, bharani kumar wrote: > at the time shall i alias the 8000 records, > > For that i need to change the max execution time in php.ini ? > > > On Sat, Aug 2, 2008 at 4:29 PM, Victor Kane wrote: > >> If you are referring to bulk operations on unaliased paths, there is a >> maximum it will do every time. >> >> Keep on truckin'!! >> >> Victor Kane >> http://awebfactory.com.ar >> >> On Sat, Aug 2, 2008 at 3:49 AM, bharani kumar < >> bharanikumariyerphp at gmail.com> wrote: >> >>> Hi >>> >>> I am using the PATHAUTO module, >>> >>> ITs working fine, for few number of record, >>> >>> Am having around 25000 record, >>> >>> I tried , but only few no of record only aliased, >>> >>> Any idea for this situation >>> >>> Thanks >>> Regards >>> >>> B.S.Bharani Kumar >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >> >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080802/dc927338/attachment.htm From john at rivul.com Sat Aug 2 12:15:16 2008 From: john at rivul.com (John Horning) Date: Sat, 02 Aug 2008 08:15:16 -0400 Subject: [support] path problem In-Reply-To: References: <9406ee920807301655n22fa5f10h31741f0173fd0ce7@mail.gmail.com> <4893B847.8020509@rivul.com> Message-ID: <48944FD4.2070006@rivul.com> An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080802/79e23cbd/attachment-0001.htm From victorkane at gmail.com Sat Aug 2 12:23:16 2008 From: victorkane at gmail.com (Victor Kane) Date: Sat, 2 Aug 2008 09:23:16 -0300 Subject: [support] path problem In-Reply-To: <48944FD4.2070006@rivul.com> References: <9406ee920807301655n22fa5f10h31741f0173fd0ce7@mail.gmail.com> <4893B847.8020509@rivul.com> <48944FD4.2070006@rivul.com> Message-ID: As URL? Assuming it were ./files, then try sthg like On Sat, Aug 2, 2008 at 9:15 AM, John Horning wrote: > Thanks. Is there something like that to get me to the files directory? > John > > Victor Kane wrote: > > Try the following: > > /box_bottom.png > > " > /> > > Victor Kane > http://awebfactory.com.ar > > On Fri, Aug 1, 2008 at 10:28 PM, John Horning wrote: > >> Apparently Drupal does not allow you to reference absolute URL paths in >> scripts, which is causing me a problem. I have a script in my page.tpl.php >> that randomly picks images from a directory and displays them in the >> header. This works when you're on the top level, but not below since I'm >> using a relative path to get to the image directory. Can anyone tell me the >> proper way of doing this? >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > No virus found in this incoming message. > Checked by AVG - http://www.avg.com > Version: 8.0.138 / Virus Database: 270.5.10/1585 - Release Date: 8/1/2008 6:39 AM > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080802/b6d9cb8d/attachment.htm From john at rivul.com Sat Aug 2 14:44:30 2008 From: john at rivul.com (John Horning) Date: Sat, 02 Aug 2008 10:44:30 -0400 Subject: [support] path problem In-Reply-To: References: <9406ee920807301655n22fa5f10h31741f0173fd0ce7@mail.gmail.com> <4893B847.8020509@rivul.com> <48944FD4.2070006@rivul.com> Message-ID: <489472CE.9040000@rivul.com> An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080802/80c29923/attachment.htm From john at rivul.com Sat Aug 2 16:01:30 2008 From: john at rivul.com (John Horning) Date: Sat, 02 Aug 2008 12:01:30 -0400 Subject: [support] path problem In-Reply-To: <489472CE.9040000@rivul.com> References: <9406ee920807301655n22fa5f10h31741f0173fd0ce7@mail.gmail.com> <4893B847.8020509@rivul.com> <48944FD4.2070006@rivul.com> <489472CE.9040000@rivul.com> Message-ID: <489484DA.1020505@rivul.com> An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080802/920086a0/attachment.htm From victorkane at gmail.com Sat Aug 2 17:07:21 2008 From: victorkane at gmail.com (Victor Kane) Date: Sat, 2 Aug 2008 14:07:21 -0300 Subject: [support] path problem In-Reply-To: <489484DA.1020505@rivul.com> References: <9406ee920807301655n22fa5f10h31741f0173fd0ce7@mail.gmail.com> <4893B847.8020509@rivul.com> <48944FD4.2070006@rivul.com> <489472CE.9040000@rivul.com> <489484DA.1020505@rivul.com> Message-ID: Well, assuming you are talking about URLs, you should be all set. All Drupal modules see the world from the Drupal document root, so should be fine for a URL. What is it you cannot get done? On Sat, Aug 2, 2008 at 1:01 PM, John Horning wrote: > Do you know anything about file_directory_path()? It returns "files", > which is correct for use from the home directory, but not useful on other > levels. > > > John Horning wrote: > > I can't get anything other than "/" returned by base_path(), regardless of > the level I'm on. I must be missing something. > > > Victor Kane wrote: > > As URL? > > Assuming it were ./files, then try sthg like > > On Sat, Aug 2, 2008 at 9:15 AM, John Horning wrote: > >> Thanks. Is there something like that to get me to the files directory? >> John >> >> Victor Kane wrote: >> >> Try the following: >> >> /box_bottom.png >> >> " >> /> >> >> Victor Kane >> http://awebfactory.com.ar >> >> On Fri, Aug 1, 2008 at 10:28 PM, John Horning wrote: >> >>> Apparently Drupal does not allow you to reference absolute URL paths in >>> scripts, which is causing me a problem. I have a script in my page.tpl.php >>> that randomly picks images from a directory and displays them in the >>> header. This works when you're on the top level, but not below since I'm >>> using a relative path to get to the image directory. Can anyone tell me the >>> proper way of doing this? >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >> >> No virus found in this incoming message. >> Checked by AVG - http://www.avg.com >> Version: 8.0.138 / Virus Database: 270.5.10/1585 - Release Date: 8/1/2008 6:39 AM >> >> >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > No virus found in this incoming message. > Checked by AVG - http://www.avg.com > Version: 8.0.138 / Virus Database: 270.5.10/1586 - Release Date: 8/1/2008 6:59 PM > > > No virus found in this incoming message. > Checked by AVG - http://www.avg.com > Version: 8.0.138 / Virus Database: 270.5.10/1586 - Release Date: 8/1/2008 6:59 PM > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080802/27538d14/attachment-0001.htm From michel at ziobudda.net Sat Aug 2 22:41:17 2008 From: michel at ziobudda.net (Davide Michel 'ZioBudda' Morelli) Date: Sun, 03 Aug 2008 00:41:17 +0200 Subject: [support] Block, themes and no set Message-ID: <4894E28D.3040506@ziobudda.net> Hi all. I have a theme called zio2008 into my sites/all/themes directory. In the template.php I have: function zio2008_regions() { return array( 'right' => t('right2 sidebar'), 'footer' => t('footer'), ); } My problem is that when I go to admin/block section, for add a block to the "right" section, and click on the zio2008 configuration link I continue to see my default theme, and not "zio2008" theme. The problem is the same for all other themes link (garland, pushbotton, etc); Where is my error ? 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 gmail.com From john at rivul.com Sun Aug 3 02:20:42 2008 From: john at rivul.com (John Horning) Date: Sat, 02 Aug 2008 22:20:42 -0400 Subject: [support] path problem In-Reply-To: References: <9406ee920807301655n22fa5f10h31741f0173fd0ce7@mail.gmail.com> <4893B847.8020509@rivul.com> <48944FD4.2070006@rivul.com> <489472CE.9040000@rivul.com> <489484DA.1020505@rivul.com> Message-ID: <489515FA.50601@rivul.com> An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080802/b935265c/attachment.htm From victorkane at gmail.com Sun Aug 3 11:06:59 2008 From: victorkane at gmail.com (Victor Kane) Date: Sun, 3 Aug 2008 08:06:59 -0300 Subject: [support] path problem In-Reply-To: <489515FA.50601@rivul.com> References: <9406ee920807301655n22fa5f10h31741f0173fd0ce7@mail.gmail.com> <4893B847.8020509@rivul.com> <48944FD4.2070006@rivul.com> <489472CE.9040000@rivul.com> <489484DA.1020505@rivul.com> <489515FA.50601@rivul.com> Message-ID: ok, John, you have to understand the difference between URLs, on the one hand, and file system paths, on the other. When you are generating a path for an image, say a logo, in order to specify a SRC attribute, that path must be a URL for apache to use and not a file system path. In other words, either " http://example.com/sites/all/themes/my_theme/images/cool_logo.png", or a relative URL (relative to the Drupal document root) "/sites/all/themes/my_theme/images/cool_logo.png". This is complicated by the fact that for CSS, a background image would be: #mission { background transparent url(images/background.png); } Now, let's say you need to get the file system path to an image in order to open it up and get its properties, however, like width and height, because you want to make a thumbnail on the fly. The following works for me. Assuming I open up an image node and can access its $file -> filepath property. The absolute path can be attained like this: $filedir = realpath('.') . '/' . $file -> filepath; $info = image_get_info($filedir); That works for me, perhaps someone has a better way of doing this. The relative file system path woujld be your "opendir(files/path_to_image)", which works in many cases (all?). The reason it works is because the current directory is the Drupal document root (is where PHP is executing normally), so my absolute path above depends on this (realpath(".")) as does your relative path. Perhaps the best lesson is, if it works for you, use it. But you must understand the difference between URLs and functions which return URLs, and file system paths, and functions which return these. Victor Kane http://awebfactory.com.ar On Sat, Aug 2, 2008 at 11:20 PM, John Horning wrote: > For some reason this works from deeper directory levels: > opendir("files/"); > but this doesn't: opendir(base_path() ."files/"); > > Is this a misapplication? > > > > Victor Kane wrote: > > Well, assuming you are talking about URLs, you should be all set. All > Drupal modules see the world from the Drupal document root, so base_path() . 'files' ?> should be fine for a URL. > > What is it you cannot get done? > > On Sat, Aug 2, 2008 at 1:01 PM, John Horning wrote: > >> Do you know anything about file_directory_path()? It returns "files", >> which is correct for use from the home directory, but not useful on other >> levels. >> >> >> John Horning wrote: >> >> I can't get anything other than "/" returned by base_path(), regardless of >> the level I'm on. I must be missing something. >> >> >> Victor Kane wrote: >> >> As URL? >> >> Assuming it were ./files, then try sthg like > ?> >> >> On Sat, Aug 2, 2008 at 9:15 AM, John Horning wrote: >> >>> Thanks. Is there something like that to get me to the files directory? >>> John >>> >>> Victor Kane wrote: >>> >>> Try the following: >>> >>> /box_bottom.png >>> >>> >> ?>" /> >>> >>> Victor Kane >>> http://awebfactory.com.ar >>> >>> On Fri, Aug 1, 2008 at 10:28 PM, John Horning wrote: >>> >>>> Apparently Drupal does not allow you to reference absolute URL paths in >>>> scripts, which is causing me a problem. I have a script in my page.tpl.php >>>> that randomly picks images from a directory and displays them in the >>>> header. This works when you're on the top level, but not below since I'm >>>> using a relative path to get to the image directory. Can anyone tell me the >>>> proper way of doing this? >>>> >>>> -- >>>> [ Drupal support list | http://lists.drupal.org/ ] >>>> >>> >>> No virus found in this incoming message. >>> Checked by AVG - http://www.avg.com >>> Version: 8.0.138 / Virus Database: 270.5.10/1585 - Release Date: 8/1/2008 6:39 AM >>> >>> >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >> >> No virus found in this incoming message. >> Checked by AVG - http://www.avg.com >> Version: 8.0.138 / Virus Database: 270.5.10/1586 - Release Date: 8/1/2008 6:59 PM >> >> >> No virus found in this incoming message. >> Checked by AVG - http://www.avg.com >> Version: 8.0.138 / Virus Database: 270.5.10/1586 - Release Date: 8/1/2008 6:59 PM >> >> >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > No virus found in this incoming message. > Checked by AVG - http://www.avg.com > Version: 8.0.138 / Virus Database: 270.5.10/1586 - Release Date: 8/1/2008 6:59 PM > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080803/11562c86/attachment.htm From ratadi2 at gmail.com Sun Aug 3 16:01:17 2008 From: ratadi2 at gmail.com (geniekids) Date: Sun, 3 Aug 2008 09:01:17 -0700 (PDT) Subject: [support] getting blank pages randomly Message-ID: <18683865.post@talk.nabble.com> Drupal is throwing blank pages randomly. Funnily this happens in one browser say firefox, but at the same time doesn't happen in internet explorer. It typically happens when i click on a ADD or an EDIT button (say add a view or add a cck field or has even happened with "edit profile" in one computer in my office - and when at the same time I tried edit profile in my comp - it worked fine (but only in internet explorer) I have done the follwing but to no avail 1. Increased memeory limit in php.ini first to 32M and finally even to 64M 2. Cleared cache database of Drupal using Devel & ran corn (have done this a number of times) 3. Cleared cache of my browsers (both ie and firefox) 4. I had removed most of the modules - save the very important ones like cck and views. 5. Have even completely removed views and then reinstalled it 6. Have checked version of the few modules installed - all match with D5.1 that i am using please help geniekids -- View this message in context: http://www.nabble.com/getting-blank-pages-randomly-tp18683865p18683865.html Sent from the Drupal - Support mailing list archive at Nabble.com. From william.darren at gmail.com Sun Aug 3 16:09:04 2008 From: william.darren at gmail.com (William Smith) Date: Sun, 3 Aug 2008 12:09:04 -0400 Subject: [support] getting blank pages randomly In-Reply-To: <18683865.post@talk.nabble.com> References: <18683865.post@talk.nabble.com> Message-ID: <74630ca20808030909p3d1a3bdnb7e71df0c300a79@mail.gmail.com> Is your server set to display errors? It could be that you are getting a php error somewhere but that Apache is set with error reporting off. You could check the server logs to find out. On Sun, Aug 3, 2008 at 12:01 PM, geniekids wrote: > > Drupal is throwing blank pages randomly. > Funnily this happens in one browser say firefox, but at the same time > doesn't happen in internet explorer. > It typically happens when i click on a ADD or an EDIT button (say add a > view > or add a cck field or has even happened with "edit profile" in one computer > in my office - and when at the same time I tried edit profile in my comp - > it worked fine (but only in internet explorer) > > I have done the follwing but to no avail > 1. Increased memeory limit in php.ini first to 32M and finally even to 64M > 2. Cleared cache database of Drupal using Devel & ran corn (have done this > a number of times) > 3. Cleared cache of my browsers (both ie and firefox) > 4. I had removed most of the modules - save the very important ones like > cck > and views. > 5. Have even completely removed views and then reinstalled it > 6. Have checked version of the few modules installed - all match with D5.1 > that i am using > > please help > > geniekids > -- > View this message in context: > http://www.nabble.com/getting-blank-pages-randomly-tp18683865p18683865.html > Sent from the Drupal - Support mailing list archive at Nabble.com. > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080803/b48c4d87/attachment.htm From denis.lafont at gmail.com Sun Aug 3 17:11:57 2008 From: denis.lafont at gmail.com (Denis Lafont-Trevisan) Date: Sun, 3 Aug 2008 19:11:57 +0200 Subject: [support] getting blank pages randomly In-Reply-To: <18683865.post@talk.nabble.com> References: <18683865.post@talk.nabble.com> Message-ID: <51182f4c0808031011k6e0cae5cu17f13b3522fe4b45@mail.gmail.com> Are you using eAccelerator or a PHP opcode cache server side? Denis On Sun, Aug 3, 2008 at 6:01 PM, geniekids wrote: > > Drupal is throwing blank pages randomly. > Funnily this happens in one browser say firefox, but at the same time > doesn't happen in internet explorer. > It typically happens when i click on a ADD or an EDIT button (say add a > view > or add a cck field or has even happened with "edit profile" in one computer > in my office - and when at the same time I tried edit profile in my comp - > it worked fine (but only in internet explorer) > > I have done the follwing but to no avail > 1. Increased memeory limit in php.ini first to 32M and finally even to 64M > 2. Cleared cache database of Drupal using Devel & ran corn (have done this > a number of times) > 3. Cleared cache of my browsers (both ie and firefox) > 4. I had removed most of the modules - save the very important ones like > cck > and views. > 5. Have even completely removed views and then reinstalled it > 6. Have checked version of the few modules installed - all match with D5.1 > that i am using > > please help > > geniekids > -- > View this message in context: > http://www.nabble.com/getting-blank-pages-randomly-tp18683865p18683865.html > Sent from the Drupal - Support mailing list archive at Nabble.com. > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080803/0d5a88aa/attachment.htm From ratadi2 at gmail.com Sun Aug 3 17:35:24 2008 From: ratadi2 at gmail.com (Ratty's Email) Date: Sun, 3 Aug 2008 23:05:24 +0530 Subject: [support] getting blank pages randomly In-Reply-To: <74630ca20808030909p3d1a3bdnb7e71df0c300a79@mail.gmail.com> References: <18683865.post@talk.nabble.com> <74630ca20808030909p3d1a3bdnb7e71df0c300a79@mail.gmail.com> Message-ID: if i enable *error reporting to screen - * i get the follwing error - at the top of my home page - does this give pointers?? (Also i had swtihced off page cache after reading somehwere in forums that it helps - but it hasen"t in my case :-) *Warning*: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/genie/public_html/index.php:8) in * /home/genie/public_html/includes/bootstrap.inc* on line *862* *Warning*: Cannot modify header information - headers already sent by (output started at /home/genie/public_html/index.php:8) in * /home/genie/public_html/includes/bootstrap.inc* on line *531* *Warning*: Cannot modify header information - headers already sent by (output started at /home/genie/public_html/index.php:8) in * /home/genie/public_html/includes/bootstrap.inc* on line *532* *Warning*: Cannot modify header information - headers already sent by (output started at /home/genie/public_html/index.php:8) in * /home/genie/public_html/includes/bootstrap.inc* on line *533* *Warning*: Cannot modify header information - headers already sent by (output started at /home/genie/public_html/index.php:8) in * /home/genie/public_html/includes/bootstrap.inc* on line *534* *Warning*: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in * /home/genie/public_html/includes/module.inc* on line *217* *Warning*: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in * /home/genie/public_html/includes/module.inc* on line *217* let me know thanks ratnesh On Sun, Aug 3, 2008 at 9:39 PM, William Smith wrote: > Is your server set to display errors? It could be that you are getting a > php error somewhere but that Apache is set with error reporting off. You > could check the server logs to find out. > > > > On Sun, Aug 3, 2008 at 12:01 PM, geniekids wrote: > >> >> Drupal is throwing blank pages randomly. >> Funnily this happens in one browser say firefox, but at the same time >> doesn't happen in internet explorer. >> It typically happens when i click on a ADD or an EDIT button (say add a >> view >> or add a cck field or has even happened with "edit profile" in one >> computer >> in my office - and when at the same time I tried edit profile in my comp - >> it worked fine (but only in internet explorer) >> >> I have done the follwing but to no avail >> 1. Increased memeory limit in php.ini first to 32M and finally even to 64M >> 2. Cleared cache database of Drupal using Devel & ran corn (have done >> this >> a number of times) >> 3. Cleared cache of my browsers (both ie and firefox) >> 4. I had removed most of the modules - save the very important ones like >> cck >> and views. >> 5. Have even completely removed views and then reinstalled it >> 6. Have checked version of the few modules installed - all match with D5.1 >> that i am using >> >> please help >> >> geniekids >> -- >> View this message in context: >> http://www.nabble.com/getting-blank-pages-randomly-tp18683865p18683865.html >> Sent from the Drupal - Support mailing list archive at Nabble.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/20080803/5337003d/attachment.htm From ratadi2 at gmail.com Sun Aug 3 17:36:25 2008 From: ratadi2 at gmail.com (Ratty's Email) Date: Sun, 3 Aug 2008 23:06:25 +0530 Subject: [support] getting blank pages randomly In-Reply-To: <51182f4c0808031011k6e0cae5cu17f13b3522fe4b45@mail.gmail.com> References: <18683865.post@talk.nabble.com> <51182f4c0808031011k6e0cae5cu17f13b3522fe4b45@mail.gmail.com> Message-ID: i have no idea - i do not control my server - my hosts do (i use hostgator as my host) - do i need to find from them? this is too teachnical for me :-( On Sun, Aug 3, 2008 at 10:41 PM, Denis Lafont-Trevisan < denis.lafont at gmail.com> wrote: > Are you using eAccelerator or a PHP opcode cache server side? > > Denis > > > On Sun, Aug 3, 2008 at 6:01 PM, geniekids wrote: > >> >> Drupal is throwing blank pages randomly. >> Funnily this happens in one browser say firefox, but at the same time >> doesn't happen in internet explorer. >> It typically happens when i click on a ADD or an EDIT button (say add a >> view >> or add a cck field or has even happened with "edit profile" in one >> computer >> in my office - and when at the same time I tried edit profile in my comp - >> it worked fine (but only in internet explorer) >> >> I have done the follwing but to no avail >> 1. Increased memeory limit in php.ini first to 32M and finally even to 64M >> 2. Cleared cache database of Drupal using Devel & ran corn (have done >> this >> a number of times) >> 3. Cleared cache of my browsers (both ie and firefox) >> 4. I had removed most of the modules - save the very important ones like >> cck >> and views. >> 5. Have even completely removed views and then reinstalled it >> 6. Have checked version of the few modules installed - all match with D5.1 >> that i am using >> >> please help >> >> geniekids >> -- >> View this message in context: >> http://www.nabble.com/getting-blank-pages-randomly-tp18683865p18683865.html >> Sent from the Drupal - Support mailing list archive at Nabble.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/20080803/f190b730/attachment.htm From victorkane at gmail.com Sun Aug 3 18:31:51 2008 From: victorkane at gmail.com (Victor Kane) Date: Sun, 3 Aug 2008 15:31:51 -0300 Subject: [support] getting blank pages randomly In-Reply-To: References: <18683865.post@talk.nabble.com> <51182f4c0808031011k6e0cae5cu17f13b3522fe4b45@mail.gmail.com> Message-ID: Have you been working on a theme with php, or a block, and left a space after the closing ?> tag? It is recommended to leave off the closing tag when using php tags completely. On Sun, Aug 3, 2008 at 2:36 PM, Ratty's Email wrote: > i have no idea - i do not control my server - my hosts do (i use hostgator > as my host) - do i need to find from them? > this is too teachnical for me :-( > > On Sun, Aug 3, 2008 at 10:41 PM, Denis Lafont-Trevisan < > denis.lafont at gmail.com> wrote: > >> Are you using eAccelerator or a PHP opcode cache server side? >> >> Denis >> >> >> On Sun, Aug 3, 2008 at 6:01 PM, geniekids wrote: >> >>> >>> Drupal is throwing blank pages randomly. >>> Funnily this happens in one browser say firefox, but at the same time >>> doesn't happen in internet explorer. >>> It typically happens when i click on a ADD or an EDIT button (say add a >>> view >>> or add a cck field or has even happened with "edit profile" in one >>> computer >>> in my office - and when at the same time I tried edit profile in my comp >>> - >>> it worked fine (but only in internet explorer) >>> >>> I have done the follwing but to no avail >>> 1. Increased memeory limit in php.ini first to 32M and finally even to >>> 64M >>> 2. Cleared cache database of Drupal using Devel & ran corn (have done >>> this >>> a number of times) >>> 3. Cleared cache of my browsers (both ie and firefox) >>> 4. I had removed most of the modules - save the very important ones like >>> cck >>> and views. >>> 5. Have even completely removed views and then reinstalled it >>> 6. Have checked version of the few modules installed - all match with >>> D5.1 >>> that i am using >>> >>> please help >>> >>> geniekids >>> -- >>> View this message in context: >>> http://www.nabble.com/getting-blank-pages-randomly-tp18683865p18683865.html >>> Sent from the Drupal - Support mailing list archive at Nabble.com. >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >> >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080803/9362ced3/attachment-0001.htm From ratadi2 at gmail.com Sun Aug 3 18:36:27 2008 From: ratadi2 at gmail.com (Ratty's Email) Date: Mon, 4 Aug 2008 00:06:27 +0530 Subject: [support] getting blank pages randomly In-Reply-To: References: <18683865.post@talk.nabble.com> <51182f4c0808031011k6e0cae5cu17f13b3522fe4b45@mail.gmail.com> Message-ID: fortunately (or unfortunately :-) i do not know php so no way that i could be messing up with php in any case is it possible to search or check this mistake "left a space after the closing ?> tag?" in any which way?? On Mon, Aug 4, 2008 at 12:01 AM, Victor Kane wrote: > Have you been working on a theme with php, or a block, and left a space > after the closing ?> tag? > > It is recommended to leave off the closing tag when using php tags > completely. > > > On Sun, Aug 3, 2008 at 2:36 PM, Ratty's Email wrote: > >> i have no idea - i do not control my server - my hosts do (i use >> hostgator as my host) - do i need to find from them? >> this is too teachnical for me :-( >> >> On Sun, Aug 3, 2008 at 10:41 PM, Denis Lafont-Trevisan < >> denis.lafont at gmail.com> wrote: >> >>> Are you using eAccelerator or a PHP opcode cache server side? >>> >>> Denis >>> >>> >>> On Sun, Aug 3, 2008 at 6:01 PM, geniekids wrote: >>> >>>> >>>> Drupal is throwing blank pages randomly. >>>> Funnily this happens in one browser say firefox, but at the same time >>>> doesn't happen in internet explorer. >>>> It typically happens when i click on a ADD or an EDIT button (say add a >>>> view >>>> or add a cck field or has even happened with "edit profile" in one >>>> computer >>>> in my office - and when at the same time I tried edit profile in my comp >>>> - >>>> it worked fine (but only in internet explorer) >>>> >>>> I have done the follwing but to no avail >>>> 1. Increased memeory limit in php.ini first to 32M and finally even to >>>> 64M >>>> 2. Cleared cache database of Drupal using Devel & ran corn (have done >>>> this >>>> a number of times) >>>> 3. Cleared cache of my browsers (both ie and firefox) >>>> 4. I had removed most of the modules - save the very important ones like >>>> cck >>>> and views. >>>> 5. Have even completely removed views and then reinstalled it >>>> 6. Have checked version of the few modules installed - all match with >>>> D5.1 >>>> that i am using >>>> >>>> please help >>>> >>>> geniekids >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/getting-blank-pages-randomly-tp18683865p18683865.html >>>> Sent from the Drupal - Support mailing list archive at Nabble.com. >>>> >>>> -- >>>> [ Drupal support list | http://lists.drupal.org/ ] >>>> >>> >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >> >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080804/72464798/attachment.htm From info at koba.be Mon Aug 4 00:07:09 2008 From: info at koba.be (KOBA | Hans Rossel) Date: Mon, 4 Aug 2008 02:07:09 +0200 Subject: [support] getting blank pages randomly In-Reply-To: References: <18683865.post@talk.nabble.com> <51182f4c0808031011k6e0cae5cu17f13b3522fe4b45@mail.gmail.com> Message-ID: <51a9b8330808031707v29be13c2ia249a66e165a59bf@mail.gmail.com> What theme are you using? Do you get the same errors when using an unchanged standard theme like Garland? -- Hans Rossel KOBA Webdevelopment www.koba.be -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080804/c7978108/attachment.htm From allen at centernetworks.com Mon Aug 4 00:13:25 2008 From: allen at centernetworks.com (Allen Stern) Date: Sun, 03 Aug 2008 20:13:25 -0400 Subject: [support] weird issue with block access In-Reply-To: <51a9b8330808031707v29be13c2ia249a66e165a59bf@mail.gmail.com> References: <18683865.post@talk.nabble.com> <51182f4c0808031011k6e0cae5cu17f13b3522fe4b45@mail.gmail.com> <51a9b8330808031707v29be13c2ia249a66e165a59bf@mail.gmail.com> Message-ID: <489649A5.4090305@centernetworks.com> Hi all, My site was humming along just great - then friday i decided to take a look at my blocks in the admin panel - I went to admin, then clicked blocks and it just sat there - never took me to the blocks page. Then today, the site stopped responding - just sat there. I use the default theme for the admin and was able to get into the admin just fine, it showed everything ok (except the blocks page) but clicking on any content, went nowhere. When I switched the main theme, back to the default, it worked. Again, I made no changes and my theme has worked for a year or more. Now I still can't get into the blocks page and when I tried to turn on my theme, it didn't work. I had to copy the default into my theme's folder, then overwrite the files with mine and that worked. I am at a total loss - there's nothing in the log in the admin. I want to work on launching a new theme but I can't if something is wrong with the site. Any ideas are very much appreciated. Thanks, Allen From gordon at heydon.com.au Mon Aug 4 00:50:05 2008 From: gordon at heydon.com.au (Gordon Heydon) Date: Mon, 4 Aug 2008 10:50:05 +1000 Subject: [support] getting blank pages randomly In-Reply-To: <51a9b8330808031707v29be13c2ia249a66e165a59bf@mail.gmail.com> References: <18683865.post@talk.nabble.com> <51182f4c0808031011k6e0cae5cu17f13b3522fe4b45@mail.gmail.com> <51a9b8330808031707v29be13c2ia249a66e165a59bf@mail.gmail.com> Message-ID: <65C64D36-FC92-4F11-A920-5137B4A700DF@heydon.com.au> Hi, Is there any errors in your drupal log or your php error log? Gordon. On 04/08/2008, at 10:07 AM, KOBA | Hans Rossel wrote: > What theme are you using? > Do you get the same errors when using an unchanged standard theme > like Garland? > > -- > Hans Rossel > KOBA Webdevelopment > www.koba.be > !DSPAM:1000,48964df357931364511223! -- > [ Drupal support list | http://lists.drupal.org/ ] > > !DSPAM:1000,48964df357931364511223! From ratadi2 at gmail.com Mon Aug 4 03:16:41 2008 From: ratadi2 at gmail.com (Ratty's Email) Date: Mon, 4 Aug 2008 08:46:41 +0530 Subject: [support] getting blank pages randomly In-Reply-To: <51a9b8330808031707v29be13c2ia249a66e165a59bf@mail.gmail.com> References: <18683865.post@talk.nabble.com> <51182f4c0808031011k6e0cae5cu17f13b3522fe4b45@mail.gmail.com> <51a9b8330808031707v29be13c2ia249a66e165a59bf@mail.gmail.com> Message-ID: I am using tapestry theme am open to checking what you are suggesting - i.e. try in garland is the follwing possible? can i just switch to garland theme, check using that and then go back to where the whole site was in tapestry theme without having to re-customise it? On Mon, Aug 4, 2008 at 5:37 AM, KOBA | Hans Rossel wrote: > What theme are you using? > Do you get the same errors when using an unchanged standard theme like > Garland? > > -- > Hans Rossel > KOBA Webdevelopment > www.koba.be > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080804/9f254b30/attachment.htm From ratadi2 at gmail.com Mon Aug 4 03:52:20 2008 From: ratadi2 at gmail.com (Ratty's Email) Date: Mon, 4 Aug 2008 09:22:20 +0530 Subject: [support] getting blank pages randomly In-Reply-To: <65C64D36-FC92-4F11-A920-5137B4A700DF@heydon.com.au> References: <18683865.post@talk.nabble.com> <51182f4c0808031011k6e0cae5cu17f13b3522fe4b45@mail.gmail.com> <51a9b8330808031707v29be13c2ia249a66e165a59bf@mail.gmail.com> <65C64D36-FC92-4F11-A920-5137B4A700DF@heydon.com.au> Message-ID: yes, i am getting the follwing kind of php errors in error log - QUOTE *Type page not found Date Sunday, August 3, 2008 - 23:25 User ratnesh Location http://geniekids.com/themes/tapestry/icons/16x16/mimetypes/ascii.png Referrer http://geniekids.com/admin/logs Message themes/tapestry/icons/16x16/mimetypes/ascii.png Severity warning Hostname 59.96.59.153 * ** UNQUOTE can this be the cause?? On Mon, Aug 4, 2008 at 6:20 AM, Gordon Heydon wrote: > Hi, > > Is there any errors in your drupal log or your php error log? > > Gordon. > > On 04/08/2008, at 10:07 AM, KOBA | Hans Rossel wrote: > > > What theme are you using? > > Do you get the same errors when using an unchanged standard theme > > like Garland? > > > > -- > > Hans Rossel > > KOBA Webdevelopment > > www.koba.be > > !DSPAM:1000,48964df357931364511223! -- > > [ Drupal support list | http://lists.drupal.org/ ] > > > > !DSPAM:1000,48964df357931364511223! > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080804/03b7f15f/attachment-0001.htm From bharanikumariyerphp at gmail.com Mon Aug 4 05:22:46 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Mon, 4 Aug 2008 10:52:46 +0530 Subject: [support] getting blank pages randomly In-Reply-To: References: <18683865.post@talk.nabble.com> <51182f4c0808031011k6e0cae5cu17f13b3522fe4b45@mail.gmail.com> <51a9b8330808031707v29be13c2ia249a66e165a59bf@mail.gmail.com> <65C64D36-FC92-4F11-A920-5137B4A700DF@heydon.com.au> Message-ID: <2240033d0808032222y2ffdc771v19682152870fac3c@mail.gmail.com> u , hake any where in the node.module.. becoz, upto my knowledge this is not very serious error, This is like redrect error, Your enabled any redirect module, Plz check that, This is for *Warning*: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/genie/public_html/index.php:8) in * /home/genie/public_html/includes/bootstrap.inc* on line *862* *Warning*: Cannot modify header information - headers already sent by (output started at /home/genie/public_html/index.php:8) in * /home/genie/public_html/includes/bootstrap.inc* on line *531* *Warning*: Cannot modify header information - headers already sent by (output started at /home/genie/public_html/index.php:8) in * /home/genie/public_html/includes/bootstrap.inc* on line *532* *Warning*: Cannot modify header information - headers already sent by (output started at /home/genie/public_html/index.php:8) in * /home/genie/public_html/includes/bootstrap.inc* on line *533* *Warning*: Cannot modify header information - headers already sent by (output started at /home/genie/public_html/index.php:8) in * /home/genie/public_html/includes/bootstrap.inc* on line *534* *Warning*: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in * /home/genie/public_html/includes/module.inc* on line *217* *Warning*: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in * /home/genie/public_html/includes/module.inc* on line *217 Thanks.. * On Mon, Aug 4, 2008 at 9:22 AM, Ratty's Email wrote: > yes, i am getting the follwing kind of php errors in error log - QUOTE > > *Type page not found > Date Sunday, August 3, 2008 - 23:25 > User ratnesh > Location > http://geniekids.com/themes/tapestry/icons/16x16/mimetypes/ascii.png > Referrer http://geniekids.com/admin/logs > Message themes/tapestry/icons/16x16/mimetypes/ascii.png > Severity warning > Hostname 59.96.59.153 * > ** > UNQUOTE > > can this be the cause?? > On Mon, Aug 4, 2008 at 6:20 AM, Gordon Heydon wrote: > >> Hi, >> >> Is there any errors in your drupal log or your php error log? >> >> Gordon. >> >> On 04/08/2008, at 10:07 AM, KOBA | Hans Rossel wrote: >> >> > What theme are you using? >> > Do you get the same errors when using an unchanged standard theme >> > like Garland? >> > >> > -- >> > Hans Rossel >> > KOBA Webdevelopment >> > www.koba.be >> > !DSPAM:1000,48964df357931364511223! -- >> > [ Drupal support list | http://lists.drupal.org/ ] >> > >> > !DSPAM:1000,48964df357931364511223! >> >> -- >> [ 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/20080804/7ae8f9b9/attachment.htm From ratadi2 at gmail.com Mon Aug 4 05:33:47 2008 From: ratadi2 at gmail.com (Ratty's Email) Date: Mon, 4 Aug 2008 11:03:47 +0530 Subject: [support] getting blank pages randomly In-Reply-To: <2240033d0808032222y2ffdc771v19682152870fac3c@mail.gmail.com> References: <18683865.post@talk.nabble.com> <51182f4c0808031011k6e0cae5cu17f13b3522fe4b45@mail.gmail.com> <51a9b8330808031707v29be13c2ia249a66e165a59bf@mail.gmail.com> <65C64D36-FC92-4F11-A920-5137B4A700DF@heydon.com.au> <2240033d0808032222y2ffdc771v19682152870fac3c@mail.gmail.com> Message-ID: I had installed path_redirect module some weeks earlier but had disabled it long back no redirects right now so why us the error still there? On Mon, Aug 4, 2008 at 10:52 AM, bharani kumar < bharanikumariyerphp at gmail.com> wrote: > u , hake any where in the node.module.. > becoz, upto my knowledge this is not very serious error, > > This is like redrect error, > Your enabled any redirect module, > > Plz check that, > > This is for > *Warning*: session_start() [function.session-start]: > Cannot send session cache limiter - headers already sent (output started at > /home/genie/public_html/index.php:8) in * > /home/genie/public_html/includes/bootstrap.inc* on line *862* > > *Warning*: Cannot modify header information - headers already sent by > (output started at /home/genie/public_html/index.php:8) in * > /home/genie/public_html/includes/bootstrap.inc* on line *531* > > *Warning*: Cannot modify header information - headers already sent by > (output started at /home/genie/public_html/index.php:8) in * > /home/genie/public_html/includes/bootstrap.inc* on line *532* > > *Warning*: Cannot modify header information - headers already sent by > (output started at /home/genie/public_html/index.php:8) in * > /home/genie/public_html/includes/bootstrap.inc* on line *533* > > *Warning*: Cannot modify header information - headers already sent by > (output started at /home/genie/public_html/index.php:8) in * > /home/genie/public_html/includes/bootstrap.inc* on line *534* > > *Warning*: array_key_exists() [function.array-key-exists]: > The second argument should be either an array or an object in * > /home/genie/public_html/includes/module.inc* on line *217* > > *Warning*: array_key_exists() [function.array-key-exists]: > The second argument should be either an array or an object in * > /home/genie/public_html/includes/module.inc* on line > *217 > > > > Thanks.. > * > > > On Mon, Aug 4, 2008 at 9:22 AM, Ratty's Email wrote: > >> yes, i am getting the follwing kind of php errors in error log - QUOTE >> >> *Type page not found >> Date Sunday, August 3, 2008 - 23:25 >> User ratnesh >> Location >> http://geniekids.com/themes/tapestry/icons/16x16/mimetypes/ascii.png >> Referrer http://geniekids.com/admin/logs >> Message themes/tapestry/icons/16x16/mimetypes/ascii.png >> Severity warning >> Hostname 59.96.59.153 * >> ** >> UNQUOTE >> >> can this be the cause?? >> On Mon, Aug 4, 2008 at 6:20 AM, Gordon Heydon wrote: >> >>> Hi, >>> >>> Is there any errors in your drupal log or your php error log? >>> >>> Gordon. >>> >>> On 04/08/2008, at 10:07 AM, KOBA | Hans Rossel wrote: >>> >>> > What theme are you using? >>> > Do you get the same errors when using an unchanged standard theme >>> > like Garland? >>> > >>> > -- >>> > Hans Rossel >>> > KOBA Webdevelopment >>> > www.koba.be >>> > !DSPAM:1000,48964df357931364511223! -- >>> > [ Drupal support list | http://lists.drupal.org/ ] >>> > >>> > !DSPAM:1000,48964df357931364511223! >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >> >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080804/090caeb5/attachment.htm From bharanikumariyerphp at gmail.com Mon Aug 4 05:41:43 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Mon, 4 Aug 2008 11:11:43 +0530 Subject: [support] getting blank pages randomly In-Reply-To: References: <18683865.post@talk.nabble.com> <51182f4c0808031011k6e0cae5cu17f13b3522fe4b45@mail.gmail.com> <51a9b8330808031707v29be13c2ia249a66e165a59bf@mail.gmail.com> <65C64D36-FC92-4F11-A920-5137B4A700DF@heydon.com.au> <2240033d0808032222y2ffdc771v19682152870fac3c@mail.gmail.com> Message-ID: <2240033d0808032241x2a0a9842yd4a5062272014711@mail.gmail.com> tell me, when u enabled the redirect module, on that spot u got that redirect error.. can tell me that ... On Mon, Aug 4, 2008 at 11:03 AM, Ratty's Email wrote: > I had installed path_redirect module some weeks earlier but had disabled it > long back > no redirects right now > > so why us the error still there? > > > On Mon, Aug 4, 2008 at 10:52 AM, bharani kumar < > bharanikumariyerphp at gmail.com> wrote: > >> u , hake any where in the node.module.. >> becoz, upto my knowledge this is not very serious error, >> >> This is like redrect error, >> Your enabled any redirect module, >> >> Plz check that, >> >> This is for >> *Warning*: session_start() [function.session-start]: >> Cannot send session cache limiter - headers already sent (output started at >> /home/genie/public_html/index.php:8) in * >> /home/genie/public_html/includes/bootstrap.inc* on line *862* >> >> *Warning*: Cannot modify header information - headers already sent by >> (output started at /home/genie/public_html/index.php:8) in * >> /home/genie/public_html/includes/bootstrap.inc* on line *531* >> >> *Warning*: Cannot modify header information - headers already sent by >> (output started at /home/genie/public_html/index.php:8) in * >> /home/genie/public_html/includes/bootstrap.inc* on line *532* >> >> *Warning*: Cannot modify header information - headers already sent by >> (output started at /home/genie/public_html/index.php:8) in * >> /home/genie/public_html/includes/bootstrap.inc* on line *533* >> >> *Warning*: Cannot modify header information - headers already sent by >> (output started at /home/genie/public_html/index.php:8) in * >> /home/genie/public_html/includes/bootstrap.inc* on line *534* >> >> *Warning*: array_key_exists() [function.array-key-exists]: >> The second argument should be either an array or an object in * >> /home/genie/public_html/includes/module.inc* on line *217* >> >> *Warning*: array_key_exists() [function.array-key-exists]: >> The second argument should be either an array or an object in * >> /home/genie/public_html/includes/module.inc* on line >> *217 >> >> >> >> Thanks.. >> * >> >> >> On Mon, Aug 4, 2008 at 9:22 AM, Ratty's Email wrote: >> >>> yes, i am getting the follwing kind of php errors in error log - QUOTE >>> >>> *Type page not found >>> Date Sunday, August 3, 2008 - 23:25 >>> User ratnesh >>> Location >>> http://geniekids.com/themes/tapestry/icons/16x16/mimetypes/ascii.png >>> Referrer http://geniekids.com/admin/logs >>> Message themes/tapestry/icons/16x16/mimetypes/ascii.png >>> Severity warning >>> Hostname 59.96.59.153 * >>> ** >>> UNQUOTE >>> >>> can this be the cause?? >>> On Mon, Aug 4, 2008 at 6:20 AM, Gordon Heydon wrote: >>> >>>> Hi, >>>> >>>> Is there any errors in your drupal log or your php error log? >>>> >>>> Gordon. >>>> >>>> On 04/08/2008, at 10:07 AM, KOBA | Hans Rossel wrote: >>>> >>>> > What theme are you using? >>>> > Do you get the same errors when using an unchanged standard theme >>>> > like Garland? >>>> > >>>> > -- >>>> > Hans Rossel >>>> > KOBA Webdevelopment >>>> > www.koba.be >>>> > !DSPAM:1000,48964df357931364511223! -- >>>> > [ Drupal support list | http://lists.drupal.org/ ] >>>> > >>>> > !DSPAM:1000,48964df357931364511223! >>>> >>>> -- >>>> [ Drupal support list | http://lists.drupal.org/ ] >>>> >>> >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >> >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080804/5b2d485f/attachment-0001.htm From bharanikumariyerphp at gmail.com Mon Aug 4 05:45:02 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Mon, 4 Aug 2008 11:15:02 +0530 Subject: [support] PATHAUTO not aliased all nodes In-Reply-To: References: <2240033d0808012349l2d244051x1f74faae9e62fa77@mail.gmail.com> <2240033d0808020416kc6d2afboab7eba74f1211f02@mail.gmail.com> Message-ID: <2240033d0808032245p48590ffdxc206344ea56cc703@mail.gmail.com> where i write that small snipet.. and how i execute that... i tried that snipet , outside of the drupal installation, but i shown the error like unknown function drupal_bootstrap so tell where i write that snippet and where i execute that... On Sat, Aug 2, 2008 at 5:08 PM, Victor Kane wrote: > No, just execute many times. > > See the Drupal Handbook, in general, and in particular, this page: > http://drupal.org/node/236304 (Bulk updating Pathauto node aliases from > cron or command line). > > Victor Kane > http://awebfactory.com.ar > > On Sat, Aug 2, 2008 at 8:16 AM, bharani kumar < > bharanikumariyerphp at gmail.com> wrote: > >> at the time shall i alias the 8000 records, >> >> For that i need to change the max execution time in php.ini ? >> >> >> On Sat, Aug 2, 2008 at 4:29 PM, Victor Kane wrote: >> >>> If you are referring to bulk operations on unaliased paths, there is a >>> maximum it will do every time. >>> >>> Keep on truckin'!! >>> >>> Victor Kane >>> http://awebfactory.com.ar >>> >>> On Sat, Aug 2, 2008 at 3:49 AM, bharani kumar < >>> bharanikumariyerphp at gmail.com> wrote: >>> >>>> Hi >>>> >>>> I am using the PATHAUTO module, >>>> >>>> ITs working fine, for few number of record, >>>> >>>> Am having around 25000 record, >>>> >>>> I tried , but only few no of record only aliased, >>>> >>>> Any idea for this situation >>>> >>>> Thanks >>>> Regards >>>> >>>> B.S.Bharani Kumar >>>> >>>> -- >>>> [ Drupal support list | http://lists.drupal.org/ ] >>>> >>> >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >> >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080804/6125b127/attachment.htm From ratadi2 at gmail.com Mon Aug 4 05:50:19 2008 From: ratadi2 at gmail.com (Ratty's Email) Date: Mon, 4 Aug 2008 11:20:19 +0530 Subject: [support] getting blank pages randomly In-Reply-To: <2240033d0808032241x2a0a9842yd4a5062272014711@mail.gmail.com> References: <18683865.post@talk.nabble.com> <51a9b8330808031707v29be13c2ia249a66e165a59bf@mail.gmail.com> <65C64D36-FC92-4F11-A920-5137B4A700DF@heydon.com.au> <2240033d0808032222y2ffdc771v19682152870fac3c@mail.gmail.com> <2240033d0808032241x2a0a9842yd4a5062272014711@mail.gmail.com> Message-ID: what i had done was the follwing link *www.geniekids.com/khoj * was being redirected to *www.geniekids.com/khojnew * the reason i had done this was that for some funny reason the book_page with url "khoj" was just not showing up - saying "page not found" so i deleted the book_page and even after deleting - i could not give the path to a new Book_page as the system said that a page with that url exists so i simply gave the new book_page the url "khojnew" and used redirect to get by users se the correct page. then one day i removed the redirect and made the path of book_page www.geniekids.com/khojnew as www.geniekids.com/khoj itself - so no need of redirect so now there is no book_page called khojnew page only bookpage with the url khoj* is there some residue that is causing the problem - how do i clean this up? * On Mon, Aug 4, 2008 at 11:11 AM, bharani kumar < bharanikumariyerphp at gmail.com> wrote: > tell me, > when u enabled the redirect module, on that spot u got that redirect > error.. > can tell me that ... > > > On Mon, Aug 4, 2008 at 11:03 AM, Ratty's Email wrote: > >> I had installed path_redirect module some weeks earlier but had disabled >> it long back >> no redirects right now >> >> so why us the error still there? >> >> >> On Mon, Aug 4, 2008 at 10:52 AM, bharani kumar < >> bharanikumariyerphp at gmail.com> wrote: >> >>> u , hake any where in the node.module.. >>> becoz, upto my knowledge this is not very serious error, >>> >>> This is like redrect error, >>> Your enabled any redirect module, >>> >>> Plz check that, >>> >>> This is for >>> *Warning*: session_start() [function.session-start]: >>> Cannot send session cache limiter - headers already sent (output started at >>> /home/genie/public_html/index.php:8) in * >>> /home/genie/public_html/includes/bootstrap.inc* on line *862* >>> >>> *Warning*: Cannot modify header information - headers already sent by >>> (output started at /home/genie/public_html/index.php:8) in * >>> /home/genie/public_html/includes/bootstrap.inc* on line *531* >>> >>> *Warning*: Cannot modify header information - headers already sent by >>> (output started at /home/genie/public_html/index.php:8) in * >>> /home/genie/public_html/includes/bootstrap.inc* on line *532* >>> >>> *Warning*: Cannot modify header information - headers already sent by >>> (output started at /home/genie/public_html/index.php:8) in * >>> /home/genie/public_html/includes/bootstrap.inc* on line *533* >>> >>> *Warning*: Cannot modify header information - headers already sent by >>> (output started at /home/genie/public_html/index.php:8) in * >>> /home/genie/public_html/includes/bootstrap.inc* on line *534* >>> >>> *Warning*: array_key_exists() [function.array-key-exists]: >>> The second argument should be either an array or an object in * >>> /home/genie/public_html/includes/module.inc* on line *217* >>> >>> *Warning*: array_key_exists() [function.array-key-exists]: >>> The second argument should be either an array or an object in * >>> /home/genie/public_html/includes/module.inc* on line >>> *217 >>> >>> >>> >>> Thanks.. >>> * >>> >>> >>> On Mon, Aug 4, 2008 at 9:22 AM, Ratty's Email wrote: >>> >>>> yes, i am getting the follwing kind of php errors in error log - QUOTE >>>> >>>> *Type page not found >>>> Date Sunday, August 3, 2008 - 23:25 >>>> User ratnesh >>>> Location >>>> http://geniekids.com/themes/tapestry/icons/16x16/mimetypes/ascii.png >>>> Referrer http://geniekids.com/admin/logs >>>> Message themes/tapestry/icons/16x16/mimetypes/ascii.png >>>> Severity warning >>>> Hostname 59.96.59.153 * >>>> ** >>>> UNQUOTE >>>> >>>> can this be the cause?? >>>> On Mon, Aug 4, 2008 at 6:20 AM, Gordon Heydon wrote: >>>> >>>>> Hi, >>>>> >>>>> Is there any errors in your drupal log or your php error log? >>>>> >>>>> Gordon. >>>>> >>>>> On 04/08/2008, at 10:07 AM, KOBA | Hans Rossel wrote: >>>>> >>>>> > What theme are you using? >>>>> > Do you get the same errors when using an unchanged standard theme >>>>> > like Garland? >>>>> > >>>>> > -- >>>>> > Hans Rossel >>>>> > KOBA Webdevelopment >>>>> > www.koba.be >>>>> > !DSPAM:1000,48964df357931364511223! -- >>>>> > [ Drupal support list | http://lists.drupal.org/ ] >>>>> > >>>>> > !DSPAM:1000,48964df357931364511223! >>>>> >>>>> -- >>>>> [ Drupal support list | http://lists.drupal.org/ ] >>>>> >>>> >>>> >>>> -- >>>> [ Drupal support list | http://lists.drupal.org/ ] >>>> >>> >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >> >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080804/486dc4bd/attachment.htm From bharanikumariyerphp at gmail.com Mon Aug 4 06:55:47 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Mon, 4 Aug 2008 12:25:47 +0530 Subject: [support] PATHAUTO not aliased all nodes In-Reply-To: <2240033d0808032245p48590ffdxc206344ea56cc703@mail.gmail.com> References: <2240033d0808012349l2d244051x1f74faae9e62fa77@mail.gmail.com> <2240033d0808020416kc6d2afboab7eba74f1211f02@mail.gmail.com> <2240033d0808032245p48590ffdxc206344ea56cc703@mail.gmail.com> Message-ID: <2240033d0808032355y114eeb87gcf26570a9faa28a1@mail.gmail.com> Plz tell me the reason, why, in the first shoot , all the node are not aliased.. On Mon, Aug 4, 2008 at 11:15 AM, bharani kumar < bharanikumariyerphp at gmail.com> wrote: > > where i write that small snipet.. > > and how i execute that... > > i tried that snipet , outside of the drupal installation, > > but i shown the error like unknown function drupal_bootstrap > > so tell where i write that snippet and where i execute that... > > > > On Sat, Aug 2, 2008 at 5:08 PM, Victor Kane wrote: > >> No, just execute many times. >> >> See the Drupal Handbook, in general, and in particular, this page: >> http://drupal.org/node/236304 (Bulk updating Pathauto node aliases from >> cron or command line). >> >> Victor Kane >> http://awebfactory.com.ar >> >> On Sat, Aug 2, 2008 at 8:16 AM, bharani kumar < >> bharanikumariyerphp at gmail.com> wrote: >> >>> at the time shall i alias the 8000 records, >>> >>> For that i need to change the max execution time in php.ini ? >>> >>> >>> On Sat, Aug 2, 2008 at 4:29 PM, Victor Kane wrote: >>> >>>> If you are referring to bulk operations on unaliased paths, there is a >>>> maximum it will do every time. >>>> >>>> Keep on truckin'!! >>>> >>>> Victor Kane >>>> http://awebfactory.com.ar >>>> >>>> On Sat, Aug 2, 2008 at 3:49 AM, bharani kumar < >>>> bharanikumariyerphp at gmail.com> wrote: >>>> >>>>> Hi >>>>> >>>>> I am using the PATHAUTO module, >>>>> >>>>> ITs working fine, for few number of record, >>>>> >>>>> Am having around 25000 record, >>>>> >>>>> I tried , but only few no of record only aliased, >>>>> >>>>> Any idea for this situation >>>>> >>>>> Thanks >>>>> Regards >>>>> >>>>> B.S.Bharani Kumar >>>>> >>>>> -- >>>>> [ Drupal support list | http://lists.drupal.org/ ] >>>>> >>>> >>>> >>>> -- >>>> [ Drupal support list | http://lists.drupal.org/ ] >>>> >>> >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >> >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080804/79700a2c/attachment-0001.htm From fredthejonester at gmail.com Mon Aug 4 08:56:07 2008 From: fredthejonester at gmail.com (Fred Jones) Date: Mon, 4 Aug 2008 10:56:07 +0200 Subject: [support] Search Problem in d5 Message-ID: <177c0a10808040156t3db5e161iffb0282698782cb2@mail.gmail.com> We imported a large set of files via the import_html module and made them all book nodes. What we actually did was import them into a local install, and then we ran a PHP script to massage the imported data (to make some adjustments and corrections, some of which we did on the body field of the records in node_revisions). Then I uploaded that DB to the web server, and clicked "Re-index site" and now 100% has been indexed. When I run a search for "Hull" however, I get 7 results, which is very nice, but node 21206 has that word--twice in fact, yet it doesn't appear in the results list. Node 10037 and 23089 do show up in the results, so nodes both before and after the 'missing' one are working. I am using the standard search facility. I didn't adjust the default settings of 3 for "Minimum word length to index:" and "Simple CJK handling" is checked. Any ideas how I can debug this? Thanks! From ratadi2 at gmail.com Mon Aug 4 11:27:08 2008 From: ratadi2 at gmail.com (Ratty's Email) Date: Mon, 4 Aug 2008 16:57:08 +0530 Subject: [support] How to show various fields of the referenced node in views In-Reply-To: <9f68efb70808011121r41ca03e8s3cd12ecff9707c0a@mail.gmail.com> References: <18760939.post@talk.nabble.com> <9f68efb70808011121r41ca03e8s3cd12ecff9707c0a@mail.gmail.com> Message-ID: Thanks for your detailed reply (though frankly half of it went above my head, the other half i am trying to chew ;-) Few thoughts you wrote *"I know how to do this to display one record at time (e.g. if you display the Book node page, the relevant info from the bookreading_schedule will also show up"* however what i need is possibly just the opposite! i need to show the schedule - as in a date - and the relevant book's information should show up! so does your explanation work the other way round too! Also i am not too conversant with arguments - so i am little lost at "Add an argument which is the node-reference". sorry maybe i know too little and am asking too much somehow when i saw the cck & the views modules - i thought setting up what i need should be a cake walk - i still believe i am missing something fundamental: Here is my contention: if i can see - through node reference - the title of a referenced node - and also I am able to see the full referenced node - then I should be able to see - some selected fields from the referenced node too! makes logical sense to me - only question is *HOW??* Please somebody tell me how to do this. ratnesh On Fri, Aug 1, 2008 at 11:51 PM, Shai Gluskin wrote: > geniekids, > > In D6 I think this is pretty straightforward using, what I think is called, > a "relationship" in Views. I'm still using 5 though, and can't speak first > hand to that. > > In D5 you can do something I think this is pretty easy to do with PHP at > the theming layer. I've watched someone do it, but haven't done it myself. > It's also possible to do something like this. It's a bit complicated, I'm > just learning -- using Panels 2. Also, I know how to do this to display one > record at time (e.g. if you display the Book node page, the relevant info > from the bookreading_schedule will also show up. If more than one reading is > associated to the book -- then they will all show up. But it is one book at > a time.) > > This is rough, but it may get you started. > > 1. Make a View for the book-scheduling node type. For display, choose a > page and Full node, teaser, list, doesn't matter, whatever info you want to > show from the book-scheduling node type. Filter on "node-type is one of > booksheduling'. Add an argument which is the node-reference. > > 2. Make a panel page. Give it a title, makde the URL: node/%. THEN, Go to > the "context" tab and add "Node ID" as an argument. Make sure to select the > right box from the "node type" list -- in this case the book node type. > > 3. After you save that go to panes -> views pages. There you import the > view you created in step one. > > 4. Now you go to the "content" tab of your panel. Click on one of the "+" > symbols. From there you add "Node ID Content". Save. Go back to Content, > click "+" and click on the Views pane that you imported. > > Remember this is panels 2. Get the most recent version. Remember in panels > that you always need to keep saving every step or you lose it. Anything in > yellow needs to be saved. > > I'm sure I'm forgetting something. > > Because this only does one record at a time, you might be looking for a > different solution. Hope this at least adds to the conversation. > > Report back, > > Shai > > > > On Thu, Jul 31, 2008 at 11:51 PM, geniekids wrote: > >> >> I think my need is simple but after a whole lot of search i am unable to >> get >> it working - hence this post >> >> i have one cck with book name, book author, Book number, book publisher, >> book references etc ( and some more fields); >> >> Next i have another cck called bookreading_schedule with two fields - one >> date and another (a node reference) to the above book name. >> >> Now I want a view (based on node: 'bookreading_schedule') which lists the >> date and with the date lists its referred book name AND ALSO book author >> and >> book number (these four fields) >> Through node reference i got the book name to show up in the view next to >> the relevant date. >> but how do i get the selected fields (about the book) to show up. >> >> So, How do i get only the selected fields from the referred node to show >> up >> in views in tabular form >> thanks >> ratnesh >> -- >> View this message in context: >> http://www.nabble.com/How-to-show-various-fields-of-the-referenced-node-in-views-tp18760939p18760939.html >> Sent from the Drupal - Support mailing list archive at Nabble.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/20080804/84bfd689/attachment.htm From ratadi2 at gmail.com Mon Aug 4 11:33:32 2008 From: ratadi2 at gmail.com (Ratty's Email) Date: Mon, 4 Aug 2008 17:03:32 +0530 Subject: [support] getting blank pages randomly In-Reply-To: <18683865.post@talk.nabble.com> References: <18683865.post@talk.nabble.com> Message-ID: I want to highlight - again - that this problem of blank pages is currently happening with 1. FIREFOX browser (and not with IE7) 2. And usually happens with *edit* or *add new view* and with edit or add new *some cck node types *and has happened once with even edit profile (all of this in firefox only) (that too not with all node types - but with some node types, is random and On Sun, Aug 3, 2008 at 9:31 PM, geniekids wrote: > > Drupal is throwing blank pages randomly. > Funnily this happens in one browser say firefox, but at the same time > doesn't happen in internet explorer. > It typically happens when i click on a ADD or an EDIT button (say add a > view > or add a cck field or has even happened with "edit profile" in one computer > in my office - and when at the same time I tried edit profile in my comp - > it worked fine (but only in internet explorer) > > I have done the follwing but to no avail > 1. Increased memeory limit in php.ini first to 32M and finally even to 64M > 2. Cleared cache database of Drupal using Devel & ran corn (have done this > a number of times) > 3. Cleared cache of my browsers (both ie and firefox) > 4. I had removed most of the modules - save the very important ones like > cck > and views. > 5. Have even completely removed views and then reinstalled it > 6. Have checked version of the few modules installed - all match with D5.1 > that i am using > > please help > > geniekids > -- > View this message in context: > http://www.nabble.com/getting-blank-pages-randomly-tp18683865p18683865.html > Sent from the Drupal - Support mailing list archive at Nabble.com. > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080804/119030e0/attachment.htm From bharanikumariyerphp at gmail.com Mon Aug 4 12:23:47 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Mon, 4 Aug 2008 17:53:47 +0530 Subject: [support] View problem Message-ID: <2240033d0808040523s131c0846hdd4acfc979ee9b76@mail.gmail.com> i created custom block, i display that block in the home page,witout views,its working fine, But when i enable the views, the block not displaying in the front page, may i know the reason -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080804/c945a59e/attachment.htm From earnie at users.sourceforge.net Mon Aug 4 13:15:37 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Mon, 04 Aug 2008 09:15:37 -0400 Subject: [support] getting blank pages randomly In-Reply-To: References: <18683865.post@talk.nabble.com> Message-ID: <20080804091537.bg7gii6m3qckwogs@mail.progw.org> Quoting Ratty's Email : > I want to highlight - again - that this problem of blank pages is currently > happening with > 1. FIREFOX browser (and not with IE7) Has the firefox user cleared the cache files for the browser? > 2. And usually happens with *edit* or *add new view* and with edit or add > new *some cck node types *and has happened once with even edit profile (all > of this in firefox only) > So this is more the administration of nodes and node types, have you emptied the sessions table or any of the tables beginning with cache? Have you checked the system log files for errors? Does your PHP memory_limit have enough reserved? Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From pubmb.bco at pt.lu Mon Aug 4 14:05:20 2008 From: pubmb.bco at pt.lu (Bruno Costacurta) Date: Mon, 4 Aug 2008 16:05:20 +0200 Subject: [support] Module Views and Image fields Message-ID: <200808041605.20641.pubmb.bco@pt.lu> Hello, I'm trying to use Views and related Image field, however currently I'm unable to disable whatever image even after inserting some Image fields (other inserted fields are correctly displayed). I guess my usage of Image fields is simply incorrect... Could someone post or indicate path to some samples / syntax (ie. link usage) about Views and Image fields ? Note: I already installed some .jpg which are visible in my front page via classical References: <18683865.post@talk.nabble.com> <20080804091537.bg7gii6m3qckwogs@mail.progw.org> Message-ID: if you read my first (initial post) email you will get answers to all of these questions yes i have cleared firefox cache - in fact my firefox is set to clear cache on closing. the error messages are given in my earlier email regarding, "have you emptied the sessions table or any of the tables beginning with cache?" what specifically do you mean?what i have done is installed devel and used it to empty cache link - is that sufficient? do i need to do anything more? by the way - i have also disabled page cache from the admin - settings - menu but that has not really helped still lost :-( On Mon, Aug 4, 2008 at 6:45 PM, Earnie Boyd wrote: > Quoting Ratty's Email : > > > I want to highlight - again - that this problem of blank pages is > currently > > happening with > > 1. FIREFOX browser (and not with IE7) > > Has the firefox user cleared the cache files for the browser? > > > 2. And usually happens with *edit* or *add new view* and with edit or add > > new *some cck node types *and has happened once with even edit profile > (all > > of this in firefox only) > > > > So this is more the administration of nodes and node types, have you > emptied the sessions table or any of the tables beginning with cache? > > Have you checked the system log files for errors? > Does your PHP memory_limit have enough reserved? > > 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/20080804/a8ba45e3/attachment.htm From earnie at users.sourceforge.net Mon Aug 4 15:40:06 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Mon, 04 Aug 2008 11:40:06 -0400 Subject: [support] PATHAUTO not aliased all nodes In-Reply-To: <2240033d0808032355y114eeb87gcf26570a9faa28a1@mail.gmail.com> References: <2240033d0808012349l2d244051x1f74faae9e62fa77@mail.gmail.com> <2240033d0808020416kc6d2afboab7eba74f1211f02@mail.gmail.com> <2240033d0808032245p48590ffdxc206344ea56cc703@mail.gmail.com> <2240033d0808032355y114eeb87gcf26570a9faa28a1@mail.gmail.com> Message-ID: <20080804114006.itm9z05f3zrkccgw@mail.progw.org> Quoting bharani kumar : > Plz tell me the reason, why, in the first shoot , all the node are not > aliased.. > Management of resource and time limit constraints. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From earnie at users.sourceforge.net Mon Aug 4 15:53:36 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Mon, 04 Aug 2008 11:53:36 -0400 Subject: [support] weird issue with block access In-Reply-To: <489649A5.4090305@centernetworks.com> References: <18683865.post@talk.nabble.com> <51182f4c0808031011k6e0cae5cu17f13b3522fe4b45@mail.gmail.com> <51a9b8330808031707v29be13c2ia249a66e165a59bf@mail.gmail.com> <489649A5.4090305@centernetworks.com> Message-ID: <20080804115336.ef5mc59963kg8ok8@mail.progw.org> Quoting Allen Stern : > Hi all, > > My site was humming along just great - then friday i decided to take a > look at my blocks in the admin panel - I went to admin, then clicked > blocks and it just sat there - never took me to the blocks page. Then > today, the site stopped responding - just sat there. I use the default > theme for the admin and was able to get into the admin just fine, it > showed everything ok (except the blocks page) but clicking on any > content, went nowhere. When I switched the main theme, back to the > default, it worked. Again, I made no changes and my theme has worked for > a year or more. > > Now I still can't get into the blocks page and when I tried to turn on > my theme, it didn't work. I had to copy the default into my theme's > folder, then overwrite the files with mine and that worked. > > I am at a total loss - there's nothing in the log in the admin. I want > to work on launching a new theme but I can't if something is wrong with > the site. > > Any ideas are very much appreciated. > I suggest that you take a look at the mysql processes while this is happening. mysqladmin -u root -p processlist Look for locked processes. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From shai at content2zero.com Mon Aug 4 18:32:17 2008 From: shai at content2zero.com (Shai Gluskin) Date: Mon, 4 Aug 2008 14:32:17 -0400 Subject: [support] Bad URL goes out to 100 people - Best Practice in the Wake Message-ID: <9f68efb70808041132j42615cf4h5ac31e451b35abe5@mail.gmail.com> Support Peoples, I sent out a URL to 100 people that had a period "." appended. Was: example.com/page. Should have been: example.com/page I sent it 3 hours ago and just discovered it a few minutes ago. I'm dreading going in to my log file to see all the page not founds... The short term answer is to create a path alias "example.com/page." that points to " example.com/page". In the longer run, though, I'm worried about messing up my Google Analytics statistics -- people bookmarking the page which will then reinforce the problem, etc, etc... Is there a more elegant solution to this? Thanks, Shai -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080804/f5dedd84/attachment.htm From william.darren at gmail.com Mon Aug 4 18:46:28 2008 From: william.darren at gmail.com (William Smith) Date: Mon, 4 Aug 2008 14:46:28 -0400 Subject: [support] Bad URL goes out to 100 people - Best Practice in the Wake In-Reply-To: <9f68efb70808041132j42615cf4h5ac31e451b35abe5@mail.gmail.com> References: <9f68efb70808041132j42615cf4h5ac31e451b35abe5@mail.gmail.com> Message-ID: <74630ca20808041146m2b555281w92b3804a45be23e@mail.gmail.com> You'll want to look into setting up 301 (permanent) redirect rules. Assuming you are using Apache, you could probably add something like "Redirect 301 /page. /page" to your .htaccess file. However, I'm not sure if any special considerations need to be taken to handle the period when defining the redirect. On Mon, Aug 4, 2008 at 2:32 PM, Shai Gluskin wrote: > Support Peoples, > > I sent out a URL to 100 people that had a period "." appended. > > Was: example.com/page. > Should have been: example.com/page > > I sent it 3 hours ago and just discovered it a few minutes ago. I'm > dreading going in to my log file to see all the page not founds... The short > term answer is to create a path alias "example.com/page." that points to " > example.com/page". > > In the longer run, though, I'm worried about messing up my Google Analytics > statistics -- people bookmarking the page which will then reinforce the > problem, etc, etc... > > Is there a more elegant solution to this? > > Thanks, > > Shai > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080804/a4457700/attachment.htm From philip at philipnet.com Mon Aug 4 18:46:36 2008 From: philip at philipnet.com (philip at philipnet.com) Date: Mon, 04 Aug 2008 18:46:36 +0000 Subject: [support] Bad URL goes out to 100 people - Best Practice in the Wake In-Reply-To: <9f68efb70808041132j42615cf4h5ac31e451b35abe5@mail.gmail.com> References: <9f68efb70808041132j42615cf4h5ac31e451b35abe5@mail.gmail.com> Message-ID: <20080804184636.91074mmq0etkmoow@illyria.philipnet.com> Quoting "Shai Gluskin" : > Support Peoples, > > I sent out a URL to 100 people that had a period "." appended. > > Was: example.com/page. > Should have been: example.com/page > > I sent it 3 hours ago and just discovered it a few minutes ago. I'm dreading > going in to my log file to see all the page not founds... The short term > answer is to create a path alias "example.com/page." that points to " > example.com/page". > > In the longer run, though, I'm worried about messing up my Google Analytics > statistics -- people bookmarking the page which will then reinforce the > problem, etc, etc... > > Is there a more elegant solution to this? GlobalRedirect - I think - will help. http://drupal.org/project/globalredirect GlobalRedirect (which is beneficial for SEO in general) does a number of things including: * Checks the current URL for an alias and does a 301 redirect to it if it is not being used. Provided that example.com/page. is an alias for example.com/page (and it sound like it is), if you install and enable GlobalRedirect and user accessing example.com/page. would automatically be redirected to example.com/page Users would never bookmark example.com/page. as it's not shown in the web browser for long enough! However, please check that you are happy with *all* the effects of GlobalRedirect before installing and enabling the module. Regards. Phil L. -- http://www.philipnet.com/ http://windowsadvice.com/blogs/philipnet/ ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From killshot91 at comcast.net Mon Aug 4 20:26:32 2008 From: killshot91 at comcast.net (Steve Edwards) Date: Mon, 04 Aug 2008 13:26:32 -0700 Subject: [support] Using same view as page and in panel Message-ID: <489765F8.2050505@comcast.net> I have CCK type called Announcement, and I have assigned a taxonomy category with three terms to it. I then created a view that displays the Announcements and pass it an argument of Term ID so I only display items in a certain category. This works great for the page. I would also like to display certain Announcements of one term in a front page panel pane, so I added a checkbox CCK field to indicate that the particular announcement should be displayed in the panel. What I would like to do is use the same view so that when it is the page, it doesn't care about the checkbox, but when it's in the panel, it does, and only displays those items with the checkbox checked. I"m guessing I need to do something along the lines of an optional argument in the view for the checkbox, and then somehow pass the argument for the checkbox in the panel. Can I do this, or do I need to create a separate view to use in the panel? Thanks. Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080804/feb695cb/attachment.htm From bharanikumariyerphp at gmail.com Tue Aug 5 05:18:38 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Tue, 5 Aug 2008 10:48:38 +0530 Subject: [support] search not displaying the meta field Message-ID: <2240033d0808042218jd1ff97ci9818dd5fa4776d6f@mail.gmail.com> hi I added the 2 meta fields, When i search the contents, that fields not displaying any idea... like :: added using cck.. location in event content type... Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080805/d7989e91/attachment.htm From fredthejonester at gmail.com Tue Aug 5 11:21:37 2008 From: fredthejonester at gmail.com (Fred Jones) Date: Tue, 5 Aug 2008 13:21:37 +0200 Subject: [support] Search Problem in d5 In-Reply-To: <177c0a10808040156t3db5e161iffb0282698782cb2@mail.gmail.com> References: <177c0a10808040156t3db5e161iffb0282698782cb2@mail.gmail.com> Message-ID: <177c0a10808050421h592bc02cn7a5252c182035ddc@mail.gmail.com> > We imported a large set of files via the import_html module and made > them all book nodes. What we actually did was import them into a local > install, and then we ran a PHP script to massage the imported data (to > make some adjustments and corrections, some of which we did on the > body field of the records in node_revisions). Then I uploaded that DB > to the web server, and clicked "Re-index site" and now 100% has been > indexed. > > When I run a search for "Hull" however, I get 7 results, which is very > nice, but node 21206 has that word--twice in fact, yet it doesn't > appear in the results list. Node 10037 and 23089 do show up in the > results, so nodes both before and after the 'missing' one are working. > > I am using the standard search facility. I didn't adjust the default > settings of 3 for "Minimum word length to index:" and "Simple CJK > handling" is checked. I tried using the trip_search module, and while it's better, it still doesn't find all search results. For example, if I run a search using Drupal's regular search module for a certain word like "Hull," I get 2 results. With trip_search, I get 19, but if I execute this SQL: select * from node_revisions where body like '%Hull%'; I get 34 results! And I confirmed that all 34 are unique nodes as well. I suppose if no better solution exists, I will just build a module around that SQL. It seems to be the only 100% solution. Unless I am missing something here. Thanks. From amont at 5net.hu Tue Aug 5 15:33:11 2008 From: amont at 5net.hu (=?UTF-8?B?w4Ftb24gVGFtw6Fz?=) Date: Tue, 05 Aug 2008 17:33:11 +0200 Subject: [support] using two different database type In-Reply-To: <20080730112438.8mpff0wta3cc8sco@mail.progw.org> References: <48902082.6060908@5net.hu> <20080730095227.wxb2y4w7cxfogwcs@mail.progw.org> <4890740E.603@5net.hu> <20080730112438.8mpff0wta3cc8sco@mail.progw.org> Message-ID: <489872B7.1080908@5net.hu> Earnie Boyd ?rta: > Quoting ?mon Tam?s : > > >> I thinked about a same solution. Maybe this should be in the next >> version in drupal... >> It is a drupal 6. Maybe somebody has a patch for it? >> >> > > I haven't seen one yet. There is http://drupal.org/node/225450 to > switch to PDO which is a large patch set in itself. The engine include > files are changing already because of this patch which is why I haven't > even attempted a patch as I've suggested. Feel free to pursue the > patch yourself. > > I found this: http://drupal.org/node/19522 But I use also postgresql for drupal too. ?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 shai at content2zero.com Tue Aug 5 18:19:53 2008 From: shai at content2zero.com (Shai Gluskin) Date: Tue, 5 Aug 2008 14:19:53 -0400 Subject: [support] Mass Changing UID Message-ID: <9f68efb70808051119l35ef0200t876fab4001bc9eef@mail.gmail.com> Drupal Mavens, On a site with about 600 nodes I need to change the node author on about 300 of them. It's very straightforward in that everything that is written by uid="2" needs to change to uid="4". I was about to write a simple sql query to implement in phpMyAdmin but thought I'd come here first (*and* back up the db). I'm seeing uid in two tables: node and node_revisions. Does UID exist anywhere else? Also, would I be fine with just changing it in the node_revisions table? Thanks, Shai -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080805/63dd6299/attachment.htm From fredthejonester at gmail.com Tue Aug 5 18:45:16 2008 From: fredthejonester at gmail.com (Fred Jones) Date: Tue, 5 Aug 2008 20:45:16 +0200 Subject: [support] Mass Changing UID In-Reply-To: <9f68efb70808051119l35ef0200t876fab4001bc9eef@mail.gmail.com> References: <9f68efb70808051119l35ef0200t876fab4001bc9eef@mail.gmail.com> Message-ID: <177c0a10808051145v3e6a8f7dq8c569f5f4f9ec093@mail.gmail.com> > Also, would I be fine with just changing it in the node_revisions table? as far as I know, this would be fine, but I look forward to other responses, because I sometimes do this sort of thing directly in the DB. While generally it works, sometimes it can have side effects. In this case, it seems pretty safe. F From earnie at users.sourceforge.net Tue Aug 5 19:07:06 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Tue, 05 Aug 2008 15:07:06 -0400 Subject: [support] Mass Changing UID In-Reply-To: <9f68efb70808051119l35ef0200t876fab4001bc9eef@mail.gmail.com> References: <9f68efb70808051119l35ef0200t876fab4001bc9eef@mail.gmail.com> Message-ID: <20080805150706.pfhrz3nvueueccc0@mail.progw.org> Quoting Shai Gluskin : > Drupal Mavens, > > On a site with about 600 nodes I need to change the node author on about 300 > of them. It's very straightforward in that everything that is written by > uid="2" needs to change to uid="4". > > I was about to write a simple sql query to implement in phpMyAdmin but > thought I'd come here first (*and* back up the db). > > I'm seeing uid in two tables: node and node_revisions. Does UID exist > anywhere else? > > Also, would I be fine with just changing it in the node_revisions table? > > The safer method is to node_load(), change the data and then node_save(). This gives any contrib modules you have a chance to do anything necessary. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From shai at content2zero.com Tue Aug 5 19:09:23 2008 From: shai at content2zero.com (Shai Gluskin) Date: Tue, 5 Aug 2008 15:09:23 -0400 Subject: [support] Mass Changing UID In-Reply-To: <20080805150706.pfhrz3nvueueccc0@mail.progw.org> References: <9f68efb70808051119l35ef0200t876fab4001bc9eef@mail.gmail.com> <20080805150706.pfhrz3nvueueccc0@mail.progw.org> Message-ID: <9f68efb70808051209u6a3e8f66j5773865b378bb9df@mail.gmail.com> Earnie, You'd run node_save() in devel's drupal execute block? Does it resave every single node? Thanks, Shai On Tue, Aug 5, 2008 at 3:07 PM, Earnie Boyd wrote: > Quoting Shai Gluskin : > > > Drupal Mavens, > > > > On a site with about 600 nodes I need to change the node author on about > 300 > > of them. It's very straightforward in that everything that is written by > > uid="2" needs to change to uid="4". > > > > I was about to write a simple sql query to implement in phpMyAdmin but > > thought I'd come here first (*and* back up the db). > > > > I'm seeing uid in two tables: node and node_revisions. Does UID exist > > anywhere else? > > > > Also, would I be fine with just changing it in the node_revisions table? > > > > > > The safer method is to node_load(), change the data and then > node_save(). This gives any contrib modules you have a chance to do > anything necessary. > > 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/20080805/6365d488/attachment-0001.htm From crozilla at gmail.com Tue Aug 5 19:39:29 2008 From: crozilla at gmail.com (crozilla) Date: Tue, 05 Aug 2008 12:39:29 -0700 Subject: [support] PHP: block visibility by term Message-ID: <4898AC71.4000102@gmail.com> All, I kinda know what I'm doing in Drupal, but this trick has baffled me. This is what I want to have happen: When the page has the term 221, block/24 is visible, when the page doesn't have the term, the block is disabled. Sounds simple, right? Here is code I found on Drupal that seemed to do what I wanted, but didn't work for some reason. I don't really know PHP that well, and was hoping someone could point out the problem. ------------------ | tid == $term_id_to_trigger_show_block) { $make_block_visible = TRUE; } } } ?> ------------ |Also, is this possible using a CCK text field, instead of a category term? That would be ideal. Thanks, Peter From fredthejonester at gmail.com Tue Aug 5 19:40:45 2008 From: fredthejonester at gmail.com (Fred Jones) Date: Tue, 5 Aug 2008 21:40:45 +0200 Subject: [support] Mass Changing UID In-Reply-To: <9f68efb70808051209u6a3e8f66j5773865b378bb9df@mail.gmail.com> References: <9f68efb70808051119l35ef0200t876fab4001bc9eef@mail.gmail.com> <20080805150706.pfhrz3nvueueccc0@mail.progw.org> <9f68efb70808051209u6a3e8f66j5773865b378bb9df@mail.gmail.com> Message-ID: <177c0a10808051240r4ac23856id262c4201fe59e14@mail.gmail.com> > You'd run node_save() in devel's drupal execute block? Does it resave every > single node? No, it does one at a time--you would have to write a loop with PHP to load and then save each node. From Greg at GrowingVentureSolutions.com Tue Aug 5 20:09:39 2008 From: Greg at GrowingVentureSolutions.com (Greg Knaddison - GVS) Date: Tue, 5 Aug 2008 14:09:39 -0600 Subject: [support] Mass Changing UID In-Reply-To: <177c0a10808051240r4ac23856id262c4201fe59e14@mail.gmail.com> References: <9f68efb70808051119l35ef0200t876fab4001bc9eef@mail.gmail.com> <20080805150706.pfhrz3nvueueccc0@mail.progw.org> <9f68efb70808051209u6a3e8f66j5773865b378bb9df@mail.gmail.com> <177c0a10808051240r4ac23856id262c4201fe59e14@mail.gmail.com> Message-ID: <3861c6770808051309w716c6a0k152655f2089de4f4@mail.gmail.com> On Tue, Aug 5, 2008 at 1:40 PM, Fred Jones wrote: >> You'd run node_save() in devel's drupal execute block? Does it resave every >> single node? > > No, it does one at a time--you would have to write a loop with PHP to > load and then save each node. It would be something like the snippet provided here: http://pingv.com/blog/greg/200611/automatically-publishing-and-setting-a-term-to-implement-taxonomy-access-control That said, node_save doesn't let all modules take action and the super best way to do this is with drupal_execute following some of the tips in this mega thread: http://lists.drupal.org/pipermail/development/2008-March/029148.html So, you have three options. Ranked in order from simplest to most difficult which is also the order from most likely to cause problems to least likely to cause problems: 1. Updating the DB directly 2. Using node_load/node_save as in the snippet from pingv.com that I linked above 3. Using the drupal_execute method as mentioned in that listserv thread If this were up to me I'd probably change 3 or 4 nodes in the database and then look at them and see if there are any issues. If that works, do it for all of them. If not... Cheers, Greg -- Greg Knaddison Denver, CO | http://knaddison.com | 303-800-5623 Growing Venture Solutions, LLC | http://growingventuresolutions.com From daniel.carrera at zmsl.com Wed Aug 6 07:36:41 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Wed, 06 Aug 2008 09:36:41 +0200 Subject: [support] Upgrading Drupal Message-ID: <48995489.4090009@zmsl.com> Hello, I'm going to be upgrading Drupal in the coming weeks. I have a few starter questions: - I have version 4.7. Should I upgrade to Drupal 5 or 6? - I have two other minor sites that also use Drupal. They are small and have few or zero plugins. Would it be a smart idea to use the multi-site feature and put all three sites in one place or should I have them separate? In other words, would multi-site make upgrades more complicated in the future? I'll have to fix many issues with plugins as I upgrade. * In the current site I put all the plugins in the global plugins directory because I didn't know better. In the new site I'll put them in the site-specific directory. * I have a lot of plugins. Several don't work well and I would like to get rid of them if it's at all possible. I wonder if getting rid of plugins and their associated data may turn out to be a problem. Especially if the plugins in question are not available in future versions. What is the best course of action regarding plugins that may not be available in the recent Drupal versions? Thank you for your help. Daniel. From marolijo at yahoo.es Wed Aug 6 09:00:28 2008 From: marolijo at yahoo.es (marolijo - Pol Maresma) Date: Wed, 6 Aug 2008 11:00:28 +0200 Subject: [support] Block/Views title translation Message-ID: <392070.48515.bm@omp104.mail.re1.yahoo.com> Hello! I'm using this code to translate the block titles,

subject) ?>

on block.tpl.php Can I use this with views title's? Where shoul I place this code? Thank's! Pol From victorkane at gmail.com Wed Aug 6 09:34:33 2008 From: victorkane at gmail.com (Victor Kane) Date: Wed, 6 Aug 2008 06:34:33 -0300 Subject: [support] Upgrading Drupal In-Reply-To: <48995489.4090009@zmsl.com> References: <48995489.4090009@zmsl.com> Message-ID: On Wed, Aug 6, 2008 at 4:36 AM, Daniel Carrera wrote: > Hello, > > I'm going to be upgrading Drupal in the coming weeks. I have a few > starter questions: > > - I have version 4.7. Should I upgrade to Drupal 5 or 6? > There is no alternative, you must upgrade to 5.x first (and the latest version). Not only in Drupal core, but every module must have the latest version posible also. See: http://drupal.org/upgrade > - I have two other minor sites that also use Drupal. They are small and > have few or zero plugins. Would it be a smart idea to use the multi-site > feature and put all three sites in one place or should I have them > separate? In other words, would multi-site make upgrades more > complicated in the future? I would say it is six of one and half a dozen of the other. > > I'll have to fix many issues with plugins as I upgrade. > That's for sure. However, the upgrade path to Drupal 6.x is not as daunting as it seems. Many modules do upgrade, and this will get better over time. I have two suggestions: 1. USE A TEST SITE 2. As Greg Knaddisson suggests in his excellent video on upgrading to Drupal 6.x, the first thing to do is READ A LOT. Here: Drupal Handbook upgrade pages: http://drupal.org/upgrade The UPGRADE.txt file found in the document root of the Drupal 6.x file tree is by all accounts the best (if not only) reference material; as well as the documentation that comes with each Drupal module. Greg Knaddison (greggles) has published an excellent video on the basic process of upgrading from Drupal 5.x to Drupal 6.x, part of the Mastering Drupal series. The video is available free online at http://www.masteringdrupal.com/screencast/upgrading-to-drupal-6 Special Forum on drupal.org dedicated to upgrade problems and advice Converting 5.x themes to 6.x: http://drupal.org/node/132442. A little technical, but might come in handy. See http://drupal.org/update, http://drupal.org/update/theme, and http://drupal.org/update/modules. > * In the current site I put all the plugins in the global plugins > directory because I didn't know better. In the new site I'll put them in > the site-specific directory. > > * I have a lot of plugins. Several don't work well and I would like to > get rid of them if it's at all possible. I wonder if getting rid of > plugins and their associated data may turn out to be a problem. > Especially if the plugins in question are not available in future versions. > > What is the best course of action regarding plugins that may not be > available in the recent Drupal versions? > When it gets hairy, export the data somehow, reverse engineer, import. This is a difficult question. Victor Kane http://awebfactory.com.ar > Thank you for your help. > > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] > From victorkane at gmail.com Wed Aug 6 09:40:00 2008 From: victorkane at gmail.com (Victor Kane) Date: Wed, 6 Aug 2008 06:40:00 -0300 Subject: [support] Block/Views title translation In-Reply-To: <392070.48515.bm@omp104.mail.re1.yahoo.com> References: <392070.48515.bm@omp104.mail.re1.yahoo.com> Message-ID: Actually, you can override the View title in the view itself; or, if you are using panels, you can override it there. However, if you use the views theming wizard (talking Drupal 5 here?) you will be provided with a template. Or if you embed a view, you can do as you like. The context and reason for your question is not clear: what is it exactly you need to accomplish? Victor Kane http://awebfactory.com.ar On Wed, Aug 6, 2008 at 6:00 AM, marolijo - Pol Maresma wrote: > Hello! > I'm using this code to translate the block titles, > >

subject) ?>

> > on block.tpl.php > > Can I use this with views title's? Where shoul I place this code? > > Thank's! > Pol > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From marolijo at yahoo.es Wed Aug 6 11:38:41 2008 From: marolijo at yahoo.es (marolijo - Pol Maresma) Date: Wed, 6 Aug 2008 13:38:41 +0200 Subject: [support] Block/Views title translation In-Reply-To: Message-ID: <40293.99581.bm@omp101.mail.re1.yahoo.com> Sorry if not explained well :) I'm on D5, and use template views to translate and design of views content. But need to translate view title to avoid duplicating views for each locale (a solution I found). Thank's for all again! Pol -----Mensaje original----- De: support-bounces at drupal.org [mailto:support-bounces at drupal.org] En nombre de Victor Kane Enviado el: dimecres, 6 / agost / 2008 11:40 Para: support at drupal.org Asunto: Re: [support] Block/Views title translation Actually, you can override the View title in the view itself; or, if you are using panels, you can override it there. However, if you use the views theming wizard (talking Drupal 5 here?) you will be provided with a template. Or if you embed a view, you can do as you like. The context and reason for your question is not clear: what is it exactly you need to accomplish? Victor Kane http://awebfactory.com.ar On Wed, Aug 6, 2008 at 6:00 AM, marolijo - Pol Maresma wrote: > Hello! > I'm using this code to translate the block titles, > >

subject) ?>

> > on block.tpl.php > > Can I use this with views title's? Where shoul I place this code? > > Thank's! > Pol > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- [ Drupal support list | http://lists.drupal.org/ ] __________ Informacisn de NOD32, revisisn 3303 (20080728) __________ Este mensaje ha sido analizado con NOD32 antivirus system http://www.nod32.com From william.darren at gmail.com Wed Aug 6 12:08:49 2008 From: william.darren at gmail.com (William Smith) Date: Wed, 6 Aug 2008 08:08:49 -0400 Subject: [support] PHP: block visibility by term In-Reply-To: <4898AC71.4000102@gmail.com> References: <4898AC71.4000102@gmail.com> Message-ID: <74630ca20808060508g723d68f5kd3f03dd42f3e8557@mail.gmail.com> Add "return $make_block_visible;" (without the quotes) as the last line directly above the closing php tag ("?>") On Tue, Aug 5, 2008 at 3:39 PM, crozilla wrote: > All, > > I kinda know what I'm doing in Drupal, but this trick has baffled me. > This is what I want to have happen: When the page has the term 221, > block/24 is visible, when the page doesn't have the term, the block is > disabled. Sounds simple, right? > > Here is code I found on Drupal that seemed to do what I wanted, but > didn't work for some reason. I don't really know PHP that well, and was > hoping someone could point out the problem. > > ------------------ > | > //code snippet for causing block to show based on a node's taxonomy term. > $make_block_visible = FALSE; > $term_id_to_trigger_show_block = 221; > > if ((arg(0) == 'node') && is_numeric(arg(1))) { > $terms = taxonomy_node_get_terms(arg(1)); > foreach($terms as $term) { > if ($term->tid == $term_id_to_trigger_show_block) { > $make_block_visible = TRUE; > } > } > } > ?> > > ------------ > > |Also, is this possible using a CCK text field, instead of a category > term? That would be ideal. > > Thanks, > > Peter > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080806/06e75340/attachment-0001.htm From bharanikumariyerphp at gmail.com Wed Aug 6 17:59:02 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Wed, 6 Aug 2008 23:29:02 +0530 Subject: [support] CRON not run Message-ID: <2240033d0808061059u43e1a8eby8596586ef212f6b1@mail.gmail.com> Hi friends Tell me alternate way to RUN the CRON, Approximetly am having around 30000 records, So manually running cron goes to failure state, so Tell the another way to run the CRON... advance Thanks for great ideas -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080806/5319f4b4/attachment.htm From shyamala at netlinkindia.com Thu Aug 7 03:59:31 2008 From: shyamala at netlinkindia.com (Shyamala Rajaram) Date: Thu, 7 Aug 2008 09:29:31 +0530 Subject: [support] CRON not run References: <2240033d0808061059u43e1a8eby8596586ef212f6b1@mail.gmail.com> Message-ID: <001a01c8f842$11e5ec30$3663a8c0@netlinkindia.local> just type http://www.mysite.com/cron.php, It may take soem time to index 30000 records, maybe more than a day. Shyamala ----- Original Message ----- From: bharani kumar To: support at drupal.org Sent: Wednesday, August 06, 2008 11:29 PM Subject: [support] CRON not run Hi friends Tell me alternate way to RUN the CRON, Approximetly am having around 30000 records, So manually running cron goes to failure state, so Tell the another way to run the CRON... advance Thanks for great ideas ------------------------------------------------------------------------------ -- [ Drupal support list | http://lists.drupal.org/ ] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080807/840a8439/attachment.htm From bharanikumariyerphp at gmail.com Thu Aug 7 04:24:38 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Thu, 7 Aug 2008 09:54:38 +0530 Subject: [support] CRON not run In-Reply-To: <001a01c8f842$11e5ec30$3663a8c0@netlinkindia.local> References: <2240033d0808061059u43e1a8eby8596586ef212f6b1@mail.gmail.com> <001a01c8f842$11e5ec30$3663a8c0@netlinkindia.local> Message-ID: <2240033d0808062124l423ab346pe0ffcfc958660273@mail.gmail.com> It may take more than a day.. IS IT.. Ok am ready to run... Can u plz tell the for this much records ..how much execution_time , i have to set into the php.ini .... presently i set as 3600 as execution time... On Thu, Aug 7, 2008 at 9:29 AM, Shyamala Rajaram wrote: > just type http://www.mysite.com/cron.php, It may take soem time to index > 30000 records, maybe more than a day. > > Shyamala > > ----- Original Message ----- > *From:* bharani kumar > *To:* support at drupal.org > *Sent:* Wednesday, August 06, 2008 11:29 PM > *Subject:* [support] CRON not run > > Hi friends > > Tell me alternate way to RUN the CRON, > > Approximetly am having around 30000 records, > > So manually running cron goes to failure state, > > so Tell the another way to run the CRON... > > > advance Thanks for great ideas > > ------------------------------ > > -- > [ 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/20080807/038e98fc/attachment.htm From shyamala at netlinkindia.com Thu Aug 7 04:45:07 2008 From: shyamala at netlinkindia.com (Shyamala Rajaram) Date: Thu, 7 Aug 2008 10:15:07 +0530 Subject: [support] CRON not run References: <2240033d0808061059u43e1a8eby8596586ef212f6b1@mail.gmail.com><001a01c8f842$11e5ec30$3663a8c0@netlinkindia.local> <2240033d0808062124l423ab346pe0ffcfc958660273@mail.gmail.com> Message-ID: <00cd01c8f848$7b702520$3663a8c0@netlinkindia.local> Set php.ini execution_time=0. The Cron should take approx 4hours. Shyamala ----- Original Message ----- From: bharani kumar To: support at drupal.org Sent: Thursday, August 07, 2008 9:54 AM Subject: Re: [support] CRON not run It may take more than a day.. IS IT.. Ok am ready to run... Can u plz tell the for this much records ..how much execution_time , i have to set into the php.ini .... presently i set as 3600 as execution time... On Thu, Aug 7, 2008 at 9:29 AM, Shyamala Rajaram wrote: just type http://www.mysite.com/cron.php, It may take soem time to index 30000 records, maybe more than a day. Shyamala ----- Original Message ----- From: bharani kumar To: support at drupal.org Sent: Wednesday, August 06, 2008 11:29 PM Subject: [support] CRON not run Hi friends Tell me alternate way to RUN the CRON, Approximetly am having around 30000 records, So manually running cron goes to failure state, so Tell the another way to run the CRON... advance Thanks for great ideas -------------------------------------------------------------------------- -- [ Drupal support list | http://lists.drupal.org/ ] -- [ Drupal support list | http://lists.drupal.org/ ] ------------------------------------------------------------------------------ -- [ Drupal support list | http://lists.drupal.org/ ] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080807/7b8bb2a8/attachment.htm From bharanikumariyerphp at gmail.com Thu Aug 7 04:58:54 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Thu, 7 Aug 2008 10:28:54 +0530 Subject: [support] CRON not run In-Reply-To: <00cd01c8f848$7b702520$3663a8c0@netlinkindia.local> References: <2240033d0808061059u43e1a8eby8596586ef212f6b1@mail.gmail.com> <001a01c8f842$11e5ec30$3663a8c0@netlinkindia.local> <2240033d0808062124l423ab346pe0ffcfc958660273@mail.gmail.com> <00cd01c8f848$7b702520$3663a8c0@netlinkindia.local> Message-ID: <2240033d0808062158y708209q6377e74da15787f@mail.gmail.com> Ok fine, i will try, Thanks On Thu, Aug 7, 2008 at 10:15 AM, Shyamala Rajaram wrote: > Set php.ini execution_time=0. > > The Cron should take approx 4hours. > > Shyamala > > ----- Original Message ----- > *From:* bharani kumar > *To:* support at drupal.org > *Sent:* Thursday, August 07, 2008 9:54 AM > *Subject:* Re: [support] CRON not run > > It may take more than a day.. IS IT.. Ok am ready to run... > > Can u plz tell the for this much records ..how much execution_time , i have > to set into the php.ini .... > > presently i set as 3600 as execution time... > > On Thu, Aug 7, 2008 at 9:29 AM, Shyamala Rajaram < > shyamala at netlinkindia.com> wrote: > >> just type http://www.mysite.com/cron.php, It may take soem time to index >> 30000 records, maybe more than a day. >> >> Shyamala >> >> ----- Original Message ----- >> *From:* bharani kumar >> *To:* support at drupal.org >> *Sent:* Wednesday, August 06, 2008 11:29 PM >> *Subject:* [support] CRON not run >> >> Hi friends >> >> Tell me alternate way to RUN the CRON, >> >> Approximetly am having around 30000 records, >> >> So manually running cron goes to failure state, >> >> so Tell the another way to run the CRON... >> >> >> advance Thanks for great ideas >> >> ------------------------------ >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > ------------------------------ > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080807/1544ce91/attachment-0001.htm From shyamala at netlinkindia.com Thu Aug 7 06:35:52 2008 From: shyamala at netlinkindia.com (Shyamala Rajaram) Date: Thu, 7 Aug 2008 12:05:52 +0530 Subject: [support] CRON not run References: <2240033d0808061059u43e1a8eby8596586ef212f6b1@mail.gmail.com><001a01c8f842$11e5ec30$3663a8c0@netlinkindia.local><2240033d0808062124l423ab346pe0ffcfc958660273@mail.gmail.com><00cd01c8f848$7b702520$3663a8c0@netlinkindia.local> <2240033d0808062158y708209q6377e74da15787f@mail.gmail.com> Message-ID: <015101c8f857$e9918350$3663a8c0@netlinkindia.local> I forgot to mention: Please revert php.ini back once the database population is complete. The time also depends on whether the database and webserver are on the same machine or not. Thanks Shyamala ----- Original Message ----- From: bharani kumar To: support at drupal.org Sent: Thursday, August 07, 2008 10:28 AM Subject: Re: [support] CRON not run Ok fine, i will try, Thanks On Thu, Aug 7, 2008 at 10:15 AM, Shyamala Rajaram wrote: Set php.ini execution_time=0. The Cron should take approx 4hours. Shyamala ----- Original Message ----- From: bharani kumar To: support at drupal.org Sent: Thursday, August 07, 2008 9:54 AM Subject: Re: [support] CRON not run It may take more than a day.. IS IT.. Ok am ready to run... Can u plz tell the for this much records ..how much execution_time , i have to set into the php.ini .... presently i set as 3600 as execution time... On Thu, Aug 7, 2008 at 9:29 AM, Shyamala Rajaram wrote: just type http://www.mysite.com/cron.php, It may take soem time to index 30000 records, maybe more than a day. Shyamala ----- Original Message ----- From: bharani kumar To: support at drupal.org Sent: Wednesday, August 06, 2008 11:29 PM Subject: [support] CRON not run Hi friends Tell me alternate way to RUN the CRON, Approximetly am having around 30000 records, So manually running cron goes to failure state, so Tell the another way to run the CRON... advance Thanks for great ideas ---------------------------------------------------------------------- -- [ Drupal support list | http://lists.drupal.org/ ] -- [ Drupal support list | http://lists.drupal.org/ ] -------------------------------------------------------------------------- -- [ Drupal support list | http://lists.drupal.org/ ] -- [ Drupal support list | http://lists.drupal.org/ ] ------------------------------------------------------------------------------ -- [ Drupal support list | http://lists.drupal.org/ ] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080807/ef366267/attachment.htm From bharanikumariyerphp at gmail.com Thu Aug 7 06:49:02 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Thu, 7 Aug 2008 12:19:02 +0530 Subject: [support] CRON not run In-Reply-To: <015101c8f857$e9918350$3663a8c0@netlinkindia.local> References: <2240033d0808061059u43e1a8eby8596586ef212f6b1@mail.gmail.com> <001a01c8f842$11e5ec30$3663a8c0@netlinkindia.local> <2240033d0808062124l423ab346pe0ffcfc958660273@mail.gmail.com> <00cd01c8f848$7b702520$3663a8c0@netlinkindia.local> <2240033d0808062158y708209q6377e74da15787f@mail.gmail.com> <015101c8f857$e9918350$3663a8c0@netlinkindia.local> Message-ID: <2240033d0808062349t5989875q116b6b8624b844cf@mail.gmail.com> ok fine.. i started the cron. already.. Thanks for information.. Shall i ask you one more thing... I created the custom MENU which display the all records .. I want ot restrict the CUSTOM menu from anonymous user.. I used the condition like if($user->uid){ show menu } But this condition not meet my expectation.. You any idea for this ?????? thanks in advance On Thu, Aug 7, 2008 at 12:05 PM, Shyamala Rajaram wrote: > I forgot to mention: > > > Please revert php.ini back once the database population is complete. > > The time also depends on whether the database and webserver are on the same > machine or not. > > Thanks > Shyamala > > ----- Original Message ----- > *From:* bharani kumar > *To:* support at drupal.org > *Sent:* Thursday, August 07, 2008 10:28 AM > *Subject:* Re: [support] CRON not run > > Ok fine, i will try, > Thanks > > On Thu, Aug 7, 2008 at 10:15 AM, Shyamala Rajaram < > shyamala at netlinkindia.com> wrote: > >> Set php.ini execution_time=0. >> >> The Cron should take approx 4hours. >> >> Shyamala >> >> ----- Original Message ----- >> *From:* bharani kumar >> *To:* support at drupal.org >> *Sent:* Thursday, August 07, 2008 9:54 AM >> *Subject:* Re: [support] CRON not run >> >> It may take more than a day.. IS IT.. Ok am ready to run... >> >> Can u plz tell the for this much records ..how much execution_time , i >> have to set into the php.ini .... >> >> presently i set as 3600 as execution time... >> >> On Thu, Aug 7, 2008 at 9:29 AM, Shyamala Rajaram < >> shyamala at netlinkindia.com> wrote: >> >>> just type http://www.mysite.com/cron.php, It may take soem time to >>> index 30000 records, maybe more than a day. >>> >>> Shyamala >>> >>> ----- Original Message ----- >>> *From:* bharani kumar >>> *To:* support at drupal.org >>> *Sent:* Wednesday, August 06, 2008 11:29 PM >>> *Subject:* [support] CRON not run >>> >>> Hi friends >>> >>> Tell me alternate way to RUN the CRON, >>> >>> Approximetly am having around 30000 records, >>> >>> So manually running cron goes to failure state, >>> >>> so Tell the another way to run the CRON... >>> >>> >>> advance Thanks for great ideas >>> >>> ------------------------------ >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >> >> ------------------------------ >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > ------------------------------ > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080807/44bbf72f/attachment.htm From bill at funnymonkey.com Thu Aug 7 06:55:50 2008 From: bill at funnymonkey.com (Bill Fitzgerald) Date: Wed, 06 Aug 2008 23:55:50 -0700 Subject: [support] CRON not run In-Reply-To: <2240033d0808062349t5989875q116b6b8624b844cf@mail.gmail.com> References: <2240033d0808061059u43e1a8eby8596586ef212f6b1@mail.gmail.com> <001a01c8f842$11e5ec30$3663a8c0@netlinkindia.local> <2240033d0808062124l423ab346pe0ffcfc958660273@mail.gmail.com> <00cd01c8f848$7b702520$3663a8c0@netlinkindia.local> <2240033d0808062158y708209q6377e74da15787f@mail.gmail.com> <015101c8f857$e9918350$3663a8c0@netlinkindia.local> <2240033d0808062349t5989875q116b6b8624b844cf@mail.gmail.com> Message-ID: <489A9C76.90005@funnymonkey.com> Hide the block displaying the menu based on user role. This is core functionality that you can use on any block. Navigate to admin/build/block and then click on the "configure" link. bharani kumar wrote: > ok fine.. i started the cron. already.. > > Thanks for information.. > > Shall i ask you one more thing... > > I created the custom MENU which display the all records .. > > > I want ot restrict the CUSTOM menu from anonymous user.. > > I used the condition like > > if($user->uid){ > show menu > } > > But this condition not meet my expectation.. > > You any idea for this ?????? > > thanks in advance > > > On Thu, Aug 7, 2008 at 12:05 PM, Shyamala Rajaram >> wrote: >> > > >> I forgot to mention: >> >> >> Please revert php.ini back once the database population is complete. >> >> The time also depends on whether the database and webserver are on the same >> machine or not. >> >> Thanks >> Shyamala >> >> ----- Original Message ----- >> *From:* bharani kumar >> *To:* support at drupal.org >> *Sent:* Thursday, August 07, 2008 10:28 AM >> *Subject:* Re: [support] CRON not run >> >> Ok fine, i will try, >> Thanks >> >> On Thu, Aug 7, 2008 at 10:15 AM, Shyamala Rajaram < >> shyamala at netlinkindia.com> wrote: >> >> >>> Set php.ini execution_time=0. >>> >>> The Cron should take approx 4hours. >>> >>> Shyamala >>> >>> ----- Original Message ----- >>> *From:* bharani kumar >>> *To:* support at drupal.org >>> *Sent:* Thursday, August 07, 2008 9:54 AM >>> *Subject:* Re: [support] CRON not run >>> >>> It may take more than a day.. IS IT.. Ok am ready to run... >>> >>> Can u plz tell the for this much records ..how much execution_time , i >>> have to set into the php.ini .... >>> >>> presently i set as 3600 as execution time... >>> >>> On Thu, Aug 7, 2008 at 9:29 AM, Shyamala Rajaram < >>> shyamala at netlinkindia.com> wrote: >>> >>> >>>> just type http://www.mysite.com/cron.php, It may take soem time to >>>> index 30000 records, maybe more than a day. >>>> >>>> Shyamala >>>> >>>> ----- Original Message ----- >>>> *From:* bharani kumar >>>> *To:* support at drupal.org >>>> *Sent:* Wednesday, August 06, 2008 11:29 PM >>>> *Subject:* [support] CRON not run >>>> >>>> Hi friends >>>> >>>> Tell me alternate way to RUN the CRON, >>>> >>>> Approximetly am having around 30000 records, >>>> >>>> So manually running cron goes to failure state, >>>> >>>> so Tell the another way to run the CRON... >>>> >>>> >>>> advance Thanks for great ideas >>>> >>>> ------------------------------ >>>> >>>> -- >>>> [ Drupal support list | http://lists.drupal.org/ ] >>>> >>>> >>>> -- >>>> [ Drupal support list | http://lists.drupal.org/ ] >>>> >>>> >>> ------------------------------ >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >>> >> ------------------------------ >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> >> > > -- Bill Fitzgerald http://funnymonkey.com FunnyMonkey -- Tools for Teachers ph. 503 897 7160 From bharanikumariyerphp at gmail.com Thu Aug 7 07:07:21 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Thu, 7 Aug 2008 12:37:21 +0530 Subject: [support] CRON not run In-Reply-To: <489A9C76.90005@funnymonkey.com> References: <2240033d0808061059u43e1a8eby8596586ef212f6b1@mail.gmail.com> <001a01c8f842$11e5ec30$3663a8c0@netlinkindia.local> <2240033d0808062124l423ab346pe0ffcfc958660273@mail.gmail.com> <00cd01c8f848$7b702520$3663a8c0@netlinkindia.local> <2240033d0808062158y708209q6377e74da15787f@mail.gmail.com> <015101c8f857$e9918350$3663a8c0@netlinkindia.local> <2240033d0808062349t5989875q116b6b8624b844cf@mail.gmail.com> <489A9C76.90005@funnymonkey.com> Message-ID: <2240033d0808070007o31e497f6s1cdac778f1650079@mail.gmail.com> its menu , not an block, That is ...... After i enabled the custom menu module, The custom menu comes to the navigation , So i thing , the restriction must be given in side the code only.. is there any way for that.. below is my code... in this code, we have to write the restriction... once again i tell you my problem,,, After i logout also..my menu displaying in the navigation... function cShow_menu() { if($user->uid){ //which retrive all content type from node table $sql = 'select * from node_type '; $res = db_query($sql); //array $content[] =""; while ($row = db_fetch_array($res)) { echo "i want user id".$uid; $ctype=$row['type']; //This is for creating the dynamic menu and sub menu $content[] = array( 'title' => t('Contents'), 'path' => 'node/cShow', 'callback' => 'cShow_rootmenu', ); $path = 'node/cShow/'.$row['type'] ; $content[] = array( 'title' => t($row['name']), 'path' =>"$path", 'callback' => "cShow_common", ); } //End of while loop for dislay the sub menu return $content; } } On Thu, Aug 7, 2008 at 12:25 PM, Bill Fitzgerald wrote: > Hide the block displaying the menu based on user role. This is core > functionality that you can use on any block. > > Navigate to admin/build/block and then click on the "configure" link. > > bharani kumar wrote: > > ok fine.. i started the cron. already.. > > > > Thanks for information.. > > > > Shall i ask you one more thing... > > > > I created the custom MENU which display the all records .. > > > > > > I want ot restrict the CUSTOM menu from anonymous user.. > > > > I used the condition like > > > > if($user->uid){ > > show menu > > } > > > > But this condition not meet my expectation.. > > > > You any idea for this ?????? > > > > thanks in advance > > > > > > On Thu, Aug 7, 2008 at 12:05 PM, Shyamala Rajaram < > shyamala at netlinkindia.com > > > >> wrote: > >> > > > > > >> I forgot to mention: > >> > >> > >> Please revert php.ini back once the database population is complete. > >> > >> The time also depends on whether the database and webserver are on the > same > >> machine or not. > >> > >> Thanks > >> Shyamala > >> > >> ----- Original Message ----- > >> *From:* bharani kumar > >> *To:* support at drupal.org > >> *Sent:* Thursday, August 07, 2008 10:28 AM > >> *Subject:* Re: [support] CRON not run > >> > >> Ok fine, i will try, > >> Thanks > >> > >> On Thu, Aug 7, 2008 at 10:15 AM, Shyamala Rajaram < > >> shyamala at netlinkindia.com> wrote: > >> > >> > >>> Set php.ini execution_time=0. > >>> > >>> The Cron should take approx 4hours. > >>> > >>> Shyamala > >>> > >>> ----- Original Message ----- > >>> *From:* bharani kumar > >>> *To:* support at drupal.org > >>> *Sent:* Thursday, August 07, 2008 9:54 AM > >>> *Subject:* Re: [support] CRON not run > >>> > >>> It may take more than a day.. IS IT.. Ok am ready to run... > >>> > >>> Can u plz tell the for this much records ..how much execution_time , i > >>> have to set into the php.ini .... > >>> > >>> presently i set as 3600 as execution time... > >>> > >>> On Thu, Aug 7, 2008 at 9:29 AM, Shyamala Rajaram < > >>> shyamala at netlinkindia.com> wrote: > >>> > >>> > >>>> just type http://www.mysite.com/cron.php, It may take soem time to > >>>> index 30000 records, maybe more than a day. > >>>> > >>>> Shyamala > >>>> > >>>> ----- Original Message ----- > >>>> *From:* bharani kumar > >>>> *To:* support at drupal.org > >>>> *Sent:* Wednesday, August 06, 2008 11:29 PM > >>>> *Subject:* [support] CRON not run > >>>> > >>>> Hi friends > >>>> > >>>> Tell me alternate way to RUN the CRON, > >>>> > >>>> Approximetly am having around 30000 records, > >>>> > >>>> So manually running cron goes to failure state, > >>>> > >>>> so Tell the another way to run the CRON... > >>>> > >>>> > >>>> advance Thanks for great ideas > >>>> > >>>> ------------------------------ > >>>> > >>>> -- > >>>> [ Drupal support list | http://lists.drupal.org/ ] > >>>> > >>>> > >>>> -- > >>>> [ Drupal support list | http://lists.drupal.org/ ] > >>>> > >>>> > >>> ------------------------------ > >>> > >>> -- > >>> [ Drupal support list | http://lists.drupal.org/ ] > >>> > >>> > >>> -- > >>> [ Drupal support list | http://lists.drupal.org/ ] > >>> > >>> > >> ------------------------------ > >> > >> -- > >> [ Drupal support list | http://lists.drupal.org/ ] > >> > >> > >> -- > >> [ Drupal support list | http://lists.drupal.org/ ] > >> > >> > > > > > > > -- > > 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/20080807/efaacf6b/attachment.htm From bharanikumariyerphp at gmail.com Thu Aug 7 08:27:10 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Thu, 7 Aug 2008 13:57:10 +0530 Subject: [support] PHP: block visibility by term In-Reply-To: <4898AC71.4000102@gmail.com> References: <4898AC71.4000102@gmail.com> Message-ID: <2240033d0808070127n5090a3a2lb06af258e28fd6f0@mail.gmail.com> $tid = substr($_SERVER['REQUEST_URI'],12,17); $term = taxonomy_get_term($tid) ; $node = node_load(arg(1)); if (arg(0) == 'section' && $term->name == 'Events') { return TRUE; } else { return FALSE ; } On Wed, Aug 6, 2008 at 1:09 AM, crozilla wrote: > All, > > I kinda know what I'm doing in Drupal, but this trick has baffled me. > This is what I want to have happen: When the page has the term 221, > block/24 is visible, when the page doesn't have the term, the block is > disabled. Sounds simple, right? > > Here is code I found on Drupal that seemed to do what I wanted, but > didn't work for some reason. I don't really know PHP that well, and was > hoping someone could point out the problem. > > ------------------ > | > //code snippet for causing block to show based on a node's taxonomy term. > $make_block_visible = FALSE; > $term_id_to_trigger_show_block = 221; > > if ((arg(0) == 'node') && is_numeric(arg(1))) { > $terms = taxonomy_node_get_terms(arg(1)); > foreach($terms as $term) { > if ($term->tid == $term_id_to_trigger_show_block) { > $make_block_visible = TRUE; > } > } > } > ?> > > ------------ > > |Also, is this possible using a CCK text field, instead of a category > term? That would be ideal. > > Thanks, > > Peter > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080807/c3d440a9/attachment.htm From fredthejonester at gmail.com Thu Aug 7 09:07:11 2008 From: fredthejonester at gmail.com (Fred Jones) Date: Thu, 7 Aug 2008 11:07:11 +0200 Subject: [support] Using Drupal Pager in D5 Module Message-ID: <177c0a10808070207w3b228772s7d84b315fe5de2a8@mail.gmail.com> I have a custom SQL search and I use pager_query which works nicely. But how do I get the paging links to come up? I tried this: $form['pager'] = array( '#value' => theme('pager', NULL, 10, 0) ); which I see in other modules, but nothing happens. To clarify, this code: $form[] = array( '#value' => theme('table', array('Name'), my_module_run_search()) ); generates the search results, and in my_module_run_search() I call pager_query. I am also wondering how the page=1 from the URL gets transferred into pager_query, because if I manually add it to the URL, I still get the first page. Thanks for any pointers! From pierre.rineau at makina-corpus.com Thu Aug 7 09:16:01 2008 From: pierre.rineau at makina-corpus.com (Pierre Rineau) Date: Thu, 07 Aug 2008 11:16:01 +0200 Subject: [support] Using Drupal Pager in D5 Module In-Reply-To: <177c0a10808070207w3b228772s7d84b315fe5de2a8@mail.gmail.com> References: <177c0a10808070207w3b228772s7d84b315fe5de2a8@mail.gmail.com> Message-ID: <1218100561.9370.15.camel@localhost> You have to do your original request like this: theme('pager', array() /* Leave a null array here just work */, $limit, 0, array() /* Just put an empty array or ommit the parameter */) ); // Continue your stuff under ?> On jeu, 2008-08-07 at 11:07 +0200, Fred Jones wrote: > I have a custom SQL search and I use pager_query which works nicely. > But how do I get the paging links to come up? I tried this: > > $form['pager'] = array( > '#value' => theme('pager', NULL, 10, 0) > ); > > which I see in other modules, but nothing happens. To clarify, this code: > > $form[] = array( > '#value' => theme('table', array('Name'), my_module_run_search()) > ); > > generates the search results, and in my_module_run_search() I call pager_query. > > I am also wondering how the page=1 from the URL gets transferred into > pager_query, because if I manually add it to the URL, I still get the > first page. > > Thanks for any pointers! From pierre.rineau at makina-corpus.com Thu Aug 7 09:17:36 2008 From: pierre.rineau at makina-corpus.com (Pierre Rineau) Date: Thu, 07 Aug 2008 11:17:36 +0200 Subject: [support] Using Drupal Pager in D5 Module In-Reply-To: <1218100561.9370.15.camel@localhost> References: <177c0a10808070207w3b228772s7d84b315fe5de2a8@mail.gmail.com> <1218100561.9370.15.camel@localhost> Message-ID: <1218100656.9370.17.camel@localhost> Errata s/Leave a null array here just work/Leave a EMPTY array here just work/g From fredthejonester at gmail.com Thu Aug 7 10:13:34 2008 From: fredthejonester at gmail.com (Fred Jones) Date: Thu, 7 Aug 2008 12:13:34 +0200 Subject: [support] Using Drupal Pager in D5 Module In-Reply-To: <1218100656.9370.17.camel@localhost> References: <177c0a10808070207w3b228772s7d84b315fe5de2a8@mail.gmail.com> <1218100561.9370.15.camel@localhost> <1218100656.9370.17.camel@localhost> Message-ID: <177c0a10808070313k4a7b7956v6f17735a17809b8c@mail.gmail.com> > '#type' => 'markup', // Don't forget this line, else you wont have your pager displayed :) No, actually that is optional, as that is the default type. This code for example: $form[] = array( '#value' => '
Search Results' ); works fine. But I don't see how your code is different than mine. I have: $form[] = array( '#value' => mymodule_run_search() ); $form['pager'] = array( '#value' => theme('pager', NULL, 10, 0) ); which displays first the search results and then the pager (or I want it to). And in mymodule_run_search I have this: $sql = "SELECT nid, title, teaser FROM {node_revisions} WHERE body like '%%%s%' ". 'group by nid order by nid'; $r = pager_query($sql, 10,0,null,$_GET['title_text']); and then some code to format the results. The search results part works great--the only thing NOT working is the pager. Thanks. From matt at cabinetuk.com Thu Aug 7 10:36:10 2008 From: matt at cabinetuk.com (Matt Connolly) Date: Thu, 7 Aug 2008 11:36:10 +0100 Subject: [support] CRON not run In-Reply-To: <00cd01c8f848$7b702520$3663a8c0@netlinkindia.local> References: <2240033d0808061059u43e1a8eby8596586ef212f6b1@mail.gmail.com><001a01c8f842$11e5ec30$3663a8c0@netlinkindia.local> <2240033d0808062124l423ab346pe0ffcfc958660273@mail.gmail.com> <00cd01c8f848$7b702520$3663a8c0@netlinkindia.local> Message-ID: <54304FD4-7FF5-44A5-BA69-17A2EFA3D38B@cabinetuk.com> you could set the ini in the cron.php file that way it won't interfere with other files on the site. http://uk3.php.net/manual/en/function.ini-set.php -matt On 07/08/2008, at 5:45 AM, Shyamala Rajaram wrote: > Set php.ini execution_time=0. > > The Cron should take approx 4hours. > > Shyamala > ----- Original Message ----- > From: bharani kumar > To: support at drupal.org > Sent: Thursday, August 07, 2008 9:54 AM > Subject: Re: [support] CRON not run > > It may take more than a day.. IS IT.. Ok am ready to run... > > Can u plz tell the for this much records ..how much execution_time , > i have to set into the php.ini .... > > presently i set as 3600 as execution time... > > On Thu, Aug 7, 2008 at 9:29 AM, Shyamala Rajaram > wrote: > just type http://www.mysite.com/cron.php, It may take soem time to > index 30000 records, maybe more than a day. > > Shyamala > ----- Original Message ----- > From: bharani kumar > To: support at drupal.org > Sent: Wednesday, August 06, 2008 11:29 PM > Subject: [support] CRON not run > > Hi friends > > Tell me alternate way to RUN the CRON, > > Approximetly am having around 30000 records, > > So manually running cron goes to failure state, > > so Tell the another way to run the CRON... > > > advance Thanks for great ideas > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- > [ Drupal support list | http://lists.drupal.org/ ] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080807/bb8fc888/attachment.htm From pierre.rineau at makina-corpus.com Thu Aug 7 12:40:26 2008 From: pierre.rineau at makina-corpus.com (Pierre Rineau) Date: Thu, 07 Aug 2008 14:40:26 +0200 Subject: [support] Using Drupal Pager in D5 Module In-Reply-To: <177c0a10808070404i64141a9frde08a93e45ec5a50@mail.gmail.com> References: <177c0a10808070207w3b228772s7d84b315fe5de2a8@mail.gmail.com> <1218100561.9370.15.camel@localhost> <1218100656.9370.17.camel@localhost> <177c0a10808070313k4a7b7956v6f17735a17809b8c@mail.gmail.com> <1218104659.9370.20.camel@localhost> <177c0a10808070404i64141a9frde08a93e45ec5a50@mail.gmail.com> Message-ID: <1218112826.9560.9.camel@localhost> Ok; I would not have written you request the same, try: $sql = "SELECT nid, title, teaser FROM {node_revisions} WHERE body like '%%s%' GROUP BY nid ORDER BY nid"; $sql_count = SELECT COUNT(DISTINCT(nid)) FROM node_revisions WHERE body like '%%s%'"; I dont really like the use of DISTINCT, but it works here, do a count(nid) should also work too, but I cant remember the exact syntax. May help (pager_query rewrite himself request if you don't give him a count query, so with group clauses you should provide your own count query). Try to see with my first mail if you are calling correctly the theme_pager too. PS: This should go back to drupal support list, I CC this mail there, please respond to the list. On jeu, 2008-08-07 at 13:04 +0200, Fred Jones wrote: > > May be your call to theme_pager is not good. > > >> $sql = "SELECT nid, title, teaser FROM {node_revisions} WHERE body > >> like '%%%s%' ". > >> 'group by nid order by nid'; > > Was the group by clause here. That must be removed in the $count_query > and the $count_query must be defined manually and submitted to > pager_query. But the truth is that just removing that group by clause > will give incorrect results, because now the count_query may find more > results than the actual search query. So I am using this SQL: > > $countsql = "SELECT count(*) FROM (SELECT nid from {node_revisions} > WHERE body like '%%%s%' group by nid) as temp_table_mymodule_search "; > > which does the search, grouped by nid, as a sub-select, thus the > overall select gives the correct result. > > Thanks for your help--I poked around in the pager.inc source code > until I figured out what exactly the problem was. From pierre.rineau at makina-corpus.com Thu Aug 7 12:43:48 2008 From: pierre.rineau at makina-corpus.com (Pierre Rineau) Date: Thu, 07 Aug 2008 14:43:48 +0200 Subject: [support] Using Drupal Pager in D5 Module In-Reply-To: <1218112826.9560.9.camel@localhost> References: <177c0a10808070207w3b228772s7d84b315fe5de2a8@mail.gmail.com> <1218100561.9370.15.camel@localhost> <1218100656.9370.17.camel@localhost> <177c0a10808070313k4a7b7956v6f17735a17809b8c@mail.gmail.com> <1218104659.9370.20.camel@localhost> <177c0a10808070404i64141a9frde08a93e45ec5a50@mail.gmail.com> <1218112826.9560.9.camel@localhost> Message-ID: <1218113028.9560.13.camel@localhost> And ho, I forgot to escape table name in the count query, do not forget it :) Note: using subqueries is not advised, do it only if you have no choices to do it, use a maximum of count,group,having etc, this is far better for your SGBD's performances, let him rest a bit sometime :) On jeu, 2008-08-07 at 14:40 +0200, Pierre Rineau wrote: > Ok; I would not have written you request the same, try: > > $sql = "SELECT nid, title, teaser FROM {node_revisions} WHERE body like '%%s%' GROUP BY nid ORDER BY nid"; > $sql_count = SELECT COUNT(DISTINCT(nid)) FROM node_revisions WHERE body like '%%s%'"; > > I dont really like the use of DISTINCT, but it works here, do a count(nid) should also work too, but I cant remember the exact syntax. > May help (pager_query rewrite himself request if you don't give him a count query, so with group clauses you should provide your own count query). > Try to see with my first mail if you are calling correctly the theme_pager too. > > PS: This should go back to drupal support list, I CC this mail there, please respond to the list. > > On jeu, 2008-08-07 at 13:04 +0200, Fred Jones wrote: > > > May be your call to theme_pager is not good. > > > > >> $sql = "SELECT nid, title, teaser FROM {node_revisions} WHERE body > > >> like '%%%s%' ". > > >> 'group by nid order by nid'; > > > > Was the group by clause here. That must be removed in the $count_query > > and the $count_query must be defined manually and submitted to > > pager_query. But the truth is that just removing that group by clause > > will give incorrect results, because now the count_query may find more > > results than the actual search query. So I am using this SQL: > > > > $countsql = "SELECT count(*) FROM (SELECT nid from {node_revisions} > > WHERE body like '%%%s%' group by nid) as temp_table_mymodule_search "; > > > > which does the search, grouped by nid, as a sub-select, thus the > > overall select gives the correct result. > > > > Thanks for your help--I poked around in the pager.inc source code > > until I figured out what exactly the problem was. > From ratadi2 at gmail.com Thu Aug 7 15:45:11 2008 From: ratadi2 at gmail.com (geniekids) Date: Thu, 7 Aug 2008 08:45:11 -0700 (PDT) Subject: [support] in views how do we format the field labels Message-ID: <18873488.post@talk.nabble.com> In views - specially when using LIST option - i want the "field labels" to be formatted - like bold, underline, in different colour or font size, etc - so that they stand out from the content of the fields and are highlighted. Is there a simple way to do it. (i don't know php :( -- View this message in context: http://www.nabble.com/in-views-how-do-we-format-the-field-labels-tp18873488p18873488.html Sent from the Drupal - Support mailing list archive at Nabble.com. From fredthejonester at gmail.com Thu Aug 7 17:05:14 2008 From: fredthejonester at gmail.com (Fred Jones) Date: Thu, 7 Aug 2008 19:05:14 +0200 Subject: [support] Using Drupal Pager in D5 Module In-Reply-To: <1218112826.9560.9.camel@localhost> References: <177c0a10808070207w3b228772s7d84b315fe5de2a8@mail.gmail.com> <1218100561.9370.15.camel@localhost> <1218100656.9370.17.camel@localhost> <177c0a10808070313k4a7b7956v6f17735a17809b8c@mail.gmail.com> <1218104659.9370.20.camel@localhost> <177c0a10808070404i64141a9frde08a93e45ec5a50@mail.gmail.com> <1218112826.9560.9.camel@localhost> Message-ID: <177c0a10808071005h470e832djdb7eb687a5fbb6a0@mail.gmail.com> > Ok; I would not have written you request the same, try: > > $sql = "SELECT nid, title, teaser FROM {node_revisions} WHERE body like '%%s%' GROUP BY nid ORDER BY nid"; > $sql_count = SELECT COUNT(DISTINCT(nid)) FROM node_revisions WHERE body like '%%s%'"; Ah, very good. I will use that. Thanks! From matze999 at gmx.net Thu Aug 7 17:37:31 2008 From: matze999 at gmx.net (Matt Funk) Date: Thu, 7 Aug 2008 11:37:31 -0600 Subject: [support] remote database issue In-Reply-To: <47D1636D.6070400@ziobudda.net> References: <47D1636D.6070400@ziobudda.net> Message-ID: <200808071137.31570.matze999@gmx.net> Hi, i am trying to setup a fresh drupal 6.3 installation. My host is godaddy which has its databases served from a different host than the drupal folder is on. Anyway, i created a new database and made sure to get the correct username, passwd, database path and name. When i get to the drupal installation page it prompts me for the database name for which i type: dbServerPath/dbName then also the username and passwd. It tells me it cannot connect to the database. Then i tried to manually set the db_url in settings.php. But that doesn't work since it doesn't create the necessary tables. I am sure this is a trivial issue for most people. But i googled it and either the posts were old or did not work for me. I hope someone can point in the right direction. thanks matt From mail at webthatworks.it Thu Aug 7 17:55:49 2008 From: mail at webthatworks.it (Ivan Sergio Borgonovo) Date: Thu, 7 Aug 2008 19:55:49 +0200 Subject: [support] remote database issue In-Reply-To: <200808071137.31570.matze999@gmx.net> References: <47D1636D.6070400@ziobudda.net> <200808071137.31570.matze999@gmx.net> Message-ID: <20080807195549.09fd0017@dawn.webthatworks.it> On Thu, 7 Aug 2008 11:37:31 -0600 Matt Funk wrote: > Hi, > > i am trying to setup a fresh drupal 6.3 installation. My host is > godaddy which has its databases served from a different host than > the drupal folder is on. Anyway, i created a new database and made > sure to get the correct username, passwd, database path and name. > > When i get to the drupal installation page it prompts me for the > database name for which i type: > dbServerPath/dbName > then also the username and passwd. > It tells me it cannot connect to the database. Advanced options. Put the DB server in Database host: -- Ivan Sergio Borgonovo http://www.webthatworks.it From matze999 at gmx.net Thu Aug 7 18:11:09 2008 From: matze999 at gmx.net (Matt Funk) Date: Thu, 7 Aug 2008 12:11:09 -0600 Subject: [support] remote database issue In-Reply-To: <20080807195549.09fd0017@dawn.webthatworks.it> References: <47D1636D.6070400@ziobudda.net> <200808071137.31570.matze999@gmx.net> <20080807195549.09fd0017@dawn.webthatworks.it> Message-ID: <200808071211.09154.matze999@gmx.net> mmmhh, well, i cannot access the advanced options since it is simply a line (i.e. not a link or a any action associated with it). java and javascript are enabled. What am i missing? thanks matt On Thursday 07 August 2008 11:55, Ivan Sergio Borgonovo wrote: > On Thu, 7 Aug 2008 11:37:31 -0600 > > Matt Funk wrote: > > Hi, > > > > i am trying to setup a fresh drupal 6.3 installation. My host is > > godaddy which has its databases served from a different host than > > the drupal folder is on. Anyway, i created a new database and made > > sure to get the correct username, passwd, database path and name. > > > > When i get to the drupal installation page it prompts me for the > > database name for which i type: > > dbServerPath/dbName > > then also the username and passwd. > > It tells me it cannot connect to the database. > > Advanced options. > Put the DB server in Database host: > > -- > Ivan Sergio Borgonovo > http://www.webthatworks.it From fredthejonester at gmail.com Thu Aug 7 18:14:40 2008 From: fredthejonester at gmail.com (Fred Jones) Date: Thu, 7 Aug 2008 20:14:40 +0200 Subject: [support] remote database issue In-Reply-To: <200808071211.09154.matze999@gmx.net> References: <47D1636D.6070400@ziobudda.net> <200808071137.31570.matze999@gmx.net> <20080807195549.09fd0017@dawn.webthatworks.it> <200808071211.09154.matze999@gmx.net> Message-ID: <177c0a10808071114h5f8de213h110ec78b70d314e9@mail.gmail.com> > well, i cannot access the advanced options since it is simply a line (i.e. not > a link or a any action associated with it). > > java and javascript are enabled. What am i missing? Can you try another browser? Like Firefox? From matze999 at gmx.net Thu Aug 7 18:23:11 2008 From: matze999 at gmx.net (Matt Funk) Date: Thu, 7 Aug 2008 12:23:11 -0600 Subject: [support] remote database issue In-Reply-To: <177c0a10808071114h5f8de213h110ec78b70d314e9@mail.gmail.com> References: <47D1636D.6070400@ziobudda.net> <200808071211.09154.matze999@gmx.net> <177c0a10808071114h5f8de213h110ec78b70d314e9@mail.gmail.com> Message-ID: <200808071223.11542.matze999@gmx.net> I was using Firefox (3). Then i tried IE. Same thing. On Thursday 07 August 2008 12:14, Fred Jones wrote: > > well, i cannot access the advanced options since it is simply a line > > (i.e. not a link or a any action associated with it). > > > > java and javascript are enabled. What am i missing? > > Can you try another browser? Like Firefox? From fredthejonester at gmail.com Thu Aug 7 18:25:57 2008 From: fredthejonester at gmail.com (Fred Jones) Date: Thu, 7 Aug 2008 20:25:57 +0200 Subject: [support] remote database issue In-Reply-To: <200808071223.11542.matze999@gmx.net> References: <47D1636D.6070400@ziobudda.net> <200808071211.09154.matze999@gmx.net> <177c0a10808071114h5f8de213h110ec78b70d314e9@mail.gmail.com> <200808071223.11542.matze999@gmx.net> Message-ID: <177c0a10808071125l72873451j4c97df719ef065af@mail.gmail.com> > I was using Firefox (3). Then i tried IE. Same thing. Hmm, you got me. Do you have firebug? Are there any JS errors? If you want, send me the URL and I can look at it. From matze999 at gmx.net Thu Aug 7 18:38:43 2008 From: matze999 at gmx.net (Matt Funk) Date: Thu, 7 Aug 2008 12:38:43 -0600 Subject: [support] remote database issue In-Reply-To: <177c0a10808071125l72873451j4c97df719ef065af@mail.gmail.com> References: <47D1636D.6070400@ziobudda.net> <200808071223.11542.matze999@gmx.net> <177c0a10808071125l72873451j4c97df719ef065af@mail.gmail.com> Message-ID: <200808071238.43233.matze999@gmx.net> Well, i will have to make it live first. I am using it within the godaddy preview mode. I have a working drupal 6.2 install on the same account. But that was setup by godaddy's automated setup. Unfortunately the customer service dude had no idea how to setup drupal in the first place. Anyway, let me check that one in preview mode and see if i see similar issues. (should have done that earlier i suppose). matt On Thursday 07 August 2008 12:25, Fred Jones wrote: > > I was using Firefox (3). Then i tried IE. Same thing. > > Hmm, you got me. Do you have firebug? Are there any JS errors? If you > want, send me the URL and I can look at it. From matze999 at gmx.net Thu Aug 7 18:44:35 2008 From: matze999 at gmx.net (Matt Funk) Date: Thu, 7 Aug 2008 12:44:35 -0600 Subject: [support] remote database issue In-Reply-To: <177c0a10808071125l72873451j4c97df719ef065af@mail.gmail.com> References: <47D1636D.6070400@ziobudda.net> <200808071223.11542.matze999@gmx.net> <177c0a10808071125l72873451j4c97df719ef065af@mail.gmail.com> Message-ID: <200808071244.35328.matze999@gmx.net> same crap, when i click on the modules section in the drupal 6.2 section there is nothing listed under the Core-required section. Am i correct in assuming that somehow somewhere javascript is not working (at least within this preview mode)? thanks matt ps: I'll try to change my dns info and put the thing live and see if things change or not. On Thursday 07 August 2008 12:25, Fred Jones wrote: > > I was using Firefox (3). Then i tried IE. Same thing. > > Hmm, you got me. Do you have firebug? Are there any JS errors? If you > want, send me the URL and I can look at it. From fredthejonester at gmail.com Thu Aug 7 18:46:42 2008 From: fredthejonester at gmail.com (Fred Jones) Date: Thu, 7 Aug 2008 20:46:42 +0200 Subject: [support] remote database issue In-Reply-To: <200808071244.35328.matze999@gmx.net> References: <47D1636D.6070400@ziobudda.net> <200808071223.11542.matze999@gmx.net> <177c0a10808071125l72873451j4c97df719ef065af@mail.gmail.com> <200808071244.35328.matze999@gmx.net> Message-ID: <177c0a10808071146i1ac2b47eo545844221aa54619@mail.gmail.com> > when i click on the modules section in the drupal 6.2 section there is nothing > listed under the Core-required section. > > Am i correct in assuming that somehow somewhere javascript is not working (at > least within this preview mode)? Could be JS issue or CSS or both. > ps: I'll try to change my dns info and put the thing live and see if things > change or not. Good idea. Unfortunately, GoDaddy is actually one of the worst hosts known to man. In my experience. From mail at webthatworks.it Thu Aug 7 19:25:25 2008 From: mail at webthatworks.it (Ivan Sergio Borgonovo) Date: Thu, 7 Aug 2008 21:25:25 +0200 Subject: [support] remote database issue In-Reply-To: <177c0a10808071146i1ac2b47eo545844221aa54619@mail.gmail.com> References: <47D1636D.6070400@ziobudda.net> <200808071223.11542.matze999@gmx.net> <177c0a10808071125l72873451j4c97df719ef065af@mail.gmail.com> <200808071244.35328.matze999@gmx.net> <177c0a10808071146i1ac2b47eo545844221aa54619@mail.gmail.com> Message-ID: <20080807212525.6fca0616@dawn.webthatworks.it> On Thu, 7 Aug 2008 20:46:42 +0200 "Fred Jones" wrote: > > when i click on the modules section in the drupal 6.2 section > > there is nothing listed under the Core-required section. > > > > Am i correct in assuming that somehow somewhere javascript is > > not working (at least within this preview mode)? > > Could be JS issue or CSS or both. Problem with access permission to js and css? Check if you can find those file in your cache... if they are actually requested/downloaded with firebug. As soon as I finish with some mmm weired awk behaviour I could borrow you my magic wand. -- Ivan Sergio Borgonovo http://www.webthatworks.it From matze999 at gmx.net Thu Aug 7 19:55:39 2008 From: matze999 at gmx.net (Matt Funk) Date: Thu, 7 Aug 2008 13:55:39 -0600 Subject: [support] remote database issue In-Reply-To: <20080807212525.6fca0616@dawn.webthatworks.it> References: <47D1636D.6070400@ziobudda.net> <177c0a10808071146i1ac2b47eo545844221aa54619@mail.gmail.com> <20080807212525.6fca0616@dawn.webthatworks.it> Message-ID: <200808071355.39607.matze999@gmx.net> Well, there is a bug that firebig reports: $("table.sticky-enabled thead:not(.tableHeader-processed)", context).each is not a function http://xpdtek.com.previewdns.com/drupal-6.2/misc/tableheader.js?d Line 18 i have no idea how to track it back to the source though. Also, i don't know whether this is a the main problem. So, should i try to cancel my account with godaddy and try to get my money back? matt On Thursday 07 August 2008 13:25, Ivan Sergio Borgonovo wrote: > On Thu, 7 Aug 2008 20:46:42 +0200 > > "Fred Jones" wrote: > > > when i click on the modules section in the drupal 6.2 section > > > there is nothing listed under the Core-required section. > > > > > > Am i correct in assuming that somehow somewhere javascript is > > > not working (at least within this preview mode)? > > > > Could be JS issue or CSS or both. > > Problem with access permission to js and css? > Check if you can find those file in your cache... if they are > actually requested/downloaded with firebug. > > As soon as I finish with some mmm weired awk behaviour I could > borrow you my magic wand. > > -- > Ivan Sergio Borgonovo > http://www.webthatworks.it From victorkane at gmail.com Thu Aug 7 19:56:56 2008 From: victorkane at gmail.com (Victor Kane) Date: Thu, 7 Aug 2008 16:56:56 -0300 Subject: [support] remote database issue In-Reply-To: <200808071355.39607.matze999@gmx.net> References: <47D1636D.6070400@ziobudda.net> <177c0a10808071146i1ac2b47eo545844221aa54619@mail.gmail.com> <20080807212525.6fca0616@dawn.webthatworks.it> <200808071355.39607.matze999@gmx.net> Message-ID: "is not a function" would indicate that the js file has not been loaded On Thu, Aug 7, 2008 at 4:55 PM, Matt Funk wrote: > Well, there is a bug that firebig reports: > > $("table.sticky-enabled thead:not(.tableHeader-processed)", context).each > is not a function > http://xpdtek.com.previewdns.com/drupal-6.2/misc/tableheader.js?d > Line 18 > > i have no idea how to track it back to the source though. Also, i don't know > whether this is a the main problem. > > So, should i try to cancel my account with godaddy and try to get my money > back? > > matt > > > On Thursday 07 August 2008 13:25, Ivan Sergio Borgonovo wrote: >> On Thu, 7 Aug 2008 20:46:42 +0200 >> >> "Fred Jones" wrote: >> > > when i click on the modules section in the drupal 6.2 section >> > > there is nothing listed under the Core-required section. >> > > >> > > Am i correct in assuming that somehow somewhere javascript is >> > > not working (at least within this preview mode)? >> > >> > Could be JS issue or CSS or both. >> >> Problem with access permission to js and css? >> Check if you can find those file in your cache... if they are >> actually requested/downloaded with firebug. >> >> As soon as I finish with some mmm weired awk behaviour I could >> borrow you my magic wand. >> >> -- >> Ivan Sergio Borgonovo >> http://www.webthatworks.it > -- > [ Drupal support list | http://lists.drupal.org/ ] > From fredthejonester at gmail.com Thu Aug 7 20:07:22 2008 From: fredthejonester at gmail.com (Fred Jones) Date: Thu, 7 Aug 2008 22:07:22 +0200 Subject: [support] remote database issue In-Reply-To: <200808071355.39607.matze999@gmx.net> References: <47D1636D.6070400@ziobudda.net> <177c0a10808071146i1ac2b47eo545844221aa54619@mail.gmail.com> <20080807212525.6fca0616@dawn.webthatworks.it> <200808071355.39607.matze999@gmx.net> Message-ID: <177c0a10808071307v230d4546u8ce3b6d5738f3322@mail.gmail.com> > i have no idea how to track it back to the source though. Also, i don't know > whether this is a the main problem. Certainly seems to be anyhow. > So, should i try to cancel my account with godaddy and try to get my money > back? If you had asked me that even before this problem, I would have said YES. > "is not a function" would indicate that the js file has not been loaded Victor is of course correct--seems that the references are not working--using a odd preview URL can sometimes do this. From metzlerd at evergreen.edu Thu Aug 7 20:14:28 2008 From: metzlerd at evergreen.edu (Metzler, David) Date: Thu, 7 Aug 2008 13:14:28 -0700 Subject: [support] remote database issue In-Reply-To: <200808071238.43233.matze999@gmx.net> References: <47D1636D.6070400@ziobudda.net><200808071223.11542.matze999@gmx.net><177c0a10808071125l72873451j4c97df719ef065af@mail.gmail.com> <200808071238.43233.matze999@gmx.net> Message-ID: <384BE444EEC12143B241C72BCD7E9BA8220B4E@birch.evergreen.edu> You might try setting the base_url in the settings.php file. It's normally commented out, but it still can change the way js files and images get loaded. It's possible that the Jscripts are having trouble loading. Fred's advice about downloading firebug is sound. Check the network tab to see if the java scripts are loading properly. Dave -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Matt Funk Sent: Thursday, August 07, 2008 11:39 AM To: support at drupal.org Subject: Re: [support] remote database issue Well, i will have to make it live first. I am using it within the godaddy preview mode. I have a working drupal 6.2 install on the same account. But that was setup by godaddy's automated setup. Unfortunately the customer service dude had no idea how to setup drupal in the first place. Anyway, let me check that one in preview mode and see if i see similar issues. (should have done that earlier i suppose). matt On Thursday 07 August 2008 12:25, Fred Jones wrote: > > I was using Firefox (3). Then i tried IE. Same thing. > > Hmm, you got me. Do you have firebug? Are there any JS errors? If you > want, send me the URL and I can look at it. -- [ Drupal support list | http://lists.drupal.org/ ] From cjones at partialflow.com Thu Aug 7 19:22:54 2008 From: cjones at partialflow.com (Christopher M. Jones) Date: Thu, 07 Aug 2008 15:22:54 -0400 Subject: [support] Staging Message-ID: <489B4B8E.5090702@partialflow.com> I'm looking for a decent approach to staging a drupal site. The production site will be a collaborative authoring project, with forums, blogs, and lots of media. The client will have access to this site, and will be maintaining some of the content. Other content will be maintained by us. The development company that hosts this project prefers to make all of their changes, both to content and templates, in a testing environment. Once their client has approved the changes, they like to 'push' them to production. However, while these changes are taking place, the client may be administering forums and writing blog posts in the -production- version. To further complicate things, my company wants a three-stage cycle. They want a dev site, where they make changes for in-house review, which they then push to testing for client review before everything is pushed to production. I'm unsure how to approach this. The site in question has always been static html created in Dreamweaver. At some point they started adding other things, so now there are two wordpress blogs, and two phpbb forums. The forums and blogs presently are excepted from the development cycle. They simply appear to be part of the site, because their templates have been designed so. But that means that we've got to propagate template changes across five templates. Things are breaking constantly, and this is why I piped up to them about drupal. I've seen a lot of discussion about this topic, but I really need some hard answers. What should I do? I've seen the Staging module for 6.x. Is it safe to use? If so, then we could use that for the database. Templates could be pushed with rsync or svn... whatever. But would this work two ways? Could we sync the dev / testing sites to the production site, then sync the other way? Would we need to? Also, I envision using a multisite environment so that all sites share the same modules, media, etc, but use different templates. I desperately need the detailed advice of someone with experience, here. From matze999 at gmx.net Thu Aug 7 20:42:06 2008 From: matze999 at gmx.net (Matt Funk) Date: Thu, 7 Aug 2008 14:42:06 -0600 Subject: [support] remote database issue In-Reply-To: <384BE444EEC12143B241C72BCD7E9BA8220B4E@birch.evergreen.edu> References: <47D1636D.6070400@ziobudda.net> <200808071238.43233.matze999@gmx.net> <384BE444EEC12143B241C72BCD7E9BA8220B4E@birch.evergreen.edu> Message-ID: <200808071442.07075.matze999@gmx.net> Looks like it was the go daddy preview thing. With it live things look ok. sorry for the confustion. matt On Thursday 07 August 2008 14:14, Metzler, David wrote: > You might try setting the base_url in the settings.php file. It's > normally commented out, but it still can change the way js files and > images get loaded. It's possible that the Jscripts are having trouble > loading. Fred's advice about downloading firebug is sound. Check the > network tab to see if the java scripts are loading properly. > > Dave > > -----Original Message----- > From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On > Behalf Of Matt Funk > Sent: Thursday, August 07, 2008 11:39 AM > To: support at drupal.org > Subject: Re: [support] remote database issue > > Well, > > i will have to make it live first. I am using it within the godaddy > preview mode. I have a working drupal 6.2 install on the same account. > But that was setup by godaddy's automated setup. Unfortunately the > customer service dude had no idea how to setup drupal in the first > place. > > Anyway, let me check that one in preview mode and see if i see similar > issues. > (should have done that earlier i suppose). > > matt > > On Thursday 07 August 2008 12:25, Fred Jones wrote: > > > I was using Firefox (3). Then i tried IE. Same thing. > > > > Hmm, you got me. Do you have firebug? Are there any JS errors? If you > > want, send me the URL and I can look at it. > > -- > [ Drupal support list | http://lists.drupal.org/ ] From z.stolar at gmail.com Thu Aug 7 21:00:07 2008 From: z.stolar at gmail.com (Zohar Stolar - Linnovate) Date: Fri, 08 Aug 2008 00:00:07 +0300 Subject: [support] Staging In-Reply-To: <489B4B8E.5090702@partialflow.com> References: <489B4B8E.5090702@partialflow.com> Message-ID: <489B6257.5060402@linnovate.net> Hi Christopher, First of all, I advise you to consider cross-posting the mail in the development list. While you need a straight answer, which is kind of a support request, your insights might make others re-think how Drupal's database is built, and how we can make it (even) easier to develop Drupal site over many years. Secondly, I was wondering with yhager about having a BoF meeting in Szeged, since the situation you are experiencing is one of the most common issues with Drupal development. Since Configuration and Content are kept on the same DB, it is practically impossible to export only some of the data (for example only content, or only configuration). We were wondering how come everyone is suffering, and no one speaks :) We finally let go of the idea. However, if there is enough interest, maybe we can still organize a BoF in Szeged. And that's the second reason why I think you should cross-post in the dev list - maybe we'll see that there is enough man power to advance in this matter soon. oh... and... sorry for the situation you're in, Unfortunately, I don't have a winning advice ;-) Zohar Stolar Linnovate - Community Frameworks zohar at linnovate.net http://www.linnovate.net Tel. +972-77-5345-704 Cel. +972-52-8348-278 Fax. +972-72-2500-882 SkypeID: zstolar LinkedIn: http://www.linkedin.com/in/drupal Christopher M. Jones wrote: > I'm looking for a decent approach to staging a drupal site. The > production site will be a collaborative authoring project, with forums, > blogs, and lots of media. The client will have access to this site, and > will be maintaining some of the content. Other content will be > maintained by us. > > The development company that hosts this project prefers to make all of > their changes, both to content and templates, in a testing environment. > Once their client has approved the changes, they like to 'push' them to > production. > > However, while these changes are taking place, the client may be > administering forums and writing blog posts in the -production- version. > > To further complicate things, my company wants a three-stage cycle. They > want a dev site, where they make changes for in-house review, which they > then push to testing for client review before everything is pushed to > production. > > I'm unsure how to approach this. The site in question has always been > static html created in Dreamweaver. At some point they started adding > other things, so now there are two wordpress blogs, and two phpbb > forums. The forums and blogs presently are excepted from the development > cycle. They simply appear to be part of the site, because their > templates have been designed so. But that means that we've got to > propagate template changes across five templates. Things are breaking > constantly, and this is why I piped up to them about drupal. > > I've seen a lot of discussion about this topic, but I really need some > hard answers. What should I do? > > I've seen the Staging module for 6.x. Is it safe to use? If so, then we > could use that for the database. Templates could be pushed with rsync or > svn... whatever. But would this work two ways? Could we sync the dev / > testing sites to the production site, then sync the other way? Would we > need to? > > Also, I envision using a multisite environment so that all sites share > the same modules, media, etc, but use different templates. > > I desperately need the detailed advice of someone with experience, here. > From herbison at bellsouth.net Thu Aug 7 22:01:41 2008 From: herbison at bellsouth.net (herbison) Date: Thu, 7 Aug 2008 15:01:41 -0700 (PDT) Subject: [support] How to setup Class Schedule Message-ID: <18841754.post@talk.nabble.com> I'm new to Drupal and want to set up a martial arts class schedule on my first Drupal site. What modules should I be using? The classes happen at different time periods, reoccur, and have a time duration. -- View this message in context: http://www.nabble.com/How-to-setup-Class-Schedule-tp18841754p18841754.html Sent from the Drupal - Support mailing list archive at Nabble.com. From victorkane at gmail.com Thu Aug 7 22:03:08 2008 From: victorkane at gmail.com (Victor Kane) Date: Thu, 7 Aug 2008 19:03:08 -0300 Subject: [support] Staging In-Reply-To: <489B4B8E.5090702@partialflow.com> References: <489B4B8E.5090702@partialflow.com> Message-ID: Hi Christopher, There is no packaged answer to what you are looking for. My forthcoming book, Leveraging Drupal (http://www.amazon.com/Leveraging-Drupal-Getting-Your-Right/dp/0470410876, not due out till December at the earliest), deals with this very issue, with a real life development and deployment example. But it is still a work in progress, and I am streamlining an approach that will allow for a Drupal 5.x to Drupal 6.x transition. Basically some of the conclusions I'm coming to confirm methods I have been using with my clients, basically, making heavy use of an SVN repository for deployment of the ./sites directory, while checking out and updating Drupal core using CVS (simple command line one-liners). Deploying changes to templates and custom modules is as easy as "svn commit" and "svn update" and even that can be automated. I also rely heavily on the new features of the drush and update status modules using the SVN plugin. The difficulty resides in the configuration and content using the database at the same time in the different sites, so that programmers working with, say, Panels 2, on the dev and test sites would need to merge their database changes with the production database if the client is close to launching and is putting in content at the same time. On this many have promised but few shared; perhaps because it is not so simple and has heavy dependencies on concrete situations. Others seem to be actually finding some solutions and are willing to share them, notably Kathleen Murtagh in her blog article "Development to Production: A Database Merge Script" and similar. See http://ceardach.com/blog/2008/06/development-production-database-merge-script . She has authored the database scripts module, which looks like it could be one of the promising building blocks for what you need, alongside CVS and SVN. Victor Kane http://awebfactory.com.ar On Thu, Aug 7, 2008 at 4:22 PM, Christopher M. Jones wrote: > I'm looking for a decent approach to staging a drupal site. The > production site will be a collaborative authoring project, with forums, > blogs, and lots of media. The client will have access to this site, and > will be maintaining some of the content. Other content will be > maintained by us. > > The development company that hosts this project prefers to make all of > their changes, both to content and templates, in a testing environment. > Once their client has approved the changes, they like to 'push' them to > production. > > However, while these changes are taking place, the client may be > administering forums and writing blog posts in the -production- version. > > To further complicate things, my company wants a three-stage cycle. They > want a dev site, where they make changes for in-house review, which they > then push to testing for client review before everything is pushed to > production. > > I'm unsure how to approach this. The site in question has always been > static html created in Dreamweaver. At some point they started adding > other things, so now there are two wordpress blogs, and two phpbb > forums. The forums and blogs presently are excepted from the development > cycle. They simply appear to be part of the site, because their > templates have been designed so. But that means that we've got to > propagate template changes across five templates. Things are breaking > constantly, and this is why I piped up to them about drupal. > > I've seen a lot of discussion about this topic, but I really need some > hard answers. What should I do? > > I've seen the Staging module for 6.x. Is it safe to use? If so, then we > could use that for the database. Templates could be pushed with rsync or > svn... whatever. But would this work two ways? Could we sync the dev / > testing sites to the production site, then sync the other way? Would we > need to? > > Also, I envision using a multisite environment so that all sites share > the same modules, media, etc, but use different templates. > > I desperately need the detailed advice of someone with experience, here. > -- > [ Drupal support list | http://lists.drupal.org/ ] > From mail at webthatworks.it Thu Aug 7 22:43:44 2008 From: mail at webthatworks.it (Ivan Sergio Borgonovo) Date: Fri, 8 Aug 2008 00:43:44 +0200 Subject: [support] Staging In-Reply-To: <489B4B8E.5090702@partialflow.com> References: <489B4B8E.5090702@partialflow.com> Message-ID: <20080808004344.52c5a58a@dawn.webthatworks.it> On Thu, 07 Aug 2008 15:22:54 -0400 "Christopher M. Jones" wrote: > I'm looking for a decent approach to staging a drupal site. The > production site will be a collaborative authoring project, with > forums, blogs, and lots of media. The client will have access to > this site, and will be maintaining some of the content. Other > content will be maintained by us. I've read some interesting technique in a similar situation using master-master replication for some table in mysql. I think Michael Morelli aka Ziobudda posted an article somewhere about how he did. I can't find the website anymore. I can't help you further you'd have to ask to Michel. I've seen him posting to the list sometimes. -- Ivan Sergio Borgonovo http://www.webthatworks.it From aridavidow at gmail.com Thu Aug 7 23:15:04 2008 From: aridavidow at gmail.com (Ari Davidow) Date: Thu, 7 Aug 2008 19:15:04 -0400 Subject: [support] Staging In-Reply-To: <489B4B8E.5090702@partialflow.com> References: <489B4B8E.5090702@partialflow.com> Message-ID: <747cfaf50808071615s2ca06dbfs16c1f369d0e51394@mail.gmail.com> Your development company is correct. There is no professional way to push changes to a live site directly. It is absolutely dangerous, a recipe for bringing down your site and/or for destroying live material. Or, as you complain, things will simply be breaking constantly. There are many ways to separate the content (e.g., new posts to a blog) from the database code behind that content. Any professional development company will do development as you describe it (sometimes there will be reasons for additional stages). "Dev" is where structural changes are done; "Test" or "QA" is where new editorial content is checked (out of the way of development), and where dev is finally tested before being pushed live. By using virtual servers, one can ensure that each environment is identical to the live environment (except for dev, which will often differ radically) This is tricky, because many database-backed websites don't have good ways to promote just code changes (and drupal doesn't make it so easy), but it is critical that, at a minimum, those three functions are kept separate. In the case of static sites, we often used scripts based on rsync to move changes from test to production, never allowing humans to log into production. This is trickier when you have to update/change some, but not all database tables (which also require more than rsync to stay in sync). (It is often the case and test and qa are also separate--one used to test code changes before production; the other for content changes. And, of course, if there are conflicting dev projects, there may be more dev instances, or sandboxes, to deal with that variety--but for most of us, that would be rare. ari On Thu, Aug 7, 2008 at 3:22 PM, Christopher M. Jones wrote: > I'm looking for a decent approach to staging a drupal site. The > production site will be a collaborative authoring project, with forums, > blogs, and lots of media. The client will have access to this site, and > will be maintaining some of the content. Other content will be > maintained by us. > > The development company that hosts this project prefers to make all of > their changes, both to content and templates, in a testing environment. > Once their client has approved the changes, they like to 'push' them to > production. > > However, while these changes are taking place, the client may be > administering forums and writing blog posts in the -production- version. > > To further complicate things, my company wants a three-stage cycle. They > want a dev site, where they make changes for in-house review, which they > then push to testing for client review before everything is pushed to > production. > > I'm unsure how to approach this. The site in question has always been > static html created in Dreamweaver. At some point they started adding > other things, so now there are two wordpress blogs, and two phpbb > forums. The forums and blogs presently are excepted from the development > cycle. They simply appear to be part of the site, because their > templates have been designed so. But that means that we've got to > propagate template changes across five templates. Things are breaking > constantly, and this is why I piped up to them about drupal. > > I've seen a lot of discussion about this topic, but I really need some > hard answers. What should I do? > > I've seen the Staging module for 6.x. Is it safe to use? If so, then we > could use that for the database. Templates could be pushed with rsync or > svn... whatever. But would this work two ways? Could we sync the dev / > testing sites to the production site, then sync the other way? Would we > need to? > > Also, I envision using a multisite environment so that all sites share > the same modules, media, etc, but use different templates. > > I desperately need the detailed advice of someone with experience, here. > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080807/d6be5d34/attachment.htm From travis at travisnanek.com Thu Aug 7 23:40:17 2008 From: travis at travisnanek.com (Travis Nanek) Date: Thu, 7 Aug 2008 19:40:17 -0400 Subject: [support] help: hiding labels if content is empty in a view Message-ID: I would like to be able to hide the labels in a view if the field is empty. This is to keep the list of information as compact as possible on the page and not show a label with no information following it. I am using a grid layout of different users, and displaying some profile fields, yet those profile fields are not mandatory, thus I'm expecting some to be left blank. Thanks in advance for any help. -Ninja Overlord -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080807/6256ef17/attachment.htm From vuthecuong at luvina.net Fri Aug 8 04:00:26 2008 From: vuthecuong at luvina.net (Vu The Cuong) Date: Fri, 8 Aug 2008 11:00:26 +0700 Subject: [support] Can I build a community function without using noe_* tables? Message-ID: <3DADD35EDAE49145B9BA1AB448447711684933@lvsrv_dns.luvina.net> My current site have What'sNew, FAQ module displaying blocks and it is retrieving data from separate table not have relationships with node_* tables. No I planned to exdend my site with community function. Doeas anyone built community function without using tables node_*? Thanks and regards, -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080808/e7139523/attachment.htm From fredthejonester at gmail.com Fri Aug 8 07:37:14 2008 From: fredthejonester at gmail.com (Fred Jones) Date: Fri, 8 Aug 2008 09:37:14 +0200 Subject: [support] How to setup Class Schedule In-Reply-To: <18841754.post@talk.nabble.com> References: <18841754.post@talk.nabble.com> Message-ID: <177c0a10808080037k9e04b12i5ceee0b39583ec7c@mail.gmail.com> > I'm new to Drupal and want to set up a martial arts class schedule on my > first Drupal site. What modules should I be using? The classes happen at > different time periods, reoccur, and have a time duration. http://drupal.org/project/event and accompanying modules. From herbison at bellsouth.net Fri Aug 8 13:11:47 2008 From: herbison at bellsouth.net (herbison) Date: Fri, 8 Aug 2008 06:11:47 -0700 (PDT) Subject: [support] How to setup Class Schedule In-Reply-To: <177c0a10808080037k9e04b12i5ceee0b39583ec7c@mail.gmail.com> References: <18841754.post@talk.nabble.com> <177c0a10808080037k9e04b12i5ceee0b39583ec7c@mail.gmail.com> Message-ID: <18891608.post@talk.nabble.com> That seems to be my problem. I'm fooling with version 6 and it doesn't seem to have a repeat event module for a static class schedule. Fred Jones-2 wrote: > >> I'm new to Drupal and want to set up a martial arts class schedule on my >> first Drupal site. What modules should I be using? The classes happen >> at >> different time periods, reoccur, and have a time duration. > > http://drupal.org/project/event > > and accompanying modules. > -- > [ Drupal support list | http://lists.drupal.org/ ] > > -- View this message in context: http://www.nabble.com/How-to-setup-Class-Schedule-tp18841754p18891608.html Sent from the Drupal - Support mailing list archive at Nabble.com. From earnie at users.sourceforge.net Fri Aug 8 13:31:51 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Fri, 08 Aug 2008 09:31:51 -0400 Subject: [support] help: hiding labels if content is empty in a view In-Reply-To: References: Message-ID: <20080808093151.hex482uy28o0kcso@mail.progw.org> Quoting Travis Nanek : > I would like to be able to hide the labels in a view if the field is empty. > This is to keep the list of information as compact as possible on the page > and not show a label with no information following it. I am using a grid > layout of different users, and displaying some profile fields, yet those > profile fields are not mandatory, thus I'm expecting some to be left blank. > http://api.drupal.org/api/function/hook_form_alter With the above, create a module that modifies the form attributes. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From john at rivul.com Fri Aug 8 19:22:30 2008 From: john at rivul.com (John Horning) Date: Fri, 08 Aug 2008 15:22:30 -0400 Subject: [support] blank white pages after enabling Visibility API Message-ID: <489C9CF6.80705@rivul.com> An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080808/597d556e/attachment.htm From earnie at users.sourceforge.net Fri Aug 8 20:54:34 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Fri, 08 Aug 2008 16:54:34 -0400 Subject: [support] blank white pages after enabling Visibility API In-Reply-To: <489C9CF6.80705@rivul.com> References: <489C9CF6.80705@rivul.com> Message-ID: <20080808165434.pj4t1aeyt5ggkgk4@mail.progw.org> Quoting John Horning : > I got a blank white screen immediately upon enabling the > Visibility API module. My error log has this message: > > PHP Fatal error: Cannot redeclare phptemplate_table() in > /home/rivulcom/public_html/themes/fourseasons-rivul/template.php on > line 185Can anyone help? I am unable to access any pages on my site. > Try renaming/removing the modules/visibility_api directory that you added. But where is phptemplate_table being defined more than once? Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From john at rivul.com Fri Aug 8 21:27:47 2008 From: john at rivul.com (John Horning) Date: Fri, 08 Aug 2008 17:27:47 -0400 Subject: [support] blank white pages after enabling module In-Reply-To: <20080808165434.pj4t1aeyt5ggkgk4@mail.progw.org> References: <489C9CF6.80705@rivul.com> <20080808165434.pj4t1aeyt5ggkgk4@mail.progw.org> Message-ID: <489CBA53.5010107@rivul.com> An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080808/b3765552/attachment.htm From roy at panix.com Sat Aug 9 01:06:39 2008 From: roy at panix.com (Roy Smith) Date: Fri, 8 Aug 2008 21:06:39 -0400 Subject: [support] Can't get clean URLs working on OSX/Leopard Message-ID: <0664438D-530A-4634-A38E-380CA712BE9A@panix.com> I'm running OSX 10.5.4, with the stock apache and PHP. I've installed drupal 6.3. My status report says everything is OK except for the GD library not installed. It reports: Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.7l DAV/2 PHP/5.2.6 I've followed all directions (at, for example, http://drupal.org/node/196646) , but I still can't get clean URLs enabled. When I look in the apache2 error_log, each time I go to admin/settings/clean-urls, it says: [Fri Aug 08 21:05:16 2008] [error] [client 127.0.0.1] File does not exist: /Library/WebServer/Documents/Users, referer: http://127.0.0.1/~roy2/drupal/?q=admin/settings/clean-urls Is this normal, i.e. a byproduct of the check, or does it indicate that something is really wrong? ---------------- Roy Smith roy at panix.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080808/bb82c91c/attachment.htm From earnie at users.sourceforge.net Sat Aug 9 12:30:55 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Sat, 09 Aug 2008 08:30:55 -0400 Subject: [support] blank white pages after enabling module In-Reply-To: <489CBA53.5010107@rivul.com> References: <489C9CF6.80705@rivul.com> <20080808165434.pj4t1aeyt5ggkgk4@mail.progw.org> <489CBA53.5010107@rivul.com> Message-ID: <20080809083055.gutn8pz0j1wkwkgk@mail.progw.org> Quoting John Horning : > Apparently the culprit was not Visibility API after all. I was > installing more than one module when this happened. I removed them > and put back one by one. The Table Export Module is the one I can't > put back without breaking my site. I see a "phptemplate_table" > function in the module. Is this not supposed to be there? I'm not > too familiar with how modules are supposed to be created. Open a support request with the Table Export module. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From bharanikumariyerphp at gmail.com Sun Aug 10 15:09:56 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Sun, 10 Aug 2008 20:39:56 +0530 Subject: [support] retrive contents with

tag, How to trim Message-ID: <2240033d0808100809k4739ed73u4d27736c12e0a5f1@mail.gmail.com> Hi When i retrieve the body content, The content display with

tag, how to trim this

tag, I have tried using the input filter, No effect, Any great idea... -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080810/e1a23f5e/attachment.htm From roy at panix.com Sun Aug 10 15:27:35 2008 From: roy at panix.com (Roy Smith) Date: Sun, 10 Aug 2008 11:27:35 -0400 Subject: [support] Can't get clean URLs working on OSX/Leopard In-Reply-To: <0664438D-530A-4634-A38E-380CA712BE9A@panix.com> References: <0664438D-530A-4634-A38E-380CA712BE9A@panix.com> Message-ID: OK, I've figured out what was wrong. I installed drupal under ~/ Sites. That meant I needed to go into .htaccess, uncomment the RewriteBase directive and change it to: RewriteBase /~roy/drupal Now it all works fine. On Aug 8, 2008, at 9:06 PM, Roy Smith wrote: > I'm running OSX 10.5.4, with the stock apache and PHP. I've > installed drupal 6.3. My status report says everything is OK except > for the GD library not installed. It reports: > > Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.7l DAV/2 PHP/5.2.6 > > I've followed all directions (at, for example, http://drupal.org/node/196646) > , but I still can't get clean URLs enabled. When I look in the > apache2 error_log, each time I go to admin/settings/clean-urls, it > says: > > [Fri Aug 08 21:05:16 2008] [error] [client 127.0.0.1] File does not > exist: /Library/WebServer/Documents/Users, referer: http://127.0.0.1/~roy2/drupal/?q=admin/settings/clean-urls > > Is this normal, i.e. a byproduct of the check, or does it indicate > that something is really wrong? > > > ---------------- > Roy Smith > roy at panix.com > > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] ---------------- Roy Smith roy at panix.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080810/a44c7e2f/attachment-0001.htm From victorkane at gmail.com Sun Aug 10 15:37:00 2008 From: victorkane at gmail.com (Victor Kane) Date: Sun, 10 Aug 2008 12:37:00 -0300 Subject: [support] retrive contents with

tag, How to trim In-Reply-To: <2240033d0808100809k4739ed73u4d27736c12e0a5f1@mail.gmail.com> References: <2240033d0808100809k4739ed73u4d27736c12e0a5f1@mail.gmail.com> Message-ID: What input filter did you select? Also, what does the raw html look like? On Sun, Aug 10, 2008 at 12:09 PM, bharani kumar wrote: > Hi > > When i retrieve the body content, > > The content display with

tag, > > how to trim this

tag, > > I have tried using the input filter, > > No effect, > > Any great idea... > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From roy at panix.com Sun Aug 10 15:45:15 2008 From: roy at panix.com (Roy Smith) Date: Sun, 10 Aug 2008 11:45:15 -0400 Subject: [support] Need help with drupal.org account In-Reply-To: References: <0664438D-530A-4634-A38E-380CA712BE9A@panix.com> Message-ID: Who maintains the drupal.org website user accounts? Some time ago, I registered an account there. I seem to have lost my password, but the password recovery system isn't working. It claims to have sent an email with a new password to my email address (roy at panix.com ), but I never get that mail. When you click on the Contact tab, it says, "You have to log in to contact us." I can't even create a new account, because it says my email address is already in use! Rather a catch-22. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080810/3c637770/attachment.htm From victorkane at gmail.com Sun Aug 10 16:11:40 2008 From: victorkane at gmail.com (Victor Kane) Date: Sun, 10 Aug 2008 13:11:40 -0300 Subject: [support] Need help with drupal.org account In-Reply-To: References: <0664438D-530A-4634-A38E-380CA712BE9A@panix.com> Message-ID: You can request that the email be sent again On Sun, Aug 10, 2008 at 12:45 PM, Roy Smith wrote: > Who maintains the drupal.org website user accounts? > Some time ago, I registered an account there. I seem to have lost my > password, but the password recovery system isn't working. It claims to have > sent an email with a new password to my email address (roy at panix.com), but I > never get that mail. > When you click on the Contact tab, it says, "You have to log in to contact > us." I can't even create a new account, because it says my email address is > already in use! Rather a catch-22. > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From roy at panix.com Sun Aug 10 16:15:44 2008 From: roy at panix.com (Roy Smith) Date: Sun, 10 Aug 2008 12:15:44 -0400 Subject: [support] Need help with drupal.org account In-Reply-To: References: <0664438D-530A-4634-A38E-380CA712BE9A@panix.com> Message-ID: <83418DD0-BE0A-485D-9719-9A75974A5456@panix.com> I've requested several times. Something is clearly broken somewhere. On Aug 10, 2008, at 12:11 PM, Victor Kane wrote: > You can request that the email be sent again > > On Sun, Aug 10, 2008 at 12:45 PM, Roy Smith wrote: >> Who maintains the drupal.org website user accounts? >> Some time ago, I registered an account there. I seem to have lost my >> password, but the password recovery system isn't working. It >> claims to have >> sent an email with a new password to my email address >> (roy at panix.com), but I >> never get that mail. >> When you click on the Contact tab, it says, "You have to log in to >> contact >> us." I can't even create a new account, because it says my email >> address is >> already in use! Rather a catch-22. >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > -- > [ Drupal support list | http://lists.drupal.org/ ] > ---------------- Roy Smith roy at panix.com From bharanikumariyerphp at gmail.com Sun Aug 10 17:31:00 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Sun, 10 Aug 2008 23:01:00 +0530 Subject: [support] retrive contents with

tag, How to trim In-Reply-To: References: <2240033d0808100809k4739ed73u4d27736c12e0a5f1@mail.gmail.com> Message-ID: <2240033d0808101031p5642b6cdn8f8a9fedb948ea73@mail.gmail.com> in the administrator > site configuration > input format, i added the

tag.. On Sun, Aug 10, 2008 at 9:07 PM, Victor Kane wrote: > What input filter did you select? > > Also, what does the raw html look like? > > On Sun, Aug 10, 2008 at 12:09 PM, bharani kumar > wrote: > > Hi > > > > When i retrieve the body content, > > > > The content display with

tag, > > > > how to trim this

tag, > > > > I have tried using the input filter, > > > > No effect, > > > > Any great idea... > > > > -- > > [ 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/20080810/323f1b53/attachment.htm From victorkane at gmail.com Sun Aug 10 17:53:36 2008 From: victorkane at gmail.com (Victor Kane) Date: Sun, 10 Aug 2008 14:53:36 -0300 Subject: [support] retrive contents with

tag, How to trim In-Reply-To: <2240033d0808101031p5642b6cdn8f8a9fedb948ea73@mail.gmail.com> References: <2240033d0808100809k4739ed73u4d27736c12e0a5f1@mail.gmail.com> <2240033d0808101031p5642b6cdn8f8a9fedb948ea73@mail.gmail.com> Message-ID: OK, good, but you have to make sure that the input format including the

tag is actually applied to concrete, individual nodes. You need to check what is happening with the nodes already created, and then make sure that the input format is default for all nodes to be created in the future. On Sun, Aug 10, 2008 at 2:31 PM, bharani kumar wrote: > in the administrator > site configuration > input format, i added the

> tag.. > > On Sun, Aug 10, 2008 at 9:07 PM, Victor Kane wrote: >> >> What input filter did you select? >> >> Also, what does the raw html look like? >> >> On Sun, Aug 10, 2008 at 12:09 PM, bharani kumar >> wrote: >> > Hi >> > >> > When i retrieve the body content, >> > >> > The content display with

tag, >> > >> > how to trim this

tag, >> > >> > I have tried using the input filter, >> > >> > No effect, >> > >> > Any great idea... >> > >> > -- >> > [ Drupal support list | http://lists.drupal.org/ ] >> > >> -- >> [ Drupal support list | http://lists.drupal.org/ ] > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From fredthejonester at gmail.com Sun Aug 10 19:08:09 2008 From: fredthejonester at gmail.com (Fred Jones) Date: Sun, 10 Aug 2008 21:08:09 +0200 Subject: [support] How to setup Class Schedule In-Reply-To: <18891608.post@talk.nabble.com> References: <18841754.post@talk.nabble.com> <177c0a10808080037k9e04b12i5ceee0b39583ec7c@mail.gmail.com> <18891608.post@talk.nabble.com> Message-ID: <177c0a10808101208v303625e3r5b01efedc1b2a9f4@mail.gmail.com> > That seems to be my problem. I'm fooling with version 6 and it doesn't seem > to have a repeat event module for a static class schedule. Perhaps try 5 in that case. From fredthejonester at gmail.com Mon Aug 11 18:18:01 2008 From: fredthejonester at gmail.com (Fred Jones) Date: Mon, 11 Aug 2008 20:18:01 +0200 Subject: [support] "Read More" link for All Teasers Message-ID: <177c0a10808111118u7d0f5f9dw2870adff6fdd7d0c@mail.gmail.com> I have a view in D5 which is a Teaser List. For most nodes, it works fine--we see a teaser and then a 'read more' link. But for those nodes which don't really have any body text beyond the teaser, no 'read more' link appears. How can I get that link to appear also for those nodes? Thanks. From earnie at users.sourceforge.net Mon Aug 11 20:38:45 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Mon, 11 Aug 2008 16:38:45 -0400 Subject: [support] "Read More" link for All Teasers In-Reply-To: <177c0a10808111118u7d0f5f9dw2870adff6fdd7d0c@mail.gmail.com> References: <177c0a10808111118u7d0f5f9dw2870adff6fdd7d0c@mail.gmail.com> Message-ID: <20080811163845.cekgrgw4mwsgsso4@mail.progw.org> Quoting Fred Jones : > I have a view in D5 which is a Teaser List. For most nodes, it works > fine--we see a teaser and then a 'read more' link. But for those nodes > which don't really have any body text beyond the teaser, no 'read > more' link appears. How can I get that link to appear also for those > nodes? > Maybe http://drupal.org/project/ed_readmore will help? Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From gurpartap at gmail.com Mon Aug 11 20:44:10 2008 From: gurpartap at gmail.com (Gurpartap Singh) Date: Tue, 12 Aug 2008 02:14:10 +0530 Subject: [support] "Read More" link for All Teasers In-Reply-To: <20080811163845.cekgrgw4mwsgsso4@mail.progw.org> References: <177c0a10808111118u7d0f5f9dw2870adff6fdd7d0c@mail.gmail.com> <20080811163845.cekgrgw4mwsgsso4@mail.progw.org> Message-ID: ed_readmore won't help, nor is there a ready to use module for this. But you may hack ed_readmore and make it fit your bill. On Tue, Aug 12, 2008 at 2:08 AM, Earnie Boyd wrote: > Quoting Fred Jones : > > > I have a view in D5 which is a Teaser List. For most nodes, it works > > fine--we see a teaser and then a 'read more' link. But for those nodes > > which don't really have any body text beyond the teaser, no 'read > > more' link appears. How can I get that link to appear also for those > > nodes? > > > > Maybe http://drupal.org/project/ed_readmore will help? > > Earnie -- http://for-my-kids.com/ > -- http://give-me-an-offer.com/ > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Regards, Gurpartap Singh -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080812/41facfb9/attachment.htm From kanted at gmail.com Tue Aug 12 05:07:22 2008 From: kanted at gmail.com (vinod kanted) Date: Tue, 12 Aug 2008 10:37:22 +0530 Subject: [support] Node Import with images for ubercart Message-ID: <6069536c0808112207v6f2f3a52s9486c349135c6250@mail.gmail.com> we would like to use node import for bulk imports of product nodes with images we did add the node import image patch (editing the content.inc) tried this http://drupal.org/node/143471#comment-786257 and landed up in white screen -- Cheers, Vinod Kanted -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080812/3c02e887/attachment.htm From fredthejonester at gmail.com Tue Aug 12 07:44:46 2008 From: fredthejonester at gmail.com (Fred Jones) Date: Tue, 12 Aug 2008 09:44:46 +0200 Subject: [support] "Read More" link for All Teasers In-Reply-To: References: <177c0a10808111118u7d0f5f9dw2870adff6fdd7d0c@mail.gmail.com> <20080811163845.cekgrgw4mwsgsso4@mail.progw.org> Message-ID: <177c0a10808120044g601689ue702b9369ffb84e1@mail.gmail.com> > ed_readmore won't help, nor is there a ready to use module for this. > > But you may hack ed_readmore and make it fit your bill. Thanks From earnie at users.sourceforge.net Tue Aug 12 12:52:40 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Tue, 12 Aug 2008 08:52:40 -0400 Subject: [support] Node Import with images for ubercart In-Reply-To: <6069536c0808112207v6f2f3a52s9486c349135c6250@mail.gmail.com> References: <6069536c0808112207v6f2f3a52s9486c349135c6250@mail.gmail.com> Message-ID: <20080812085240.p1pcmgxgzk0084wk@mail.progw.org> Quoting vinod kanted : > we would like to use node import for bulk imports of product nodes with > images we did add the node import image patch (editing the content.inc) > > tried this > http://drupal.org/node/143471#comment-786257 > > and landed up in white screen > Does http://drupal.org/node/158043 help? Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From roy at panix.com Tue Aug 12 13:15:44 2008 From: roy at panix.com (Roy Smith) Date: Tue, 12 Aug 2008 09:15:44 -0400 Subject: [support] Need a human to help with drupal.org website problems Message-ID: <533B8EA0-53CE-4DAA-A9FE-C3AE9B4C4E80@panix.com> Can whoever manages the drupal.org website please contact me? Thanks. ---------------- Roy Smith roy at panix.com From z.stolar at gmail.com Tue Aug 12 13:44:10 2008 From: z.stolar at gmail.com (Zohar Stolar) Date: Tue, 12 Aug 2008 16:44:10 +0300 Subject: [support] Need a human to help with drupal.org website problems In-Reply-To: <533B8EA0-53CE-4DAA-A9FE-C3AE9B4C4E80@panix.com> References: <533B8EA0-53CE-4DAA-A9FE-C3AE9B4C4E80@panix.com> Message-ID: <48A193AA.8070109@gmail.com> I opened an issue for you: http://drupal.org/node/294310 Good luck! Roy Smith wrote: > Can whoever manages the drupal.org website please contact me? Thanks. > > ---------------- > Roy Smith > roy at panix.com > > > > > From hays at ohio.edu Tue Aug 12 16:10:18 2008 From: hays at ohio.edu (Steve Hays) Date: Tue, 12 Aug 2008 12:10:18 -0400 Subject: [support] "New" flags in forum comments? Message-ID: Is there a mechanism for flagging new (=unread) comments in forums,etc.? I know how to flag new content in Views, but what about on non-Views pages? I could, of course, develop a Views page to replace forums pages (at least I *think* I can), but I'd rather not have to do that and all the .css it would require. Is there an easy way built into Drupal (or Comments mod) to flag new comments? I have a feeling I'm being really dense. thanks, Steve Hays Ohio University From ratadi2 at gmail.com Tue Aug 12 16:38:52 2008 From: ratadi2 at gmail.com (geniekids) Date: Tue, 12 Aug 2008 09:38:52 -0700 (PDT) Subject: [support] Views Fusion: Comments showing up as "n/a" in fused view Message-ID: <18948080.post@talk.nabble.com> The primary view has schedule (date field). The secondary view has fields related to the movie including comments. When i view the fused view of "schedule with movie_details" - i get to see nicely fields fused together - except for the comments field - which shows up "n/a". Surprisingly it shows up the comments_subject properly as well as comments_author but dosen't show the comment itself. Also when i view only the secondary view - that is - view movie_details - i can see the comments nicely tabulated. The text of comment is only being replaced "in the fused view" by an n/a. Any clue how to set this right? -- View this message in context: http://www.nabble.com/Views-Fusion%3A-Comments-showing-up-as-%22n-a%22-in-fused-view-tp18948080p18948080.html Sent from the Drupal - Support mailing list archive at Nabble.com. From daniel.carrera at zmsl.com Tue Aug 12 18:40:33 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Tue, 12 Aug 2008 20:40:33 +0200 Subject: [support] Permissions on a test site Message-ID: <48A1D921.7080907@zmsl.com> Hello, I just made a test site to experiment with Drupal upgrades, but the permissions are all broken. This is what I did: 1) I made a new database. I copied every table from the old database to the new database. 2) I copied the Drupal directory of the old site to a new directory. I changed settings.php to point to the new database. I uploaded the directory. That is all. So I point my browser to the test site, Drupal seems to work except for the fact that all nodes give me an "access denied" error. I can see the side bars, the header, etc. It is as if someone had changed all the permissions from all the nodes to deny access. Strangely, I can still go to the login page, so I login as administrator. Drupal recognizes my login and I can navigate through all the *Administration* pages, but I still cannot access any nodes. I go to the home page, or any other page and I get "access denied". I tried creating a new page, and I was able to create the page successfully and access it later. The only nodes that give me "access denied" are the ones that come from the old database. This is really strange. I did not change the Drupal version, I did not touch anything other than what I described in (1) and (2). What could have changed that would make all pages inaccessible even for the admin? I did have one problem when copying the database. For some reason I couldn't copy all the tables at once. I exported the old DB tables with phpMyAdmin and re-uploaded it into the new DB but only the first 80 tables were copied. I had to do two more uploads before everything got copied. So I wonder if maybe there was an error during the copying process. Any ideas? This is just a test site and I'm happy to dump it all and start again. But at some point I'll need to make a functional copy of my Drupal site where I can perform the upgrade to Drupal 5. Thanks for the help. From fredthejonester at gmail.com Tue Aug 12 18:57:59 2008 From: fredthejonester at gmail.com (Fred Jones) Date: Tue, 12 Aug 2008 20:57:59 +0200 Subject: [support] Permissions on a test site In-Reply-To: <48A1D921.7080907@zmsl.com> References: <48A1D921.7080907@zmsl.com> Message-ID: <177c0a10808121157i387bac51w2156069e1bd328e1@mail.gmail.com> > I just made a test site to experiment with Drupal upgrades, but the > permissions are all broken. This is what I did: Try this http://www.tech4him.com/content/drupal-access-denied-permission-are-correct and see if it helps. Fred From daniel.carrera at zmsl.com Tue Aug 12 20:24:41 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Tue, 12 Aug 2008 22:24:41 +0200 Subject: [support] Permissions on a test site In-Reply-To: <177c0a10808121157i387bac51w2156069e1bd328e1@mail.gmail.com> References: <48A1D921.7080907@zmsl.com> <177c0a10808121157i387bac51w2156069e1bd328e1@mail.gmail.com> Message-ID: <48A1F189.9090006@zmsl.com> Fred Jones wrote: > Try this > > http://www.tech4him.com/content/drupal-access-denied-permission-are-correct > > and see if it helps. Thanks! That did it. At first I thought that it hadn't worked, but it turned out to be the stupid cache. I cleared the cache table and now I can access the pages. Thanks a lot. Cheers, Daniel. From kanted at gmail.com Wed Aug 13 06:59:18 2008 From: kanted at gmail.com (vinod kanted) Date: Wed, 13 Aug 2008 12:29:18 +0530 Subject: [support] Node Import with images for ubercart In-Reply-To: <20080812085240.p1pcmgxgzk0084wk@mail.progw.org> References: <6069536c0808112207v6f2f3a52s9486c349135c6250@mail.gmail.com> <20080812085240.p1pcmgxgzk0084wk@mail.progw.org> Message-ID: <6069536c0808122359r3b21b883y80fa3d5ab9a55812@mail.gmail.com> Did that nothing , i seems the patch content.inc has some issues can anyone help , I even tried a latest patch with audio import option it's same white screen . Thanks Vk On 8/12/08, Earnie Boyd wrote: > Quoting vinod kanted : > >> we would like to use node import for bulk imports of product nodes with >> images we did add the node import image patch (editing the content.inc) >> >> tried this >> http://drupal.org/node/143471#comment-786257 >> >> and landed up in white screen >> > > Does http://drupal.org/node/158043 help? > > Earnie -- http://for-my-kids.com/ > -- http://give-me-an-offer.com/ > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Regards, Vinod Kanted Manager +91 9840365757 +91 44 42149855 www.sagarcomputers.in Sagar Computers India From nareshvaj at yahoo.com Wed Aug 13 07:08:26 2008 From: nareshvaj at yahoo.com (Naresh Vajawat) Date: Wed, 13 Aug 2008 00:08:26 -0700 (PDT) Subject: [support] Ubercart / Node Import Help Required Message-ID: <637981.7958.qm@web58712.mail.re1.yahoo.com> Hi, I have installed ubercart version 1.3 , Drupal 5.9 and node import 1.6. I am able to uplaod the products via a CSV file. But I am not able to attach images to the products.I had the images in the files nad files/images folders but both didn't help. I get an error "undefined finfo_open() in content.inc at line 267, I am not sure how to resolve this issue. My basic aim is to have the ability to load products along with the images using a file import. Text content is being imported but not the images. Kindly advice as to how we can attak the issue . Thanks in Advance. Naresh -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080813/6556e6b3/attachment.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 2164 bytes Desc: not available Url : http://lists.drupal.org/pipermail/support/attachments/20080813/6556e6b3/attachment.gif From neil at esl-lounge.com Wed Aug 13 09:06:38 2008 From: neil at esl-lounge.com (Neil: esl-lounge.com) Date: Wed, 13 Aug 2008 11:06:38 +0200 Subject: [support] a way of re-sending the welcome e-mail? Message-ID: <004b01c8fd23$e53cd130$19490f4e@Neil> I'm doing some work on the welcome e-mails and wanted to know if there's a way of manually sending them? Is there some on/off value in the db that sends this? I don't really want to have to create so many new users just to see how the mail looks. regards Neil -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080813/a312e8d3/attachment.htm From marolijo at yahoo.es Wed Aug 13 10:14:43 2008 From: marolijo at yahoo.es (marolijo - Pol Maresma) Date: Wed, 13 Aug 2008 12:14:43 +0200 Subject: [support] Graph module Message-ID: <663448.55606.bm@omp410.mail.mud.yahoo.com> Hello, I need to create simple bar graph from a view. I wanna show a list of services with a decimal number, an convert it to a graph grouped by months. Exists any module that does somthing similar? Thank's! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080813/849df456/attachment.htm From marolijo at yahoo.es Wed Aug 13 10:47:29 2008 From: marolijo at yahoo.es (marolijo - Pol Maresma) Date: Wed, 13 Aug 2008 12:47:29 +0200 Subject: [support] Graph module In-Reply-To: <663448.55606.bm@omp410.mail.mud.yahoo.com> Message-ID: <786957.35067.bm@omp401.mail.mud.yahoo.com> Sorry, I was looking for "graph" instead of "chart".... now I have a few places to start. thank's _____ De: support-bounces at drupal.org [mailto:support-bounces at drupal.org] En nombre de marolijo - Pol Maresma Enviado el: dimecres, 13 / agost / 2008 12:15 Para: support at drupal.org Asunto: [support] Graph module Hello, I need to create simple bar graph from a view. I wanna show a list of services with a decimal number, an convert it to a graph grouped by months. Exists any module that does somthing similar? Thank's! __________ Informaci?n de NOD32, revisi?n 3350 (20080812) __________ Este mensaje ha sido analizado con NOD32 antivirus system http://www.nod32.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080813/92e652fd/attachment.htm From earnie at users.sourceforge.net Wed Aug 13 11:22:09 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Wed, 13 Aug 2008 07:22:09 -0400 Subject: [support] a way of re-sending the welcome e-mail? In-Reply-To: <004b01c8fd23$e53cd130$19490f4e@Neil> References: <004b01c8fd23$e53cd130$19490f4e@Neil> Message-ID: <20080813072209.8f8n1d4bcts8sks0@mail.progw.org> Quoting "Neil: esl-lounge.com" : > I'm doing some work on the welcome e-mails and wanted to know if > there's a way of manually sending them? Is there some on/off value in > the db that sends this? I don't really want to have to create so many > new users just to see how the mail looks. > I don't know if it exists but a module that supplied a preview of the form text box would be good. The devel module has a checkbox to allow mail to be sent to the watchdog. But you still have to create the user. Sorry, not too helpful. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From earnie at users.sourceforge.net Wed Aug 13 11:28:02 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Wed, 13 Aug 2008 07:28:02 -0400 Subject: [support] Ubercart / Node Import Help Required In-Reply-To: <637981.7958.qm@web58712.mail.re1.yahoo.com> References: <637981.7958.qm@web58712.mail.re1.yahoo.com> Message-ID: <20080813072802.8fu04ilib4e8k8gs@mail.progw.org> Quoting Naresh Vajawat : > Hi, > > I have installed ubercart version 1.3 , Drupal 5.9 and node import > 1.6. I am able to uplaod the products via a CSV file. But I am not > able to attach images to the products.I had the images in the files > nad files/images folders but both didn't help. > > I get an error "undefined finfo_open() in content.inc at line 267, > The file content.inc isn't a Drupal core file. That leaves one of the modules you've installed, probably Ubercart. The provider of the Ubercart package chooses not to support Ubercart on this list. You will need to find support at the Ubercart website. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From mbsunilkumar at yahoo.com Wed Aug 13 13:05:09 2008 From: mbsunilkumar at yahoo.com (Sunil Kumar) Date: Wed, 13 Aug 2008 06:05:09 -0700 (PDT) Subject: [support] Need help for creating content. New to Drupal Message-ID: <46502.79748.qm@web37903.mail.mud.yahoo.com> Hi All, ? I have few plays each have following: ? Author of the play Name of the play Scene Number Conversation in Poem Conversation in text Actors/Characters in each scene (Remember all plays have same characters. all are classical plays.) ? I would like to ad those to my drupal site. I need to list those according to the (a) name of the play (b) Actors/Characters and so on. If listed by name of the play, it should list all informations including scenes from the same play. If listed by character/actors, it should list all converstaion in poems, text and scene number, name of the play etc for this particular character/actor. ? If I made two separate custome content types for Conversation in Poem and another one for Conversation in text along with CCK fields for Author of the play, Name of the play,Scene number and Actors/Characters. then what will I do? Use views? How can I use views? Views are little bit confusing to me. I am new to drupal. ? Is there any other way to do this? If anybody can help me, please. Regards, -S-?? http://chintha.com http://vayanasala.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080813/befc48ab/attachment.htm From marolijo at yahoo.es Wed Aug 13 14:44:38 2008 From: marolijo at yahoo.es (marolijo - Pol Maresma) Date: Wed, 13 Aug 2008 16:44:38 +0200 Subject: [support] Filter user refenced content type Message-ID: <29500.19446.bm@omp204.mail.re3.yahoo.com> Hi, I have a content type that's referenced to a USER. How can I force all this content only show when the referenced user is logged? Thank's! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080813/d49265aa/attachment.htm From fredthejonester at gmail.com Wed Aug 13 14:49:42 2008 From: fredthejonester at gmail.com (Fred Jones) Date: Wed, 13 Aug 2008 16:49:42 +0200 Subject: [support] WorldPay callback Errors Message-ID: <177c0a10808130749n14d3795dqc860fc8aaf2dedec@mail.gmail.com> I have ecommerce with WorldPay integration, and the back end is working, BUT when WorldPay displays the callback page, with URL like: https://select.worldpay.com/wcc/card?op-PMGetNextPage&PaymentID=mg1imsps........ etc. I see: warning: array_keys() [function.array-keys]: The first argument should be an array in /var/www/vhosts/mysite.org/httpdocs/modules/user/user.module on line 378. warning: array_fill() [function.array-fill]: Number of elements must be positive in /var/www/vhosts/mysite.org/httpdocs/modules/user/user.module on line 379. etc--like 10 such lines. anyone have any idea what that could be? Thanks From marolijo at yahoo.es Wed Aug 13 15:09:30 2008 From: marolijo at yahoo.es (marolijo - Pol Maresma) Date: Wed, 13 Aug 2008 17:09:30 +0200 Subject: [support] Graph module In-Reply-To: <786957.35067.bm@omp401.mail.mud.yahoo.com> Message-ID: <417172.78410.bm@omp106.mail.re1.yahoo.com> Hi, I looked this but they aren't integrated with Views. Any idea of how to do that? Maybe coding a view without the UI? Thank's _____ De: support-bounces at drupal.org [mailto:support-bounces at drupal.org] En nombre de marolijo - Pol Maresma Enviado el: dimecres, 13 / agost / 2008 12:47 Para: support at drupal.org Asunto: Re: [support] Graph module Sorry, I was looking for "graph" instead of "chart".... now I have a few places to start. thank's _____ De: support-bounces at drupal.org [mailto:support-bounces at drupal.org] En nombre de marolijo - Pol Maresma Enviado el: dimecres, 13 / agost / 2008 12:15 Para: support at drupal.org Asunto: [support] Graph module Hello, I need to create simple bar graph from a view. I wanna show a list of services with a decimal number, an convert it to a graph grouped by months. Exists any module that does somthing similar? Thank's! __________ Informaci?n de NOD32, revisi?n 3350 (20080812) __________ Este mensaje ha sido analizado con NOD32 antivirus system http://www.nod32.com __________ Informaci?n de NOD32, revisi?n 3350 (20080812) __________ Este mensaje ha sido analizado con NOD32 antivirus system http://www.nod32.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080813/f43b9d6a/attachment.htm From net at twoedged.org Wed Aug 13 18:18:24 2008 From: net at twoedged.org (John Fletcher) Date: Wed, 13 Aug 2008 20:18:24 +0200 Subject: [support] Patch software under Windows Message-ID: <001601c8fd70$fab5c4c0$f0214e40$@org> Can anyone tell me a free program that can be used to apply patch files under Windows? There's a page in the drupal handbook about this but none of the programs seemed to work. Interestingly a number of programs will allow you to create diff files... but what can I use to apply them? Thanks, John -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080813/24ed9b18/attachment.htm From fredthejonester at gmail.com Wed Aug 13 18:29:00 2008 From: fredthejonester at gmail.com (Fred Jones) Date: Wed, 13 Aug 2008 20:29:00 +0200 Subject: [support] WorldPay callback Errors In-Reply-To: <177c0a10808130749n14d3795dqc860fc8aaf2dedec@mail.gmail.com> References: <177c0a10808130749n14d3795dqc860fc8aaf2dedec@mail.gmail.com> Message-ID: <177c0a10808131129g70408511n873bc9331ca75da7@mail.gmail.com> > I have ecommerce with WorldPay integration, and the back end is > working, BUT when WorldPay displays the callback page, with URL like: > > https://select.worldpay.com/wcc/card?op-PMGetNextPage&PaymentID=mg1imsps........ > etc. > > I see: I have narrowed the problem down somewhat. If I use print_r($account); in line 379 of user.module (Drupal 5.9), meaning directly after if (!isset($perm[$account->uid])) { and I call the worldpay_callback URL in my browser then I see: stdClass Object ( [uid] => 0 [hostname] => XX.ZZ.AA.CC [roles] => Array ( [1] => anonymous user ) [session] => [cache] => 0 ) which makes sense. But if I leave that code in and view the callback page as it is sent to Worldpay, then that print_r has no output whatsoever. I confirmed this 100% by putting a simple echo before and after--those echos I see, but the print_r serves up no results. Seems perhaps that Worldpay is calling the page differently and the global $user is not being set. Because $account is set to be whatever $user is. From earnie at users.sourceforge.net Wed Aug 13 18:31:48 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Wed, 13 Aug 2008 14:31:48 -0400 Subject: [support] Patch software under Windows In-Reply-To: <001601c8fd70$fab5c4c0$f0214e40$@org> References: <001601c8fd70$fab5c4c0$f0214e40$@org> Message-ID: <20080813143148.7he9gl2tn8gggc0o@mail.progw.org> Quoting John Fletcher : > Can anyone tell me a free program that can be used to apply patch files > under Windows? There's a page in the drupal handbook about this but none of > the programs seemed to work. > > > > Interestingly a number of programs will allow you to create diff files... > but what can I use to apply them? > I highly suggest MSYS from http://www.mingw.org. But there is also http://unxutils.sourceforge.net/ which includes a patch command. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From stefan at borchert.cc Wed Aug 13 18:36:47 2008 From: stefan at borchert.cc (Stefan Borchert) Date: Wed, 13 Aug 2008 20:36:47 +0200 Subject: [support] Patch software under Windows In-Reply-To: <001601c8fd70$fab5c4c0$f0214e40$@org> References: <001601c8fd70$fab5c4c0$f0214e40$@org> Message-ID: <48A329BF.1030901@borchert.cc> John Fletcher schrieb: > Can anyone tell me a free program that can be used to apply patch files > under Windows? There's a page in the drupal handbook about this but none of > the programs seemed to work. > > > > Interestingly a number of programs will allow you to create diff files... > but what can I use to apply them? Hi. You could try cygwin [1] or patch.exe [2]. hth, Stefan [1] http://www.cygwin.com/ [2] http://gnuwin32.sourceforge.net/packages/patch.htm From victorkane at gmail.com Wed Aug 13 18:39:01 2008 From: victorkane at gmail.com (Victor Kane) Date: Wed, 13 Aug 2008 15:39:01 -0300 Subject: [support] Patch software under Windows In-Reply-To: <001601c8fd70$fab5c4c0$f0214e40$@org> References: <001601c8fd70$fab5c4c0$f0214e40$@org> Message-ID: Either cygwin (explained on this Drupal page: http://drupal.org/node/32875) or another cool alternative are the UnxUtils (http://unxutils.sourceforge.net/), which sets you up with a special shell also, and is easier to install. Victor Kane http://awebfactory.com.ar On Wed, Aug 13, 2008 at 3:18 PM, John Fletcher wrote: > Can anyone tell me a free program that can be used to apply patch files > under Windows? There's a page in the drupal handbook about this but none of > the programs seemed to work. > > > > Interestingly a number of programs will allow you to create diff files... > but what can I use to apply them? > > > > Thanks, > > John > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From Robin.Clarke at networkrail.co.uk Thu Aug 14 09:02:05 2008 From: Robin.Clarke at networkrail.co.uk (Clarke Robin) Date: Thu, 14 Aug 2008 10:02:05 +0100 Subject: [support] Patch software under Windows References: <001601c8fd70$fab5c4c0$f0214e40$@org> Message-ID: <0CF90D6CE50B98468B96FECD3CEFE7C9D6FAE2@sr1mm02.corp.UKrail.net> I have been unable to get patch with UnxUtils to work on Vista. Calling it just does nothing, and I have to Ctrl-X to get back to the DOS prompt. Has anyone else had the same problem and managed to sort it out? ________________________________ From: support-bounces at drupal.org on behalf of Victor Kane Sent: Wed 13/08/2008 19:39 To: support at drupal.org Subject: Re: [support] Patch software under Windows Either cygwin (explained on this Drupal page: http://drupal.org/node/32875) or another cool alternative are the UnxUtils (http://unxutils.sourceforge.net/), which sets you up with a special shell also, and is easier to install. Victor Kane http://awebfactory.com.ar On Wed, Aug 13, 2008 at 3:18 PM, John Fletcher wrote: > Can anyone tell me a free program that can be used to apply patch files > under Windows? There's a page in the drupal handbook about this but none of > the programs seemed to work. > > > > Interestingly a number of programs will allow you to create diff files... > but what can I use to apply them? > > > > Thanks, > > John > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- [ Drupal support list | http://lists.drupal.org/ ] **************************************************************************************************************************************************************** The content of this email (and any attachment) is confidential. It may also be legally privileged or otherwise protected from disclosure. This email should not be used by anyone who is not an original intended recipient, nor may it be copied or disclosed to anyone who is not an original intended recipient. If you have received this email by mistake please notify us by emailing the sender, and then delete the email and any copies from your system. Liability cannot be accepted for statements made which are clearly the senders own and not made on behalf of Network Rail. Network Rail Infrastructure Limited registered in England and Wales No. 2904587, registered office 40 Melton Street London NW1 2EE **************************************************************************************************************************************************************** -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 4355 bytes Desc: not available Url : http://lists.drupal.org/pipermail/support/attachments/20080814/74305ae4/attachment.bin From earnie at users.sourceforge.net Thu Aug 14 12:24:31 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Thu, 14 Aug 2008 08:24:31 -0400 Subject: [support] Patch software under Windows In-Reply-To: <0CF90D6CE50B98468B96FECD3CEFE7C9D6FAE2@sr1mm02.corp.UKrail.net> References: <001601c8fd70$fab5c4c0$f0214e40$@org> <0CF90D6CE50B98468B96FECD3CEFE7C9D6FAE2@sr1mm02.corp.UKrail.net> Message-ID: <20080814082431.4zsh2gvb4qo4kgok@mail.progw.org> Quoting Clarke Robin : > I have been unable to get patch with UnxUtils to work on Vista. > Calling it just does nothing, and I have to Ctrl-X to get back to the > DOS prompt. Has anyone else had the same problem and managed to sort > it out? > I highly recommend MSYS from www.mingw.org. MSYS is a minimal system created from Cygwin. There have been some Vista issues but most have been able to overcome and you should be able to get help from the user list. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From daniel.carrera at zmsl.com Wed Aug 13 09:06:32 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Wed, 13 Aug 2008 11:06:32 +0200 Subject: [support] Permissions on a test site In-Reply-To: <48A1F189.9090006@zmsl.com> References: <48A1D921.7080907@zmsl.com> <177c0a10808121157i387bac51w2156069e1bd328e1@mail.gmail.com> <48A1F189.9090006@zmsl.com> Message-ID: <48A2A418.3040602@zmsl.com> I'm a idiot. No, the solution did not help at all. When I was trying different pages I clicked on an absolute link which took me out of the test site and back to the old site. Because they look the same except for the URL, I did not notice. So I mistakenly thought that the problem was fixed. Grrr... Daniel Carrera wrote: > Fred Jones wrote: >> Try this >> >> http://www.tech4him.com/content/drupal-access-denied-permission-are-correct >> >> and see if it helps. > > Thanks! That did it. > > At first I thought that it hadn't worked, but it turned out to be the > stupid cache. I cleared the cache table and now I can access the pages. > Thanks a lot. > > Cheers, > Daniel. From daniel.carrera at zmsl.com Thu Aug 14 11:27:09 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Thu, 14 Aug 2008 13:27:09 +0200 Subject: [support] Drupal permissions Message-ID: <48A4168D.6050705@zmsl.com> Hello, I tried to make a copy of my Drupal site for testing, but I can't get the test site to work. This is what I've done: 1) I made a copy of the database (let's call it test_db). 2) I made a copy of the Drupal directory and changed settings.php to point to test_db. I can navigate to the new Drupal site, but all the nodes give me "access denied". I can login, I can create new pages, and the new pages I create work fine (no "access denied") but the old pages just won't work. I tried following the instructions here: http://www.tech4him.com/content/drupal-access-denied-permission-are-correct No luck. If I change settings.php in the test site to point to the old database, the site works fine. So the problem seems to be something in the new database, but I can't imagine what. Does anyone have any ideas? Any suggestions would be greatly appreciated. Daniel. From errol.sayre at gmail.com Thu Aug 14 20:18:51 2008 From: errol.sayre at gmail.com (Errol Sayre) Date: Thu, 14 Aug 2008 15:18:51 -0500 Subject: [support] Best way to post content from PHP Message-ID: <1021DF5C-EF4B-4268-9D5D-2E0125F273DA@gmail.com> I'm looking to setup a script to automatically create a monthly report page in drupal from my custom database. I was hoping to use the BlogAPI module to post my data from my application to drupal, but have had little luck in finding a PHP script that can do this for me that still works (most are outdated trying to redeclare XML-RPC functions built-in to php). Anyone have any experience doing this and could shed some light on the subject? Am I just going to have to write my own XML-RPC calls or is there a pre-built library that can do this via one of the supported APIs (blogger/mt/etc)? TIA From mike at mikeyp.net Thu Aug 14 20:36:15 2008 From: mike at mikeyp.net (Michael Prasuhn) Date: Thu, 14 Aug 2008 13:36:15 -0700 Subject: [support] Best way to post content from PHP In-Reply-To: <1021DF5C-EF4B-4268-9D5D-2E0125F273DA@gmail.com> References: <1021DF5C-EF4B-4268-9D5D-2E0125F273DA@gmail.com> Message-ID: <6661B43E-B45A-442E-8C7A-559174C08AC8@mikeyp.net> This isn't very hard at all in Drupal. To start with querying multiple DBs, update your settings.php to look something like this: $db_url['default'] = the default settings for your drupal db $db_url['mydb'] = connection settings for my db (NOTE: the two databases must be of the same type, i.e. MySQL) then in a custom module, do something like this: title; $node['type'] = 'NODE TYPE GOES HERE'; $node['name'] = $my_data->author; $node['status'] = 1; $node['promote'] = 0; $node['sticky'] = 0; $log = 'Imported on: ' . date('g:i:s a'); $node['log'] = $log; $node['CCK FIELD NAME GOES HERE'] = array( 0 => array( 'FIELD ATTRIBUTE' => $my_data->field_id, 'FIELD ATTRIBUTE' => $my_data->field_value, 'FIELD ATTRIBUTE' => '', ), ); if ($node['title']) { $node = (object)$node; $node = node_submit($node); node_save($node); $nid = $node->nid; $message = 'Saved as node id '. l('#'. $nid, 'node/'. $nid); drupal_set_message($message); } // Optionally return the node here to whatever function called us, so they can act on the node as well return $node; } ?> And you'll have a new node with the data from your other DB, as you've mapped it in your function. -Mike On Aug 14, 2008, at 1:18 PM, Errol Sayre wrote: > I'm looking to setup a script to automatically create a monthly report > page in drupal from my custom database. I was hoping to use the > BlogAPI module to post my data from my application to drupal, but have > had little luck in finding a PHP script that can do this for me that > still works (most are outdated trying to redeclare XML-RPC functions > built-in to php). > > Anyone have any experience doing this and could shed some light on the > subject? Am I just going to have to write my own XML-RPC calls or is > there a pre-built library that can do this via one of the supported > APIs (blogger/mt/etc)? > > TIA > -- > [ Drupal support list | http://lists.drupal.org/ ] __________________ Michael Prasuhn mike at mikeyp.net http://mikeyp.net 503.488.5433 714.356.0168 cell 949.200.7670 fax From errol.sayre at gmail.com Thu Aug 14 20:47:07 2008 From: errol.sayre at gmail.com (Errol Sayre) Date: Thu, 14 Aug 2008 15:47:07 -0500 Subject: [support] Best way to post content from PHP In-Reply-To: <6661B43E-B45A-442E-8C7A-559174C08AC8@mikeyp.net> References: <1021DF5C-EF4B-4268-9D5D-2E0125F273DA@gmail.com> <6661B43E-B45A-442E-8C7A-559174C08AC8@mikeyp.net> Message-ID: <5EDF6A94-6000-437A-AE1A-D5B11A892030@gmail.com> On Aug 14, 2008, at 3:36 PM, Michael Prasuhn wrote: > if ($node['title']) { > $node = (object)$node; > $node = node_submit($node); > node_save($node); > > $nid = $node->nid; > > $message = 'Saved as node id '. l('#'. $nid, 'node/'. $nid); > drupal_set_message($message); Expanding on this idea, is there any formal API for creating a node externally and passing it off to Drupal? How would I access a custom module like this programmatically on the same server? I had assumed I'd have to go through some web frontend on drupal to get access to things in the proper context... From errol.sayre at gmail.com Thu Aug 14 20:51:24 2008 From: errol.sayre at gmail.com (Errol Sayre) Date: Thu, 14 Aug 2008 15:51:24 -0500 Subject: [support] Best way to post content from PHP In-Reply-To: <6661B43E-B45A-442E-8C7A-559174C08AC8@mikeyp.net> References: <1021DF5C-EF4B-4268-9D5D-2E0125F273DA@gmail.com> <6661B43E-B45A-442E-8C7A-559174C08AC8@mikeyp.net> Message-ID: Looking at this page: http://api.drupal.org/api/file/modules/node/node.module/5 I see that node.module is "The core that allows content to be submitted to the site. Modules and scripts may programmatically submit nodes using the usual form API pattern." However, what's the "usual form API pattern" it's talking about here? From victorkane at gmail.com Thu Aug 14 21:08:10 2008 From: victorkane at gmail.com (Victor Kane) Date: Thu, 14 Aug 2008 18:08:10 -0300 Subject: [support] Best way to post content from PHP In-Reply-To: <1021DF5C-EF4B-4268-9D5D-2E0125F273DA@gmail.com> References: <1021DF5C-EF4B-4268-9D5D-2E0125F273DA@gmail.com> Message-ID: Apart from the BlogAPI, Drupal supports a feature-rich Services module. See http://drupal.org/project/services I have blogged on using the XMLRPC node.load and node.save services: http://awebfactory.com.ar/node/297 (Leveraging XML-RPC services with the Services Module) Victor Kane http://awebfactory.com.ar On Thu, Aug 14, 2008 at 5:18 PM, Errol Sayre wrote: > I'm looking to setup a script to automatically create a monthly report > page in drupal from my custom database. I was hoping to use the > BlogAPI module to post my data from my application to drupal, but have > had little luck in finding a PHP script that can do this for me that > still works (most are outdated trying to redeclare XML-RPC functions > built-in to php). > > Anyone have any experience doing this and could shed some light on the > subject? Am I just going to have to write my own XML-RPC calls or is > there a pre-built library that can do this via one of the supported > APIs (blogger/mt/etc)? > > TIA > -- > [ Drupal support list | http://lists.drupal.org/ ] > From victorkane at gmail.com Thu Aug 14 21:12:16 2008 From: victorkane at gmail.com (Victor Kane) Date: Thu, 14 Aug 2008 18:12:16 -0300 Subject: [support] Drupal permissions In-Reply-To: <48A4168D.6050705@zmsl.com> References: <48A4168D.6050705@zmsl.com> Message-ID: This sounds like a good case of "everybody out of the car, everybody into the car, let's see if it starts". You say you "copied all the tables"... How did you dump the database in the source site? How exactly did you load the target database? I would recommend doing a complete dump either on the command line with mysqldump utility, or else with phpmyadmin, but of all the tables together. And upload everything together, or else load with mysql command line utility. Drop all tables in the source database before loading it with the data. Victor Kane http://awebfactory.com.ar On Thu, Aug 14, 2008 at 8:27 AM, Daniel Carrera wrote: > Hello, > > I tried to make a copy of my Drupal site for testing, but I can't get > the test site to work. This is what I've done: > > 1) I made a copy of the database (let's call it test_db). > 2) I made a copy of the Drupal directory and changed settings.php to > point to test_db. > > I can navigate to the new Drupal site, but all the nodes give me "access > denied". I can login, I can create new pages, and the new pages I create > work fine (no "access denied") but the old pages just won't work. > > I tried following the instructions here: > > http://www.tech4him.com/content/drupal-access-denied-permission-are-correct > > No luck. > > If I change settings.php in the test site to point to the old database, > the site works fine. So the problem seems to be something in the new > database, but I can't imagine what. > > Does anyone have any ideas? Any suggestions would be greatly appreciated. > > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] > From errol.sayre at gmail.com Thu Aug 14 21:17:13 2008 From: errol.sayre at gmail.com (Errol Sayre) Date: Thu, 14 Aug 2008 16:17:13 -0500 Subject: [support] Best way to post content from PHP In-Reply-To: <6661B43E-B45A-442E-8C7A-559174C08AC8@mikeyp.net> References: <1021DF5C-EF4B-4268-9D5D-2E0125F273DA@gmail.com> <6661B43E-B45A-442E-8C7A-559174C08AC8@mikeyp.net> Message-ID: <9618786A-27F9-447F-920A-19568EA5F3F4@gmail.com> http://drupal.org/node/86727 A tutorial on using php and curl to automate creating nodes... this may do what I need. From pinglaura at gmail.com Thu Aug 14 23:46:45 2008 From: pinglaura at gmail.com (Laura Scott) Date: Thu, 14 Aug 2008 17:46:45 -0600 Subject: [support] Drupal permissions In-Reply-To: References: <48A4168D.6050705@zmsl.com> Message-ID: <9C96FCAB-7C0F-4333-87D9-9760ED8B490C@gmail.com> Might try first clearing the cache. Also, if this is living on the same domain somehow, you might have cookie collision issues. Laura http://pingv.com On Aug 14, 2008, at 3:12 PM, Victor Kane wrote: > This sounds like a good case of "everybody out of the car, everybody > into the car, let's see if it starts". > > You say you "copied all the tables"... > > How did you dump the database in the source site? > How exactly did you load the target database? > > I would recommend doing a complete dump either on the command line > with mysqldump utility, or else with phpmyadmin, but of all the tables > together. And upload everything together, or else load with mysql > command line utility. > > Drop all tables in the source database before loading it with the > data. > > Victor Kane > http://awebfactory.com.ar > > On Thu, Aug 14, 2008 at 8:27 AM, Daniel Carrera > wrote: >> Hello, >> >> I tried to make a copy of my Drupal site for testing, but I can't get >> the test site to work. This is what I've done: >> >> 1) I made a copy of the database (let's call it test_db). >> 2) I made a copy of the Drupal directory and changed settings.php to >> point to test_db. >> >> I can navigate to the new Drupal site, but all the nodes give me >> "access >> denied". I can login, I can create new pages, and the new pages I >> create >> work fine (no "access denied") but the old pages just won't work. >> >> I tried following the instructions here: >> >> http://www.tech4him.com/content/drupal-access-denied-permission-are-correct >> >> No luck. >> >> If I change settings.php in the test site to point to the old >> database, >> the site works fine. So the problem seems to be something in the new >> database, but I can't imagine what. >> >> Does anyone have any ideas? Any suggestions would be greatly >> appreciated. >> >> Daniel. >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > -- > [ Drupal support list | http://lists.drupal.org/ ] From daniel.carrera at zmsl.com Fri Aug 15 00:10:43 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Fri, 15 Aug 2008 02:10:43 +0200 Subject: [support] Drupal permissions In-Reply-To: <9C96FCAB-7C0F-4333-87D9-9760ED8B490C@gmail.com> References: <48A4168D.6050705@zmsl.com> <9C96FCAB-7C0F-4333-87D9-9760ED8B490C@gmail.com> Message-ID: <48A4C983.4070203@zmsl.com> I tried clearing the cache. The test site is in the same domain. Do you think the problem might get fixed with a sub-domain? So if the main site is at: http://example.com/Foo and I put the test site in: http://test.example.com/ Do you think that would resolve any cookie collision issue? It's 2AM here, I'll try that tomorrow. Thanks for the suggestion. Laura Scott wrote: > Might try first clearing the cache. Also, if this is living on the > same domain somehow, you might have cookie collision issues. > > Laura > http://pingv.com > > On Aug 14, 2008, at 3:12 PM, Victor Kane wrote: > >> This sounds like a good case of "everybody out of the car, everybody >> into the car, let's see if it starts". >> >> You say you "copied all the tables"... >> >> How did you dump the database in the source site? >> How exactly did you load the target database? >> >> I would recommend doing a complete dump either on the command line >> with mysqldump utility, or else with phpmyadmin, but of all the tables >> together. And upload everything together, or else load with mysql >> command line utility. >> >> Drop all tables in the source database before loading it with the >> data. >> >> Victor Kane >> http://awebfactory.com.ar >> >> On Thu, Aug 14, 2008 at 8:27 AM, Daniel Carrera >> wrote: >>> Hello, >>> >>> I tried to make a copy of my Drupal site for testing, but I can't get >>> the test site to work. This is what I've done: >>> >>> 1) I made a copy of the database (let's call it test_db). >>> 2) I made a copy of the Drupal directory and changed settings.php to >>> point to test_db. >>> >>> I can navigate to the new Drupal site, but all the nodes give me >>> "access >>> denied". I can login, I can create new pages, and the new pages I >>> create >>> work fine (no "access denied") but the old pages just won't work. >>> >>> I tried following the instructions here: >>> >>> http://www.tech4him.com/content/drupal-access-denied-permission-are-correct >>> >>> No luck. >>> >>> If I change settings.php in the test site to point to the old >>> database, >>> the site works fine. So the problem seems to be something in the new >>> database, but I can't imagine what. >>> >>> Does anyone have any ideas? Any suggestions would be greatly >>> appreciated. >>> >>> Daniel. >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] > From bill at funnymonkey.com Fri Aug 15 03:30:43 2008 From: bill at funnymonkey.com (Bill Fitzgerald) Date: Thu, 14 Aug 2008 20:30:43 -0700 Subject: [support] Drupal permissions In-Reply-To: <48A4C983.4070203@zmsl.com> References: <48A4168D.6050705@zmsl.com> <9C96FCAB-7C0F-4333-87D9-9760ED8B490C@gmail.com> <48A4C983.4070203@zmsl.com> Message-ID: <48A4F863.4080104@funnymonkey.com> Hello, Daniel, Try these two steps, in this order: 1. Navigate to admin/build/modules/uninstall (administer - site building - modules, click the "uninstall" tab) -- check to see if there are any disabled modules with uninstall features, esp any modules related to access control. If so, uninstall them. 2. Then, navigate to admin/content/node-settings (administer - content management - post settings ) and look for the "Rebuild Permissions" button. Click it, and rebuild your permissions. You also might want to look at your logs, and clear all the cache* tables in the database, just for good measure. Cheers, Bill Daniel Carrera wrote: > I tried clearing the cache. > > The test site is in the same domain. Do you think the problem might get > fixed with a sub-domain? So if the main site is at: > > http://example.com/Foo > > and I put the test site in: > > http://test.example.com/ > > Do you think that would resolve any cookie collision issue? > > It's 2AM here, I'll try that tomorrow. Thanks for the suggestion. > > Laura Scott wrote: > >> Might try first clearing the cache. Also, if this is living on the >> same domain somehow, you might have cookie collision issues. >> >> Laura >> http://pingv.com >> >> On Aug 14, 2008, at 3:12 PM, Victor Kane wrote: >> >> >>> This sounds like a good case of "everybody out of the car, everybody >>> into the car, let's see if it starts". >>> >>> You say you "copied all the tables"... >>> >>> How did you dump the database in the source site? >>> How exactly did you load the target database? >>> >>> I would recommend doing a complete dump either on the command line >>> with mysqldump utility, or else with phpmyadmin, but of all the tables >>> together. And upload everything together, or else load with mysql >>> command line utility. >>> >>> Drop all tables in the source database before loading it with the >>> data. >>> >>> Victor Kane >>> http://awebfactory.com.ar >>> >>> On Thu, Aug 14, 2008 at 8:27 AM, Daniel Carrera >> >>>> wrote: >>>> Hello, >>>> >>>> I tried to make a copy of my Drupal site for testing, but I can't get >>>> the test site to work. This is what I've done: >>>> >>>> 1) I made a copy of the database (let's call it test_db). >>>> 2) I made a copy of the Drupal directory and changed settings.php to >>>> point to test_db. >>>> >>>> I can navigate to the new Drupal site, but all the nodes give me >>>> "access >>>> denied". I can login, I can create new pages, and the new pages I >>>> create >>>> work fine (no "access denied") but the old pages just won't work. >>>> >>>> I tried following the instructions here: >>>> >>>> http://www.tech4him.com/content/drupal-access-denied-permission-are-correct >>>> >>>> No luck. >>>> >>>> If I change settings.php in the test site to point to the old >>>> database, >>>> the site works fine. So the problem seems to be something in the new >>>> database, but I can't imagine what. >>>> >>>> Does anyone have any ideas? Any suggestions would be greatly >>>> appreciated. >>>> >>>> Daniel. >>>> -- >>>> [ Drupal support list | http://lists.drupal.org/ ] >>>> >>>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> > > -- Bill Fitzgerald http://funnymonkey.com FunnyMonkey -- Tools for Teachers ph. 503 897 7160 From neil at esl-lounge.com Fri Aug 15 13:18:01 2008 From: neil at esl-lounge.com (Neil: esl-lounge.com) Date: Fri, 15 Aug 2008 15:18:01 +0200 Subject: [support] Suddenly, my 404 page is stripped of all its blocks, menu, etc Message-ID: <008001c8fed9$58ade990$e25d0f4e@Neil> I upgraded to 5.10 yesterday and the only discernable thing I've noticed is that my custom 404 (mysite/404) page has all its blocks stripped out...why would that have happened? I don't use menu module - I use a block for a horizontal two-level menu and that's gone. The header block with search/login, etc has gone and the footer block with contact/faq/copyright, etc has also gone. anyone want to help me solve this mystery? :-( Neil -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080815/7a8f3b84/attachment.htm From neil at esl-lounge.com Fri Aug 15 13:23:27 2008 From: neil at esl-lounge.com (Neil: esl-lounge.com) Date: Fri, 15 Aug 2008 15:23:27 +0200 Subject: [support] Suddenly, my 404 page is stripped of all its blocks, menu, etc References: <008001c8fed9$58ade990$e25d0f4e@Neil> Message-ID: <009801c8feda$1ae5c2d0$e25d0f4e@Neil> Just for clarification. If I go to the 404 page itself that I made, it looks fine and all the blocks are in place. If I go to mysite.com/asdadsf or any other page that doesn't exist, that's when I get the block-free version. Neil ----- Original Message ----- From: Neil: esl-lounge.com To: support at drupal.org Sent: Friday, August 15, 2008 3:18 PM Subject: [support] Suddenly, my 404 page is stripped of all its blocks, menu,etc I upgraded to 5.10 yesterday and the only discernable thing I've noticed is that my custom 404 (mysite/404) page has all its blocks stripped out...why would that have happened? I don't use menu module - I use a block for a horizontal two-level menu and that's gone. The header block with search/login, etc has gone and the footer block with contact/faq/copyright, etc has also gone. anyone want to help me solve this mystery? :-( Neil ------------------------------------------------------------------------------ -- [ Drupal support list | http://lists.drupal.org/ ] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080815/7daa3ff2/attachment.htm From morbus at disobey.com Fri Aug 15 13:27:39 2008 From: morbus at disobey.com (Morbus Iff) Date: Fri, 15 Aug 2008 09:27:39 -0400 Subject: [support] Suddenly, my 404 page is stripped of all its blocks, menu, etc In-Reply-To: <009801c8feda$1ae5c2d0$e25d0f4e@Neil> References: <008001c8fed9$58ade990$e25d0f4e@Neil> <009801c8feda$1ae5c2d0$e25d0f4e@Neil> Message-ID: <48A5844B.5040002@disobey.com> > Just for clarification. If I go to the 404 page itself that I made, it > looks fine and all the blocks are in place. If I go to > mysite.com/asdadsf or any other page that doesn't exist, that's when I > get the block-free version. That's a new "feature" in 5. Error pages do not render blocks. There's an issue in the queue to make it user choice. -- Morbus Iff ( if god is in me, he is a tumor ) Technical: http://www.oreillynet.com/pub/au/779 Enjoy: http://www.disobey.com/ and http://www.videounderbelly.com/ aim: akaMorbus / skype: morbusiff / icq: 2927491 / jabber.org: morbus From neil at esl-lounge.com Fri Aug 15 13:32:01 2008 From: neil at esl-lounge.com (Neil: esl-lounge.com) Date: Fri, 15 Aug 2008 15:32:01 +0200 Subject: [support] Suddenly, my 404 page is stripped of all its blocks, menu, etc References: <008001c8fed9$58ade990$e25d0f4e@Neil><009801c8feda$1ae5c2d0$e25d0f4e@Neil> <48A5844B.5040002@disobey.com> Message-ID: <00a601c8fedb$4d11e350$e25d0f4e@Neil> So I've never been able to see them? I was sure I was seeing all my menus (which are blocks on my site) before 5.10... ----- Original Message ----- From: "Morbus Iff" To: Sent: Friday, August 15, 2008 3:27 PM Subject: Re: [support] Suddenly, my 404 page is stripped of all its blocks, menu, etc >> Just for clarification. If I go to the 404 page itself that I made, it >> looks fine and all the blocks are in place. If I go to >> mysite.com/asdadsf or any other page that doesn't exist, that's when I >> get the block-free version. > > That's a new "feature" in 5. Error pages do not render blocks. > > There's an issue in the queue to make it user choice. > > -- > Morbus Iff ( if god is in me, he is a tumor ) > Technical: http://www.oreillynet.com/pub/au/779 > Enjoy: http://www.disobey.com/ and http://www.videounderbelly.com/ > aim: akaMorbus / skype: morbusiff / icq: 2927491 / jabber.org: morbus > -- > [ Drupal support list | http://lists.drupal.org/ ] > From amont at 5net.hu Fri Aug 15 14:57:28 2008 From: amont at 5net.hu (=?ISO-8859-2?Q?=C1mon_Tam=E1s?=) Date: Fri, 15 Aug 2008 16:57:28 +0200 Subject: [support] ahah question - adding new form elements Message-ID: <48A59958.1080204@5net.hu> Hello, This is my code: function atleta_rankings_by_region_form($context) { $form['region'] = array( '#type' => 'select', '#title' => t('Select region'), '#options' => array( '' => '', 'area' => t('Area'), 'national' => t('National'), 'games' => t('Games & Cups'), 'event' => t('Custom region') ), '#ahah' => array( 'path' => 'atleta/rankings_by_region/ahah', 'wrapper' => 'atleta-ahah-wrapper', 'method' => 'replace', 'effect' => 'fade'), ); $form['markup'] = array( "#value" => '

' ); function atleta_rankings_by_region_ahah() { switch ( $_POST['region'] ) { case 'area': $form['area'] = array( '#type' => 'select', '#title' => t('Select region'), '#options' => array( '' => '', '1' => 'Europe', '2' => 'Asia', '3' => 'Rest of the word' ), '#required' => TRUE ); $form['submit'] = array( '#type' => 'submit', '#value' => t('Select by Area'), '#weight' => 100 ); $output = drupal_render($form); break; } drupal_json(array('status' => TRUE, 'data' => $output)); } I get the new form elements in the wrapper, but when I press the submit button, my atleta_rankings_by_region_form_submit and atleta_rankings_by_region_form_validate is not running. What I must to do for it? ?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 earnie at users.sourceforge.net Fri Aug 15 19:00:22 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Fri, 15 Aug 2008 15:00:22 -0400 Subject: [support] Suddenly, my 404 page is stripped of all its blocks, menu, etc In-Reply-To: <009801c8feda$1ae5c2d0$e25d0f4e@Neil> References: <008001c8fed9$58ade990$e25d0f4e@Neil> <009801c8feda$1ae5c2d0$e25d0f4e@Neil> Message-ID: <20080815150022.kjiyh1d7k9s08cs8@mail.progw.org> Quoting "Neil: esl-lounge.com" : > Just for clarification. If I go to the 404 page itself that I made, > it looks fine and all the blocks are in place. If I go to > mysite.com/asdadsf or any other page that doesn't exist, that's when > I get the block-free version. > I'm guessing that you have set "Default 404 (not found) page" on admin/settings/error-reporting, correct? How about a path alias? I created a page_not_found alias for the node. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From earnie at users.sourceforge.net Fri Aug 15 19:04:27 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Fri, 15 Aug 2008 15:04:27 -0400 Subject: [support] Suddenly, my 404 page is stripped of all its blocks, menu, etc In-Reply-To: <48A5844B.5040002@disobey.com> References: <008001c8fed9$58ade990$e25d0f4e@Neil> <009801c8feda$1ae5c2d0$e25d0f4e@Neil> <48A5844B.5040002@disobey.com> Message-ID: <20080815150427.x6hhnpej63kg44go@mail.progw.org> Quoting Morbus Iff : >> Just for clarification. If I go to the 404 page itself that I made, it >> looks fine and all the blocks are in place. If I go to >> mysite.com/asdadsf or any other page that doesn't exist, that's when I >> get the block-free version. > > That's a new "feature" in 5. Error pages do not render blocks. > I don't understand what you mean a new feature in 5. For instance http://give-me-an-offer.com/zxdfe gives my 404 page but keeps the blocks. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From Greg at GrowingVentureSolutions.com Fri Aug 15 21:14:44 2008 From: Greg at GrowingVentureSolutions.com (Greg Knaddison - GVS) Date: Fri, 15 Aug 2008 15:14:44 -0600 Subject: [support] Suddenly, my 404 page is stripped of all its blocks, menu, etc In-Reply-To: <20080815150427.x6hhnpej63kg44go@mail.progw.org> References: <008001c8fed9$58ade990$e25d0f4e@Neil> <009801c8feda$1ae5c2d0$e25d0f4e@Neil> <48A5844B.5040002@disobey.com> <20080815150427.x6hhnpej63kg44go@mail.progw.org> Message-ID: <3861c6770808151414o66ee66b6l6330eb876d35d58e@mail.gmail.com> On Fri, Aug 15, 2008 at 1:04 PM, Earnie Boyd wrote: > Quoting Morbus Iff : >> That's a new "feature" in 5. Error pages do not render blocks. >> > > I don't understand what you mean a new feature in 5. For instance > http://give-me-an-offer.com/zxdfe gives my 404 page but keeps the > blocks. This was added to 6.x and backported to 5.x. See the issue http://drupal.org/node/232037 for more details. A little sleuthing in cvs found the specific commit. It was committed to 5.x between 5.7 and 5.8: http://cvs.drupal.org/viewvc.py/drupal/drupal/modules/block/block.module?view=log#rev1.246.2.8 So, if your site renders blocks on 404s then you are running an out of date version of Drupal core. Which is behind on features/bugs and possibly security patches. Regards, Greg -- Greg Knaddison Denver, CO | http://knaddison.com | 303-800-5623 Growing Venture Solutions, LLC | http://growingventuresolutions.com From earnie at users.sourceforge.net Fri Aug 15 21:23:10 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Fri, 15 Aug 2008 17:23:10 -0400 Subject: [support] Suddenly, my 404 page is stripped of all its blocks, menu, etc In-Reply-To: <3861c6770808151414o66ee66b6l6330eb876d35d58e@mail.gmail.com> References: <008001c8fed9$58ade990$e25d0f4e@Neil> <009801c8feda$1ae5c2d0$e25d0f4e@Neil> <48A5844B.5040002@disobey.com> <20080815150427.x6hhnpej63kg44go@mail.progw.org> <3861c6770808151414o66ee66b6l6330eb876d35d58e@mail.gmail.com> Message-ID: <20080815172310.rr87ggfhxlggkssk@mail.progw.org> Quoting Greg Knaddison - GVS : > Which is behind on features/bugs and > possibly security patches. > Someone's idea of a feature maybe someone else's idea of a bug. I consider no blocks a bug and this should not have been backported to version 5. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From neil at esl-lounge.com Fri Aug 15 21:39:49 2008 From: neil at esl-lounge.com (Neil: esl-lounge.com) Date: Fri, 15 Aug 2008 23:39:49 +0200 Subject: [support] Suddenly, my 404 page is stripped of all its blocks, menu, etc References: <008001c8fed9$58ade990$e25d0f4e@Neil><009801c8feda$1ae5c2d0$e25d0f4e@Neil> <48A5844B.5040002@disobey.com><20080815150427.x6hhnpej63kg44go@mail.progw.org><3861c6770808151414o66ee66b6l6330eb876d35d58e@mail.gmail.com> <20080815172310.rr87ggfhxlggkssk@mail.progw.org> Message-ID: <013401c8ff1f$7225d450$e25d0f4e@Neil> Aahhhhhhh!! I thought I was going crazy. I didn't update to 5.8...only patched the serious issues. So now I've updated to 5.10, I'm seeing it. I have to say I'm surprised something so big was hoisted on the D community as an aside. I can understand very big traffic sites wanting to cut down on the 404 serving load, but most sites are not heavy traffic sites, they're low or medium traffic sites. The big sites are the exceptions, not the rule. Actually, scanning the d.org site today on this issue, it seems there's a few angry people out there because of it. :-) No biggie really, I'll make a mini-menu inside my 404. Neil ----- Original Message ----- From: "Earnie Boyd" To: Sent: Friday, August 15, 2008 11:23 PM Subject: Re: [support] Suddenly, my 404 page is stripped of all its blocks,menu, etc > Quoting Greg Knaddison - GVS : > >> Which is behind on features/bugs and >> possibly security patches. >> > > Someone's idea of a feature maybe someone else's idea of a bug. I > consider no blocks a bug and this should not have been backported to > version 5. > > Earnie -- http://for-my-kids.com/ > -- http://give-me-an-offer.com/ > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From info at koba.be Fri Aug 15 21:42:52 2008 From: info at koba.be (KOBA | Hans Rossel) Date: Fri, 15 Aug 2008 23:42:52 +0200 Subject: [support] Suddenly, my 404 page is stripped of all its blocks, menu, etc In-Reply-To: <20080815172310.rr87ggfhxlggkssk@mail.progw.org> References: <008001c8fed9$58ade990$e25d0f4e@Neil> <009801c8feda$1ae5c2d0$e25d0f4e@Neil> <48A5844B.5040002@disobey.com> <20080815150427.x6hhnpej63kg44go@mail.progw.org> <3861c6770808151414o66ee66b6l6330eb876d35d58e@mail.gmail.com> <20080815172310.rr87ggfhxlggkssk@mail.progw.org> Message-ID: <51a9b8330808151442v2faff6b6q4e0ebdf9a96de9@mail.gmail.com> The blocks have been removed on 404 pages to improve the performance, but I agree it is annoying on a site which is not receiving lots of visitors and has no problems with that little bit of performance and a lot of usability lost. I have seen it before 5.7, there are plenty of people complaining about it on drupal.org if you search for blocks and 404. There is also a nice patch for d5 which does what seems the best solution to me: let the admin choose with a checkbox if blocks should be there or not on 404 pages: http://drupal.org/node/116895. Hans Hans Rossel KOBA Webdevelopment Kerkstraat 228 9050 Gent 09-334.52.60 0472-79.32.16 www.koba.be info at koba.be -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080815/9c807aa7/attachment.htm From neil at esl-lounge.com Fri Aug 15 21:46:58 2008 From: neil at esl-lounge.com (Neil: esl-lounge.com) Date: Fri, 15 Aug 2008 23:46:58 +0200 Subject: [support] Suddenly, my 404 page is stripped of all its blocks, menu, etc References: <008001c8fed9$58ade990$e25d0f4e@Neil><009801c8feda$1ae5c2d0$e25d0f4e@Neil> <48A5844B.5040002@disobey.com><20080815150427.x6hhnpej63kg44go@mail.progw.org><3861c6770808151414o66ee66b6l6330eb876d35d58e@mail.gmail.com><20080815172310.rr87ggfhxlggkssk@mail.progw.org> <51a9b8330808151442v2faff6b6q4e0ebdf9a96de9@mail.gmail.com> Message-ID: <015e01c8ff20$71c96700$e25d0f4e@Neil> Thanks Hans, what I think would have been the best solution is the patch made for the minority of large traffic sites this would be useful for. In other words, this block-free 404 should be opt-in, not opt-out. The majority of sites don't have the traffic to justify it. Just my .02 as for the timing, I know my 404's had blocks "at some point" in the past and either my 5.8 or 5.10 update seems to have zapped them. Who knows.... Neil ----- Original Message ----- From: KOBA | Hans Rossel To: support at drupal.org Sent: Friday, August 15, 2008 11:42 PM Subject: Re: [support] Suddenly, my 404 page is stripped of all its blocks,menu, etc The blocks have been removed on 404 pages to improve the performance, but I agree it is annoying on a site which is not receiving lots of visitors and has no problems with that little bit of performance and a lot of usability lost. I have seen it before 5.7, there are plenty of people complaining about it on drupal.org if you search for blocks and 404. There is also a nice patch for d5 which does what seems the best solution to me: let the admin choose with a checkbox if blocks should be there or not on 404 pages: http://drupal.org/node/116895. Hans Hans Rossel KOBA Webdevelopment Kerkstraat 228 9050 Gent 09-334.52.60 0472-79.32.16 www.koba.be info at koba.be ------------------------------------------------------------------------------ -- [ Drupal support list | http://lists.drupal.org/ ] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080815/a796e435/attachment.htm From net at twoedged.org Sat Aug 16 09:17:31 2008 From: net at twoedged.org (John Fletcher) Date: Sat, 16 Aug 2008 11:17:31 +0200 Subject: [support] Patch software under Windows References: <001601c8fd70$fab5c4c0$f0214e40$@org> <20080813143148.7he9gl2tn8gggc0o@mail.progw.org> Message-ID: <001301c8ff80$ea464670$bed2d350$@org> Thanks for the recommendations everyone. I got mingw working with a bit of effort - not exactly your usual Windows "bouncing ball" installation process. I was tempted to try unxutils but I'm running Vista so I'll stick with mingw for the moment. > I highly suggest MSYS from http://www.mingw.org. But there is also > http://unxutils.sourceforge.net/ which includes a patch command. From csm120 at cfl.rr.com Sun Aug 17 00:53:48 2008 From: csm120 at cfl.rr.com (Casey Mathews) Date: Sat, 16 Aug 2008 20:53:48 -0400 Subject: [support] RSS acting straing? Message-ID: <47536A69E37B462798ABA9B72D703341@csm120> OK I have searched the online drupal site/forums etc. When I click on the feed icon in IE I only see one article. When I click on the syndicate content link, the same thing happens. However, when I type in www.webfriendlyhelp.com/?q=rss.xml the feed comes out fine with no problems. I'm running drupal 5.3, and I have friendly URL's enabled. Any help would be great appreciated! thanks Casey Mathews Web Friendly Help | Demystifying Tech www.webfriendlyhelp.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080816/94d21923/attachment.htm From pec.sumit at gmail.com Sun Aug 17 02:28:53 2008 From: pec.sumit at gmail.com (sumit kataria) Date: Sun, 17 Aug 2008 07:58:53 +0530 Subject: [support] Patch software under Windows In-Reply-To: <001301c8ff80$ea464670$bed2d350$@org> References: <001601c8fd70$fab5c4c0$f0214e40$@org> <20080813143148.7he9gl2tn8gggc0o@mail.progw.org> <001301c8ff80$ea464670$bed2d350$@org> Message-ID: you can also try eclipse (http://eclipse.org) for patching - its interface is nice and you can also install some php debugger in case you need it ;) On Sat, Aug 16, 2008 at 2:47 PM, John Fletcher wrote: > Thanks for the recommendations everyone. I got mingw working with a bit of > effort - not exactly your usual Windows "bouncing ball" installation > process. I was tempted to try unxutils but I'm running Vista so I'll stick > with mingw for the moment. > > > I highly suggest MSYS from http://www.mingw.org. But there is also > > http://unxutils.sourceforge.net/ which includes a patch command. > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Warm Regards sumit kataria cell 91-9888546343 www.sumitk.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080817/081cbde4/attachment-0001.htm From vmail at mycircuit.org Sun Aug 17 10:42:26 2008 From: vmail at mycircuit.org (Peter) Date: Sun, 17 Aug 2008 12:42:26 +0200 Subject: [support] Cannot login problem revisited and resolved for me Message-ID: <48A80092.6000707@mycircuit.org> Hi There have been various postings on this list concerning "the cannot login" topic. Almost always, there have been cookies involved in the discussion. I just wasted serveral hours with yet another cookie problem and I want to share the solution that worked for me. On firefox 3, I loaded the cookieculler extension (CC), I nice extension that let you selectively kill or keep cookies. Due to some misconfiguration , the site serving my Intranet drupal (say 192.168.1.2) got kept by cookie culler (there is an option that let CC prevent any site from installing a cookie that has already been deleted). I noticed that error (was my error, not CCs) that prevented me from login into drupal from that particulaer firefox installation. Other browsers on the same computer and on other computers worked fine. Drupal always returned to login and password field blank with no message (in my opinion, this is really a drupal bug , there must be some message saying that you have to enable cookie to use drupal, as this is the standard on the Internet) I changed CCs prefs => KO I disabled CC => KO I uninstalled CC => KO I deleted remaining CC files => KO Of course , I always cleared private data =>KO The solution was: In the menu Preferences->Privacy->Cookie->Exceptions there is a list of sites that are always blocked from setting cookies, and my drupal site got in there as well. Unblock my site => OK Conclusion: If you experience login problems, DO NOT rely on clearing all private data (cache, cookies, etc). Also check the list of sites that are always blocked from setting cookies. Hope that helps P From xgonzalo at gmail.com Sun Aug 17 22:31:44 2008 From: xgonzalo at gmail.com (Gorosito Gonzalo) Date: Sun, 17 Aug 2008 19:31:44 -0300 Subject: [support] Translations Message-ID: <8deaace90808171531q7d5942a1kc358f146dfd28167@mail.gmail.com> Hello guys, I'm newbie to drupal and I have a site running drupal 6. I have my drupal 6 with Internationalization and Multilingual module installed, also I have the language icons installed. Now how can I import the translations for spanish in my drupal? Regards, Gonzalo -- ####################################### # Gonzalo Gorosito # Web Programmer / Sys Admin ####################################### -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080817/b634a75b/attachment.htm From foss at jsomers.eu Mon Aug 18 07:20:55 2008 From: foss at jsomers.eu (Jensen Somers) Date: Mon, 18 Aug 2008 09:20:55 +0200 Subject: [support] Translations In-Reply-To: <8deaace90808171531q7d5942a1kc358f146dfd28167@mail.gmail.com> References: <8deaace90808171531q7d5942a1kc358f146dfd28167@mail.gmail.com> Message-ID: <48A922D7.1010404@jsomers.eu> Hello, Gorosito Gonzalo wrote: > Hello guys, > > I'm newbie to drupal and I have a site running drupal 6. > > I have my drupal 6 with Internationalization and Multilingual module > installed, also I have the language icons installed. > > Now how can I import the translations for spanish in my drupal? > > Regards, > Gonzalo > You can download the Spanish translation at http://drupal.org/project/Translations. Extract the folder and upload the contents to your web server. Next, you go to your Drupal website and at the Administer > Site Configuration > Languages screen use the Add Language tab, select your language from the list and click on the Add Language button. - Jensen From earnie at users.sourceforge.net Mon Aug 18 12:05:32 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Mon, 18 Aug 2008 08:05:32 -0400 Subject: [support] Suddenly, my 404 page is stripped of all its blocks, menu, etc In-Reply-To: <20080815172310.rr87ggfhxlggkssk@mail.progw.org> References: <008001c8fed9$58ade990$e25d0f4e@Neil> <009801c8feda$1ae5c2d0$e25d0f4e@Neil> <48A5844B.5040002@disobey.com> <20080815150427.x6hhnpej63kg44go@mail.progw.org> <3861c6770808151414o66ee66b6l6330eb876d35d58e@mail.gmail.com> <20080815172310.rr87ggfhxlggkssk@mail.progw.org> Message-ID: <20080818080532.266tpqgr3lwggwws@mail.progw.org> Quoting Earnie Boyd : > Quoting Greg Knaddison - GVS : > >> Which is behind on features/bugs and >> possibly security patches. >> > > Someone's idea of a feature maybe someone else's idea of a bug. I > consider no blocks a bug and this should not have been backported to > version 5. > To which Greg Knaddison responded: > So, if your site renders blocks on 404s then you are running an out of > date version of Drupal core. Which is behind on features/bugs and > possibly security patches. There are two reasons now for one not to upgrade because of ``features'' that broke expected functionality. First the one where the admin updating a user destroys the last access data and the second one is this no blocks on 404 business. Backporting these things should never have happened. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From nareshvaj at yahoo.com Mon Aug 18 13:11:28 2008 From: nareshvaj at yahoo.com (Naresh Vajawat) Date: Mon, 18 Aug 2008 06:11:28 -0700 (PDT) Subject: [support] Ubercart and Taxonomy Message-ID: <131500.90831.qm@web58710.mail.re1.yahoo.com> Hi, By default the catalog appears as a menu item. If I were to create a new vocabulary how do I make it behave in a similar way. Let me show you with an example for what I want to achieve. If you look at www.gadgetsguru.com there categories are placed as tabs as well as menu in the left sidebar. Above the categories in the left sidebar there are 3 dropdowns which will help the user choose the brand/price range etc.. to choose from to get a specifif set of products. How could we achieve the similar thing in drupal. Kindly note that the products in both the menus is the same they are just displayed differently which gives a much better user experience. Let me know if you need any further information. Thanks in Advace, Cheers, Naresh -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080818/cb206e37/attachment.htm From m.tapman at questconsultantsllc.com Mon Aug 18 14:34:30 2008 From: m.tapman at questconsultantsllc.com (Micah Tapman) Date: Mon, 18 Aug 2008 10:34:30 -0400 Subject: [support] Access Denied when activating a block Message-ID: <003d01c9013f$86cba430$9462ec90$@tapman@questconsultantsllc.com> I'm seeing an Access Denied error when trying to activate a block. "Access denied You are not authorized to access this page." For example, that's the error message I get when I try to activate the Primary Links block in the left sidebar. The logs show, "Type access denied Date Monday, August 18, 2008 - 10:22 User micah Location http://secure.questconsultantsllc.com/admin/build/block/list/garland Referrer http://secure.questconsultantsllc.com/admin/build/block/list Message admin/build/block/list/garland Severity warning Hostname 208.58.0.11 Operations" This is a basic Drupal 6.4 installation. Modules are core plus: admin_menu, cck, dhtml_menu, google_analytics, imce, jstools, og, password_policy, pathauto, token, views, webform. I'm executing these changes as the primary administrator, user1 (micah); and changing the permissions for "administer blocks" doesn't have any effect (obviously). Thoughts? Thanks in advance. Micah -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080818/77a0fd3b/attachment-0001.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 4590 bytes Desc: not available Url : http://lists.drupal.org/pipermail/support/attachments/20080818/77a0fd3b/attachment-0001.bin From earnie at users.sourceforge.net Mon Aug 18 17:20:54 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Mon, 18 Aug 2008 13:20:54 -0400 Subject: [support] Ubercart and Taxonomy In-Reply-To: <131500.90831.qm@web58710.mail.re1.yahoo.com> References: <131500.90831.qm@web58710.mail.re1.yahoo.com> Message-ID: <20080818132054.xgso1stk744ks4ks@mail.progw.org> Quoting Naresh Vajawat : Ubercart has it's own support forum. You should ask there for your support help. The provider of Ubercart doesn't monitor this list AFAIK. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From xgonzalo at gmail.com Mon Aug 18 19:39:23 2008 From: xgonzalo at gmail.com (Gorosito Gonzalo) Date: Mon, 18 Aug 2008 16:39:23 -0300 Subject: [support] Drupal 6 - Image Field - Thumbnails for Teaser view Message-ID: <8deaace90808181239j4c24734dga007b68cc61506d1@mail.gmail.com> Hello all, Again, I'm very interested in start using D6, so I'm making a test site to learn, and I'm trying to do this: I have a Content Type created with CCK, and it have a image field. Now I maked to list the contets for this content type assosiated to one taxonomy. Now I want to have this list in teaser (done), but showing in thmbnails the images uploaded using image field. Any ideas? Thanks!!!! -- ####################################### # Gonzalo Gorosito # Web Programmer / Sys Admin # http://www.ggorosito.com.ar ####################################### -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080818/eaf77221/attachment.htm From drupal at lists.tacticus.com Tue Aug 19 00:29:14 2008 From: drupal at lists.tacticus.com (Luke) Date: Mon, 18 Aug 2008 20:29:14 -0400 (EDT) Subject: [support] User permissions - limiting node or page access Message-ID: Hello I would like to have user X be able to edit content of a particular node, or page, or other entity. There is talk of this here: http://drupal.org/node/5229 however, as noted in the last comment there (June, 2008), this issue has received no apparent action since 2004. Now, it could be that this has been handled in some other way, but this level of permission granularity does not seem available in 5.7. This is not a one-off: I have several "department heads", who need to be able to control their own pages, and only their own page(s). Are there any current solutions for this for either 5.X or 6.X? Thanks Luke From roy at panix.com Tue Aug 19 01:16:08 2008 From: roy at panix.com (Roy Smith) Date: Mon, 18 Aug 2008 21:16:08 -0400 Subject: [support] hook_menu in module developers guide? Message-ID: <72E6F58B-2EB7-401A-87CC-2A6CE80063CC@panix.com> I'm working my way through the drupal 6.x module developers guide. In http://drupal.org/node/206761 , the text talks about something called hook_menu(), but the example shows onthisdate_menu()? I don't understand the relationship between these two. I created the onthisdate_menu() function as described, but when I go to the admin page, I don't see anyplace to configure the module. ---------------- Roy Smith roy at panix.com From killshot91 at comcast.net Tue Aug 19 02:40:00 2008 From: killshot91 at comcast.net (Steve Edwards) Date: Mon, 18 Aug 2008 19:40:00 -0700 Subject: [support] hook_menu in module developers guide? In-Reply-To: <72E6F58B-2EB7-401A-87CC-2A6CE80063CC@panix.com> References: <72E6F58B-2EB7-401A-87CC-2A6CE80063CC@panix.com> Message-ID: <48AA3280.5060900@comcast.net> When you are using a hook function, you replace the word "hook" with the name of your module. So, if your module is called mymodule, then the menu function would be mymodule_hook(). Steve Roy Smith wrote: > I'm working my way through the drupal 6.x module developers guide. In http://drupal.org/node/206761 > , the text talks about something called hook_menu(), but the example > shows onthisdate_menu()? I don't understand the relationship between > these two. > > I created the onthisdate_menu() function as described, but when I go > to the admin page, I don't see anyplace to configure the module. > > > ---------------- > Roy Smith > roy at panix.com > > > > From bharanikumariyerphp at gmail.com Tue Aug 19 11:36:02 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Tue, 19 Aug 2008 17:06:02 +0530 Subject: [support] what is that Sticky at top of lists Message-ID: <2240033d0808190436j428ad8d6n8f775a0de7ef9ee7@mail.gmail.com> Hi Exact use of "Sticky at top of lists", when create the new content . -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080819/eb8bd295/attachment.htm From neil at esl-lounge.com Tue Aug 19 11:41:55 2008 From: neil at esl-lounge.com (Neil: esl-lounge.com) Date: Tue, 19 Aug 2008 13:41:55 +0200 Subject: [support] what is that Sticky at top of lists References: <2240033d0808190436j428ad8d6n8f775a0de7ef9ee7@mail.gmail.com> Message-ID: <00a901c901f0$959ca660$41680f4e@Neil> http://drupal.org/getting-started/5 ----- Original Message ----- From: bharani kumar To: support at drupal.org Sent: Tuesday, August 19, 2008 1:36 PM Subject: [support] what is that Sticky at top of lists Hi Exact use of "Sticky at top of lists", when create the new content . ------------------------------------------------------------------------------ -- [ Drupal support list | http://lists.drupal.org/ ] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080819/1160a7b6/attachment.htm From roy at panix.com Tue Aug 19 11:54:54 2008 From: roy at panix.com (Roy Smith) Date: Tue, 19 Aug 2008 07:54:54 -0400 Subject: [support] hook_menu in module developers guide? In-Reply-To: <48AA3280.5060900@comcast.net> References: <72E6F58B-2EB7-401A-87CC-2A6CE80063CC@panix.com> <48AA3280.5060900@comcast.net> Message-ID: <82F62699-4230-401A-ABDD-BC2BF3CDCE2A@panix.com> OK, that makes sense, but I don't think the tutorial says that. It would be useful if the text was updated to include that note. It would have saved me a bunch of head scratching. On Aug 18, 2008, at 10:40 PM, Steve Edwards wrote: > When you are using a hook function, you replace the word "hook" with > the name of your module. So, if your module is called > mymodule, then the menu function would be mymodule_hook(). > > Steve > > Roy Smith wrote: >> I'm working my way through the drupal 6.x module developers guide. >> In http://drupal.org/node/206761 >> , the text talks about something called hook_menu(), but the example >> shows onthisdate_menu()? I don't understand the relationship between >> these two. >> >> I created the onthisdate_menu() function as described, but when I go >> to the admin page, I don't see anyplace to configure the module. >> >> >> ---------------- >> Roy Smith >> roy at panix.com >> >> >> >> > -- > [ Drupal support list | http://lists.drupal.org/ ] > ---------------- Roy Smith roy at panix.com From fredthejonester at gmail.com Tue Aug 19 12:00:54 2008 From: fredthejonester at gmail.com (Fred Jones) Date: Tue, 19 Aug 2008 14:00:54 +0200 Subject: [support] hook_menu in module developers guide? In-Reply-To: <82F62699-4230-401A-ABDD-BC2BF3CDCE2A@panix.com> References: <72E6F58B-2EB7-401A-87CC-2A6CE80063CC@panix.com> <48AA3280.5060900@comcast.net> <82F62699-4230-401A-ABDD-BC2BF3CDCE2A@panix.com> Message-ID: <177c0a10808190500j120c9c1cxb086bc9188ccc260@mail.gmail.com> This is how all hooks work, so it won't appear on each page. Refer to the hooks overview to understand the overall system. Welcome to Drupal :) On Tue, Aug 19, 2008 at 1:54 PM, Roy Smith wrote: > OK, that makes sense, but I don't think the tutorial says that. It > would be useful if the text was updated to include that note. It > would have saved me a bunch of head scratching. From daniel.carrera at zmsl.com Tue Aug 19 12:02:35 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Tue, 19 Aug 2008 14:02:35 +0200 Subject: [support] Drupal permissions In-Reply-To: <48A4F863.4080104@funnymonkey.com> References: <48A4168D.6050705@zmsl.com> <9C96FCAB-7C0F-4333-87D9-9760ED8B490C@gmail.com> <48A4C983.4070203@zmsl.com> <48A4F863.4080104@funnymonkey.com> Message-ID: <48AAB65B.5090000@zmsl.com> Hello all, Sorry for the delay in responding. To re-cap the problem: I made a copy of my Drupal site as a test site, and all the permissions are wrong, I can't access any node. I can, however, login as admin and access admin pages. I can also create new nodes and those work fine. Victor, Laura and Bill all offered suggestions and I do apologize for not following up quickly. I followed the suggestions without much luck: 1) Victor: I can't do a command-line dump because I don't have command-line access. I am stuck with phpMyAdmin. I can't upload an entire copy of the database so I must do the copy in steps. :-( 2) Laura: I have cleared the cache, and I also cleared the sessions table for good measure. No change. I created a sub-domain and pointed it to the new Drupal site. No change. So I don't think that this is a cookie-related issue. 3) Bill: Drupal 4.7 doesn't have "administer > site building" so I can't uninstall modules. :-( All I can do is deactivate them. I have deactivated everything in sight. 4) Bill: Drupal 4.7 doesn't have "administer - content management". I see no way to rebuild permissions. Question: Is it possible to (1) create an entirely new Drupal site and then (2) copy the users and the nodes? Is such a thing possible? I don't care about the modules except for the "blog" and "page" modules. I'm happy to install new ones later. Thank you all for the help you have provided. I hope that we can find a solution. I wonder if my installation is messed up for some reason and perhaps the best option is to start a new. The problem is that I have to copy the pages and blogs. They belong to my users. The users can tolerate a change in UI and changing some features for others, but not the loss of all their data. Daniel. From roy at panix.com Tue Aug 19 12:29:00 2008 From: roy at panix.com (Roy Smith) Date: Tue, 19 Aug 2008 08:29:00 -0400 Subject: [support] hook_menu in module developers guide? In-Reply-To: <177c0a10808190500j120c9c1cxb086bc9188ccc260@mail.gmail.com> References: <72E6F58B-2EB7-401A-87CC-2A6CE80063CC@panix.com> <48AA3280.5060900@comcast.net> <82F62699-4230-401A-ABDD-BC2BF3CDCE2A@panix.com> <177c0a10808190500j120c9c1cxb086bc9188ccc260@mail.gmail.com> Message-ID: <660764F8-4276-4B44-9465-657A2D96E62F@panix.com> It would be useful if, at the first place a hook function is mentioned in the tutorial, there was a link to someplace that described the naming scheme. If the reader is not familiar with the overall architecture (for an introductory tutorial like this, it's likely they're not), this is a stumbling point. On Aug 19, 2008, at 8:00 AM, Fred Jones wrote: > This is how all hooks work, so it won't appear on each page. Refer to > the hooks overview to understand the overall system. > > Welcome to Drupal :) > > On Tue, Aug 19, 2008 at 1:54 PM, Roy Smith wrote: >> OK, that makes sense, but I don't think the tutorial says that. It >> would be useful if the text was updated to include that note. It >> would have saved me a bunch of head scratching. > -- > [ Drupal support list | http://lists.drupal.org/ ] > ---------------- Roy Smith roy at panix.com From skessler at denverdataman.com Tue Aug 19 13:06:20 2008 From: skessler at denverdataman.com (Steve Kessler) Date: Tue, 19 Aug 2008 07:06:20 -0600 Subject: [support] Drupal 6 - Image Field - Thumbnails for Teaser view In-Reply-To: References: Message-ID: <002701c901fc$614862d0$23d92870$@com> Gorosito, Take a look at image cache. With image cache (http://drupal.org/project/imagecache ) one an image uploaded with CCK Field you can make size and other adjustments to image to meet your needs. Since you can have many preset image sizes when you select the visibility of the fields for the teaser you get a drop down menu that lets you choose thumb nail size. I hope this answers your question. Thanks, Steve -----Original Message----- From: support-request at drupal.org [mailto:support-request at drupal.org] Sent: Tuesday, August 19, 2008 6:03 AM To: support at drupal.org Subject: support Digest, Vol 68, Issue 32 Send support mailing list submissions to support at drupal.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.drupal.org/listinfo/support or, via email, send a message with subject or body 'help' to support-request at drupal.org You can reach the person managing the list at support-owner at drupal.org When replying, please edit your Subject line so it is more specific than "Re: Contents of support digest..." Today's Topics: 1. Re: Ubercart and Taxonomy (Earnie Boyd) 2. Drupal 6 - Image Field - Thumbnails for Teaser view (Gorosito Gonzalo) 3. User permissions - limiting node or page access (Luke) 4. hook_menu in module developers guide? (Roy Smith) 5. Re: hook_menu in module developers guide? (Steve Edwards) 6. what is that Sticky at top of lists (bharani kumar) 7. Re: what is that Sticky at top of lists (Neil: esl-lounge.com) 8. Re: hook_menu in module developers guide? (Roy Smith) 9. Re: hook_menu in module developers guide? (Fred Jones) 10. Re: Drupal permissions (Daniel Carrera) ---------------------------------------------------------------------- Message: 1 Date: Mon, 18 Aug 2008 13:20:54 -0400 From: Earnie Boyd Subject: Re: [support] Ubercart and Taxonomy To: support at drupal.org Message-ID: <20080818132054.xgso1stk744ks4ks at mail.progw.org> Content-Type: text/plain; charset=ISO-8859-1; format="flowed" Quoting Naresh Vajawat : Ubercart has it's own support forum. You should ask there for your support help. The provider of Ubercart doesn't monitor this list AFAIK. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ ------------------------------ Message: 2 Date: Mon, 18 Aug 2008 16:39:23 -0300 From: "Gorosito Gonzalo" Subject: [support] Drupal 6 - Image Field - Thumbnails for Teaser view To: support at drupal.org Message-ID: <8deaace90808181239j4c24734dga007b68cc61506d1 at mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" Hello all, Again, I'm very interested in start using D6, so I'm making a test site to learn, and I'm trying to do this: I have a Content Type created with CCK, and it have a image field. Now I maked to list the contets for this content type assosiated to one taxonomy. Now I want to have this list in teaser (done), but showing in thmbnails the images uploaded using image field. Any ideas? Thanks!!!! -- ####################################### # Gonzalo Gorosito # Web Programmer / Sys Admin # http://www.ggorosito.com.ar ####################################### -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080818/eaf77221/atta chment-0001.htm ------------------------------ Message: 3 Date: Mon, 18 Aug 2008 20:29:14 -0400 (EDT) From: Luke Subject: [support] User permissions - limiting node or page access To: support at drupal.org Message-ID: Content-Type: TEXT/PLAIN; charset=US-ASCII Hello I would like to have user X be able to edit content of a particular node, or page, or other entity. There is talk of this here: http://drupal.org/node/5229 however, as noted in the last comment there (June, 2008), this issue has received no apparent action since 2004. Now, it could be that this has been handled in some other way, but this level of permission granularity does not seem available in 5.7. This is not a one-off: I have several "department heads", who need to be able to control their own pages, and only their own page(s). Are there any current solutions for this for either 5.X or 6.X? Thanks Luke ------------------------------ Message: 4 Date: Mon, 18 Aug 2008 21:16:08 -0400 From: Roy Smith Subject: [support] hook_menu in module developers guide? To: support at drupal.org Message-ID: <72E6F58B-2EB7-401A-87CC-2A6CE80063CC at panix.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes I'm working my way through the drupal 6.x module developers guide. In http://drupal.org/node/206761 , the text talks about something called hook_menu(), but the example shows onthisdate_menu()? I don't understand the relationship between these two. I created the onthisdate_menu() function as described, but when I go to the admin page, I don't see anyplace to configure the module. ---------------- Roy Smith roy at panix.com ------------------------------ Message: 5 Date: Mon, 18 Aug 2008 19:40:00 -0700 From: Steve Edwards Subject: Re: [support] hook_menu in module developers guide? To: support at drupal.org Message-ID: <48AA3280.5060900 at comcast.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed When you are using a hook function, you replace the word "hook" with the name of your module. So, if your module is called mymodule, then the menu function would be mymodule_hook(). Steve Roy Smith wrote: > I'm working my way through the drupal 6.x module developers guide. In http://drupal.org/node/206761 > , the text talks about something called hook_menu(), but the example > shows onthisdate_menu()? I don't understand the relationship between > these two. > > I created the onthisdate_menu() function as described, but when I go > to the admin page, I don't see anyplace to configure the module. > > > ---------------- > Roy Smith > roy at panix.com > > > > ------------------------------ Message: 6 Date: Tue, 19 Aug 2008 17:06:02 +0530 From: "bharani kumar" Subject: [support] what is that Sticky at top of lists To: support at drupal.org Message-ID: <2240033d0808190436j428ad8d6n8f775a0de7ef9ee7 at mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" Hi Exact use of "Sticky at top of lists", when create the new content . -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080819/eb8bd295/atta chment-0001.htm ------------------------------ Message: 7 Date: Tue, 19 Aug 2008 13:41:55 +0200 From: "Neil: esl-lounge.com" Subject: Re: [support] what is that Sticky at top of lists To: Message-ID: <00a901c901f0$959ca660$41680f4e at Neil> Content-Type: text/plain; charset="iso-8859-1" http://drupal.org/getting-started/5 ----- Original Message ----- From: bharani kumar To: support at drupal.org Sent: Tuesday, August 19, 2008 1:36 PM Subject: [support] what is that Sticky at top of lists Hi Exact use of "Sticky at top of lists", when create the new content . ---------------------------------------------------------------------------- -- -- [ Drupal support list | http://lists.drupal.org/ ] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080819/1160a7b6/atta chment-0001.htm ------------------------------ Message: 8 Date: Tue, 19 Aug 2008 07:54:54 -0400 From: Roy Smith Subject: Re: [support] hook_menu in module developers guide? To: support at drupal.org Message-ID: <82F62699-4230-401A-ABDD-BC2BF3CDCE2A at panix.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes OK, that makes sense, but I don't think the tutorial says that. It would be useful if the text was updated to include that note. It would have saved me a bunch of head scratching. On Aug 18, 2008, at 10:40 PM, Steve Edwards wrote: > When you are using a hook function, you replace the word "hook" with > the name of your module. So, if your module is called > mymodule, then the menu function would be mymodule_hook(). > > Steve > > Roy Smith wrote: >> I'm working my way through the drupal 6.x module developers guide. >> In http://drupal.org/node/206761 >> , the text talks about something called hook_menu(), but the example >> shows onthisdate_menu()? I don't understand the relationship between >> these two. >> >> I created the onthisdate_menu() function as described, but when I go >> to the admin page, I don't see anyplace to configure the module. >> >> >> ---------------- >> Roy Smith >> roy at panix.com >> >> >> >> > -- > [ Drupal support list | http://lists.drupal.org/ ] > ---------------- Roy Smith roy at panix.com ------------------------------ Message: 9 Date: Tue, 19 Aug 2008 14:00:54 +0200 From: "Fred Jones" Subject: Re: [support] hook_menu in module developers guide? To: support at drupal.org Message-ID: <177c0a10808190500j120c9c1cxb086bc9188ccc260 at mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 This is how all hooks work, so it won't appear on each page. Refer to the hooks overview to understand the overall system. Welcome to Drupal :) On Tue, Aug 19, 2008 at 1:54 PM, Roy Smith wrote: > OK, that makes sense, but I don't think the tutorial says that. It > would be useful if the text was updated to include that note. It > would have saved me a bunch of head scratching. ------------------------------ Message: 10 Date: Tue, 19 Aug 2008 14:02:35 +0200 From: Daniel Carrera Subject: Re: [support] Drupal permissions To: support at drupal.org Message-ID: <48AAB65B.5090000 at zmsl.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hello all, Sorry for the delay in responding. To re-cap the problem: I made a copy of my Drupal site as a test site, and all the permissions are wrong, I can't access any node. I can, however, login as admin and access admin pages. I can also create new nodes and those work fine. Victor, Laura and Bill all offered suggestions and I do apologize for not following up quickly. I followed the suggestions without much luck: 1) Victor: I can't do a command-line dump because I don't have command-line access. I am stuck with phpMyAdmin. I can't upload an entire copy of the database so I must do the copy in steps. :-( 2) Laura: I have cleared the cache, and I also cleared the sessions table for good measure. No change. I created a sub-domain and pointed it to the new Drupal site. No change. So I don't think that this is a cookie-related issue. 3) Bill: Drupal 4.7 doesn't have "administer > site building" so I can't uninstall modules. :-( All I can do is deactivate them. I have deactivated everything in sight. 4) Bill: Drupal 4.7 doesn't have "administer - content management". I see no way to rebuild permissions. Question: Is it possible to (1) create an entirely new Drupal site and then (2) copy the users and the nodes? Is such a thing possible? I don't care about the modules except for the "blog" and "page" modules. I'm happy to install new ones later. Thank you all for the help you have provided. I hope that we can find a solution. I wonder if my installation is messed up for some reason and perhaps the best option is to start a new. The problem is that I have to copy the pages and blogs. They belong to my users. The users can tolerate a change in UI and changing some features for others, but not the loss of all their data. Daniel. ------------------------------ -- [ Drupal support list | http://list.drupal.org/ ] End of support Digest, Vol 68, Issue 32 *************************************** From reykjavikingur at gmail.com Tue Aug 19 13:38:52 2008 From: reykjavikingur at gmail.com (Andrew Strader) Date: Tue, 19 Aug 2008 09:38:52 -0400 Subject: [support] question about Captcha module Message-ID: <911c6b940808190638m7fe459d9h50513726899ef0a2@mail.gmail.com> I installed the Captcha module under sites/all/modules, enabled it in admin, and added it to comment_form, but it only shows up under the main domain (www.{mysite}.com), not under any of the subdomains (e.g. foo.{mysite}.com). The admin captcha page only works under the main domain. When I hit it through one of the subdomains, it doesn't give me any way to add Captcha to a particular form. How do I enable Captcha on subdomains? -- --Andrew -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080819/a67db5fd/attachment.htm From shyamala at netlinkindia.com Tue Aug 19 14:28:26 2008 From: shyamala at netlinkindia.com (Shyamala Rajaram) Date: Tue, 19 Aug 2008 19:58:26 +0530 Subject: [support] The benifits of og vs multi site Message-ID: <045501c90207$ea3888d0$3663a8c0@netlinkindia.local> For an aggregator site and a multi sub site configuration shoudl we go in for Organic Groups with a single node table or a multisite with shared tables and separate node tables? Shyamala -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080819/1e1700f5/attachment.htm From earnie at users.sourceforge.net Tue Aug 19 15:02:48 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Tue, 19 Aug 2008 11:02:48 -0400 Subject: [support] question about Captcha module In-Reply-To: <911c6b940808190638m7fe459d9h50513726899ef0a2@mail.gmail.com> References: <911c6b940808190638m7fe459d9h50513726899ef0a2@mail.gmail.com> Message-ID: <20080819110248.pz1xy826nnusc8k8@mail.progw.org> Quoting Andrew Strader : > I installed the Captcha module under sites/all/modules, enabled it in admin, > and added it to comment_form, but it only shows up under the main domain > (www.{mysite}.com), not under any of the subdomains (e.g. foo.{mysite}.com). > The admin captcha page only works under the main domain. When I hit it > through one of the subdomains, it doesn't give me any way to add Captcha to > a particular form. How do I enable Captcha on subdomains? > From what you've given, I believe that you need to enable and configure the module in each subdomain. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From earnie at users.sourceforge.net Tue Aug 19 15:25:27 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Tue, 19 Aug 2008 11:25:27 -0400 Subject: [support] hook_menu in module developers guide? In-Reply-To: <82F62699-4230-401A-ABDD-BC2BF3CDCE2A@panix.com> References: <72E6F58B-2EB7-401A-87CC-2A6CE80063CC@panix.com> <48AA3280.5060900@comcast.net> <82F62699-4230-401A-ABDD-BC2BF3CDCE2A@panix.com> Message-ID: <20080819112527.egyy4wcb8i88kkcw@mail.progw.org> Quoting Roy Smith : > OK, that makes sense, but I don't think the tutorial says that. It > would be useful if the text was updated to include that note. It > would have saved me a bunch of head scratching. > Would a reference to http://api.drupal.org/api/group/hooks help? Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From earnie at users.sourceforge.net Tue Aug 19 15:53:49 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Tue, 19 Aug 2008 11:53:49 -0400 Subject: [support] hook_menu in module developers guide? In-Reply-To: <660764F8-4276-4B44-9465-657A2D96E62F@panix.com> References: <72E6F58B-2EB7-401A-87CC-2A6CE80063CC@panix.com> <48AA3280.5060900@comcast.net> <82F62699-4230-401A-ABDD-BC2BF3CDCE2A@panix.com> <177c0a10808190500j120c9c1cxb086bc9188ccc260@mail.gmail.com> <660764F8-4276-4B44-9465-657A2D96E62F@panix.com> Message-ID: <20080819115349.1v77nvq538dcgosw@mail.progw.org> Quoting Roy Smith : > It would be useful if, at the first place a hook function is mentioned > in the tutorial, there was a link to someplace that described the > naming scheme. If the reader is not familiar with the overall > architecture (for an introductory tutorial like this, it's likely > they're not), this is a stumbling point. > Links to http://api.drupal.org/api/group/hooks/6 and http://api.drupal.org/api/function/hook_menu/6 have been added. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From cog.rusty at gmail.com Tue Aug 19 18:16:13 2008 From: cog.rusty at gmail.com (Cog Rusty) Date: Tue, 19 Aug 2008 21:16:13 +0300 Subject: [support] The benifits of og vs multi site In-Reply-To: <045501c90207$ea3888d0$3663a8c0@netlinkindia.local> References: <045501c90207$ea3888d0$3663a8c0@netlinkindia.local> Message-ID: On Tue, Aug 19, 2008 at 5:28 PM, Shyamala Rajaram wrote: > For an aggregator site and a multi sub site configuration shoudl we go in > for Organic Groups with a single node table or a multisite with shared > tables and separate node tables? It depends. If you are going to have at least some content shared, then: - OG on a single site - or http://drupal.org/project/domain module, which is essentially an access control module which allows access based on the subddomain.This may require a core patch or not, if you want to use additional access control modules such as OG, If you are going to have completely separate content, then - subsites with different content tables - or http://drupal.org/project/subdomain module together with pathauto, and your (completely separate) sub-sites can be based on something like taxonomy or OG. This module requires some core patches. > Shyamala > -- > [ Drupal support list | http://lists.drupal.org/ ] > From cog.rusty at gmail.com Tue Aug 19 18:42:05 2008 From: cog.rusty at gmail.com (Cog Rusty) Date: Tue, 19 Aug 2008 21:42:05 +0300 Subject: [support] Drupal permissions In-Reply-To: <48AAB65B.5090000@zmsl.com> References: <48A4168D.6050705@zmsl.com> <9C96FCAB-7C0F-4333-87D9-9760ED8B490C@gmail.com> <48A4C983.4070203@zmsl.com> <48A4F863.4080104@funnymonkey.com> <48AAB65B.5090000@zmsl.com> Message-ID: On Tue, Aug 19, 2008 at 3:02 PM, Daniel Carrera wrote: > Hello all, > > Sorry for the delay in responding. > > To re-cap the problem: I made a copy of my Drupal site as a test site, > and all the permissions are wrong, I can't access any node. I can, > however, login as admin and access admin pages. I can also create new > nodes and those work fine. > > Victor, Laura and Bill all offered suggestions and I do apologize for > not following up quickly. I followed the suggestions without much luck: > > 1) Victor: I can't do a command-line dump because I don't have > command-line access. I am stuck with phpMyAdmin. I can't upload an > entire copy of the database so I must do the copy in steps. :-( > > 2) Laura: I have cleared the cache, and I also cleared the sessions > table for good measure. No change. I created a sub-domain and pointed it > to the new Drupal site. No change. So I don't think that this is a > cookie-related issue. > > 3) Bill: Drupal 4.7 doesn't have "administer > site building" so I can't > uninstall modules. :-( All I can do is deactivate them. I have > deactivated everything in sight. > > 4) Bill: Drupal 4.7 doesn't have "administer - content management". I > see no way to rebuild permissions. Unfortunately Drupal 4.7 has been unsupported for a long time and most have started to forget how it used to work. Somehow you will need to follow Bill's advice manually or with whatever means were available at the time. The first thing I would try: Upgrade to Drupal 5.10. After replacing all your modules with their 5.x versions, making sure that your theme can handle Drupal5, and running update.php, try to follow Bill's advice. Try it on a test site first. If this is not possible, and you need to stay with D 4.7, then (on a test site): - Check if you have any access control modules such as OG or taxonomy access. If you used to have them but you have disabled them, then enable them again, disable their access control from their settings page, and only then disable themagain. - If this fails, check the node_access table in the database. With all access control modules disabled, it should contain only one row with values 0, 0, 'all', 1, 0, 0. If it contains more rows with different realms, delete them all and add only this one: INSERT INTO node_access VALUES (0, 0, 'all', 1, 0, 0); > Question: Is it possible to (1) create an entirely new Drupal site and > then (2) copy the users and the nodes? Is such a thing possible? I don't > care about the modules except for the "blog" and "page" modules. I'm > happy to install new ones later. If it comes to that, these modules may help import users and nodes from comma delimited text files: http://drupal.org/project/user_import http://drupal.org/project/node_import > Thank you all for the help you have provided. I hope that we can find a > solution. I wonder if my installation is messed up for some reason and > perhaps the best option is to start a new. The problem is that I have to > copy the pages and blogs. They belong to my users. The users can > tolerate a change in UI and changing some features for others, but not > the loss of all their data. > > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] > From cjones at partialflow.com Tue Aug 19 18:19:35 2008 From: cjones at partialflow.com (Christopher M. Jones) Date: Tue, 19 Aug 2008 14:19:35 -0400 Subject: [support] Staging In-Reply-To: <489B6257.5060402@linnovate.net> References: <489B4B8E.5090702@partialflow.com> <489B6257.5060402@linnovate.net> Message-ID: <48AB0EB7.5040504@partialflow.com> Thanks, Zohar. Unfortunately, I see that this module is available only for 5.x. We want to use 6.x. Still, it's an excellent lead, though I doubt my company wants to pay me to port that module to 6.x. Maybe we should step down to 5.x. Also, I'll forward my message on to the dev list, as you suggested. Zohar Stolar - Linnovate wrote: > Hi Christopher, > > > First of all, I advise you to consider cross-posting the mail in the > development list. While you need a straight answer, which is kind of a > support request, your insights might make others re-think how Drupal's > database is built, and how we can make it (even) easier to develop > Drupal site over many years. > > > Secondly, I was wondering with yhager about having a BoF meeting in > Szeged, since the situation you are experiencing is one of the most > common issues with Drupal development. Since Configuration and Content > are kept on the same DB, it is practically impossible to export only > some of the data (for example only content, or only configuration). > > We were wondering how come everyone is suffering, and no one speaks :) > We finally let go of the idea. > > > However, if there is enough interest, maybe we can still organize a BoF > in Szeged. And that's the second reason why I think you should > cross-post in the dev list - maybe we'll see that there is enough man > power to advance in this matter soon. > > > oh... and... sorry for the situation you're in, Unfortunately, I don't > have a winning advice ;-) > > > Zohar Stolar > Linnovate - Community Frameworks > zohar at linnovate.net > http://www.linnovate.net > Tel. +972-77-5345-704 > Cel. +972-52-8348-278 > Fax. +972-72-2500-882 > SkypeID: zstolar > LinkedIn: http://www.linkedin.com/in/drupal > > > > Christopher M. Jones wrote: > >> I'm looking for a decent approach to staging a drupal site. The >> production site will be a collaborative authoring project, with forums, >> blogs, and lots of media. The client will have access to this site, and >> will be maintaining some of the content. Other content will be >> maintained by us. >> >> The development company that hosts this project prefers to make all of >> their changes, both to content and templates, in a testing environment. >> Once their client has approved the changes, they like to 'push' them to >> production. >> >> However, while these changes are taking place, the client may be >> administering forums and writing blog posts in the -production- version. >> >> To further complicate things, my company wants a three-stage cycle. They >> want a dev site, where they make changes for in-house review, which they >> then push to testing for client review before everything is pushed to >> production. >> >> I'm unsure how to approach this. The site in question has always been >> static html created in Dreamweaver. At some point they started adding >> other things, so now there are two wordpress blogs, and two phpbb >> forums. The forums and blogs presently are excepted from the development >> cycle. They simply appear to be part of the site, because their >> templates have been designed so. But that means that we've got to >> propagate template changes across five templates. Things are breaking >> constantly, and this is why I piped up to them about drupal. >> >> I've seen a lot of discussion about this topic, but I really need some >> hard answers. What should I do? >> >> I've seen the Staging module for 6.x. Is it safe to use? If so, then we >> could use that for the database. Templates could be pushed with rsync or >> svn... whatever. But would this work two ways? Could we sync the dev / >> testing sites to the production site, then sync the other way? Would we >> need to? >> >> Also, I envision using a multisite environment so that all sites share >> the same modules, media, etc, but use different templates. >> >> I desperately need the detailed advice of someone with experience, here. >> From z.stolar at gmail.com Tue Aug 19 19:29:33 2008 From: z.stolar at gmail.com (Zohar Stolar) Date: Tue, 19 Aug 2008 22:29:33 +0300 Subject: [support] Staging In-Reply-To: <48AB0EB7.5040504@partialflow.com> References: <489B4B8E.5090702@partialflow.com> <489B6257.5060402@linnovate.net> <48AB0EB7.5040504@partialflow.com> Message-ID: <48AB1F1D.9050604@gmail.com> Don't cross-post Christopher. Since you raised this issue, it has been extensively discussed on the development list (see threads: "Solving the dev->staging->live problem" and "Unique/Random IDs and drupal") Christopher M. Jones wrote: > Thanks, Zohar. > > Unfortunately, I see that this module is available only for 5.x. We > want to use 6.x. Still, it's an excellent lead, though I doubt my > company wants to pay me to port that module to 6.x. Maybe we should > step down to 5.x. > > Also, I'll forward my message on to the dev list, as you suggested. > > Zohar Stolar - Linnovate wrote: >> Hi Christopher, >> >> >> First of all, I advise you to consider cross-posting the mail in the >> development list. While you need a straight answer, which is kind of >> a support request, your insights might make others re-think how >> Drupal's database is built, and how we can make it (even) easier to >> develop Drupal site over many years. >> >> >> Secondly, I was wondering with yhager about having a BoF meeting in >> Szeged, since the situation you are experiencing is one of the most >> common issues with Drupal development. Since Configuration and >> Content are kept on the same DB, it is practically impossible to >> export only some of the data (for example only content, or only >> configuration). >> >> We were wondering how come everyone is suffering, and no one speaks >> :) We finally let go of the idea. >> >> >> However, if there is enough interest, maybe we can still organize a >> BoF in Szeged. And that's the second reason why I think you should >> cross-post in the dev list - maybe we'll see that there is enough man >> power to advance in this matter soon. >> >> >> oh... and... sorry for the situation you're in, Unfortunately, I >> don't have a winning advice ;-) >> >> >> Zohar Stolar >> Linnovate - Community Frameworks >> zohar at linnovate.net >> http://www.linnovate.net >> Tel. +972-77-5345-704 >> Cel. +972-52-8348-278 >> Fax. +972-72-2500-882 >> SkypeID: zstolar >> LinkedIn: http://www.linkedin.com/in/drupal >> >> >> >> Christopher M. Jones wrote: >> >>> I'm looking for a decent approach to staging a drupal site. The >>> production site will be a collaborative authoring project, with >>> forums, blogs, and lots of media. The client will have access to >>> this site, and will be maintaining some of the content. Other >>> content will be maintained by us. >>> >>> The development company that hosts this project prefers to make all >>> of their changes, both to content and templates, in a testing >>> environment. Once their client has approved the changes, they like >>> to 'push' them to production. >>> >>> However, while these changes are taking place, the client may be >>> administering forums and writing blog posts in the -production- >>> version. >>> >>> To further complicate things, my company wants a three-stage cycle. >>> They want a dev site, where they make changes for in-house review, >>> which they then push to testing for client review before everything >>> is pushed to production. >>> >>> I'm unsure how to approach this. The site in question has always >>> been static html created in Dreamweaver. At some point they started >>> adding other things, so now there are two wordpress blogs, and two >>> phpbb forums. The forums and blogs presently are excepted from the >>> development cycle. They simply appear to be part of the site, >>> because their templates have been designed so. But that means that >>> we've got to propagate template changes across five templates. >>> Things are breaking constantly, and this is why I piped up to them >>> about drupal. >>> >>> I've seen a lot of discussion about this topic, but I really need >>> some hard answers. What should I do? >>> >>> I've seen the Staging module for 6.x. Is it safe to use? If so, then >>> we could use that for the database. Templates could be pushed with >>> rsync or svn... whatever. But would this work two ways? Could we >>> sync the dev / testing sites to the production site, then sync the >>> other way? Would we need to? >>> >>> Also, I envision using a multisite environment so that all sites >>> share the same modules, media, etc, but use different templates. >>> >>> I desperately need the detailed advice of someone with experience, >>> here. >>> > -- From info at koba.be Tue Aug 19 19:53:29 2008 From: info at koba.be (KOBA | Hans Rossel) Date: Tue, 19 Aug 2008 21:53:29 +0200 Subject: [support] Drupal permissions In-Reply-To: References: <48A4168D.6050705@zmsl.com> <9C96FCAB-7C0F-4333-87D9-9760ED8B490C@gmail.com> <48A4C983.4070203@zmsl.com> <48A4F863.4080104@funnymonkey.com> <48AAB65B.5090000@zmsl.com> Message-ID: <51a9b8330808191253h3764bc1eh78fc4c5919e72726@mail.gmail.com> Im not sure if this has been proposed allready before, but are the php versions the same between your installations? I had some issues before with access on 4.7 installations that went from php4 to php5, there is a sessions issue which makes that you are logged out at the first click after signing in. There is an easy fix available on drupal.org, I can look it up for you if thats your problem. Good luck, Hans On 8/19/08, Cog Rusty wrote: > On Tue, Aug 19, 2008 at 3:02 PM, Daniel Carrera > wrote: >> Hello all, >> >> Sorry for the delay in responding. >> >> To re-cap the problem: I made a copy of my Drupal site as a test site, >> and all the permissions are wrong, I can't access any node. I can, >> however, login as admin and access admin pages. I can also create new >> nodes and those work fine. >> >> Victor, Laura and Bill all offered suggestions and I do apologize for >> not following up quickly. I followed the suggestions without much luck: >> >> 1) Victor: I can't do a command-line dump because I don't have >> command-line access. I am stuck with phpMyAdmin. I can't upload an >> entire copy of the database so I must do the copy in steps. :-( >> >> 2) Laura: I have cleared the cache, and I also cleared the sessions >> table for good measure. No change. I created a sub-domain and pointed it >> to the new Drupal site. No change. So I don't think that this is a >> cookie-related issue. >> >> 3) Bill: Drupal 4.7 doesn't have "administer > site building" so I can't >> uninstall modules. :-( All I can do is deactivate them. I have >> deactivated everything in sight. >> >> 4) Bill: Drupal 4.7 doesn't have "administer - content management". I >> see no way to rebuild permissions. > > > Unfortunately Drupal 4.7 has been unsupported for a long time and most > have started to forget how it used to work. Somehow you will need to > follow Bill's advice manually or with whatever means were available at > the time. > > The first thing I would try: Upgrade to Drupal 5.10. After replacing > all your modules with their 5.x versions, making sure that your theme > can handle Drupal5, and running update.php, try to follow Bill's > advice. Try it on a test site first. > > If this is not possible, and you need to stay with D 4.7, then (on a test > site): > > - Check if you have any access control modules such as OG or taxonomy > access. If you used to have them but you have disabled them, then > enable them again, disable their access control from their settings > page, and only then disable themagain. > > - If this fails, check the node_access table in the database. With all > access control modules disabled, it should contain only one row with > values 0, 0, 'all', 1, 0, 0. If it contains more rows with different > realms, delete them all and add only this one: > > INSERT INTO node_access VALUES (0, 0, 'all', 1, 0, 0); > > >> Question: Is it possible to (1) create an entirely new Drupal site and >> then (2) copy the users and the nodes? Is such a thing possible? I don't >> care about the modules except for the "blog" and "page" modules. I'm >> happy to install new ones later. > > > If it comes to that, these modules may help import users and nodes > from comma delimited text files: > > http://drupal.org/project/user_import > http://drupal.org/project/node_import > > >> Thank you all for the help you have provided. I hope that we can find a >> solution. I wonder if my installation is messed up for some reason and >> perhaps the best option is to start a new. The problem is that I have to >> copy the pages and blogs. They belong to my users. The users can >> tolerate a change in UI and changing some features for others, but not >> the loss of all their data. >> >> Daniel. >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Hans Rossel KOBA Webdevelopment Kerkstraat 228 9050 Gent 09-334.52.60 0472-79.32.16 www.koba.be info at koba.be From cjones at partialflow.com Tue Aug 19 19:55:02 2008 From: cjones at partialflow.com (Christopher M. Jones) Date: Tue, 19 Aug 2008 15:55:02 -0400 Subject: [support] Staging In-Reply-To: <48AB1F1D.9050604@gmail.com> References: <489B4B8E.5090702@partialflow.com> <489B6257.5060402@linnovate.net> <48AB0EB7.5040504@partialflow.com> <48AB1F1D.9050604@gmail.com> Message-ID: <48AB2516.2040305@partialflow.com> Yea, I turned right around on the cross post. Sorry. And though I haven't had a chance to review the threads you cited, let me just say that I suspected this issue would be difficult, even before I started looking into it. I just hope it doesn't break the deal with my company. I've already done a mockup template, and they're really excited. So maybe the best thing is to run two sites. The live site gets updated with new content. Content we create for the client's review is left unpublished until the client approves it. I'm pretty sure I've seen modules to automate this. A dev site is maintained with a mirror of the live site's database. Changes to the dev site are only to the template files, which is updated on the live site via svn. It's not what we want, but if I can sell it then it might be the easiest, safest solution. Comments? Zohar Stolar wrote: > Don't cross-post Christopher. > Since you raised this issue, it has been extensively discussed on the > development list (see threads: "Solving the dev->staging->live problem" > and "Unique/Random IDs and drupal") > > > > Christopher M. Jones wrote: > >> Thanks, Zohar. >> >> Unfortunately, I see that this module is available only for 5.x. We >> want to use 6.x. Still, it's an excellent lead, though I doubt my >> company wants to pay me to port that module to 6.x. Maybe we should >> step down to 5.x. >> >> Also, I'll forward my message on to the dev list, as you suggested. >> >> Zohar Stolar - Linnovate wrote: >>> Hi Christopher, >>> >>> >>> First of all, I advise you to consider cross-posting the mail in the >>> development list. While you need a straight answer, which is kind of >>> a support request, your insights might make others re-think how >>> Drupal's database is built, and how we can make it (even) easier to >>> develop Drupal site over many years. >>> >>> >>> Secondly, I was wondering with yhager about having a BoF meeting in >>> Szeged, since the situation you are experiencing is one of the most >>> common issues with Drupal development. Since Configuration and >>> Content are kept on the same DB, it is practically impossible to >>> export only some of the data (for example only content, or only >>> configuration). >>> >>> We were wondering how come everyone is suffering, and no one speaks >>> :) We finally let go of the idea. >>> >>> >>> However, if there is enough interest, maybe we can still organize a >>> BoF in Szeged. And that's the second reason why I think you should >>> cross-post in the dev list - maybe we'll see that there is enough man >>> power to advance in this matter soon. >>> >>> >>> oh... and... sorry for the situation you're in, Unfortunately, I >>> don't have a winning advice ;-) >>> >>> >>> Zohar Stolar >>> Linnovate - Community Frameworks >>> zohar at linnovate.net >>> http://www.linnovate.net >>> Tel. +972-77-5345-704 >>> Cel. +972-52-8348-278 >>> Fax. +972-72-2500-882 >>> SkypeID: zstolar >>> LinkedIn: http://www.linkedin.com/in/drupal >>> >>> >>> >>> Christopher M. Jones wrote: >>> >>>> I'm looking for a decent approach to staging a drupal site. The >>>> production site will be a collaborative authoring project, with >>>> forums, blogs, and lots of media. The client will have access to >>>> this site, and will be maintaining some of the content. Other >>>> content will be maintained by us. >>>> >>>> The development company that hosts this project prefers to make all >>>> of their changes, both to content and templates, in a testing >>>> environment. Once their client has approved the changes, they like >>>> to 'push' them to production. >>>> >>>> However, while these changes are taking place, the client may be >>>> administering forums and writing blog posts in the -production- >>>> version. >>>> >>>> To further complicate things, my company wants a three-stage cycle. >>>> They want a dev site, where they make changes for in-house review, >>>> which they then push to testing for client review before everything >>>> is pushed to production. >>>> >>>> I'm unsure how to approach this. The site in question has always >>>> been static html created in Dreamweaver. At some point they started >>>> adding other things, so now there are two wordpress blogs, and two >>>> phpbb forums. The forums and blogs presently are excepted from the >>>> development cycle. They simply appear to be part of the site, >>>> because their templates have been designed so. But that means that >>>> we've got to propagate template changes across five templates. >>>> Things are breaking constantly, and this is why I piped up to them >>>> about drupal. >>>> >>>> I've seen a lot of discussion about this topic, but I really need >>>> some hard answers. What should I do? >>>> >>>> I've seen the Staging module for 6.x. Is it safe to use? If so, then >>>> we could use that for the database. Templates could be pushed with >>>> rsync or svn... whatever. But would this work two ways? Could we >>>> sync the dev / testing sites to the production site, then sync the >>>> other way? Would we need to? >>>> >>>> Also, I envision using a multisite environment so that all sites >>>> share the same modules, media, etc, but use different templates. >>>> >>>> I desperately need the detailed advice of someone with experience, >>>> here. >>>> > From metzlerd at evergreen.edu Tue Aug 19 19:57:40 2008 From: metzlerd at evergreen.edu (Metzler, David) Date: Tue, 19 Aug 2008 12:57:40 -0700 Subject: [support] Drupal permissions In-Reply-To: <51a9b8330808191253h3764bc1eh78fc4c5919e72726@mail.gmail.com> References: <48A4168D.6050705@zmsl.com><9C96FCAB-7C0F-4333-87D9-9760ED8B490C@gmail.com><48A4C983.4070203@zmsl.com> <48A4F863.4080104@funnymonkey.com><48AAB65B.5090000@zmsl.com> <51a9b8330808191253h3764bc1eh78fc4c5919e72726@mail.gmail.com> Message-ID: <384BE444EEC12143B241C72BCD7E9BA8220B5A@birch.evergreen.edu> >> >> 1) Victor: I can't do a command-line dump because I don't have >> command-line access. I am stuck with phpMyAdmin. I can't upload an >> entire copy of the database so I must do the copy in steps. :-( >> If this is true that you copied the tables one at a time, it sounds like you didn't get the node_access table copied. You should check to make sure it has entries for the nodes in question. Or that it is copied from a fresh drupal install if you've disabled all the access control modules. Dave From drupal at lists.tacticus.com Tue Aug 19 21:07:23 2008 From: drupal at lists.tacticus.com (Luke) Date: Tue, 19 Aug 2008 17:07:23 -0400 (EDT) Subject: [support] User Profile Node Integrator module (was: Re: User permissions - limiting node or page access) In-Reply-To: References: Message-ID: I'm thinking that OG might be a way to solve my problem described below (on which I have received no responses), but I ran into the: User Profile Node Integrator module. Might that module be a way to allow a single user to have write access to a node, without having write access to all other nodes? Regards, Luke On Mon, 18 Aug 2008, Luke wrote: > Hello > > I would like to have user X be able to edit content of a particular node, > or page, or other entity. > > There is talk of this here: http://drupal.org/node/5229 > > however, as noted in the last comment there (June, 2008), this issue has > received no apparent action since 2004. > > Now, it could be that this has been handled in some other way, but this > level of permission granularity does not seem available in 5.7. > > This is not a one-off: I have several "department heads", who need to be > able to control their own pages, and only their own page(s). > > Are there any current solutions for this for either 5.X or 6.X? > > Thanks > > Luke > > From kontakt at seitenweberei.ch Tue Aug 19 06:03:01 2008 From: kontakt at seitenweberei.ch (Seitenweberei.ch) Date: Tue, 19 Aug 2008 08:03:01 +0200 Subject: [support] Ubercart and Taxonomy In-Reply-To: <131500.90831.qm@web58710.mail.re1.yahoo.com> References: <131500.90831.qm@web58710.mail.re1.yahoo.com> Message-ID: <48AA6215.2080307@seitenweberei.ch> To use several vocabularies the same way as the catalog, try http://www.ubercart.org/contrib/3202 For the dropdowns above the catalog, try http://drupalmodules.com/module/views (exposed filters) Naresh Vajawat schrieb: > Hi, > > By default the catalog appears as a menu item. If I were to create a new > vocabulary how do I make it behave in a similar way. Let me show you > with an example for what I want to achieve. > > If you look at www.gadgetsguru.com there categories are placed as tabs > as well as menu in the left sidebar. Above the categories in the left > sidebar there are 3 dropdowns which will help the user choose the > brand/price range etc.. to choose from to get a specifif set of > products. How could we achieve the similar thing in drupal. Kindly note > that the products in both the menus is the same they are just displayed > differently which gives a much better user experience. > > Let me know if you need any further information. > > Thanks in Advace, > > Cheers, > Naresh > > From roy at panix.com Wed Aug 20 01:21:25 2008 From: roy at panix.com (Roy Smith) Date: Tue, 19 Aug 2008 21:21:25 -0400 Subject: [support] hook_menu in module developers guide? In-Reply-To: <20080819112527.egyy4wcb8i88kkcw@mail.progw.org> References: <72E6F58B-2EB7-401A-87CC-2A6CE80063CC@panix.com> <48AA3280.5060900@comcast.net> <82F62699-4230-401A-ABDD-BC2BF3CDCE2A@panix.com> <20080819112527.egyy4wcb8i88kkcw@mail.progw.org> Message-ID: <3D04E59D-19DD-4352-927E-29FF757EF22D@panix.com> Yes, that would be good. On Aug 19, 2008, at 11:25 AM, Earnie Boyd wrote: > Quoting Roy Smith : > >> OK, that makes sense, but I don't think the tutorial says that. It >> would be useful if the text was updated to include that note. It >> would have saved me a bunch of head scratching. >> > > Would a reference to http://api.drupal.org/api/group/hooks help? > > Earnie -- http://for-my-kids.com/ > -- http://give-me-an-offer.com/ > > -- > [ Drupal support list | http://lists.drupal.org/ ] > ---------------- Roy Smith roy at panix.com From reykjavikingur at gmail.com Wed Aug 20 02:32:21 2008 From: reykjavikingur at gmail.com (Andrew Strader) Date: Tue, 19 Aug 2008 22:32:21 -0400 Subject: [support] one admin page not working for subdomains Message-ID: <911c6b940808191932x342cd1a1p3f3ed536163db923@mail.gmail.com> I have the Captcha module installed, and I can configured it on the main domain of my site (http://www.{mysite}.com/admin/user/captcha), but when I log into the corresponding page on one of the subdomains (e.g. http://foo.{mysite}.com/admin/user/captcha), it doesn't display any options. What is going on?? How do I tell behind the scenes (in files or database) what the deal is? (Thanks!) -- --Andrew -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080819/237f084b/attachment.htm From mike at mikeyp.net Wed Aug 20 04:04:21 2008 From: mike at mikeyp.net (Michael Prasuhn) Date: Tue, 19 Aug 2008 21:04:21 -0700 Subject: [support] one admin page not working for subdomains In-Reply-To: <911c6b940808191932x342cd1a1p3f3ed536163db923@mail.gmail.com> References: <911c6b940808191932x342cd1a1p3f3ed536163db923@mail.gmail.com> Message-ID: <7689392E-8D55-4DFA-9E22-F31EAF12C3FD@mikeyp.net> Have you enabled the module on both sites? i.e. example.com/admin/ build/modules and foo.example.com/admin/build/modules ? If each site is a separate database, or prefixed database, then you basically need to consider it as two completely separated sites. -Mike On Aug 19, 2008, at 7:32 PM, Andrew Strader wrote: > I have the Captcha module installed, and I can configured it on the > main domain of my site (http://www.{mysite}.com/admin/user/captcha), > but when I log into the corresponding page on one of the subdomains > (e.g. http://foo.{mysite}.com/admin/user/captcha), it doesn't > display any options. What is going on?? How do I tell behind the > scenes (in files or database) what the deal is? (Thanks!) > > -- > --Andrew > -- > [ Drupal support list | http://lists.drupal.org/ ] __________________ Michael Prasuhn mike at mikeyp.net http://mikeyp.net From daniel.carrera at zmsl.com Wed Aug 20 09:13:34 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Wed, 20 Aug 2008 11:13:34 +0200 Subject: [support] Drupal permissions In-Reply-To: <51a9b8330808191253h3764bc1eh78fc4c5919e72726@mail.gmail.com> References: <48A4168D.6050705@zmsl.com> <9C96FCAB-7C0F-4333-87D9-9760ED8B490C@gmail.com> <48A4C983.4070203@zmsl.com> <48A4F863.4080104@funnymonkey.com> <48AAB65B.5090000@zmsl.com> <51a9b8330808191253h3764bc1eh78fc4c5919e72726@mail.gmail.com> Message-ID: <48ABE03E.5040907@zmsl.com> Yes, same php versions. It is exactly the same server. The two sites are simply different directories on the same site: http://example.com/foo http://example.com/bar Thanks. KOBA | Hans Rossel wrote: > Im not sure if this has been proposed allready before, but are the php > versions the same between your installations? I had some issues before > with access on 4.7 installations that went from php4 to php5, there is > a sessions issue which makes that you are logged out at the first > click after signing in. There is an easy fix available on drupal.org, > I can look it up for you if thats your problem. > > Good luck, > > Hans > > On 8/19/08, Cog Rusty wrote: >> On Tue, Aug 19, 2008 at 3:02 PM, Daniel Carrera >> wrote: >>> Hello all, >>> >>> Sorry for the delay in responding. >>> >>> To re-cap the problem: I made a copy of my Drupal site as a test site, >>> and all the permissions are wrong, I can't access any node. I can, >>> however, login as admin and access admin pages. I can also create new >>> nodes and those work fine. >>> >>> Victor, Laura and Bill all offered suggestions and I do apologize for >>> not following up quickly. I followed the suggestions without much luck: >>> >>> 1) Victor: I can't do a command-line dump because I don't have >>> command-line access. I am stuck with phpMyAdmin. I can't upload an >>> entire copy of the database so I must do the copy in steps. :-( >>> >>> 2) Laura: I have cleared the cache, and I also cleared the sessions >>> table for good measure. No change. I created a sub-domain and pointed it >>> to the new Drupal site. No change. So I don't think that this is a >>> cookie-related issue. >>> >>> 3) Bill: Drupal 4.7 doesn't have "administer > site building" so I can't >>> uninstall modules. :-( All I can do is deactivate them. I have >>> deactivated everything in sight. >>> >>> 4) Bill: Drupal 4.7 doesn't have "administer - content management". I >>> see no way to rebuild permissions. >> >> Unfortunately Drupal 4.7 has been unsupported for a long time and most >> have started to forget how it used to work. Somehow you will need to >> follow Bill's advice manually or with whatever means were available at >> the time. >> >> The first thing I would try: Upgrade to Drupal 5.10. After replacing >> all your modules with their 5.x versions, making sure that your theme >> can handle Drupal5, and running update.php, try to follow Bill's >> advice. Try it on a test site first. >> >> If this is not possible, and you need to stay with D 4.7, then (on a test >> site): >> >> - Check if you have any access control modules such as OG or taxonomy >> access. If you used to have them but you have disabled them, then >> enable them again, disable their access control from their settings >> page, and only then disable themagain. >> >> - If this fails, check the node_access table in the database. With all >> access control modules disabled, it should contain only one row with >> values 0, 0, 'all', 1, 0, 0. If it contains more rows with different >> realms, delete them all and add only this one: >> >> INSERT INTO node_access VALUES (0, 0, 'all', 1, 0, 0); >> >> >>> Question: Is it possible to (1) create an entirely new Drupal site and >>> then (2) copy the users and the nodes? Is such a thing possible? I don't >>> care about the modules except for the "blog" and "page" modules. I'm >>> happy to install new ones later. >> >> If it comes to that, these modules may help import users and nodes >> from comma delimited text files: >> >> http://drupal.org/project/user_import >> http://drupal.org/project/node_import >> >> >>> Thank you all for the help you have provided. I hope that we can find a >>> solution. I wonder if my installation is messed up for some reason and >>> perhaps the best option is to start a new. The problem is that I have to >>> copy the pages and blogs. They belong to my users. The users can >>> tolerate a change in UI and changing some features for others, but not >>> the loss of all their data. >>> >>> Daniel. >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > From dcirotteau at rue89.com Wed Aug 20 09:18:44 2008 From: dcirotteau at rue89.com (Damien Cirotteau) Date: Wed, 20 Aug 2008 11:18:44 +0200 Subject: [support] Staging In-Reply-To: <489B4B8E.5090702@partialflow.com> References: <489B4B8E.5090702@partialflow.com> Message-ID: Hi Christopher, I can see three main solutions : - there are several solution like db (partial ) replication/synchronisation, like what they do at france 24 http://drupal.org/node/181128. - solution based on ad-hoc module. A very promising one, based on the services module : deployement http://drupal.org/project/deploy - a script based solution. We (at rue89.com) are using this solution. We have a set of helper functions (to sert perm, enable/disable module, automatically import macros, cck etc). We combine this with update_X functions in the main custom module of the sites we are doing, and deploying is then just running the update.php. This is more work for the developpers, but you can run it again and again to deeply test your deployement. But yes, we are still waiting for a killer solution. Damien Cirotteau www.rue89.com On Thu, Aug 7, 2008 at 9:22 PM, Christopher M. Jones wrote: > I'm looking for a decent approach to staging a drupal site. The > production site will be a collaborative authoring project, with forums, > blogs, and lots of media. The client will have access to this site, and > will be maintaining some of the content. Other content will be > maintained by us. > > The development company that hosts this project prefers to make all of > their changes, both to content and templates, in a testing environment. > Once their client has approved the changes, they like to 'push' them to > production. > > However, while these changes are taking place, the client may be > administering forums and writing blog posts in the -production- version. > > To further complicate things, my company wants a three-stage cycle. They > want a dev site, where they make changes for in-house review, which they > then push to testing for client review before everything is pushed to > production. > > I'm unsure how to approach this. The site in question has always been > static html created in Dreamweaver. At some point they started adding > other things, so now there are two wordpress blogs, and two phpbb > forums. The forums and blogs presently are excepted from the development > cycle. They simply appear to be part of the site, because their > templates have been designed so. But that means that we've got to > propagate template changes across five templates. Things are breaking > constantly, and this is why I piped up to them about drupal. > > I've seen a lot of discussion about this topic, but I really need some > hard answers. What should I do? > > I've seen the Staging module for 6.x. Is it safe to use? If so, then we > could use that for the database. Templates could be pushed with rsync or > svn... whatever. But would this work two ways? Could we sync the dev / > testing sites to the production site, then sync the other way? Would we > need to? > > Also, I envision using a multisite environment so that all sites share > the same modules, media, etc, but use different templates. > > I desperately need the detailed advice of someone with experience, here. > -- > [ Drupal support list | http://lists.drupal.org/ ] > From info at koba.be Wed Aug 20 09:57:45 2008 From: info at koba.be (KOBA | Hans Rossel) Date: Wed, 20 Aug 2008 11:57:45 +0200 Subject: [support] Drupal permissions In-Reply-To: <48ABE03E.5040907@zmsl.com> References: <48A4168D.6050705@zmsl.com> <9C96FCAB-7C0F-4333-87D9-9760ED8B490C@gmail.com> <48A4C983.4070203@zmsl.com> <48A4F863.4080104@funnymonkey.com> <48AAB65B.5090000@zmsl.com> <51a9b8330808191253h3764bc1eh78fc4c5919e72726@mail.gmail.com> <48ABE03E.5040907@zmsl.com> Message-ID: <51a9b8330808200257s41c0490doaa106630c5a18af@mail.gmail.com> Ok, sorry, I did not have the first part of the thread anymore. Some more ideas: - Try to redo the backup with http://www.ozerov.de/bigdump.php - Or another option as Victor proposed: if you have no command line access check if your hosting company provides an interface for cronjobs, for instance in cpanel this is a workaround to execute command line, just enter mysqldump -u USERNAME --password=PASSWORD DBNAME > /home/backups/backup.sql as a cron job an let cron run once. Make the directory backups first in your filesystem in advance. - Install Devel module with which you easily can clear the cache before you backup and there is also a block available for checking the node_access table for the node you are viewing. Though I'm not sure if these options are included in the 4.7 version of Devel. - Use your original database for both installations, so use the same settings file, just to check if there are no differences in the files (permissions, missing files during copying) that are causing the problems. With the same database permissions should be ok, but you never know. Good luck, Hans 2008/8/20 Daniel Carrera > Yes, same php versions. It is exactly the same server. The two sites are > simply different directories on the same site: > > http://example.com/foo > http://example.com/bar > > Thanks. > > KOBA | Hans Rossel wrote: > > Im not sure if this has been proposed allready before, but are the php > > versions the same between your installations? I had some issues before > > with access on 4.7 installations that went from php4 to php5, there is > > a sessions issue which makes that you are logged out at the first > > click after signing in. There is an easy fix available on drupal.org, > > I can look it up for you if thats your problem. > > > > Good luck, > > > > Hans > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080820/7e3a268a/attachment.htm From ratadi2 at gmail.com Wed Aug 20 11:25:12 2008 From: ratadi2 at gmail.com (geniekids) Date: Wed, 20 Aug 2008 04:25:12 -0700 (PDT) Subject: [support] Views shows-up same node multiple times w.r.t comments Message-ID: <19067434.post@talk.nabble.com> Views shows-up same node multiple times - as many times as the number of comments posted I have a view to show few fields of a cck. I want to show (all) the comments posted to each node. However when i run the view - the same node shows up (is repeated) as many times as the number of comments posted! 2. Is it possible to just have a list of all the comments under one entry of the node in the view. 3. Or in the view have a link which when clicked will show all the comments (and only the comments) for that node (maybe in a lightbox kind of format?) thanks in advance -- View this message in context: http://www.nabble.com/Views-shows-up-same-node-multiple-times-w.r.t-comments-tp19067434p19067434.html Sent from the Drupal - Support mailing list archive at Nabble.com. From kanted at gmail.com Wed Aug 20 11:27:51 2008 From: kanted at gmail.com (vinod kanted) Date: Wed, 20 Aug 2008 16:57:51 +0530 Subject: [support] Display a page in footer Message-ID: <6069536c0808200427kfe878aeld65a51044afbf006@mail.gmail.com> How to display a page(node) in footer column in a view , For Example we need to have 2 nodes to be displayed then how to go about using views footer region -- Regards, Vinod Kanted -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080820/8b8dfd91/attachment.htm From shyamala at netlinkindia.com Wed Aug 20 11:33:54 2008 From: shyamala at netlinkindia.com (Shyamala Rajaram) Date: Wed, 20 Aug 2008 17:03:54 +0530 Subject: [support] Security issue with comment form Message-ID: <033201c902b8$b3c1f280$2501a8c0@netlinkindia.local> We are facing currently comment spamming from a particular IP. As a security step we enabled Captcha and banned the IP. But the problem still persits, and the user is accessing the comment from a new IP every time. Though the comments do not get generated, it's still clogging the database. We need help to resolve this security issue. Shyamala -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080820/27cb094a/attachment.htm From earnie at users.sourceforge.net Wed Aug 20 11:53:00 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Wed, 20 Aug 2008 07:53:00 -0400 Subject: [support] User Profile Node Integrator module (was: Re: User permissions - limiting node or page access) In-Reply-To: References: Message-ID: <20080820075300.keqsvwz9tdhcsg4c@mail.progw.org> Quoting Luke : > I'm thinking that OG might be a way to solve my problem described below > (on which I have received no responses), but I ran into the: > No responses because it has to be your decision. OG will allow you to do what you want. > User Profile Node Integrator > > module. Might that module be a way to allow a single user to have write > access to a node, without having write access to all other nodes? > I don't know about this module but there are other ways to do what you want. If you use OG you can restrict the posts to that group only. If you're only concerned with access then Content Access is what you want. You could even create content types per department, create a role for each department and using content access give a default in the content type for access. Then with the permissions you assign which role has post writes to the different content types. Then you assign the user to the role. 1) Create roles 2) Create content types 3) Assign permissions 4) Assign users to roles Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From info at koba.be Wed Aug 20 12:13:44 2008 From: info at koba.be (KOBA | Hans Rossel) Date: Wed, 20 Aug 2008 14:13:44 +0200 Subject: [support] Security issue with comment form In-Reply-To: <033201c902b8$b3c1f280$2501a8c0@netlinkindia.local> References: <033201c902b8$b3c1f280$2501a8c0@netlinkindia.local> Message-ID: <51a9b8330808200513s706359f1rf0ba3145fc193f9e@mail.gmail.com> Have you tried http://drupal.org/project/mollom or http://drupal.org/project/akismet? Hans 2008/8/20 Shyamala Rajaram > We are facing currently comment spamming from a particular IP. As a > security step we enabled Captcha and banned the IP. But the problem still > persits, and the user is accessing the comment from a new IP every time. > Though the comments do not get generated, it's still clogging the database. > We need help to resolve this security issue. > > Shyamala > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Hans Rossel KOBA Webdevelopment Kerkstraat 228 9050 Gent 09-334.52.60 0472-79.32.16 www.koba.be info at koba.be -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080820/bab183a4/attachment-0001.htm From daniel.carrera at zmsl.com Wed Aug 20 12:23:46 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Wed, 20 Aug 2008 14:23:46 +0200 Subject: [support] Drupal permissions In-Reply-To: <51a9b8330808200257s41c0490doaa106630c5a18af@mail.gmail.com> References: <48A4168D.6050705@zmsl.com> <9C96FCAB-7C0F-4333-87D9-9760ED8B490C@gmail.com> <48A4C983.4070203@zmsl.com> <48A4F863.4080104@funnymonkey.com> <48AAB65B.5090000@zmsl.com> <51a9b8330808191253h3764bc1eh78fc4c5919e72726@mail.gmail.com> <48ABE03E.5040907@zmsl.com> <51a9b8330808200257s41c0490doaa106630c5a18af@mail.gmail.com> Message-ID: <48AC0CD2.3080400@zmsl.com> KOBA | Hans Rossel wrote: > Ok, sorry, I did not have the first part of the thread anymore. > > Some more ideas: > - Try to redo the backup with http://www.ozerov.de/bigdump.php THANKS!!! BigDump worked, and not only that, as soon as I did the import the test site began working correctly. I don't get "access denied" anymore. Ok, now I'm curious, why did it work? Why do I have to copy the entire database at once and why is it bad if I copy it in chunks? Anyways, thank you very much. And thanks to everyone who chipped in to help. I really appreciate your efforts. Now I will proceed with the upgrade to Drupal 5. Daniel. From info at koba.be Wed Aug 20 12:34:18 2008 From: info at koba.be (KOBA | Hans Rossel) Date: Wed, 20 Aug 2008 14:34:18 +0200 Subject: [support] Drupal permissions In-Reply-To: <48AC0CD2.3080400@zmsl.com> References: <48A4168D.6050705@zmsl.com> <9C96FCAB-7C0F-4333-87D9-9760ED8B490C@gmail.com> <48A4C983.4070203@zmsl.com> <48A4F863.4080104@funnymonkey.com> <48AAB65B.5090000@zmsl.com> <51a9b8330808191253h3764bc1eh78fc4c5919e72726@mail.gmail.com> <48ABE03E.5040907@zmsl.com> <51a9b8330808200257s41c0490doaa106630c5a18af@mail.gmail.com> <48AC0CD2.3080400@zmsl.com> Message-ID: <51a9b8330808200534y6ed32b11m4634a1e15b9f1432@mail.gmail.com> Glad it worked! BigDump is also importing in chunks, but then in an automated way, 3000 lines at a time by default, so that's certainly not the problem. But if you start cutting yourself it's easy to forget some pieces. Hans 2008/8/20 Daniel Carrera > KOBA | Hans Rossel wrote: > > Ok, sorry, I did not have the first part of the thread anymore. > > > > Some more ideas: > > - Try to redo the backup with http://www.ozerov.de/bigdump.php > > THANKS!!! > > BigDump worked, and not only that, as soon as I did the import the test > site began working correctly. I don't get "access denied" anymore. > > Ok, now I'm curious, why did it work? Why do I have to copy the entire > database at once and why is it bad if I copy it in chunks? > > > Anyways, thank you very much. And thanks to everyone who chipped in to > help. I really appreciate your efforts. Now I will proceed with the > upgrade to Drupal 5. > > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Hans Rossel KOBA Webdevelopment Kerkstraat 228 9050 Gent 09-334.52.60 0472-79.32.16 www.koba.be info at koba.be -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080820/9ea9aef6/attachment.htm From daniel.carrera at zmsl.com Wed Aug 20 12:51:38 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Wed, 20 Aug 2008 14:51:38 +0200 Subject: [support] Upgrading Modules Message-ID: <48AC135A.4080006@zmsl.com> Hello, Thanks to all who helped me move my Drupal 4.7 site to 5.9. Now that the base site is upgraded (this is a test site btw) I need to think about modules: 1) I had taxonomy_access in the old site. How do I upgrade a module? I have the new taxonomy_access (the one for 5.9) uploaded but I haven't activated it in case that is the wrong thing to do. 2) How do I get rid of old modules that I don't want to use anymore? Like the eCommerce module. Can I just drop all ec_* tables? Ditto for eJournal and OrganicGroups. These are all modules which I *thought* would help me but didn't and I don't want to keep them. Lastly, do you think it's alright if I stay with Drupal 5.9 until next year? The taxonomy_access module is not stable for Drupal 6, so I'm not sure if I should upgrade or not. Thanks. From drupal at lourdas.name Wed Aug 20 12:57:31 2008 From: drupal at lourdas.name (Vasileios Lourdas) Date: Wed, 20 Aug 2008 15:57:31 +0300 Subject: [support] Upgrading Modules In-Reply-To: <48AC135A.4080006@zmsl.com> References: <48AC135A.4080006@zmsl.com> Message-ID: <200808201557.31246.drupal@lourdas.name> On Wednesday 20 August 2008 15:51:38 Daniel Carrera wrote: > Hello, > > Thanks to all who helped me move my Drupal 4.7 site to 5.9. Now that the > base site is upgraded (this is a test site btw) I need to think about > modules: Actually, 5.10 was released a few days ago. > 2) How do I get rid of old modules that I don't want to use anymore? > Like the eCommerce module. Can I just drop all ec_* tables? Ditto for > eJournal and OrganicGroups. These are all modules which I *thought* > would help me but didn't and I don't want to keep them. The module's uninstall hook should (theoretically) take care of that. You could also do it manually though, by peeking inside the module's .install file and seeing which tables it creates when you first enable it. Then, just issue a drop table command. > Lastly, do you think it's alright if I stay with Drupal 5.9 until next > year? The taxonomy_access module is not stable for Drupal 6, so I'm not > sure if I should upgrade or not. > > Thanks. That's the right thing to do. Just update to 5.10. -- # Vasileios Lourdas, # Informatics Engineer, Thessaloniki (Greece) # http://www.lourdas.name From daniel.carrera at zmsl.com Wed Aug 20 13:08:03 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Wed, 20 Aug 2008 15:08:03 +0200 Subject: [support] Upgrading Modules In-Reply-To: <200808201557.31246.drupal@lourdas.name> References: <48AC135A.4080006@zmsl.com> <200808201557.31246.drupal@lourdas.name> Message-ID: <48AC1733.6070800@zmsl.com> Vasileios Lourdas wrote: > Actually, 5.10 was released a few days ago. I hope the upgrade from 5.9 to 5.10 is easy. > The module's uninstall hook should (theoretically) take care of that. You > could also do it manually though, by peeking inside the module's .install > file and seeing which tables it creates when you first enable it. Then, just > issue a drop table command. I have no idea how to get to the uninstall "hook", but I can look at .install files, so I think I'll go for that option. Thanks for the help. Daniel. From cog.rusty at gmail.com Wed Aug 20 14:10:53 2008 From: cog.rusty at gmail.com (Cog Rusty) Date: Wed, 20 Aug 2008 17:10:53 +0300 Subject: [support] Upgrading Modules In-Reply-To: <48AC135A.4080006@zmsl.com> References: <48AC135A.4080006@zmsl.com> Message-ID: On Wed, Aug 20, 2008 at 3:51 PM, Daniel Carrera wrote: > Hello, > > Thanks to all who helped me move my Drupal 4.7 site to 5.9. Now that the > base site is upgraded (this is a test site btw) I need to think about > modules: > > 1) I had taxonomy_access in the old site. How do I upgrade a module? I > have the new taxonomy_access (the one for 5.9) uploaded but I haven't > activated it in case that is the wrong thing to do. If you have uploaded the 5.x version of the module, go to admin/build/modules, enable the module, and then run update.php > 2) How do I get rid of old modules that I don't want to use anymore? > Like the eCommerce module. Can I just drop all ec_* tables? Ditto for > eJournal and OrganicGroups. These are all modules which I *thought* > would help me but didn't and I don't want to keep them. In Drupal 6 there is an "Uninstall" tab in admin/build/modules. After you disable a module, go to that tab and you will see an option to uninstall the module's tables (assuming that the module has implemented that feature). > Lastly, do you think it's alright if I stay with Drupal 5.9 until next > year? The taxonomy_access module is not stable for Drupal 6, so I'm not > sure if I should upgrade or not. It is fine to stay with 5.9 (or better 5.10) until the modules you need are available. To make sure that a future upgrade will be easy, use only 5.x modules which also have a 6.x version under development, or are expected to have one. > Thanks. > -- > [ Drupal support list | http://lists.drupal.org/ ] > From daniel.carrera at zmsl.com Wed Aug 20 14:17:05 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Wed, 20 Aug 2008 16:17:05 +0200 Subject: [support] Upgrading Modules In-Reply-To: References: <48AC135A.4080006@zmsl.com> Message-ID: <48AC2761.5000807@zmsl.com> Cog Rusty wrote: >> 1) I had taxonomy_access in the old site. How do I upgrade a module? I >> have the new taxonomy_access (the one for 5.9) uploaded but I haven't >> activated it in case that is the wrong thing to do. > > If you have uploaded the 5.x version of the module, go to > admin/build/modules, enable the module, and then run update.php Ok. Sounds easy enough. > It is fine to stay with 5.9 (or better 5.10) until the modules you > need are available. To make sure that a future upgrade will be easy, > use only 5.x modules which also have a 6.x version under development, > or are expected to have one. Ok, will do. I'll stick to modules that have a 6.x version in the works. Thanks for the help. Daniel. From xavier.bestel at free.fr Wed Aug 20 14:29:06 2008 From: xavier.bestel at free.fr (Xavier Bestel) Date: Wed, 20 Aug 2008 16:29:06 +0200 Subject: [support] Upgrading Modules In-Reply-To: References: <48AC135A.4080006@zmsl.com> Message-ID: <1219242546.20237.113.camel@skunk.anacadf.mentorg.com> On Wed, 2008-08-20 at 17:10 +0300, Cog Rusty wrote: > In Drupal 6 there is an "Uninstall" tab in admin/build/modules. After > you disable a module, go to that tab and you will see an option to > uninstall the module's tables (assuming that the module has > implemented that feature). FWIW Drupal 5 has that feature too. Xav From bob at morsemedia.net Wed Aug 20 14:48:45 2008 From: bob at morsemedia.net (Bob Morse) Date: Wed, 20 Aug 2008 07:48:45 -0700 Subject: [support] Upgrading Modules In-Reply-To: <48AC2761.5000807@zmsl.com> References: <48AC135A.4080006@zmsl.com> <48AC2761.5000807@zmsl.com> Message-ID: <48AC2ECD.3060407@morsemedia.net> You can use the update status module to monitor when your installed modules have versions for a targeted Drupal core. http://drupal.org/project/update_status > Cog Rusty wrote: > > > > >> It is fine to stay with 5.9 (or better 5.10) until the modules you >> need are available. To make sure that a future upgrade will be easy, >> use only 5.x modules which also have a 6.x version under development, >> or are expected to have one. >> > > Ok, will do. I'll stick to modules that have a 6.x version in the works. > > Thanks for the help. > > Daniel. > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080820/cba642cb/attachment.htm From daniel.carrera at zmsl.com Wed Aug 20 18:41:08 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Wed, 20 Aug 2008 20:41:08 +0200 Subject: [support] User Uploads Message-ID: <48AC6544.9000803@zmsl.com> Hello, In Drupal 5.9 what happens if two users upload files with the same name? I'm concerned that the second upload might overwrite the first. In my site there is a pretty good chance of this sort of thing happening. In my ideal world the file upload module would use sub-directories for each user, but it doesn't. If anyone can recommend a good module for file uploads, please let me know. Thanks. Daniel. From killshot91 at comcast.net Wed Aug 20 18:45:19 2008 From: killshot91 at comcast.net (Steve Edwards) Date: Wed, 20 Aug 2008 11:45:19 -0700 Subject: [support] User Uploads In-Reply-To: <48AC6544.9000803@zmsl.com> References: <48AC6544.9000803@zmsl.com> Message-ID: <48AC663F.8040507@comcast.net> Check out the IMCE module (http://drupal.org/project/imce). It allows you to specify unique user directories for file uploads. Steve Daniel Carrera wrote: > Hello, > > In Drupal 5.9 what happens if two users upload files with the same name? > I'm concerned that the second upload might overwrite the first. In my > site there is a pretty good chance of this sort of thing happening. In > my ideal world the file upload module would use sub-directories for each > user, but it doesn't. > > If anyone can recommend a good module for file uploads, please let me know. > > Thanks. > Daniel. > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080820/21510b25/attachment.htm From mike at mikeyp.net Wed Aug 20 18:49:14 2008 From: mike at mikeyp.net (Michael Prasuhn) Date: Wed, 20 Aug 2008 11:49:14 -0700 Subject: [support] User Uploads In-Reply-To: <48AC6544.9000803@zmsl.com> References: <48AC6544.9000803@zmsl.com> Message-ID: All file upload/attachments that I'm aware of for drupal, will change the file name when a duplicate is detected. For instance the core upload module will add '_n' to the end of a file name, where n is the next available integer. It is also smart enough to do this before the file name's extension. For example http://drupal.org/files/issues/drupal.patch http://drupal.org/files/issues/drupal_1.patch ......and so on...... http://drupal.org/files/issues/drupal_80.patch -Mike On Aug 20, 2008, at 11:41 AM, Daniel Carrera wrote: > Hello, > > In Drupal 5.9 what happens if two users upload files with the same > name? > I'm concerned that the second upload might overwrite the first. In my > site there is a pretty good chance of this sort of thing happening. In > my ideal world the file upload module would use sub-directories for > each > user, but it doesn't. > > If anyone can recommend a good module for file uploads, please let > me know. > > Thanks. > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] __________________ Michael Prasuhn mike at mikeyp.net http://mikeyp.net 503.488.5433 714.356.0168 cell 949.200.7670 fax From daniel.carrera at zmsl.com Wed Aug 20 20:33:56 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Wed, 20 Aug 2008 22:33:56 +0200 Subject: [support] User Uploads In-Reply-To: <48AC663F.8040507@comcast.net> References: <48AC6544.9000803@zmsl.com> <48AC663F.8040507@comcast.net> Message-ID: <48AC7FB4.9070801@zmsl.com> Steve Edwards wrote: > Check out the IMCE module (http://drupal.org/project/imce). It allows > you to specify unique user directories for file uploads. Oh, that looks great. Thanks. From shyamala at netlinkindia.com Thu Aug 21 04:13:52 2008 From: shyamala at netlinkindia.com (Shyamala Rajaram) Date: Thu, 21 Aug 2008 09:43:52 +0530 Subject: [support] Custom RSS feed using Views Message-ID: <002201c90344$66274980$3663a8c0@netlinkindia.local> We need to have a cusotm RSS feed. i.e the fields in the RSS XML must be what we want, like title, teaser, date , author etc. The current RSS that gets generated with the Views RSS plugin is Title, link, extra (date..). How do we add more fields to our RSS? Shyamala -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080821/78e4bd29/attachment.htm From drupal at lists.tacticus.com Thu Aug 21 07:55:46 2008 From: drupal at lists.tacticus.com (Luke) Date: Thu, 21 Aug 2008 03:55:46 -0400 (EDT) Subject: [support] marquee element module: scrolltext or other Message-ID: Hello I am looking for a way to place a marquee element in a block, and have some mechanism of controlling its contents through a form. I had a non-drupal site where I had written a crude control mechanism in PHP, and I can do that again here, but I thought I would try to find a module first, that would maybe work with some modifications. I found "ScrollText" (http://drupal.org/project/scrolltext), but its information is fleeting, and it doesn't quite seem that it will do what I want (it takes its content from "titles of nodes", which seems strange). Has anyone used this module, altered this module; or does anyone know of another module which handles a marquee element? Thanks Luke From daniel.carrera at zmsl.com Thu Aug 21 08:20:08 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Thu, 21 Aug 2008 10:20:08 +0200 Subject: [support] Taxonomy Module Message-ID: <48AD2538.7090506@zmsl.com> Hello, Just upgraded to Drupal 5 and I can't find the taxonomy module settings. There must be a place where I define vocabularies and what-not, but for the life of me I can't figure out where it is. Help? Daniel. From foss at jsomers.eu Thu Aug 21 08:23:35 2008 From: foss at jsomers.eu (Jensen Somers) Date: Thu, 21 Aug 2008 10:23:35 +0200 Subject: [support] Taxonomy Module In-Reply-To: <48AD2538.7090506@zmsl.com> References: <48AD2538.7090506@zmsl.com> Message-ID: <48AD2607.9060905@jsomers.eu> Daniel Carrera wrote: > Hello, > > Just upgraded to Drupal 5 and I can't find the taxonomy module settings. > There must be a place where I define vocabularies and what-not, but for > the life of me I can't figure out where it is. Help? > > Daniel. You need to enable the 'Taxonomy' module. Then you will find a section called 'Categories' under the 'Content Management' section. On D6 the term 'Categories' changed to 'Taxonomy'. - Jensen From daniel.carrera at zmsl.com Thu Aug 21 08:27:08 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Thu, 21 Aug 2008 10:27:08 +0200 Subject: [support] Taxonomy Module In-Reply-To: <48AD2607.9060905@jsomers.eu> References: <48AD2538.7090506@zmsl.com> <48AD2607.9060905@jsomers.eu> Message-ID: <48AD26DC.6040508@zmsl.com> Jensen Somers wrote: > You need to enable the 'Taxonomy' module. Then you will find a section > called 'Categories' under the 'Content Management' section. On D6 the > term 'Categories' changed to 'Taxonomy'. Ah, thanks. Yes, I did enable it, but I was looking for the word "Taxonomy" so of course I didn't see it. Thanks a lot. Daniel. From nareshvaj at gmail.com Thu Aug 21 08:41:50 2008 From: nareshvaj at gmail.com (Naresh Vajawat) Date: Thu, 21 Aug 2008 14:11:50 +0530 Subject: [support] Taxonomy Module In-Reply-To: <48AD2538.7090506@zmsl.com> References: <48AD2538.7090506@zmsl.com> Message-ID: <1ef612350808210141l1fc7d81ava631cb1fac6e120f@mail.gmail.com> Taxonomy is a "Category". Go to Admin -> Content Management --> Categories. You can add ur categories here. On Thu, Aug 21, 2008 at 1:50 PM, Daniel Carrera wrote: > Hello, > > Just upgraded to Drupal 5 and I can't find the taxonomy module settings. > There must be a place where I define vocabularies and what-not, but for > the life of me I can't figure out where it is. Help? > > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080821/27198881/attachment.htm From daniel.carrera at zmsl.com Thu Aug 21 09:35:19 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Thu, 21 Aug 2008 11:35:19 +0200 Subject: [support] Is Rebuilding Permissions Safe? Message-ID: <48AD36D7.7030503@zmsl.com> Hello, I just upgraded to Drupal 5 and I have some minor problems with taxonomy_access permissions. It occurred to me that I might try "rebuild permissions" before I spent too much time chasing the problem, but when I go to "rebuild permissions" I get a warning: "Are you sure you want to rebuild node permissions on the site? This will wipe all current node permissions and rebuild them based on current settings. Rebuilding the permissions may take a while so please be patient. This action cannot be undone." Is it safe to run "rebuild permissions"? I have permissions so that certain pages can only be edited by certain roles (taxonomy_access). Will those permissions be wiped out? There are a lot of pages on my site including hundreds of blog pages from users with certain default permissions. Is it safe to run rebuild-permissions? This is a test site, and in the worst case I can build it again, but I really really don't want to lose several days' work for no good reason. Thanks. Daniel. From simone.dalmaso at juvox.it Thu Aug 21 09:43:05 2008 From: simone.dalmaso at juvox.it (Simone Dal Maso) Date: Thu, 21 Aug 2008 11:43:05 +0200 Subject: [support] Is Rebuilding Permissions Safe? References: <48AD36D7.7030503@zmsl.com> Message-ID: <217D8ED6004340B3ABAE3F658F00CE1A@xkljiwn14xc> I never have problem with that option. It solved many problems, so I use it without risc. Anyway, a backup is always useful. Bye. -- Simone Dal Maso. Homepage di sviluppo comunita' NVDA: http://www.nvda.it homepage gruppo musicale non piu' aggiornata ma simpatica: http://www.juvox.it ----- Original Message ----- From: "Daniel Carrera" To: Sent: Thursday, August 21, 2008 11:35 AM Subject: [support] Is Rebuilding Permissions Safe? > Hello, > > I just upgraded to Drupal 5 and I have some minor problems with > taxonomy_access permissions. It occurred to me that I might try "rebuild > permissions" before I spent too much time chasing the problem, but when > I go to "rebuild permissions" I get a warning: > > "Are you sure you want to rebuild node permissions on the site? > This will wipe all current node permissions and rebuild them based on > current settings. Rebuilding the permissions may take a while so please > be patient. This action cannot be undone." > > > Is it safe to run "rebuild permissions"? I have permissions so that > certain pages can only be edited by certain roles (taxonomy_access). > Will those permissions be wiped out? There are a lot of pages on my site > including hundreds of blog pages from users with certain default > permissions. Is it safe to run rebuild-permissions? > > This is a test site, and in the worst case I can build it again, but I > really really don't want to lose several days' work for no good reason. > > Thanks. > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] > From daniel.carrera at zmsl.com Thu Aug 21 10:03:02 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Thu, 21 Aug 2008 12:03:02 +0200 Subject: [support] Is Rebuilding Permissions Safe? In-Reply-To: <217D8ED6004340B3ABAE3F658F00CE1A@xkljiwn14xc> References: <48AD36D7.7030503@zmsl.com> <217D8ED6004340B3ABAE3F658F00CE1A@xkljiwn14xc> Message-ID: <48AD3D56.8090206@zmsl.com> Thanks. And thanks for mentioning backups :) I just realize that if I make a backup and then restore it I'll reset everything to the way it was at the time of the backup. So rebuilding permissions would be very low risk. Daniel. Simone Dal Maso wrote: > I never have problem with that option. > It solved many problems, so I use it without risc. Anyway, a backup is > always useful. > Bye. > > > -- > Simone Dal Maso. > > Homepage di sviluppo comunita' NVDA: > http://www.nvda.it > homepage gruppo musicale non piu' aggiornata ma simpatica: > http://www.juvox.it > > ----- Original Message ----- > From: "Daniel Carrera" > To: > Sent: Thursday, August 21, 2008 11:35 AM > Subject: [support] Is Rebuilding Permissions Safe? > > >> Hello, >> >> I just upgraded to Drupal 5 and I have some minor problems with >> taxonomy_access permissions. It occurred to me that I might try "rebuild >> permissions" before I spent too much time chasing the problem, but when >> I go to "rebuild permissions" I get a warning: >> >> "Are you sure you want to rebuild node permissions on the site? >> This will wipe all current node permissions and rebuild them based on >> current settings. Rebuilding the permissions may take a while so please >> be patient. This action cannot be undone." >> >> >> Is it safe to run "rebuild permissions"? I have permissions so that >> certain pages can only be edited by certain roles (taxonomy_access). >> Will those permissions be wiped out? There are a lot of pages on my site >> including hundreds of blog pages from users with certain default >> permissions. Is it safe to run rebuild-permissions? >> >> This is a test site, and in the worst case I can build it again, but I >> really really don't want to lose several days' work for no good reason. >> >> Thanks. >> Daniel. >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > From daniel.carrera at zmsl.com Thu Aug 21 10:12:29 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Thu, 21 Aug 2008 12:12:29 +0200 Subject: [support] Is Rebuilding Permissions Safe? In-Reply-To: <48AD3D56.8090206@zmsl.com> References: <48AD36D7.7030503@zmsl.com> <217D8ED6004340B3ABAE3F658F00CE1A@xkljiwn14xc> <48AD3D56.8090206@zmsl.com> Message-ID: <48AD3F8D.9030006@zmsl.com> Ok. I rebuilt the permissions. I did no harm to the website, but it also didn't help. Oh well. Thanks for the help. Daniel Carrera wrote: > Thanks. > > And thanks for mentioning backups :) I just realize that if I make a > backup and then restore it I'll reset everything to the way it was at > the time of the backup. So rebuilding permissions would be very low risk. > > Daniel. > > > Simone Dal Maso wrote: >> I never have problem with that option. >> It solved many problems, so I use it without risc. Anyway, a backup is >> always useful. >> Bye. >> >> >> -- >> Simone Dal Maso. >> >> Homepage di sviluppo comunita' NVDA: >> http://www.nvda.it >> homepage gruppo musicale non piu' aggiornata ma simpatica: >> http://www.juvox.it >> >> ----- Original Message ----- >> From: "Daniel Carrera" >> To: >> Sent: Thursday, August 21, 2008 11:35 AM >> Subject: [support] Is Rebuilding Permissions Safe? >> >> >>> Hello, >>> >>> I just upgraded to Drupal 5 and I have some minor problems with >>> taxonomy_access permissions. It occurred to me that I might try "rebuild >>> permissions" before I spent too much time chasing the problem, but when >>> I go to "rebuild permissions" I get a warning: >>> >>> "Are you sure you want to rebuild node permissions on the site? >>> This will wipe all current node permissions and rebuild them based on >>> current settings. Rebuilding the permissions may take a while so please >>> be patient. This action cannot be undone." >>> >>> >>> Is it safe to run "rebuild permissions"? I have permissions so that >>> certain pages can only be edited by certain roles (taxonomy_access). >>> Will those permissions be wiped out? There are a lot of pages on my site >>> including hundreds of blog pages from users with certain default >>> permissions. Is it safe to run rebuild-permissions? >>> >>> This is a test site, and in the worst case I can build it again, but I >>> really really don't want to lose several days' work for no good reason. >>> >>> Thanks. >>> Daniel. >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >>> > From dcirotteau at rue89.com Thu Aug 21 10:17:32 2008 From: dcirotteau at rue89.com (Damien Cirotteau) Date: Thu, 21 Aug 2008 12:17:32 +0200 Subject: [support] Is Rebuilding Permissions Safe? In-Reply-To: <48AD3F8D.9030006@zmsl.com> References: <48AD36D7.7030503@zmsl.com> <217D8ED6004340B3ABAE3F658F00CE1A@xkljiwn14xc> <48AD3D56.8090206@zmsl.com> <48AD3F8D.9030006@zmsl.com> Message-ID: FYI please note that rebuilding permission can bring your site down if you have a lot of nodes (for exemple 50.000). There are strategies to face the problem. In D6 it will be much easier with the batch API (I guess, I am not using D6 yet on big sites). In D5, we are hacking the node access module to do a progressive permission rebuiling in an update_X function (which works like the batch API of D6) Damien Cirotteau www.rue89.com On Thu, Aug 21, 2008 at 12:12 PM, Daniel Carrera wrote: > Ok. I rebuilt the permissions. I did no harm to the website, but it also > didn't help. Oh well. > > Thanks for the help. > > Daniel Carrera wrote: >> Thanks. >> >> And thanks for mentioning backups :) I just realize that if I make a >> backup and then restore it I'll reset everything to the way it was at >> the time of the backup. So rebuilding permissions would be very low risk. >> >> Daniel. >> >> >> Simone Dal Maso wrote: >>> I never have problem with that option. >>> It solved many problems, so I use it without risc. Anyway, a backup is >>> always useful. >>> Bye. >>> >>> >>> -- >>> Simone Dal Maso. >>> >>> Homepage di sviluppo comunita' NVDA: >>> http://www.nvda.it >>> homepage gruppo musicale non piu' aggiornata ma simpatica: >>> http://www.juvox.it >>> >>> ----- Original Message ----- >>> From: "Daniel Carrera" >>> To: >>> Sent: Thursday, August 21, 2008 11:35 AM >>> Subject: [support] Is Rebuilding Permissions Safe? >>> >>> >>>> Hello, >>>> >>>> I just upgraded to Drupal 5 and I have some minor problems with >>>> taxonomy_access permissions. It occurred to me that I might try "rebuild >>>> permissions" before I spent too much time chasing the problem, but when >>>> I go to "rebuild permissions" I get a warning: >>>> >>>> "Are you sure you want to rebuild node permissions on the site? >>>> This will wipe all current node permissions and rebuild them based on >>>> current settings. Rebuilding the permissions may take a while so please >>>> be patient. This action cannot be undone." >>>> >>>> >>>> Is it safe to run "rebuild permissions"? I have permissions so that >>>> certain pages can only be edited by certain roles (taxonomy_access). >>>> Will those permissions be wiped out? There are a lot of pages on my site >>>> including hundreds of blog pages from users with certain default >>>> permissions. Is it safe to run rebuild-permissions? >>>> >>>> This is a test site, and in the worst case I can build it again, but I >>>> really really don't want to lose several days' work for no good reason. >>>> >>>> Thanks. >>>> Daniel. >>>> -- >>>> [ Drupal support list | http://lists.drupal.org/ ] >>>> >> > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From daniel.carrera at zmsl.com Thu Aug 21 10:23:44 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Thu, 21 Aug 2008 12:23:44 +0200 Subject: [support] Taxonomy Access Message-ID: <48AD4230.1050407@zmsl.com> Hello, My Taxonomy Access permissions are not working right. The problem is somewhat like this: Imagine I have user roles Teacher and Student. I have a category (taxonomy module) called "Edit" with terms Teacher and Student. The permissions say that if Edit=Teacher then a Student cannot edit that page. The problem is that even when a page is set to Edit=Teacher a Student can edit. Note however that an anonymous user cannot edit the page. I reality the roles in question are different, but it's easier to explain if I call them Teacher and Student. Anyways, the permissions broke in the move to Drupal 5. I just checked the old Drupal 4.7 site and on *that* site the permissions work. I checked the permissions on Drupal 5 and they look fine: 1) I go to admin/user/taxonomy_access 2) I select "edit" on the "Student" role. 3) I go to the "Edit" category (taxonomy). 4) On the row "Teacher" (this is the category term) under "Update" it is set to "Deny". That should be everything, right? I don't understand why it doesn't work. Any suggestions would be welcome. Daniel. From daniel.carrera at zmsl.com Thu Aug 21 10:31:39 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Thu, 21 Aug 2008 12:31:39 +0200 Subject: [support] Taxonomy Access In-Reply-To: <48AD4230.1050407@zmsl.com> References: <48AD4230.1050407@zmsl.com> Message-ID: <48AD440B.2060109@zmsl.com> Nevermind! Sorry for the spam. It never fails, spend 3 hours on a problem and the moment you ask you find the answer. The problem was not with Taxonomy Access at all. Drupal 5 has a new permissions "edit page content" and if it is activated it supersedes whatever Taxonomy Access says and allows the person to edit all pages regardless. It looks like if I just remove this setting then everything works correctly. The Student role cannot edit pages set to Teacher but they can still edit pages set to Student. I just didn't realize how the two access modules played together. Thanks. Daniel Carrera wrote: > Hello, > > My Taxonomy Access permissions are not working right. The problem is > somewhat like this: > > Imagine I have user roles Teacher and Student. I have a category > (taxonomy module) called "Edit" with terms Teacher and Student. The > permissions say that if Edit=Teacher then a Student cannot edit that > page. The problem is that even when a page is set to Edit=Teacher a > Student can edit. Note however that an anonymous user cannot edit the page. > > I reality the roles in question are different, but it's easier to > explain if I call them Teacher and Student. > > Anyways, the permissions broke in the move to Drupal 5. I just checked > the old Drupal 4.7 site and on *that* site the permissions work. I > checked the permissions on Drupal 5 and they look fine: > > 1) I go to admin/user/taxonomy_access > 2) I select "edit" on the "Student" role. > 3) I go to the "Edit" category (taxonomy). > 4) On the row "Teacher" (this is the category term) under "Update" it is > set to "Deny". > > That should be everything, right? I don't understand why it doesn't > work. Any suggestions would be welcome. > > Daniel. From daniel.carrera at zmsl.com Thu Aug 21 14:12:39 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Thu, 21 Aug 2008 16:12:39 +0200 Subject: [support] Forum Modules? Message-ID: <48AD77D7.1040809@zmsl.com> Hello, I am looking for an alternate forum module. I was planning to use UIE Forum but it doesn't seem to be available anymore. What's wrong with the default forums? Well, the default forum uses the comment module to create threads. But I don't want to allow all users to post comments on all pages. I have two user roles: X and Y. I want X and Y both to post to the forum but only X can post comments on blogs. Therefore, I'm looking for a forum module that doesn't use the comments module to do its thing. Any suggestions? I can't find anything on the Modules page: 1) UIE Forum is not available. 2) Flexiforum and Nodeforum are unstable with no work on a Drupal 6 version. 3) Several modules integrate Drupal forums with some other forum program, but that's not what I'm looking for (I don't think). I don't know whether OG Forum uses comments or not. Daniel. From enboig at gmail.com Thu Aug 21 14:35:12 2008 From: enboig at gmail.com (=?ISO-8859-1?Q?Llu=EDs?=) Date: Thu, 21 Aug 2008 16:35:12 +0200 Subject: [support] Forum Modules? In-Reply-To: <48AD77D7.1040809@zmsl.com> References: <48AD77D7.1040809@zmsl.com> Message-ID: <45a29f450808210735y325ba90cv772c947b24d3aabb@mail.gmail.com> maybe using taxonomy_access you can allow certain roles to write comments just on forums. On Thu, Aug 21, 2008 at 4:12 PM, Daniel Carrera wrote: > Hello, > > I am looking for an alternate forum module. I was planning to use UIE > Forum but it doesn't seem to be available anymore. > > What's wrong with the default forums? Well, the default forum uses the > comment module to create threads. But I don't want to allow all users to > post comments on all pages. I have two user roles: X and Y. I want X and > Y both to post to the forum but only X can post comments on blogs. > > Therefore, I'm looking for a forum module that doesn't use the comments > module to do its thing. > > Any suggestions? I can't find anything on the Modules page: > > 1) UIE Forum is not available. > 2) Flexiforum and Nodeforum are unstable with no work on a Drupal 6 version. > 3) Several modules integrate Drupal forums with some other forum > program, but that's not what I'm looking for (I don't think). > > I don't know whether OG Forum uses comments or not. > > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- *La vida ?s com una moneda, la pots gastar en el que vulguis per? nom?s una vegada. *La felicitat ha de ser compatible, compartible i cooperativa. *Envellim quan els records superen les il?lusions. *Als llocs desconeguts nom?s s'hi arriba per camins desconeguts. *Abans d'imprimir aquest missatge, pensa en el medi ambient. From amont at 5net.hu Thu Aug 21 15:32:06 2008 From: amont at 5net.hu (=?ISO-8859-2?Q?=C1mon_Tam=E1s?=) Date: Thu, 21 Aug 2008 17:32:06 +0200 Subject: [support] select items from ajax Message-ID: <48AD8A76.1020001@5net.hu> Hello, How can I fill a select field from ajax in drupal 6? When I try to fill it I get the error: An illegal choice has been detected. Please contact the site administrator. Is it only possible with #ahah? ?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 daniel.carrera at zmsl.com Thu Aug 21 16:17:43 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Thu, 21 Aug 2008 18:17:43 +0200 Subject: [support] Forum Modules? In-Reply-To: <45a29f450808210735y325ba90cv772c947b24d3aabb@mail.gmail.com> References: <48AD77D7.1040809@zmsl.com> <45a29f450808210735y325ba90cv772c947b24d3aabb@mail.gmail.com> Message-ID: <48AD9527.3050100@zmsl.com> Llu?s wrote: > maybe using taxonomy_access you can allow certain roles to write > comments just on forums. I can't find any way to do that. I just took another look in case I'm missing something, but it looks to me that taxonomy_access only lets me control whether people can post forum *topics*. So you can start a new topic, but you can't reply to it. I am not sure that taxonomy access can do anything at all with comments. You know when you create a new vocabulary (category), you have to enter what type of pages the vocabulary applies to. The options are: Forum topic, Blog entry, Page, Story. That's it. There is no option that says "comment", much less "comment inside a forum". :-( I don't understand why blog comments have to be attached to forum replies. It seems like such strange and inconvenient choice. There has to be a way to have different permissions for blog comments and for forum replies. Daniel. From mike at mikeyp.net Thu Aug 21 16:37:43 2008 From: mike at mikeyp.net (Michael Prasuhn) Date: Thu, 21 Aug 2008 09:37:43 -0700 Subject: [support] Taxonomy Module In-Reply-To: <1ef612350808210141l1fc7d81ava631cb1fac6e120f@mail.gmail.com> References: <48AD2538.7090506@zmsl.com> <1ef612350808210141l1fc7d81ava631cb1fac6e120f@mail.gmail.com> Message-ID: <5A1A5AB5-883B-4D71-A17E-E95C09F2874A@mikeyp.net> Please note that in Drupal 6 this has been changed back to Taxonomy again. -Mike On Aug 21, 2008, at 1:41 AM, Naresh Vajawat wrote: > Taxonomy is a "Category". Go to Admin -> Content Management --> > Categories. You can add ur categories here. > > On Thu, Aug 21, 2008 at 1:50 PM, Daniel Carrera > wrote: > Hello, > > Just upgraded to Drupal 5 and I can't find the taxonomy module > settings. > There must be a place where I define vocabularies and what-not, but > for > the life of me I can't figure out where it is. Help? > > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] > > -- > [ Drupal support list | http://lists.drupal.org/ ] __________________ Michael Prasuhn mike at mikeyp.net http://mikeyp.net 503.488.5433 714.356.0168 cell 949.200.7670 fax From bchoc at t4tcolorado.org Thu Aug 21 17:11:11 2008 From: bchoc at t4tcolorado.org (Brian Choc) Date: Thu, 21 Aug 2008 11:11:11 -0600 Subject: [support] Forum Modules? In-Reply-To: <48AD9527.3050100@zmsl.com> References: <48AD77D7.1040809@zmsl.com> <45a29f450808210735y325ba90cv772c947b24d3aabb@mail.gmail.com> <48AD9527.3050100@zmsl.com> Message-ID: <002701c903b0$e9d90090$bd8b01b0$@org> The Forum Access module might be more helpful, but perhaps the opposite effect. http://drupal.org/project/forum_access If you really want the UIE Forum module, it appears to still be available for download here: http://drupalmodules.com/module/uie-forum (But it was likely pulled for a reason, so proceed with caution.) There are also a number of forum integration modules including phpBB, SMF, FUD, and others so you can probably find something that suits your needs. Brian -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Daniel Carrera Sent: Thursday, August 21, 2008 10:18 AM To: support at drupal.org Subject: Re: [support] Forum Modules? Llu?s wrote: > maybe using taxonomy_access you can allow certain roles to write > comments just on forums. I can't find any way to do that. I just took another look in case I'm missing something, but it looks to me that taxonomy_access only lets me control whether people can post forum *topics*. So you can start a new topic, but you can't reply to it. I am not sure that taxonomy access can do anything at all with comments. You know when you create a new vocabulary (category), you have to enter what type of pages the vocabulary applies to. The options are: Forum topic, Blog entry, Page, Story. That's it. There is no option that says "comment", much less "comment inside a forum". :-( I don't understand why blog comments have to be attached to forum replies. It seems like such strange and inconvenient choice. There has to be a way to have different permissions for blog comments and for forum replies. Daniel. -- [ Drupal support list | http://lists.drupal.org/ ] From daniel.carrera at zmsl.com Thu Aug 21 18:03:08 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Thu, 21 Aug 2008 20:03:08 +0200 Subject: [support] Forum Modules? In-Reply-To: <002701c903b0$e9d90090$bd8b01b0$@org> References: <48AD77D7.1040809@zmsl.com> <45a29f450808210735y325ba90cv772c947b24d3aabb@mail.gmail.com> <48AD9527.3050100@zmsl.com> <002701c903b0$e9d90090$bd8b01b0$@org> Message-ID: <48ADADDC.5060708@zmsl.com> Brian Choc wrote: > The Forum Access module might be more helpful, but perhaps the opposite > effect. > http://drupal.org/project/forum_access Yeah. Opposite effect. :( > If you really want the UIE Forum module, it appears to still be available > for download here: > http://drupalmodules.com/module/uie-forum > (But it was likely pulled for a reason, so proceed with caution.) I wish I knew why it was pulled out. I went to IRC but the bot says that "zoro" hasn't been around for 10 weeks, so I don't have much hope that I'll see him in the next couple of days. Is there an email address at which I might reach him? > There are also a number of forum integration modules including phpBB, SMF, > FUD, and others so you can probably find something that suits your needs. I assumed that those simply converted the 3rd party forum into a Drupal forum, but taking a closer look, I'm not sure that that's what they do. I'll experiment with them. Thanks. Daniel. From daniel.carrera at zmsl.com Thu Aug 21 18:22:55 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Thu, 21 Aug 2008 20:22:55 +0200 Subject: [support] Forum Modules? In-Reply-To: <48ADADDC.5060708@zmsl.com> References: <48AD77D7.1040809@zmsl.com> <45a29f450808210735y325ba90cv772c947b24d3aabb@mail.gmail.com> <48AD9527.3050100@zmsl.com> <002701c903b0$e9d90090$bd8b01b0$@org> <48ADADDC.5060708@zmsl.com> Message-ID: <48ADB27F.7070507@zmsl.com> Daniel Carrera wrote: >> There are also a number of forum integration modules including phpBB, SMF, >> FUD, and others so you can probably find something that suits your needs. > > I assumed that those simply converted the 3rd party forum into a Drupal > forum, but taking a closer look, I'm not sure that that's what they do. > I'll experiment with them. Thanks. Ah, SMF looks like the right choice. It is the only forum for which there are modules for both Drupal 5 and 6. This is important because I want my upgrade to Drupal 6 to be smooth. I'll go try it now. Thanks for the help. From fredthejonester at gmail.com Thu Aug 21 22:05:42 2008 From: fredthejonester at gmail.com (Fred Jones) Date: Fri, 22 Aug 2008 00:05:42 +0200 Subject: [support] Drag and Drop Upload Message-ID: <177c0a10808211505o492fb9e5x336938d787801b39@mail.gmail.com> I need to install a drag and drop file uploader for one client, which accepts multiple files. The files need just to be saved on the server in a pre-set folder--it anyway appears that the tools I am finding send the uploaded files to whatever script is specified, so I can process them as I see fit. I have found these: http://www.radinks.com/upload/applet.php http://upload.thinfile.com/upload/demo.php which both seem nice and also this free tool: http://jupload.sourceforge.net/ which doesn't actually work for me :( Anyhow can anyone share any other information or experience about such tools? Thanks! From drupal-support at robuustdesign.nl Thu Aug 21 22:23:25 2008 From: drupal-support at robuustdesign.nl (Stefan Nagtegaal) Date: Fri, 22 Aug 2008 00:23:25 +0200 Subject: [support] Drag and Drop Upload In-Reply-To: <177c0a10808211505o492fb9e5x336938d787801b39@mail.gmail.com> References: <177c0a10808211505o492fb9e5x336938d787801b39@mail.gmail.com> Message-ID: <652A7831-A9CD-45B4-9D2D-711FD326E0C0@robuustdesign.nl> Op 22 aug 2008, om 00:05 heeft Fred Jones het volgende geschreven: > I need to install a drag and drop file uploader for one client, which > accepts multiple files. The files need just to be saved on the server > in a pre-set folder--it anyway appears that the tools I am finding > send the uploaded files to whatever script is specified, so I can > process them as I see fit. > > I have found these: > > http://www.radinks.com/upload/applet.php > http://upload.thinfile.com/upload/demo.php > > which both seem nice and also this free tool: > > http://jupload.sourceforge.net/ > > which doesn't actually work for me :( > > Anyhow can anyone share any other information or experience about > such tools? this seems to be something near what you want: http://drupal.org/node/185458 Stefan Nagtegaal From ratadi2 at gmail.com Fri Aug 22 06:37:24 2008 From: ratadi2 at gmail.com (geniekids) Date: Thu, 21 Aug 2008 23:37:24 -0700 (PDT) Subject: [support] simplenews - Bouncing emails, Background colour & other issues Message-ID: <19101811.post@talk.nabble.com> Description I tried my first email newsletter with simplenews. 1. How does simple news handle bounced emails. I am mailing to 7000+ emails. Surely many emails will get bounced. But i did not get any email in the sender email box. Is there a way to check that and get the list of bouncing emails ids. (to clean up the list) 2. I have set Cron throttle to 100 and set Initial send time: 2seconds (default value)). Cron using poormanscron is set to run every 10 minutes. Ae these appropriate settings? 3. Also while composing i had not put any background colour and formatted the html email in TINYMCE. During delivery - only to yahoo email ids - it is adding a ugly background colour which is making it almost impossible to read the email. This is not happening in gmail or hotmail! What could be causing this? 4. Also fundamentally is simple news the "right choice" for emailing something to a large number like 7000+ emails. Should i be looking at some other module or any other mailing package - any recommendations - is mailman a better choice. Though i love the integration of simple news into the drupal website and ease of subscribing offered to the visitors. thanks in advance -- View this message in context: http://www.nabble.com/simplenews---Bouncing-emails%2C-Background-colour---other-issues-tp19101811p19101811.html Sent from the Drupal - Support mailing list archive at Nabble.com. From info at koba.be Fri Aug 22 07:02:22 2008 From: info at koba.be (KOBA | Hans Rossel) Date: Fri, 22 Aug 2008 09:02:22 +0200 Subject: [support] simplenews - Bouncing emails, Background colour & other issues In-Reply-To: <19101811.post@talk.nabble.com> References: <19101811.post@talk.nabble.com> Message-ID: <51a9b8330808220002w222b8b87v86575121094c443@mail.gmail.com> 1. Bounce handling is not yet present in simplenews, but is one of the things that is on the road map, there are some ideas/pieces of code in the issue queue of simplenews that can help allready. Check the mail directory on your server as bounced emails can end up there. Check also the simplenews questionnaire http://simplenews.erikstielstra.nl/ to see more of the stuff that could improve simplenews. 2. Put initial send time to 0 otherwise you will have newletters send out multiple times (I had between 2 and 7 times, see also http://drupal.org/node/125865) to the same subscriber. 100 and 10 minutes could be ok, but will depend also on the traffic your server is having. At night sending a batch of 100 newsletters can easily take 5 times less time than during the most busy hours of the day. Ask simplenews to log the sending and check watchdog to see how long it takes to send the 100 mails and adjust cron time accordingly, you can still do this when the sending has started. Give some extra time as a buffer as too short time between cron runs will also cause newsletters to be send out multiple times due to cron overrun. 3. In tinymce select the last option and select for css: "use tinymce default" (this is probably on use theme css for you). 4. I have used simplenews for over 35000 subscribers so the number is not a problem. Just give more than enough time to get the newsletters out to prevent cron overrun and doubles send out. The main disadvantages of simplenews are stuff that are also mentioned in the questionnaire like bounce handling and statistics (even a basic question as are my newsletters read is not answered, let alone the fancy statistics you have on commercial applications). Theming seemed a problem for me at first sight but with a bit of searching I found the solution to that and described it in http://drupal.org/node/268404. I have not used mailman, but I know you can setup a workflow which integrates mailman with Drupal. Good luck, Hans 2008/8/22 geniekids > > Description > > I tried my first email newsletter with simplenews. > > 1. How does simple news handle bounced emails. I am mailing to 7000+ > emails. > Surely many emails will get bounced. But i did not get any email in the > sender email box. Is there a way to check that and get the list of bouncing > emails ids. (to clean up the list) > > 2. I have set Cron throttle to 100 and set Initial send time: 2seconds > (default value)). Cron using poormanscron is set to run every 10 minutes. > Ae > these appropriate settings? > > 3. Also while composing i had not put any background colour and formatted > the html email in TINYMCE. During delivery - only to yahoo email ids - it > is > adding a ugly background colour which is making it almost impossible to > read > the email. This is not happening in gmail or hotmail! What could be causing > this? > > 4. Also fundamentally is simple news the "right choice" for emailing > something to a large number like 7000+ emails. Should i be looking at some > other module or any other mailing package - any recommendations - is > mailman > a better choice. Though i love the integration of simple news into the > drupal website and ease of subscribing offered to the visitors. > > thanks in advance > -- > View this message in context: > http://www.nabble.com/simplenews---Bouncing-emails%2C-Background-colour---other-issues-tp19101811p19101811.html > Sent from the Drupal - Support mailing list archive at Nabble.com. > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Hans Rossel KOBA Webdevelopment Kerkstraat 228 9050 Gent 09-334.52.60 0472-79.32.16 www.koba.be info at koba.be -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080822/dd42957c/attachment.htm From bharanikumariyerphp at gmail.com Fri Aug 22 07:29:04 2008 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Fri, 22 Aug 2008 12:59:04 +0530 Subject: [support] scheduler Message-ID: <2240033d0808220029i644fe684gf4fdbebc022564cc@mail.gmail.com> I am using scheduler module, i set the publish on time, publish time is crossed, but still article not displayed , any idea i did this also i Enabled the scheduler in content type(story) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080822/6a8cec72/attachment.htm From kieran at acquia.com Fri Aug 22 07:56:18 2008 From: kieran at acquia.com (Kieran Lal) Date: Fri, 22 Aug 2008 09:56:18 +0200 Subject: [support] A list of available paid Drupal support packages for Drupal.org Message-ID: <139ae7e90808220056q108357dbp6b7e2c26c74bd20d@mail.gmail.com> Hi, there a few companies that offer support for Drupal but they are not mentioned at http://drupal.org/support. I would like to add a section for paid support, which is different than the section on "Professional services and hosting" that is currently list on the page. SpikeSource used to offer support for Drupal in their environment, but it's hard to find on their site now. Bryght has recently relaunched their hosting services: http://support.bryght.com/ OpenLogic is offering support packages: https://olex.openlogic.com/packages/drupal Growing Venture Solutions (Greg Knaddision) offers support packages: http://growingventuresolutions.com/about/services/drupal-support-and-training OpenConcept also offers support: http://openconcept.ca/drupal_support A lot of companies offer support as part of a site development package. I think this is different, as you have to have a big initial capital commitent to having a particular company build your site, but I would like to hear your thoughts about whether Drupal consulting is considered support. For example: http://imagexmedia.com/support/purchasing-support-training If you are aware of support packages for Drupal, or if you offer them, please respond so we can get a full list of options available to Drupal users. I've also cross posted to the post-installation support forum here: http://drupal.org/node/298497 Cheers, Kieran -- Drupal community adventure guide, Acquia Inc. Drupal events, Drupal.org re-design -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080822/8c8ec851/attachment.htm From ratadi2 at gmail.com Fri Aug 22 08:17:54 2008 From: ratadi2 at gmail.com (geniekids) Date: Fri, 22 Aug 2008 01:17:54 -0700 (PDT) Subject: [support] simplenews - Bouncing emails, Background colour & other issues In-Reply-To: <51a9b8330808220002w222b8b87v86575121094c443@mail.gmail.com> References: <19101811.post@talk.nabble.com> <51a9b8330808220002w222b8b87v86575121094c443@mail.gmail.com> Message-ID: <19103281.post@talk.nabble.com> Thanks a ton for the wonderfully detailed response. Helped me a lot. Have filled up the questionnaire. Will continue to use simplenews with MORE confidence. :-) KOBA | Hans Rossel wrote: > > 1. Bounce handling is not yet present in simplenews, but is one of the > things that is on the road map, there are some ideas/pieces of code in the > issue queue of simplenews that can help allready. Check the mail directory > on your server as bounced emails can end up there. Check also the > simplenews > questionnaire http://simplenews.erikstielstra.nl/ to see more of the stuff > that could improve simplenews. > > 2. Put initial send time to 0 otherwise you will have newletters send out > multiple times (I had between 2 and 7 times, see also > http://drupal.org/node/125865) to the same subscriber. 100 and 10 minutes > could be ok, but will depend also on the traffic your server is having. At > night sending a batch of 100 newsletters can easily take 5 times less time > than during the most busy hours of the day. Ask simplenews to log the > sending and check watchdog to see how long it takes to send the 100 mails > and adjust cron time accordingly, you can still do this when the sending > has > started. Give some extra time as a buffer as too short time between cron > runs will also cause newsletters to be send out multiple times due to cron > overrun. > > 3. In tinymce select the last option and select for css: "use tinymce > default" (this is probably on use theme css for you). > > 4. I have used simplenews for over 35000 subscribers so the number is not > a > problem. Just give more than enough time to get the newsletters out to > prevent cron overrun and doubles send out. The main disadvantages of > simplenews are stuff that are also mentioned in the questionnaire like > bounce handling and statistics (even a basic question as are my > newsletters > read is not answered, let alone the fancy statistics you have on > commercial > applications). Theming seemed a problem for me at first sight but with a > bit > of searching I found the solution to that and described it in > http://drupal.org/node/268404. I have not used mailman, but I know you can > setup a workflow which integrates mailman with Drupal. > > Good luck, > > Hans > > > > > 2008/8/22 geniekids > >> >> Description >> >> I tried my first email newsletter with simplenews. >> >> 1. How does simple news handle bounced emails. I am mailing to 7000+ >> emails. >> Surely many emails will get bounced. But i did not get any email in the >> sender email box. Is there a way to check that and get the list of >> bouncing >> emails ids. (to clean up the list) >> >> 2. I have set Cron throttle to 100 and set Initial send time: 2seconds >> (default value)). Cron using poormanscron is set to run every 10 minutes. >> Ae >> these appropriate settings? >> >> 3. Also while composing i had not put any background colour and formatted >> the html email in TINYMCE. During delivery - only to yahoo email ids - it >> is >> adding a ugly background colour which is making it almost impossible to >> read >> the email. This is not happening in gmail or hotmail! What could be >> causing >> this? >> >> 4. Also fundamentally is simple news the "right choice" for emailing >> something to a large number like 7000+ emails. Should i be looking at >> some >> other module or any other mailing package - any recommendations - is >> mailman >> a better choice. Though i love the integration of simple news into the >> drupal website and ease of subscribing offered to the visitors. >> >> thanks in advance >> -- >> View this message in context: >> http://www.nabble.com/simplenews---Bouncing-emails%2C-Background-colour---other-issues-tp19101811p19101811.html >> Sent from the Drupal - Support mailing list archive at Nabble.com. >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > > -- > Hans Rossel > KOBA Webdevelopment > Kerkstraat 228 > 9050 Gent > 09-334.52.60 > 0472-79.32.16 > www.koba.be > info at koba.be > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- View this message in context: http://www.nabble.com/simplenews---Bouncing-emails%2C-Background-colour---other-issues-tp19101811p19103281.html Sent from the Drupal - Support mailing list archive at Nabble.com. From daniel.carrera at zmsl.com Fri Aug 22 11:44:53 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Fri, 22 Aug 2008 13:44:53 +0200 Subject: [support] Session Cookies and subdomains Message-ID: <48AEA6B5.4020300@zmsl.com> Hello, Drupal seems to keep a different set of cookies for each subdomain. For example, it is possible to be logged in as User_1 in http://foo.org and at the same time, on the same browser, to be logged in as User_2 in http://www.foo.org I figure that this is because Drupal's cookies are different for foo.org and www.foo.org I've had complaints from users that they log in as one user and magically they appear as a different user. I'm thinking that perhaps this url/cookie issue is the root problem. Is there a way to tell Drupal to use a single set of cookies for all domains? If I recall correctly, if you set the cookie domain to .foo.org (notice the '.' at the beginning) the cookie will apply to all domains. Does anyone know where I might set this? Thanks. Daniel. From earnie at users.sourceforge.net Fri Aug 22 12:27:29 2008 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Fri, 22 Aug 2008 08:27:29 -0400 Subject: [support] Session Cookies and subdomains In-Reply-To: <48AEA6B5.4020300@zmsl.com> References: <48AEA6B5.4020300@zmsl.com> Message-ID: <20080822082729.vd25bl7uhpp4c800@mail.progw.org> Quoting Daniel Carrera : > Hello, > > Drupal seems to keep a different set of cookies for each subdomain. For > example, it is possible to be logged in as User_1 in http://foo.org and > at the same time, on the same browser, to be logged in as User_2 in > http://www.foo.org > > I figure that this is because Drupal's cookies are different for foo.org > and www.foo.org > > I've had complaints from users that they log in as one user and > magically they appear as a different user. I'm thinking that perhaps > this url/cookie issue is the root problem. > > Is there a way to tell Drupal to use a single set of cookies for all > domains? If I recall correctly, if you set the cookie domain to .foo.org > (notice the '.' at the beginning) the cookie will apply to all domains. > Does anyone know where I might set this? > The fix is easy: 1) settings.php 2) search for $cookie_domain 3) edit the line to set it to the domain you desire, e.g. www.foo.org. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/ From daniel.carrera at zmsl.com Fri Aug 22 12:39:43 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Fri, 22 Aug 2008 14:39:43 +0200 Subject: [support] Session Cookies and subdomains In-Reply-To: <20080822082729.vd25bl7uhpp4c800@mail.progw.org> References: <48AEA6B5.4020300@zmsl.com> <20080822082729.vd25bl7uhpp4c800@mail.progw.org> Message-ID: <48AEB38F.9050901@zmsl.com> Earnie Boyd wrote: > The fix is easy: 1) settings.php > 2) search for $cookie_domain > 3) edit the line to set it to the domain you desire, e.g. www.foo.org. And if I set the domain to .foo.org then the same cookie will apply to all domains under foo.org? (foo.org, www.foo.org, test.foo.org, etc) From daniel.carrera at zmsl.com Fri Aug 22 12:46:14 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Fri, 22 Aug 2008 14:46:14 +0200 Subject: [support] Session Cookies and subdomains In-Reply-To: <48AEB38F.9050901@zmsl.com> References: <48AEA6B5.4020300@zmsl.com> <20080822082729.vd25bl7uhpp4c800@mail.progw.org> <48AEB38F.9050901@zmsl.com> Message-ID: <48AEB516.2030800@zmsl.com> Daniel Carrera wrote: > Earnie Boyd wrote: >> The fix is easy: 1) settings.php >> 2) search for $cookie_domain >> 3) edit the line to set it to the domain you desire, e.g. www.foo.org. > > And if I set the domain to .foo.org then the same cookie will apply to > all domains under foo.org? (foo.org, www.foo.org, test.foo.org, etc) Setting it to .foo.org didn't work, but setting it to some other domain (foo.org or www.foo.org) works correctly. I'm happy with that. I don't have my heart set on a cookie domain. Thanks a lot! Daniel. From max.linuxtime at gmail.com Fri Aug 22 13:49:55 2008 From: max.linuxtime at gmail.com (Massimiliano Marini) Date: Fri, 22 Aug 2008 15:49:55 +0200 Subject: [support] Create content page now is empty Message-ID: <441bcae80808220649i767253b2na23bc9454f7207b0@mail.gmail.com> Hi all, In my navigation block now I got 2 "Create content" but when I click in both of case the "Create content" page is empty, no "Page" no "Blog" no "Book" appear, but in the table "node_type" of database the information are stored correctly. All this happened after an upgrade, from 5.x to 6.4 version by version. Where is the problem? Thanks for any kind of help -- Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/ "It's easier to invent the future than to predict it." -- Alan Kay From victorkane at gmail.com Fri Aug 22 14:13:05 2008 From: victorkane at gmail.com (Victor Kane) Date: Fri, 22 Aug 2008 11:13:05 -0300 Subject: [support] Create content page now is empty In-Reply-To: <441bcae80808220649i767253b2na23bc9454f7207b0@mail.gmail.com> References: <441bcae80808220649i767253b2na23bc9454f7207b0@mail.gmail.com> Message-ID: Do you have the cck module installed, and if so, did you upgrade to the latest 5.x version before upgrading to Drupal 6? What other modules were present during the upgrade? On Fri, Aug 22, 2008 at 10:49 AM, Massimiliano Marini wrote: > Hi all, > > In my navigation block now I got 2 "Create content" but when I click > in both of case the "Create content" page is empty, no "Page" no > "Blog" no "Book" appear, but in the table "node_type" of database the > information are stored correctly. > > All this happened after an upgrade, from 5.x to 6.4 version by version. > > Where is the problem? > > Thanks for any kind of help > -- > Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/ > "It's easier to invent the future than to predict it." -- Alan Kay > -- > [ Drupal support list | http://lists.drupal.org/ ] > From max.linuxtime at gmail.com Fri Aug 22 14:25:51 2008 From: max.linuxtime at gmail.com (Massimiliano Marini) Date: Fri, 22 Aug 2008 16:25:51 +0200 Subject: [support] Create content page now is empty In-Reply-To: References: <441bcae80808220649i767253b2na23bc9454f7207b0@mail.gmail.com> Message-ID: <441bcae80808220725j5be1474fw52524d356a6d7048@mail.gmail.com> > Do you have the cck module installed, and if so, did you upgrade to > the latest 5.x version before upgrading to Drupal 6? Yes > What other modules were present during the upgrade? CCK is not installed, never used. FCKEditor (now no editor is installed) FAQ module (now no FAQ module is installed) -- Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/ "It's easier to invent the future than to predict it." -- Alan Kay From daniel.carrera at zmsl.com Fri Aug 22 14:29:06 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Fri, 22 Aug 2008 16:29:06 +0200 Subject: [support] Blocks and Themes Message-ID: <48AECD32.3050904@zmsl.com> Hello, I have a block that I would like to have appear in *all* themes. I don't want to activate it for each and every one of the 30 themes that I have on my website. Is there an easier way? Can I activate it once for all? Thanks. Daniel. From simone.dalmaso at juvox.it Fri Aug 22 14:54:42 2008 From: simone.dalmaso at juvox.it (Simone Dal Maso) Date: Fri, 22 Aug 2008 16:54:42 +0200 Subject: [support] Create content page now is empty References: <441bcae80808220649i767253b2na23bc9454f7207b0@mail.gmail.com> <441bcae80808220725j5be1474fw52524d356a6d7048@mail.gmail.com> Message-ID: <2BCCF4F4595443CF8880D64EEE4485C2@shtututu> mmm, is this happening with the "admin" account? other users can create contents? check your privileges for each content type. Bye! From max.linuxtime at gmail.com Fri Aug 22 17:03:27 2008 From: max.linuxtime at gmail.com (Massimiliano Marini) Date: Fri, 22 Aug 2008 19:03:27 +0200 Subject: [support] Create content page now is empty In-Reply-To: <2BCCF4F4595443CF8880D64EEE4485C2@shtututu> References: <441bcae80808220649i767253b2na23bc9454f7207b0@mail.gmail.com> <441bcae80808220725j5be1474fw52524d356a6d7048@mail.gmail.com> <2BCCF4F4595443CF8880D64EEE4485C2@shtututu> Message-ID: <441bcae80808221003q41a808cdv3dc424d2a47836b3@mail.gmail.com> > is this happening with the "admin" account? Yes > other users can create contents? No > check your privileges for each content type. Done., but all seems to be right. Attached image with the error. -- Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/ "It's easier to invent the future than to predict it." -- Alan Kay -------------- next part -------------- A non-text attachment was scrubbed... Name: drupal-error.png Type: image/png Size: 15980 bytes Desc: not available Url : http://lists.drupal.org/pipermail/support/attachments/20080822/de5e9851/attachment-0001.png From daniel.carrera at zmsl.com Fri Aug 22 17:07:00 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Fri, 22 Aug 2008 19:07:00 +0200 Subject: [support] Blocks and Themes In-Reply-To: <48AECD32.3050904@zmsl.com> References: <48AECD32.3050904@zmsl.com> Message-ID: <48AEF234.1000903@zmsl.com> I decided to bite the bullet and setup the block in all themes. Daniel Carrera wrote: > Hello, > > I have a block that I would like to have appear in *all* themes. I don't > want to activate it for each and every one of the 30 themes that I have > on my website. Is there an easier way? Can I activate it once for all? > > Thanks. > Daniel. From cog.rusty at gmail.com Fri Aug 22 20:22:33 2008 From: cog.rusty at gmail.com (Cog Rusty) Date: Fri, 22 Aug 2008 23:22:33 +0300 Subject: [support] Session Cookies and subdomains In-Reply-To: <48AEB516.2030800@zmsl.com> References: <48AEA6B5.4020300@zmsl.com> <20080822082729.vd25bl7uhpp4c800@mail.progw.org> <48AEB38F.9050901@zmsl.com> <48AEB516.2030800@zmsl.com> Message-ID: On Fri, Aug 22, 2008 at 3:46 PM, Daniel Carrera wrote: > Daniel Carrera wrote: >> Earnie Boyd wrote: >>> The fix is easy: 1) settings.php >>> 2) search for $cookie_domain >>> 3) edit the line to set it to the domain you desire, e.g. www.foo.org. >> >> And if I set the domain to .foo.org then the same cookie will apply to >> all domains under foo.org? (foo.org, www.foo.org, test.foo.org, etc) > > Setting it to .foo.org didn't work, but setting it to some other domain > (foo.org or www.foo.org) works correctly. I'm happy with that. I don't > have my heart set on a cookie domain. That should be fine. The Drupal variable $cookie_domain = 'example.com' is not the same thing as ini_set('session.cookie_domain', ".example.com") with the front dot, but it results in the same thing if I remember correctly. > Thanks a lot! > > Daniel. > -- > [ Drupal support list | http://lists.drupal.org/ ] > From mvgrootel at gmail.com Sat Aug 23 07:57:44 2008 From: mvgrootel at gmail.com (Maarten van Grootel) Date: Sat, 23 Aug 2008 09:57:44 +0200 Subject: [support] Blocks and Themes In-Reply-To: <48AEF234.1000903@zmsl.com> References: <48AECD32.3050904@zmsl.com> <48AEF234.1000903@zmsl.com> Message-ID: <9f8bbf980808230057y2776dbhd105cb1eb4cf6515@mail.gmail.com> Just to answer your original question for completeness: no you can't do this for all themes, because some themes use different names for similar regions. So if you could say "Put this block on in all themes on the region named 'rightbar'", some themes still wouldn't display the block because they might lacked a rightbar, or called it differently like 'right-bar', 'rightmenu' or simply 'right'. Kind regards, Maarten On Fri, Aug 22, 2008 at 7:07 PM, Daniel Carrera wrote: > I decided to bite the bullet and setup the block in all themes. > > Daniel Carrera wrote: > > Hello, > > > > I have a block that I would like to have appear in *all* themes. I don't > > want to activate it for each and every one of the 30 themes that I have > > on my website. Is there an easier way? Can I activate it once for all? > > > > Thanks. > > Daniel. > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080823/00441041/attachment.htm From mvgrootel at gmail.com Sat Aug 23 08:06:56 2008 From: mvgrootel at gmail.com (Maarten van Grootel) Date: Sat, 23 Aug 2008 10:06:56 +0200 Subject: [support] scheduler In-Reply-To: <2240033d0808220029i644fe684gf4fdbebc022564cc@mail.gmail.com> References: <2240033d0808220029i644fe684gf4fdbebc022564cc@mail.gmail.com> Message-ID: <9f8bbf980808230106l2bb9f49fjc97b7e29b855e969@mail.gmail.com> I believe scheduler requires cron. Cron is a system running at the background of a server periodically performing tasks. Like forcing drupal to check whether some nodes need publishing according their scheduled time. To learn more about cron and how to activate it for your site, please read http://drupal.org/cron Good luck, Maarten van Grootel On Fri, Aug 22, 2008 at 9:29 AM, bharani kumar < bharanikumariyerphp at gmail.com> wrote: > I am using scheduler module, > i set the publish on time, publish time is crossed, but still article not > displayed , any idea > > i did this also i Enabled the scheduler in content type(story) > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080823/6015ea1b/attachment.htm From mvgrootel at gmail.com Sat Aug 23 08:17:40 2008 From: mvgrootel at gmail.com (Maarten van Grootel) Date: Sat, 23 Aug 2008 10:17:40 +0200 Subject: [support] Display a page in footer In-Reply-To: <6069536c0808200427kfe878aeld65a51044afbf006@mail.gmail.com> References: <6069536c0808200427kfe878aeld65a51044afbf006@mail.gmail.com> Message-ID: <9f8bbf980808230117m6027a7d3o4a7209c261c209c@mail.gmail.com> You want to display one or more nodes in the footer region of your theme, using Views (the module)? Create a view that produces a block. The type should be 'full nodes', to display the nodes you need. Then add views-filters to display just the nodes you want (by ID, for example). Good luck, Maarten van Grootel On Wed, Aug 20, 2008 at 1:27 PM, vinod kanted wrote: > How to display a page(node) in footer column in a view , For Example we > need to have 2 nodes to be displayed then how to go about using views > footer region > > -- > > Regards, > Vinod Kanted > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.drupal.org/pipermail/support/attachments/20080823/945bf81c/attachment.htm From daniel.carrera at zmsl.com Sat Aug 23 09:10:32 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Sat, 23 Aug 2008 11:10:32 +0200 Subject: [support] Blocks and Themes In-Reply-To: <9f8bbf980808230057y2776dbhd105cb1eb4cf6515@mail.gmail.com> References: <48AECD32.3050904@zmsl.com> <48AEF234.1000903@zmsl.com> <9f8bbf980808230057y2776dbhd105cb1eb4cf6515@mail.gmail.com> Message-ID: <48AFD408.5000503@zmsl.com> I see. :-( Maarten van Grootel wrote: > Just to answer your original question for completeness: no you can't do > this for all themes, because some themes use different names for similar > regions. So if you could say "Put this block on in all themes on the > region named 'rightbar'", some themes still wouldn't display the block > because they might lacked a rightbar, or called it differently like > 'right-bar', 'rightmenu' or simply 'right'. > > Kind regards, > Maarten > > On Fri, Aug 22, 2008 at 7:07 PM, Daniel Carrera > wrote: > > I decided to bite the bullet and setup the block in all themes. > > Daniel Carrera wrote: > > Hello, > > > > I have a block that I would like to have appear in *all* themes. > I don't > > want to activate it for each and every one of the 30 themes that > I have > > on my website. Is there an easier way? Can I activate it once for > all? > > > > Thanks. > > Daniel. > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > From daniel.carrera at zmsl.com Sat Aug 23 11:59:16 2008 From: daniel.carrera at zmsl.com (Daniel Carrera) Date: Sat, 23 Aug 2008 13:59:16 +0200 Subject: [support] Question about iFrames Message-ID: <48AFFB94.9040604@zmsl.com> Hello, This is an HTML question. I installed the Moodle integration module. It puts Moodle inside an