From ericcornely at gmail.com Wed Jul 1 09:44:58 2009 From: ericcornely at gmail.com (Eric Cornely) Date: Wed, 01 Jul 2009 11:44:58 +0200 Subject: [support] How a module can offer its own webservice ? Message-ID: <4A4B301A.7020904@gmail.com> Hello, I built my first module which stores data in its own tables using db_query(...). Now, i'd like to manage thoses tables through a webservice which would be a part of my module but i'm wondering how to achieve it. As it is my first module i'm not really familiar with the API so how could i integrate a uri in drupal site which would lead to a php5 web service and how could i get access to db_query() in that script ? I thought about : http://localhost/drupal/sites/default/modules/myfirstmodule/service.php Or maybe is there a special hook in modules that does not lead to a drupal page with theming etc. Until now i only could create blocks. If anybody has hints, i would appreciate. Thanks, Eric From fredthejonester at gmail.com Wed Jul 1 10:13:07 2009 From: fredthejonester at gmail.com (Fred Jones) Date: Wed, 1 Jul 2009 13:13:07 +0300 Subject: [support] How a module can offer its own webservice ? In-Reply-To: <4A4B301A.7020904@gmail.com> References: <4A4B301A.7020904@gmail.com> Message-ID: <177c0a10907010313w7d7e5622k525af50e907eb05e@mail.gmail.com> > Now, i'd like to manage thoses tables through a webservice which would be a > part of my module but i'm wondering how to achieve it. First Google result for "drupal web service" is: http://drupal.org/project/Services 'nuf said From fredthejonester at gmail.com Wed Jul 1 12:02:04 2009 From: fredthejonester at gmail.com (Fred Jones) Date: Wed, 1 Jul 2009 15:02:04 +0300 Subject: [support] jQuery Media Problem In-Reply-To: <177c0a10906280353s3ba0f4c3j89590e1c9bb6d778@mail.gmail.com> References: <177c0a10906280353s3ba0f4c3j89590e1c9bb6d778@mail.gmail.com> Message-ID: <177c0a10907010502k6183bd72l196eb882932cdd9b@mail.gmail.com> Anybody have a suggestion? Ideas how to debug? Thanks. I am a bit stuck... :( On Sun, Jun 28, 2009 at 1:53 PM, Fred Jones wrote: > I have a D6 site with jQuery Media and jQuery Plugin and it's set to > replace links to MP3 files with the Flash player. This worked once, > but since then the site has been updated and now it fails and I can't > figure out why. I see in Firebug what appears to be the correct code: > > flashvars="file=http://MYSITE.com/sites/default/files/mp3s/SomeFile.mp3" > autoplay="false" wmode="transparent" bgcolor="#ffffff" > pluginspage="http://www.adobe.com/go/getflashplayer" > type="application/x-shockwave-flash" > src="/player.swf?file=http://MYSITE.com/sites/default/files/mp3s/SomeFile.mp3" > style="display: block;"/> > > but nothing appears. Right click says "movie not loaded" but if I go > to http://MYSITE.com/player.swf then I see the player normally. > > Any ideas? > From jacob.roufa at gmail.com Wed Jul 1 13:56:37 2009 From: jacob.roufa at gmail.com (Jacob Roufa) Date: Wed, 1 Jul 2009 07:56:37 -0600 Subject: [support] jQuery Media Problem In-Reply-To: <177c0a10907010502k6183bd72l196eb882932cdd9b@mail.gmail.com> References: <177c0a10906280353s3ba0f4c3j89590e1c9bb6d778@mail.gmail.com> <177c0a10907010502k6183bd72l196eb882932cdd9b@mail.gmail.com> Message-ID: <527197b50907010656k281d3774j36f7e3c139237c0e@mail.gmail.com> Have you tried using a relative URL instead of absolute (i.e. get rid of http:// and go from current path "../sites/default/files/mp3s/*.mp3") when referring to the mp3 file? How does your link read out? Jake Roufa Web Consultant http://jacobroufa.com On Wed, Jul 1, 2009 at 6:02 AM, Fred Jones wrote: > Anybody have a suggestion? Ideas how to debug? > > Thanks. I am a bit stuck... :( > > On Sun, Jun 28, 2009 at 1:53 PM, Fred Jones > wrote: > > I have a D6 site with jQuery Media and jQuery Plugin and it's set to > > replace links to MP3 files with the Flash player. This worked once, > > but since then the site has been updated and now it fails and I can't > > figure out why. I see in Firebug what appears to be the correct code: > > > > > flashvars="file=http://MYSITE.com/sites/default/files/mp3s/SomeFile.mp3" > > autoplay="false" wmode="transparent" bgcolor="#ffffff" > > pluginspage="http://www.adobe.com/go/getflashplayer" > > type="application/x-shockwave-flash" > > src="/player.swf?file= > http://MYSITE.com/sites/default/files/mp3s/SomeFile.mp3" > > style="display: block;"/> > > > > but nothing appears. Right click says "movie not loaded" but if I go > > to http://MYSITE.com/player.swf then I see the player normally. > > > > Any ideas? > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From hovercrafter at earthlink.net Wed Jul 1 14:48:57 2009 From: hovercrafter at earthlink.net (Jamie Holly) Date: Wed, 01 Jul 2009 10:48:57 -0400 Subject: [support] jQuery Media Problem In-Reply-To: <527197b50907010656k281d3774j36f7e3c139237c0e@mail.gmail.com> References: <177c0a10906280353s3ba0f4c3j89590e1c9bb6d778@mail.gmail.com> <177c0a10907010502k6183bd72l196eb882932cdd9b@mail.gmail.com> <527197b50907010656k281d3774j36f7e3c139237c0e@mail.gmail.com> Message-ID: <4A4B7759.7040801@earthlink.net> If that works, make sure you check it in different browsers. Some (mainly IE) have oddball results when dealing with Flash security policies. First thing I would check is if you right click over where the player should be, do you see "Flash Player" in the right click menu? If so then the embed code is fine. I haven't used this module, but there is a chance that something in the player's security isn't letting it kick in. A good rule of thumb with anything Flash is to always use absolute domains and make sure you have a crossdomain.xml file properly set up. One way to check if that is causing the problem is to install the debug version of Flash Player: http://www.adobe.com/support/flashplayer/downloads.html If its a security policy problem then you should get a sandbox violation error. If its anything else in the player then you will also get an error popup that might indicate whats happening. Jamie Holly http://www.intoxination.net http://www.hollyit.net Jacob Roufa wrote: > Have you tried using a relative URL instead of absolute (i.e. get rid > of http:// and go from current path > "../sites/default/files/mp3s/*.mp3") when referring to the mp3 file? > How does your link read out? > > Jake Roufa > Web Consultant > http://jacobroufa.com > > > On Wed, Jul 1, 2009 at 6:02 AM, Fred Jones > wrote: > > Anybody have a suggestion? Ideas how to debug? > > Thanks. I am a bit stuck... :( > > On Sun, Jun 28, 2009 at 1:53 PM, Fred > Jones > wrote: > > I have a D6 site with jQuery Media and jQuery Plugin and it's set to > > replace links to MP3 files with the Flash player. This worked once, > > but since then the site has been updated and now it fails and I > can't > > figure out why. I see in Firebug what appears to be the correct > code: > > > > > > flashvars="file=http://MYSITE.com/sites/default/files/mp3s/SomeFile.mp3" > > autoplay="false" wmode="transparent" bgcolor="#ffffff" > > pluginspage="http://www.adobe.com/go/getflashplayer" > > type="application/x-shockwave-flash" > > > src="/player.swf?file=http://MYSITE.com/sites/default/files/mp3s/SomeFile.mp3" > > style="display: block;"/> > > > > but nothing appears. Right click says "movie not loaded" but if I go > > to http://MYSITE.com/player.swf then I see the player normally. > > > > Any ideas? > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > > ------------------------------------------------------------------------ > > -- > [ Drupal support list | http://lists.drupal.org/ ] From metzlerd at evergreen.edu Wed Jul 1 15:29:41 2009 From: metzlerd at evergreen.edu (Metzler, David) Date: Wed, 1 Jul 2009 08:29:41 -0700 Subject: [support] How a module can offer its own webservice ? In-Reply-To: <4A4B301A.7020904@gmail.com> References: <4A4B301A.7020904@gmail.com> Message-ID: <52177C930FA90F4D9888B0343FDB79FBA58C2B@birch.evergreen.edu> If you register a function in hook menu and the page does php print instead of returning $output, you will bypass the theming layer. I do this regularly to return XML data instead of a drupal themed page. Does that answer your question? -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Eric Cornely Sent: Wednesday, July 01, 2009 2:45 AM To: support at drupal.org Subject: [support] How a module can offer its own webservice ? Hello, I built my first module which stores data in its own tables using db_query(...). Now, i'd like to manage thoses tables through a webservice which would be a part of my module but i'm wondering how to achieve it. As it is my first module i'm not really familiar with the API so how could i integrate a uri in drupal site which would lead to a php5 web service and how could i get access to db_query() in that script ? I thought about : http://localhost/drupal/sites/default/modules/myfirstmodule/service.php Or maybe is there a special hook in modules that does not lead to a drupal page with theming etc. Until now i only could create blocks. If anybody has hints, i would appreciate. Thanks, Eric -- [ Drupal support list | http://lists.drupal.org/ ] From fredthejonester at gmail.com Wed Jul 1 17:58:40 2009 From: fredthejonester at gmail.com (Fred Jones) Date: Wed, 1 Jul 2009 20:58:40 +0300 Subject: [support] jQuery Media Problem In-Reply-To: <4A4B7759.7040801@earthlink.net> References: <177c0a10906280353s3ba0f4c3j89590e1c9bb6d778@mail.gmail.com> <177c0a10907010502k6183bd72l196eb882932cdd9b@mail.gmail.com> <527197b50907010656k281d3774j36f7e3c139237c0e@mail.gmail.com> <4A4B7759.7040801@earthlink.net> Message-ID: <177c0a10907011058w5de1ffcn5d6c402f0eb7ac4@mail.gmail.com> On Wed, Jul 1, 2009 at 4:56 PM, Jacob Roufa wrote: > Have you tried using a relative URL instead of absolute (i.e. get rid of > http:// and go from current path "../sites/default/files/mp3s/*.mp3") when > referring to the mp3 file? How does your link read out? The admin/content/node-type/audio/display/basic page gives these options: Generic File Path to File URL to File I am using the first. The second or third just print text, not a link and then nothing happens. How can I tell it to use a relative URL? I am using FileField module. > First thing I would check is if you right click over where the player should > be, do you see "Flash Player" in the right click menu? If so then the embed > code is fine. I haven't used this module, but there is a chance that > something in the player's security isn't letting it kick in. A good rule of > thumb with anything Flash is to always use absolute domains and make sure > you have a crossdomain.xml file properly set up. One way to check if that is > causing the problem is to install the debug version of Flash Player: > > http://www.adobe.com/support/flashplayer/downloads.html > > If its a security policy problem then you should get a sandbox violation > error. If its anything else in the player then you will also get an error > popup that might indicate whats happening. Right click shows Flash, but "movie not loaded" The code isn't cross-domain. It's like this: That's the jQuery-generated code. Here's a page: http://tinyurl.com/mz5ut6 From hovercrafter at earthlink.net Wed Jul 1 18:17:15 2009 From: hovercrafter at earthlink.net (Jamie Holly) Date: Wed, 01 Jul 2009 14:17:15 -0400 Subject: [support] jQuery Media Problem In-Reply-To: <177c0a10907011058w5de1ffcn5d6c402f0eb7ac4@mail.gmail.com> References: <177c0a10906280353s3ba0f4c3j89590e1c9bb6d778@mail.gmail.com> <177c0a10907010502k6183bd72l196eb882932cdd9b@mail.gmail.com> <527197b50907010656k281d3774j36f7e3c139237c0e@mail.gmail.com> <4A4B7759.7040801@earthlink.net> <177c0a10907011058w5de1ffcn5d6c402f0eb7ac4@mail.gmail.com> Message-ID: <4A4BA82B.3090903@earthlink.net> The relative URL passing to the player does fix it. Try clicking here, which is the code coming through on your site: http://www.intorah.com/player.swf?file=http://www.intorah.com/sites/default/files/mp3s/LoveAndRelationship1_0.mp3 And you get a 404, but change it to this: http://www.intorah.com/player.swf?file=/sites/default/files/mp3s/LoveAndRelationship1_0.mp3 And it works. I'm not sure how to set the modules to use relative instead of absolute URLs (never used them before). Hopefully someone else has an idea. Jamie Holly http://www.intoxination.net http://www.hollyit.net Fred Jones wrote: > On Wed, Jul 1, 2009 at 4:56 PM, Jacob Roufa wrote: > > Have you tried using a relative URL instead of absolute (i.e. get rid of > > http:// and go from current path "../sites/default/files/mp3s/*.mp3") when > > referring to the mp3 file? How does your link read out? > > The admin/content/node-type/audio/display/basic page gives these options: > > Generic File > Path to File > URL to File > > > I am using the first. The second or third just print text, not a link > and then nothing happens. How can I tell it to use a relative URL? I > am using FileField module. > > > First thing I would check is if you right click over where the player should > > be, do you see "Flash Player" in the right click menu? If so then the embed > > code is fine. I haven't used this module, but there is a chance that > > something in the player's security isn't letting it kick in. A good rule of > > thumb with anything Flash is to always use absolute domains and make sure > > you have a crossdomain.xml file properly set up. One way to check if that is > > causing the problem is to install the debug version of Flash Player: > > > > http://www.adobe.com/support/flashplayer/downloads.html > > > > If its a security policy problem then you should get a sandbox violation > > error. If its anything else in the player then you will also get an error > > popup that might indicate whats happening. > > Right click shows Flash, but "movie not loaded" The code isn't > cross-domain. It's like this: > > flashvars="file=http://www.xxx.com/sites/default/files/mp3s/LoveAndRelationship1_0.mp3" > autoplay="false" wmode="transparent" bgcolor="#ffffff" > pluginspage="http://www.adobe.com/go/getflashplayer" > type="application/x-shockwave-flash" > src="/player.swf?file=http://www.xxx.com/sites/default/files/mp3s/LoveAndRelationship1_0.mp3" > style="display: block;"/> > > That's the jQuery-generated code. Here's a page: > > http://tinyurl.com/mz5ut6 > -- > [ Drupal support list | http://lists.drupal.org/ ] > > From fredthejonester at gmail.com Wed Jul 1 18:21:34 2009 From: fredthejonester at gmail.com (Fred Jones) Date: Wed, 1 Jul 2009 21:21:34 +0300 Subject: [support] jQuery Media Problem In-Reply-To: <4A4BA82B.3090903@earthlink.net> References: <177c0a10906280353s3ba0f4c3j89590e1c9bb6d778@mail.gmail.com> <177c0a10907010502k6183bd72l196eb882932cdd9b@mail.gmail.com> <527197b50907010656k281d3774j36f7e3c139237c0e@mail.gmail.com> <4A4B7759.7040801@earthlink.net> <177c0a10907011058w5de1ffcn5d6c402f0eb7ac4@mail.gmail.com> <4A4BA82B.3090903@earthlink.net> Message-ID: <177c0a10907011121p3a7aa5c6vf7b3448659f4e983@mail.gmail.com> > The relative URL passing to the player does fix it. Try clicking here, which > is the code coming through on your site: ... > And it works. I'm not sure how to set the modules to use relative instead of > absolute URLs (never used them before). Hopefully someone else has an idea. Well now, one little stroke of genius later and you've got it! At least now I know what the problem is and I can try fix it. Thank you very much. F From fredthejonester at gmail.com Wed Jul 1 18:28:56 2009 From: fredthejonester at gmail.com (Fred Jones) Date: Wed, 1 Jul 2009 21:28:56 +0300 Subject: [support] jQuery Media Problem In-Reply-To: <177c0a10907011121p3a7aa5c6vf7b3448659f4e983@mail.gmail.com> References: <177c0a10906280353s3ba0f4c3j89590e1c9bb6d778@mail.gmail.com> <177c0a10907010502k6183bd72l196eb882932cdd9b@mail.gmail.com> <527197b50907010656k281d3774j36f7e3c139237c0e@mail.gmail.com> <4A4B7759.7040801@earthlink.net> <177c0a10907011058w5de1ffcn5d6c402f0eb7ac4@mail.gmail.com> <4A4BA82B.3090903@earthlink.net> <177c0a10907011121p3a7aa5c6vf7b3448659f4e983@mail.gmail.com> Message-ID: <177c0a10907011128weeb13b1nd11fc4a5fef1db75@mail.gmail.com> > At least now I know what the problem is and I can try fix it. Thank > you very much. Don't know how to fix it the "right" way but adding this: $content = str_replace('http://www.MYSITE.com','',$content); in node.tpl.php worked. :) Thanks. From hovercrafter at earthlink.net Wed Jul 1 18:35:53 2009 From: hovercrafter at earthlink.net (Jamie Holly) Date: Wed, 01 Jul 2009 14:35:53 -0400 Subject: [support] jQuery Media Problem In-Reply-To: <177c0a10907011128weeb13b1nd11fc4a5fef1db75@mail.gmail.com> References: <177c0a10906280353s3ba0f4c3j89590e1c9bb6d778@mail.gmail.com> <177c0a10907010502k6183bd72l196eb882932cdd9b@mail.gmail.com> <527197b50907010656k281d3774j36f7e3c139237c0e@mail.gmail.com> <4A4B7759.7040801@earthlink.net> <177c0a10907011058w5de1ffcn5d6c402f0eb7ac4@mail.gmail.com> <4A4BA82B.3090903@earthlink.net> <177c0a10907011121p3a7aa5c6vf7b3448659f4e983@mail.gmail.com> <177c0a10907011128weeb13b1nd11fc4a5fef1db75@mail.gmail.com> Message-ID: <4A4BAC89.9030809@earthlink.net> LOL that's one of my favorite tricks when I don't feel like figuring something else out. Glad we got it. Jamie Holly http://www.intoxination.net http://www.hollyit.net Fred Jones wrote: > > At least now I know what the problem is and I can try fix it. Thank > > you very much. > > Don't know how to fix it the "right" way but adding this: > > $content = str_replace('http://www.MYSITE.com','',$content); > > in node.tpl.php worked. :) > > Thanks. > -- > [ Drupal support list | http://lists.drupal.org/ ] > > From fredthejonester at gmail.com Wed Jul 1 19:14:01 2009 From: fredthejonester at gmail.com (Fred Jones) Date: Wed, 1 Jul 2009 22:14:01 +0300 Subject: [support] jQuery Media Problem In-Reply-To: <4A4BAC89.9030809@earthlink.net> References: <177c0a10906280353s3ba0f4c3j89590e1c9bb6d778@mail.gmail.com> <177c0a10907010502k6183bd72l196eb882932cdd9b@mail.gmail.com> <527197b50907010656k281d3774j36f7e3c139237c0e@mail.gmail.com> <4A4B7759.7040801@earthlink.net> <177c0a10907011058w5de1ffcn5d6c402f0eb7ac4@mail.gmail.com> <4A4BA82B.3090903@earthlink.net> <177c0a10907011121p3a7aa5c6vf7b3448659f4e983@mail.gmail.com> <177c0a10907011128weeb13b1nd11fc4a5fef1db75@mail.gmail.com> <4A4BAC89.9030809@earthlink.net> Message-ID: <177c0a10907011214x7bc6b53aq4930c96ea5dbc6ae@mail.gmail.com> > LOL that's one of my favorite tricks when I don't feel like figuring > something else out. Glad we got it. Rock and roll. :) Drupal hackers unite! ;) From john.callahan at UDel.Edu Thu Jul 2 00:32:37 2009 From: john.callahan at UDel.Edu (John Callahan) Date: Wed, 01 Jul 2009 20:32:37 -0400 Subject: [support] book navigation Message-ID: <4A4C0025.5010100@udel.edu> I am using the core book module and have exactly one book. I would like to show a block containing the book navigation (or table of contents) open to the current page/node I'm on. The problem is that the default Book navigation block behaves like I'd want but shows the book name as the first entry and first level chapters under that (and collapsed if using DHTML Menu). I would much rather have the first level chapters as the primary entries and I'll use the book title as the block title. I've used this piece of code as a block; it does the exact same thing as the default book navigation block. The following code below shows exactly what I need but does NOT open to the current page. (code snippet found on d.o) Are there any modules or code snippets that can do this? Any suggestions how I can modify the code below to open the item/page based on the current node? (such as adding active-trail class where necessary) Thanks. - John 0 || ($emulate_book_block && in_array($nid, $current_lineage)))) { $struct = '
    '; foreach ($children[$nid] as $key => $node) { if ($tree = book_struct_recurse($node->nid, $levels_deep - 1, $children, $current_lineage, $emulate_book_block)) { $struct .= '
  • '; $struct .= l($node->title, 'node/'. $node->nid); $struct .= $tree; $struct .= '
  • '; } else { if ($children[$node->nid]){ $struct .= '
  • '. l($node->title, 'node/'. $node->nid) .'
  • '; } else { $struct .= '
  • '. l($node->title, 'node/'. $node->nid) .'
  • '; } } } $struct .= '
'; return $struct; } } } $current_lineage = array(); $result = db_query(db_rewrite_sql('SELECT n.nid, n.title, n2.nid parent, ml.weight FROM {node} n INNER JOIN {book} b ON n.nid = b.nid INNER JOIN {menu_links} ml ON b.mlid = ml.mlid INNER JOIN {book} b2 on b2.mlid = ml.plid INNER JOIN {node} n2 on b2.nid = n2.nid WHERE n.status =1 ORDER BY ml.weight, n.title')); while ($node = db_fetch_object($result)) { if (!$children[$node->parent]) { $children[$node->parent] = array(); } array_push($children[$node->parent], $node); /* This function is broken, and for my purposes, not needed ********** if (arg(0) == 'node' && is_numeric(arg(1)) && arg(1) == $node->nid) { $_temp = book_location($node); foreach ($_temp as $key => $val){ $current_lineage[] = $val->nid; } $current_lineage[] = arg(1); } */ } echo book_struct_recurse($book_top_page, $levels_deep, $children, $current_lineage, $emulate_book_block); ?> From john.callahan at UDel.Edu Thu Jul 2 02:20:26 2009 From: john.callahan at UDel.Edu (John Callahan) Date: Wed, 01 Jul 2009 22:20:26 -0400 Subject: [support] book navigation - solved In-Reply-To: <4A4C0025.5010100@udel.edu> References: <4A4C0025.5010100@udel.edu> Message-ID: <4A4C196A.4080502@udel.edu> Figures. You work on a problem for most of the afternoon with no success, send a request for help to thousands of people on the support list, then you solve your own problem 20 minutes later! http://drupal.org/project/menu_block does the trick. - John John Callahan wrote: > I am using the core book module and have exactly one book. I would > like to show a block containing the book navigation (or table of > contents) open to the current page/node I'm on. The problem is that > the default Book navigation block behaves like I'd want but shows the > book name as the first entry and first level chapters under that (and > collapsed if using DHTML Menu). I would much rather have the first > level chapters as the primary entries and I'll use the book title as > the block title. > > I've used this piece of code as a block; it does the exact same thing > as the default book navigation block. > > $book_top_page=168; > $tree = menu_tree_all_data(book_menu_name($book_top_page)); > print menu_tree_output($tree); > ?> > > > The following code below shows exactly what I need but does NOT open > to the current page. (code snippet found on d.o) > > Are there any modules or code snippets that can do this? Any > suggestions how I can modify the code below to open the item/page > based on the current node? (such as adding active-trail class where > necessary) Thanks. > > - John > > > > > $book_top_page = 168; > $levels_deep = 3; > $emulate_book_block = true; > > if (!function_exists('book_struct_recurse')){ > function book_struct_recurse($nid, $levels_deep, $children, > $current_lineage = array(), $emulate_book_block = true) { > $struct = ''; > if ($children[$nid] && ($levels_deep > 0 || ($emulate_book_block && > in_array($nid, $current_lineage)))) { > $struct = '
    '; > foreach ($children[$nid] as $key => $node) { > if ($tree = book_struct_recurse($node->nid, $levels_deep - 1, > $children, $current_lineage, $emulate_book_block)) { > $struct .= '
  • '; > $struct .= l($node->title, 'node/'. $node->nid); > $struct .= $tree; > $struct .= '
  • '; > } > else { > if ($children[$node->nid]){ > $struct .= '
  • '. l($node->title, 'node/'. $node->nid) .'
  • '; > } > else { > $struct .= '
  • '. l($node->title, 'node/'. $node->nid) .'
  • '; > } > } > } > $struct .= '
'; > return $struct; > } > } > } > > $current_lineage = array(); > > $result = db_query(db_rewrite_sql('SELECT n.nid, n.title, n2.nid > parent, ml.weight > FROM {node} n > INNER JOIN {book} b ON n.nid = b.nid > INNER JOIN {menu_links} ml ON b.mlid = ml.mlid > INNER JOIN {book} b2 on b2.mlid = ml.plid > INNER JOIN {node} n2 on b2.nid = n2.nid > WHERE n.status =1 > ORDER BY ml.weight, n.title')); > > while ($node = db_fetch_object($result)) { > if (!$children[$node->parent]) { > $children[$node->parent] = array(); > } > array_push($children[$node->parent], $node); > > /* This function is broken, and for my purposes, not needed ********** > if (arg(0) == 'node' && is_numeric(arg(1)) && arg(1) == $node->nid) { > $_temp = book_location($node); > foreach ($_temp as $key => $val){ > $current_lineage[] = $val->nid; > } > $current_lineage[] = arg(1); > } > */ > } > > echo book_struct_recurse($book_top_page, $levels_deep, $children, > $current_lineage, $emulate_book_block); > > ?> > -- > [ Drupal support list | http://lists.drupal.org/ ] From ericcornely at gmail.com Thu Jul 2 06:26:12 2009 From: ericcornely at gmail.com (Eric Cornely) Date: Thu, 02 Jul 2009 08:26:12 +0200 Subject: [support] How a module can offer its own webservice ? In-Reply-To: <52177C930FA90F4D9888B0343FDB79FBA58C2B@birch.evergreen.edu> References: <4A4B301A.7020904@gmail.com> <52177C930FA90F4D9888B0343FDB79FBA58C2B@birch.evergreen.edu> Message-ID: <4A4C5304.9090702@gmail.com> I think so, i'll give this a try. Thanks a lot Metzler, David a ?crit : > If you register a function in hook menu and the page does php print > instead of returning $output, you will bypass the theming layer. I do > this regularly to return XML data instead of a drupal themed page. > > Does that answer your question? > > -----Original Message----- > From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On > Behalf Of Eric Cornely > Sent: Wednesday, July 01, 2009 2:45 AM > To: support at drupal.org > Subject: [support] How a module can offer its own webservice ? > > Hello, > > I built my first module which stores data in its own tables using > db_query(...). > > Now, i'd like to manage thoses tables through a webservice which would > be a part of my module but i'm wondering how to achieve it. > > As it is my first module i'm not really familiar with the API so how > could i integrate a uri in drupal site which would lead to a php5 web > service and how could i get access to db_query() in that script ? > > I thought about : > http://localhost/drupal/sites/default/modules/myfirstmodule/service.php > > Or maybe is there a special hook in modules that does not lead to a > drupal page with theming etc. Until now i only could create blocks. > > If anybody has hints, i would appreciate. > > Thanks, > > Eric > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- > [ Drupal support list | http://lists.drupal.org/ ] From michel at ziobuddalabs.it Thu Jul 2 09:52:10 2009 From: michel at ziobuddalabs.it (Michel Morelli) Date: Thu, 02 Jul 2009 11:52:10 +0200 Subject: [support] How to select an item in a form' selected list. Message-ID: <4A4C834A.9030601@ziobuddalabs.it> Hi all. I have a form. In this form I have a selected list field. Two question: 1) How can I set the "selected" item when I create the form? 2) How can I set or reset the "selected" item via a form alter function ? I think that this solution is equal to the first. M. -- Michel 'ZioBudda' Morelli michel at ziobuddalabs.net Consulenza sistemistica in ambito OpenSource. Sviluppo applicazioni web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ziodrupal.net MSN: michel at ziobuddalabs.it JABBER: michel at ziobuddalabs.it From mail at webthatworks.it Thu Jul 2 10:19:00 2009 From: mail at webthatworks.it (Ivan Sergio Borgonovo) Date: Thu, 2 Jul 2009 12:19:00 +0200 Subject: [support] How to select an item in a form' selected list. In-Reply-To: <4A4C834A.9030601@ziobuddalabs.it> References: <4A4C834A.9030601@ziobuddalabs.it> Message-ID: <20090702121900.3edd45e4@dawn.webthatworks.it> On Thu, 02 Jul 2009 11:52:10 +0200 Michel Morelli wrote: > Hi all. I have a form. In this form I have a selected list field. > Two question: > > 1) How can I set the "selected" item when I create the form? > 2) How can I set or reset the "selected" item via a form alter > function ? I think that this solution is equal to the first. Setting #default_value. -- Ivan Sergio Borgonovo http://www.webthatworks.it From michel at ziobuddalabs.it Thu Jul 2 10:20:49 2009 From: michel at ziobuddalabs.it (Michel Morelli) Date: Thu, 02 Jul 2009 12:20:49 +0200 Subject: [support] Performance: is better a node_load or a direct SQL query ? Message-ID: <4A4C8A01.8020909@ziobuddalabs.it> Hi all. I have a content type with 15+ fields. In some situations I need to retrieve only 3 fields. So, is better (perfomance, security, portability, etc etc) a call to node_load() function or a direct SQL query on the right table ? M. -- Michel 'ZioBudda' Morelli michel at ziobuddalabs.net Consulenza sistemistica in ambito OpenSource. Sviluppo applicazioni web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ziodrupal.net MSN: michel at ziobuddalabs.it JABBER: michel at ziobuddalabs.it From pierre.rineau at makina-corpus.com Thu Jul 2 10:28:40 2009 From: pierre.rineau at makina-corpus.com (Pierre Rineau) Date: Thu, 02 Jul 2009 12:28:40 +0200 Subject: [support] Performance: is better a node_load or a direct SQL query ? In-Reply-To: <4A4C8A01.8020909@ziobuddalabs.it> References: <4A4C8A01.8020909@ziobuddalabs.it> Message-ID: <1246530521.9345.29.camel@guinevere.makina-nantes.net> node_load() should be better in most cases because it uses an internal cache to make sure a node is never loaded twice. This ensures no SQL query repetition, that are often the worst nightmare for performance. Pierre. Le jeudi 02 juillet 2009 ? 12:20 +0200, Michel Morelli a ?crit : > Hi all. I have a content type with 15+ fields. In some situations I need > to retrieve only 3 fields. > > So, is better (perfomance, security, portability, etc etc) a call to > node_load() function or a direct SQL query on the right table ? > > M. > From dcirotteau at rue89.com Thu Jul 2 10:29:48 2009 From: dcirotteau at rue89.com (Damien Cirotteau) Date: Thu, 2 Jul 2009 12:29:48 +0200 Subject: [support] Performance: is better a node_load or a direct SQL query ? In-Reply-To: <4A4C8A01.8020909@ziobuddalabs.it> References: <4A4C8A01.8020909@ziobuddalabs.it> Message-ID: Or you can use a view that return only the required fields. It is a good compromise between custom query and full node load. In term of performance, nothing will beat custom SQL query. But this is worst in term of maintainance and portability. If you do direct SQL query be sure to use the CCK API to get the name of the tables and fields. Otherwise you will be in trouble if the CCK tables structure change (which can happen very easely if you decide to share a field among several content types or set it to multiple *after* you have written your own queries). Damien Cirotteau Rue89 http://www.rue89.com +33 1 55 25 74 96 dcirotteau at rue89.com ==================================== Pour soutenir Rue89 : http://mur.rue89.com/ ==================================== On Thu, Jul 2, 2009 at 12:20 PM, Michel Morelli wrote: > Hi all. I have a content type with 15+ fields. In some situations I need to > retrieve only 3 fields. > So, is better (perfomance, security, portability, etc etc) a call to > node_load() function or a direct SQL query on the right table ? > > M. > > -- > Michel 'ZioBudda' Morelli ? ? ? ? ? ? ? ? ? ? ? michel at ziobuddalabs.net > Consulenza sistemistica in ambito OpenSource. > Sviluppo applicazioni web dinamiche (LAMP+Ajax) > Telefono: 0200619074 > Telefono Cell: +39-3939890025 -- ?Fax: +39-0291390660 > > http://www.ziobudda.net ? ? ? ? ? ? ? ? ? ? ? ? ICQ: 58351764 > ?http://www.ziobuddalabs.it ? ? ? ? ? ? ? ? ? ? ?Skype: zio_budda > http://www.ziodrupal.net ? ? ? ? ? ? ? ? ? ? ? ?MSN: michel at ziobuddalabs.it > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?JABBER: > michel at ziobuddalabs.it > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From michel at ziobuddalabs.it Thu Jul 2 10:30:46 2009 From: michel at ziobuddalabs.it (Michel Morelli) Date: Thu, 02 Jul 2009 12:30:46 +0200 Subject: [support] How to select an item in a form' selected list. In-Reply-To: <20090702121900.3edd45e4@dawn.webthatworks.it> References: <4A4C834A.9030601@ziobuddalabs.it> <20090702121900.3edd45e4@dawn.webthatworks.it> Message-ID: <4A4C8C56.90602@ziobuddalabs.it> Ivan Sergio Borgonovo ha scritto: > On Thu, 02 Jul 2009 11:52:10 +0200 > Michel Morelli wrote: > > >> Hi all. I have a form. In this form I have a selected list field. >> Two question: >> >> 1) How can I set the "selected" item when I create the form? >> 2) How can I set or reset the "selected" item via a form alter >> function ? I think that this solution is equal to the first. >> > > Setting #default_value. > Argh... Grrrr... Ufff. Why I don't think that the easy way is always the better way ? "keep it simple, stupid".... grrrrrr Tnx. -- Michel 'ZioBudda' Morelli michel at ziobuddalabs.net Consulenza sistemistica in ambito OpenSource. Sviluppo applicazioni web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ziodrupal.net MSN: michel at ziobuddalabs.it JABBER: michel at ziobuddalabs.it -------------- next part -------------- An HTML attachment was scrubbed... URL: From pierre.rineau at makina-corpus.com Thu Jul 2 10:31:54 2009 From: pierre.rineau at makina-corpus.com (Pierre Rineau) Date: Thu, 02 Jul 2009 12:31:54 +0200 Subject: [support] Performance: is better a node_load or a direct SQL query ? In-Reply-To: <1246530521.9345.29.camel@guinevere.makina-nantes.net> References: <4A4C8A01.8020909@ziobuddalabs.it> <1246530521.9345.29.camel@guinevere.makina-nantes.net> Message-ID: <1246530714.9345.31.camel@guinevere.makina-nantes.net> Note: you must care about the context your function is executed. If it's an AJAX callback, you might want to do your own query, because there is no way your node might be loaded twice. But, if you are executing this function in normal Drupal execution flow, you have to use node_load() because there is a lot of cases in which your node will be loaded more than once (views, some custom blocks, access checks on url, etc...). Pierre. Le jeudi 02 juillet 2009 ? 12:28 +0200, Pierre Rineau a ?crit : > node_load() should be better in most cases because it uses an internal > cache to make sure a node is never loaded twice. > > This ensures no SQL query repetition, that are often the worst nightmare > for performance. > > Pierre. > > Le jeudi 02 juillet 2009 ? 12:20 +0200, Michel Morelli a ?crit : > > Hi all. I have a content type with 15+ fields. In some situations I need > > to retrieve only 3 fields. > > > > So, is better (perfomance, security, portability, etc etc) a call to > > node_load() function or a direct SQL query on the right table ? > > > > M. > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] From tbag at internode.on.net Fri Jul 3 05:31:43 2009 From: tbag at internode.on.net (Tony Bazeley) Date: Fri, 03 Jul 2009 15:01:43 +0930 Subject: [support] White screen of death Message-ID: <1246599103.23181.27.camel@Hubuntu> Hi all, Attempting to access my drupal site shows a completely blank page - no timeout - just a blank page. I did a much overdue upgrade to Drupal 6.13, On completion was able to log in OK, change themes (back to 4 seasons), get out of maintenance mode, and test that a couple of pages worked OK. I then upgraded to the latest rootcandy theme (the theme was disabled and the system option was selected as the administrative theme) This is where the trouble started Initially all output was unthemed. I logged in as administrator and went to the themes page - when I did this WSOD commenced on all page requests. I can now access nothing I have checked the WSOD page http://drupal.org/node/158043 I can't see anything in the apache error log files. http://www.example.com/admin/reports/dblog yields a blank screen I have also edited index.php to enable errors as suggested on the WSOD page - no change Removed the rootcandy theme from /sites/all/themes - but still no change Any help would be greatly appreciated. Thanks Tony -------------- next part -------------- An HTML attachment was scrubbed... URL: From fredthejonester at gmail.com Fri Jul 3 06:33:17 2009 From: fredthejonester at gmail.com (Fred Jones) Date: Fri, 3 Jul 2009 09:33:17 +0300 Subject: [support] White screen of death In-Reply-To: <1246599103.23181.27.camel@Hubuntu> References: <1246599103.23181.27.camel@Hubuntu> Message-ID: <177c0a10907022333p3338dd5j85710a8d28188fbe@mail.gmail.com> > Removed the rootcandy theme from /sites/all/themes - but still no change > > Any help would be greatly appreciated. Can you manually edit the system table in the DB to enable only a core theme like garland and then see what happens? From madflute at anonemusic.com Fri Jul 3 07:01:09 2009 From: madflute at anonemusic.com (A-NO-NE Music) Date: Fri, 3 Jul 2009 03:01:09 -0400 Subject: [support] White screen of death In-Reply-To: <1246599103.23181.27.camel@Hubuntu> References: <1246599103.23181.27.camel@Hubuntu> Message-ID: <08817CB5-4325-49B3-B527-379069BD9569@anonemusic.com> On 09/07/03(?), at 1:31, Tony Bazeley wrote: > Attempting to access my drupal site shows a completely blank page - > no timeout - just a blank page. When this happens, the first thing I do is to increase the memory size, which solves it all the time in my experiences. -- - Hiro Hiroaki Honshuku, A-NO-NE Music, Greater Boston http://a-no-ne.com http://anonemusic.com From drupal at lists.tacticus.com Fri Jul 3 22:13:05 2009 From: drupal at lists.tacticus.com (Luke) Date: Fri, 3 Jul 2009 18:13:05 -0400 (EDT) Subject: [support] Partial Vocabulary Admin Access? Message-ID: Hello I have certain editorial users, to whom I would like to give the ability to reorder, add, and delete terms in a vocabulary. However I do not want them to be able to add or delete vocabularies, or even perform those above tasks on terms in other vocabularies. Example: I have vocabularies "test1" and "test2". In test1 are terms "a", "b", and "c". In test2, there are terms "d", "e", and "f". Users with a particular role, can add terms to test1, and can change weights of "a", "b", and "c". However those users can not do anything to terms in test2. Basically, I need a vocabulary editor role, preferably with the ability to limit which vocabularies can be edited by that role. This is on a D5 site, but may go to D6 at some point. Any ideas on how this might be done? Luke From killshot91 at comcast.net Sat Jul 4 01:09:19 2009 From: killshot91 at comcast.net (Steve Edwards) Date: Fri, 03 Jul 2009 18:09:19 -0700 Subject: [support] Accessing Field Value for CCK Field Message-ID: <4A4EABBF.9080407@comcast.net> I have a CCK text field into which I would like to insert a value when the node creation form for the content type is displayed. All of the fields are blank at this point, However, upon inspecting the $form array inside hook_form_alter, none of the fields are listed, so I can't alter them. What can I use to modify one of the CCK form fields since it isn't listed in $form? Thanks. Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: From sivaji2009 at gmail.com Sat Jul 4 21:20:10 2009 From: sivaji2009 at gmail.com (sivaji j.g) Date: Sun, 5 Jul 2009 02:50:10 +0530 Subject: [support] Ubercart custom field in checkout form Message-ID: Is there anyone who came across requirement similar to this http://www.ubercart.org/forum/support/11815/custom_field_checkout_form in ubercart e-commerce site ? Any suggestions will be greatly appreciated. -- Thanks Sivaji From crazyguru85 at gmail.com Mon Jul 6 10:04:07 2009 From: crazyguru85 at gmail.com (crazy guru) Date: Mon, 6 Jul 2009 03:04:07 -0700 Subject: [support] Openid module not working. Getting page not found error. Message-ID: <65a095700907060304g57c98391qdfdef8dc450ddc14@mail.gmail.com> I have enabled openid module from module page and have logged in using my openid url. Once i enter the openid url, it asks me to enter my password. After entering my password, i get page not found error. I don't get what i messed up with openid. Is there something i need to do part from enabling the module? I posted the issue in drupal forum (http://drupal.org/node/509100) but no reply. In the mean time i have seen there was a talk on this issue previously yet no solution http://drupal.org/node/433274 http://drupal.org/node/444050 I am sure i am not the only one to have this issue. I was searching for a solution for more than 2 weeks. Any of your help would be great to me. Looking forward your comments. Thanks in advance. With regards Crazyguru -------------- next part -------------- An HTML attachment was scrubbed... URL: From michel at ziobuddalabs.it Mon Jul 6 15:06:33 2009 From: michel at ziobuddalabs.it (Michel Morelli) Date: Mon, 06 Jul 2009 17:06:33 +0200 Subject: [support] pager_query return 300+ pages. Message-ID: <4A5212F9.50607@ziobuddalabs.it> Hi, this is my code: db_set_active('db1'); $query = "SELECT * from {keywords2} order by keyword_id desc"; $pager_num = 0; $res = pager_query($query,20,$pager_num,NULL); while ($data = db_fetch_array($res)) { $out['table'] .= 'LINEX'; } db_set_active('default'); $out['pager'] = theme('pager',NULL,20, $pager_num); $_SESSION['page'] = (isset($_GET['page'])) ? $_GET['page'] : 0; return theme_render_template(drupal_get_path('module','keywords')."/theme/listpage.tpl.php",$out); My problem is that theme('pager',....) return me a code for 1171 pages but my data arrive only to 837pages. Where is the error ? keywords2 is a shared table. M. -- Michel 'ZioBudda' Morelli michel at ziobuddalabs.net Consulenza sistemistica in ambito OpenSource. Sviluppo applicazioni web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ziodrupal.net MSN: michel at ziobuddalabs.it JABBER: michel at ziobuddalabs.it From michel at ziobuddalabs.it Tue Jul 7 08:58:27 2009 From: michel at ziobuddalabs.it (Michel Morelli) Date: Tue, 07 Jul 2009 10:58:27 +0200 Subject: [support] form_alter and form_form_id_alter. The form are not the same. Message-ID: <4A530E33.4010001@ziobuddalabs.it> Hi. I have a cck's node. I need to change the value of some fields when the "add" form is created. I know that I need to use hook_fom_alter() or hook_form_form_id_alter(). But now the question: why the output of a print_r($form) executed in the hook_form_form_id_alter() function is not the same that I receive if I exec the print_r() in the hook_form_alter() function. The first does not contain the cck fields. Is only a my installation problem or is normal ? M. -- Michel 'ZioBudda' Morelli michel at ziobuddalabs.net Consulenza sistemistica in ambito OpenSource. Sviluppo applicazioni web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ziodrupal.net MSN: michel at ziobuddalabs.it JABBER: michel at ziobuddalabs.it From victorkane at gmail.com Tue Jul 7 09:08:31 2009 From: victorkane at gmail.com (Victor Kane) Date: Tue, 7 Jul 2009 06:08:31 -0300 Subject: [support] form_alter and form_form_id_alter. The form are not the same. In-Reply-To: <4A530E33.4010001@ziobuddalabs.it> References: <4A530E33.4010001@ziobuddalabs.it> Message-ID: It's probably picking up on another form on the same page: filter with the form id On Tue, Jul 7, 2009 at 5:58 AM, Michel Morelli wrote: > Hi. I have a cck's node. I need to change the value of some fields when the > "add" form is created. > I know that I need to use hook_fom_alter() or hook_form_form_id_alter(). > But now the question: why the output of a print_r($form) executed in the > hook_form_form_id_alter() function is not the same that I receive if I exec > the print_r() in the hook_form_alter() function. The first does not contain > the cck fields. > > Is only a my installation problem or is normal ? > > M. > > -- > Michel 'ZioBudda' Morelli michel at ziobuddalabs.net > Consulenza sistemistica in ambito OpenSource. > Sviluppo applicazioni web dinamiche (LAMP+Ajax) > Telefono: 0200619074 > Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 > > http://www.ziobudda.net ICQ: 58351764 > http://www.ziobuddalabs.it Skype: zio_budda > http://www.ziodrupal.net MSN: > michel at ziobuddalabs.it > JABBER: michel at ziobuddalabs.it > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From michel at ziobuddalabs.it Tue Jul 7 09:19:27 2009 From: michel at ziobuddalabs.it (Michel Morelli) Date: Tue, 07 Jul 2009 11:19:27 +0200 Subject: [support] form_alter and form_form_id_alter. The form are not the same. In-Reply-To: References: <4A530E33.4010001@ziobuddalabs.it> Message-ID: <4A53131F.3030200@ziobuddalabs.it> Victor Kane ha scritto: > It's probably picking up on another form on the same page: filter with > the form id Only one form and filtered too. M. -- Michel 'ZioBudda' Morelli michel at ziobuddalabs.net Consulenza sistemistica in ambito OpenSource. Sviluppo applicazioni web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ziodrupal.net MSN: michel at ziobuddalabs.it JABBER: michel at ziobuddalabs.it From gordon at heydon.com.au Tue Jul 7 09:27:52 2009 From: gordon at heydon.com.au (Gordon Heydon) Date: Tue, 7 Jul 2009 19:27:52 +1000 Subject: [support] form_alter and form_form_id_alter. The form are not the same. In-Reply-To: <4A530E33.4010001@ziobuddalabs.it> References: <4A530E33.4010001@ziobuddalabs.it> Message-ID: Hi This is normal. It all depends on the order and wherevypu module is being called compared to cck. Gordon On 07/07/2009, at 6:58 PM, Michel Morelli wrote: > Hi. I have a cck's node. I need to change the value of some fields > when the "add" form is created. > I know that I need to use hook_fom_alter() or hook_form_form_id_alter > (). But now the question: why the output of a print_r($form) > executed in the > hook_form_form_id_alter() function is not the same that I receive if > I exec the print_r() in the hook_form_alter() function. The first > does not contain the cck fields. > > Is only a my installation problem or is normal ? > > M. > > -- > Michel 'ZioBudda' Morelli > michel at ziobuddalabs.net > Consulenza sistemistica in ambito OpenSource. > Sviluppo applicazioni web dinamiche (LAMP+Ajax) > Telefono: 0200619074 > Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 > > http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it > Skype: zio_budda > http://www.ziodrupal.net MSN: > michel at ziobuddalabs.it > JABBER: michel at ziobuddalabs.it > > -- > [ Drupal support list | http://lists.drupal.org/ ] From michel at ziobuddalabs.it Tue Jul 7 09:41:40 2009 From: michel at ziobuddalabs.it (Michel Morelli) Date: Tue, 07 Jul 2009 11:41:40 +0200 Subject: [support] form_alter and form_form_id_alter. The form are not the same. In-Reply-To: References: <4A530E33.4010001@ziobuddalabs.it> Message-ID: <4A531854.6030305@ziobuddalabs.it> Gordon Heydon ha scritto: > Hi > > This is normal. It all depends on the order and wherevypu module is > being called compared to cck. > Ah, ok.Thanks. Is there the possibility to know this order ? M. -- Michel 'ZioBudda' Morelli michel at ziobuddalabs.net Consulenza sistemistica in ambito OpenSource. Sviluppo applicazioni web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ziodrupal.net MSN: michel at ziobuddalabs.it JABBER: michel at ziobuddalabs.it From victorkane at gmail.com Tue Jul 7 09:45:55 2009 From: victorkane at gmail.com (Victor Kane) Date: Tue, 7 Jul 2009 06:45:55 -0300 Subject: [support] form_alter and form_form_id_alter. The form are not the same. In-Reply-To: <4A531854.6030305@ziobuddalabs.it> References: <4A530E33.4010001@ziobuddalabs.it> <4A531854.6030305@ziobuddalabs.it> Message-ID: What order? If he says there's only one form on the page??? On Tue, Jul 7, 2009 at 6:41 AM, Michel Morelli wrote: > Gordon Heydon ha scritto: > >> Hi >> >> This is normal. It all depends on the order and wherevypu module is being >> called compared to cck. >> >> Ah, ok.Thanks. > > Is there the possibility to know this order ? > > > M. > > -- > Michel 'ZioBudda' Morelli michel at ziobuddalabs.net > Consulenza sistemistica in ambito OpenSource. > Sviluppo applicazioni web dinamiche (LAMP+Ajax) > Telefono: 0200619074 > Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 > > http://www.ziobudda.net ICQ: 58351764 > http://www.ziobuddalabs.it Skype: zio_budda > http://www.ziodrupal.net MSN: > michel at ziobuddalabs.it > JABBER: michel at ziobuddalabs.it > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From michel at ziobuddalabs.it Tue Jul 7 09:47:25 2009 From: michel at ziobuddalabs.it (Michel Morelli) Date: Tue, 07 Jul 2009 11:47:25 +0200 Subject: [support] form_alter and form_form_id_alter. The form are not the same. In-Reply-To: References: <4A530E33.4010001@ziobuddalabs.it> <4A531854.6030305@ziobuddalabs.it> Message-ID: <4A5319AD.4050702@ziobuddalabs.it> Victor Kane ha scritto: > What order? If he says there's only one form on the page??? You talk about "form", Gordon talk about "module". M. -- Michel 'ZioBudda' Morelli michel at ziobuddalabs.net Consulenza sistemistica in ambito OpenSource. Sviluppo applicazioni web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ziodrupal.net MSN: michel at ziobuddalabs.it JABBER: michel at ziobuddalabs.it From hovercrafter at earthlink.net Tue Jul 7 11:24:38 2009 From: hovercrafter at earthlink.net (Jamie Holly) Date: Tue, 07 Jul 2009 07:24:38 -0400 Subject: [support] form_alter and form_form_id_alter. The form are not the same. In-Reply-To: <4A5319AD.4050702@ziobuddalabs.it> References: <4A530E33.4010001@ziobuddalabs.it> <4A531854.6030305@ziobuddalabs.it> <4A5319AD.4050702@ziobuddalabs.it> Message-ID: <4A533076.6070401@earthlink.net> Set your module weight lower than CCK. CCK installs with the default weight of 0, so setting your module to -1 or anything less will cause it to load before CCK and the hooks to be executed before CCK: http://drupal.org/node/110238 Jamie Holly http://www.intoxination.net http://www.hollyit.net Michel Morelli wrote: > Victor Kane ha scritto: > > What order? If he says there's only one form on the page??? > You talk about "form", Gordon talk about "module". > > M. > > From rotsen at gmail.com Tue Jul 7 14:31:59 2009 From: rotsen at gmail.com (=?ISO-8859-1?B?TulzdG9y?=) Date: Tue, 7 Jul 2009 07:31:59 -0700 Subject: [support] White screen of death In-Reply-To: <08817CB5-4325-49B3-B527-379069BD9569@anonemusic.com> References: <1246599103.23181.27.camel@Hubuntu> <08817CB5-4325-49B3-B527-379069BD9569@anonemusic.com> Message-ID: I get this when I add a module and what I do is to hit the 'Back' button on the browser and reload modules or remove the last module that I loaded but I have never upgraded revision. I never understood how such a well used software can go blank and there is not a solution for the 'blank screen of deat' :-) 2009/7/3 A-NO-NE Music > > On 09/07/03(?), at 1:31, Tony Bazeley wrote: > > Attempting to access my drupal site shows a completely blank page - no >> timeout - just a blank page. >> > > When this happens, the first thing I do is to increase the memory size, > which solves it all the time in my experiences. > > > -- > - Hiro > > Hiroaki Honshuku, A-NO-NE Music, Greater Boston > http://a-no-ne.com http://anonemusic.com > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rotsen at gmail.com Tue Jul 7 14:32:41 2009 From: rotsen at gmail.com (=?ISO-8859-1?B?TulzdG9y?=) Date: Tue, 7 Jul 2009 07:32:41 -0700 Subject: [support] White screen of death In-Reply-To: References: <1246599103.23181.27.camel@Hubuntu> <08817CB5-4325-49B3-B527-379069BD9569@anonemusic.com> Message-ID: I meant to say the 'Blank screen of death'. :-) 2009/7/7 N?stor > I get this when I add a module and what I do is to hit the 'Back' button on > the browser and reload modules or remove the last module that I loaded > but I have never upgraded revision. I never understood how such a well > used software can go blank and there is not a solution for the > 'blank screen of deat' > > :-) > > 2009/7/3 A-NO-NE Music > > >> On 09/07/03(?), at 1:31, Tony Bazeley wrote: >> >> Attempting to access my drupal site shows a completely blank page - no >>> timeout - just a blank page. >>> >> >> When this happens, the first thing I do is to increase the memory size, >> which solves it all the time in my experiences. >> >> >> -- >> - Hiro >> >> Hiroaki Honshuku, A-NO-NE Music, Greater Boston >> http://a-no-ne.com http://anonemusic.com >> >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From info at koba.be Tue Jul 7 15:00:26 2009 From: info at koba.be (KOBA | Hans Rossel) Date: Tue, 7 Jul 2009 17:00:26 +0200 Subject: [support] White screen of death In-Reply-To: References: <1246599103.23181.27.camel@Hubuntu> <08817CB5-4325-49B3-B527-379069BD9569@anonemusic.com> Message-ID: <51a9b8330907070800l2560cea4w30d6b6e2bfbb0a0e@mail.gmail.com> I think you best fix this in the database (take backup first): - truncate all tables that start with cache_ - change active theme back to garland (there is a 0 / 1 flag for this) as mentioned before -------------- next part -------------- An HTML attachment was scrubbed... URL: From julien at webhallen.com Tue Jul 7 14:45:56 2009 From: julien at webhallen.com (Julien Nebbout) Date: Tue, 07 Jul 2009 16:45:56 +0200 Subject: [support] White screen of death In-Reply-To: References: <1246599103.23181.27.camel@Hubuntu> <08817CB5-4325-49B3-B527-379069BD9569@anonemusic.com> Message-ID: <4A535FA4.9060603@webhallen.com> Hi! Getting WSOD usually means you get some kind of runtime/syntax error in the PHP code but have error reporting turned off. You can check your php.ini, use the error_reporting()/display_errors()/ini_set() functions or even use .htaccess (see the comments at the bottom of the link below). A first step could be to check your webserver logs, since PHP errors are usually found in the httpd error log. For more info check out http://se.php.net/manual/en/errorfunc.configuration.php#ini.error-reporting /J From emma.badger at chocolateteapot.net Tue Jul 7 15:22:50 2009 From: emma.badger at chocolateteapot.net (Emma Badger) Date: Tue, 7 Jul 2009 16:22:50 +0100 Subject: [support] Online help/Wiki?? Message-ID: <26885A35-8EE5-4C0E-A93E-6C22F8B17C3D@chocolateteapot.net> I did look at Drupal a year ago and I was very impressed. I'm considering using Drupal to store online help and video tutorials. I've Googled it and it seems feasible, I just wanted a little more info. For example a category of Portal, with a sub category of Web Parts and then maybe a page for each Webpart. I imaging the default Drupal would easily handle that. I expect I could just embed the flash tutorial into the page? Access to the tutorials would be on a registered user type basis - i.e. only certain users would be able to access them. I think Drupal could handle that? I'd like to read a bit more on the Wiki type cross referencing - where a term links to the relevant page - and how it works. Does anyone know the technical term for it? Do you think Drupal is a good fit, or do you know of anything more suitable? Does anyone have a view on using Wordpress instead? Any comments would be appreciated. Thanks From michel at ziobuddalabs.it Tue Jul 7 15:32:00 2009 From: michel at ziobuddalabs.it (Michel Morelli) Date: Tue, 07 Jul 2009 17:32:00 +0200 Subject: [support] form_alter and form_form_id_alter. The form are not the same. In-Reply-To: <4A533076.6070401@earthlink.net> References: <4A530E33.4010001@ziobuddalabs.it> <4A531854.6030305@ziobuddalabs.it> <4A5319AD.4050702@ziobuddalabs.it> <4A533076.6070401@earthlink.net> Message-ID: <4A536A70.9080102@ziobuddalabs.it> Jamie Holly ha scritto: > Set your module weight lower than CCK. CCK installs with the default > weight of 0, so setting your module to -1 or anything less will cause > it to load before CCK and the hooks to be executed before CCK: > > http://drupal.org/node/110238 Thanks for the link. M. -- Michel 'ZioBudda' Morelli michel at ziobuddalabs.net Consulenza sistemistica in ambito OpenSource. Sviluppo applicazioni web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ziodrupal.net MSN: michel at ziobuddalabs.it JABBER: michel at ziobuddalabs.it From hello at fresh-off.com Wed Jul 8 21:21:30 2009 From: hello at fresh-off.com (brendan, fresh-off.com) Date: Wed, 8 Jul 2009 14:21:30 -0700 Subject: [support] drupal 6 and Paypal Message-ID: <000001ca0012$10ae2520$320a6f60$@com> Hello, What is the simplest way to integrate PayPal into a D6 website? I see that UberCart can be set up for PayPal - but I've never used it and from a quick look at it, I'm wondering if it's MORE than I need for simple way for non-tech users to make payments using PayPal. Is UberCart the best way to go, or perhaps lm_paypal, or even the e-commerce module? This is my first dabble into online payments, so I'm trying to keep it as simple as possible! Thanks for any suggestions!! Brendan -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchoc at t4tcolorado.org Wed Jul 8 22:28:31 2009 From: bchoc at t4tcolorado.org (Brian Choc) Date: Wed, 8 Jul 2009 16:28:31 -0600 Subject: [support] drupal 6 and Paypal In-Reply-To: <000001ca0012$10ae2520$320a6f60$@com> References: <000001ca0012$10ae2520$320a6f60$@com> Message-ID: <507b282e0907081528j7df282c7t39f303955fc938a7@mail.gmail.com> It really depends on what you want to accomplish with Paypal. Can you elaborate? In the simplest case, for example, if you just want a donation button Paypal has some ready-made code you can drop into a block. Brian On Wed, Jul 8, 2009 at 3:21 PM, brendan, fresh-off.com wrote: > Hello, > > What is the simplest way to integrate PayPal into a D6 website? > > > > I see that UberCart can be set up for PayPal - but I've never used it and > from a quick look at it, I'm wondering if it's MORE than I need for simple > way for non-tech users to make payments using PayPal. > > > > Is UberCart the best way to go, or perhaps lm_paypal, or even the > e-commerce module? This is my first dabble into online payments, so I'm > trying to keep it as simple as possible! > > > > Thanks for any suggestions!! > > > > Brendan > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Brian Choc Technology Director Teaming for Technology Colorado 2505 18th St. Denver, CO 80211 P: 303.561.2377, F: 303.455.6462 http://www.t4tcolorado.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.hautbois at free.fr Thu Jul 9 12:21:33 2009 From: david.hautbois at free.fr (David Hautbois) Date: Thu, 09 Jul 2009 14:21:33 +0200 Subject: [support] Files permissions Message-ID: <4A55E0CD.80102@free.fr> Hi Someone give me a tarball of preconfigured drupal installation. All files are full accessibles : 777 !!! I don't find the default good permissions to apply to folders and files. Do someone have this information ? Thanks. David. -- http://david.hautbois.free.fr http://slugplayer.free.fr From oacheson at acheson.org Thu Jul 9 13:41:17 2009 From: oacheson at acheson.org (Ollie Acheson) Date: Thu, 9 Jul 2009 09:41:17 -0400 Subject: [support] Files permissions In-Reply-To: <4A55E0CD.80102@free.fr> References: <4A55E0CD.80102@free.fr> Message-ID: <20090709134117.GX8594@kukla.acheson.org> On Thu, Jul 09, 2009 at 02:21:33PM +0200, David Hautbois wrote: > Hi > > Someone give me a tarball of preconfigured drupal installation. > All files are full accessibles : 777 !!! > > I don't find the default good permissions to apply to folders and files. > > Do someone have this information ? > > Thanks. > > David. > > -- > http://david.hautbois.free.fr > http://slugplayer.free.fr > > -- > [ Drupal support list | http://lists.drupal.org/ ] David - The drupal Best Practices manual is a good place to start (http://drupal.org/best-practices). Regards, Ollie - |---------------------------| | Ollie Acheson | | Morristown, NJ | |---------------------------| From simpsonetti at googlemail.com Thu Jul 9 14:15:21 2009 From: simpsonetti at googlemail.com (=?iso-8859-1?Q?Sebastian_G=F6decke?=) Date: Thu, 9 Jul 2009 16:15:21 +0200 Subject: [support] open_basedir Message-ID: <754358245.20090709161521@googlemail.com> Guten Tag Support Support, hi, i want to enable smf-forum.modul. on D6 once enabled i get this message: warning: file_exists(): open_basedir restriction in effect. File(/smf_api_2.php) is not within the allowed path(s): (/srv/www/vhosts/xxxxxxxxxxxxxxxxxxx.de/httpdocs:/tmp:/usr/share/php5:/usr/share/php5/PEAR) in /srv/www/vhosts/xxxxxxxxxxxxxxxxx.de/httpdocs/web/sites/default/modules/smfforum/smfforum.module on line 185. my vhost.conf on a plesksystem for open_basedir: php_admin_value open_basedir "/srv/www/vhosts/xxxxxxx.de/httpdocs:/tmp:/usr/share/php5:/usr/share/ph$ There is no trailing slash so open_basedir could access to ...httpgocs/web/.... but why i get this message, does i have a syntax error ? rcapache2 restart is fine with no error. Anyone has a hint ? -- Mit freundlichen Gr??en Sebastian G?decke mailto:simpsonetti at googlemail.com From simpsonetti at googlemail.com Thu Jul 9 14:23:13 2009 From: simpsonetti at googlemail.com (=?iso-8859-1?Q?Sebastian_G=F6decke?=) Date: Thu, 9 Jul 2009 16:23:13 +0200 Subject: [support] open_basedir In-Reply-To: <754358245.20090709161521@googlemail.com> References: <754358245.20090709161521@googlemail.com> Message-ID: <878154986.20090709162313@googlemail.com> Guten Tag Sebastian G?decke, am Donnerstag, 9. Juli 2009 um 16:15 schrieben Sie: > Guten Tag Support Support, > hi, i want to enable smf-forum.modul. on D6 > once enabled i get this message: > warning: file_exists(): open_basedir restriction in effect. > File(/smf_api_2.php) is not within the allowed path(s): > (/srv/www/vhosts/xxxxxxxxxxxxxxxxxxx.de/httpdocs:/tmp:/usr/share/php5:/usr/share/php5/PEAR) > in > /srv/www/vhosts/xxxxxxxxxxxxxxxxx.de/httpdocs/web/sites/default/modules/smfforum/smfforum.module on line 185. > my vhost.conf on a plesksystem for open_basedir: > php_admin_value open_basedir > "/srv/www/vhosts/xxxxxxx.de/httpdocs:/tmp:/usr/share/php5:/usr/share/ph$ > There is no trailing slash so open_basedir could access to > ...httpgocs/web/.... > but why i get this message, does i have a syntax error ? > rcapache2 restart is fine with no error. > Anyone has a hint ? Ah, okay, i got it, i missed to upload smf_api_2.php now it works ! -- Mit freundlichen Gr??en Sebastian G?decke mailto:simpsonetti at googlemail.com From fb at codicelibero.net Thu Jul 9 14:44:04 2009 From: fb at codicelibero.net (Francesco Baldini) Date: Thu, 9 Jul 2009 16:44:04 +0200 Subject: [support] Different registration for different roles with different fields Message-ID: I need to let user register with different roles. Roles are Companies, Freelances, Regular users. I found Profile role module but I guess is not what I need.. I'd need something that let me chose which kind of role I want apply for and thend, filling the right fields (I have different fields for every kind of Companies/Freelance/Regular users) do you have any idea? thanks From david.hautbois at free.fr Thu Jul 9 14:51:34 2009 From: david.hautbois at free.fr (David Hautbois) Date: Thu, 09 Jul 2009 16:51:34 +0200 Subject: [support] Files permissions In-Reply-To: <20090709134117.GX8594@kukla.acheson.org> References: <4A55E0CD.80102@free.fr> <20090709134117.GX8594@kukla.acheson.org> Message-ID: <4A5603F6.40200@free.fr> Ollie Acheson wrote: > On Thu, Jul 09, 2009 at 02:21:33PM +0200, David Hautbois wrote: > >> Hi >> >> Someone give me a tarball of preconfigured drupal installation. >> All files are full accessibles : 777 !!! >> >> I don't find the default good permissions to apply to folders and files. >> >> Do someone have this information ? >> >> Thanks. >> >> David. >> >> -- >> http://david.hautbois.free.fr >> http://slugplayer.free.fr >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > David - > > The drupal Best Practices manual is a good place to start > (http://drupal.org/best-practices). > > Regards, > > Ollie > > - > |---------------------------| > | Ollie Acheson | > | Morristown, NJ | > |---------------------------| > > -- > [ Drupal support list | http://lists.drupal.org/ ] > Good link ! thanks ! -- http://david.hautbois.free.fr http://slugplayer.free.fr From dpchrist at holgerdanske.com Thu Jul 9 13:59:33 2009 From: dpchrist at holgerdanske.com (David Christensen) Date: Thu, 9 Jul 2009 06:59:33 -0700 Subject: [support] Files permissions In-Reply-To: <4A55E0CD.80102@free.fr> References: <4A55E0CD.80102@free.fr> Message-ID: <00cd01ca009d$7d2124b0$77636e10$@com> David Hautbois wrote: > Someone give me a tarball of preconfigured drupal installation. > All files are full accessibles : 777 !!! > I don't find the default good permissions to apply to folders and files. > Do someone have this information ? 1. How did your friend create the tarball and how did you extract it? If GNU tar and gzip is used on both ends, I believe permissions can/ should be preserved. This is the best answer. 2. Have your friend run 'ls -lR' on the preconfigured Drupal installation and send you the output, then use 'chmod' to change your files. This is the labor-intensive answer. HTH, David From dpchrist at holgerdanske.com Thu Jul 9 13:59:33 2009 From: dpchrist at holgerdanske.com (David Christensen) Date: Thu, 9 Jul 2009 06:59:33 -0700 Subject: [support] Files permissions In-Reply-To: <4A55E0CD.80102@free.fr> References: <4A55E0CD.80102@free.fr> Message-ID: <00cd01ca009d$7d2124b0$77636e10$@com> David Hautbois wrote: > Someone give me a tarball of preconfigured drupal installation. > All files are full accessibles : 777 !!! > I don't find the default good permissions to apply to folders and files. > Do someone have this information ? 1. How did your friend create the tarball and how did you extract it? If GNU tar and gzip is used on both ends, I believe permissions can/ should be preserved. This is the best answer. 2. Have your friend run 'ls -lR' on the preconfigured Drupal installation and send you the output, then use 'chmod' to change your files. This is the labor-intensive answer. HTH, David From pinky at evakoss.com Thu Jul 9 14:30:29 2009 From: pinky at evakoss.com (Pinky Goyal) Date: Thu, 9 Jul 2009 20:00:29 +0530 Subject: [support] Need organic group mailing list functionality Message-ID: <007b01ca00a1$d0154530$703fcf90$@com> Hello, I need mailing list functionality for organic group I found a module og2list but it is only in D4 my site is in D6 , I want to give option to group users for subscribing to the mailing list. can anyone suggest me how can I implement it in D6. Thanks, Pinky -------------- next part -------------- An HTML attachment was scrubbed... URL: From shai at content2zero.com Thu Jul 9 16:30:06 2009 From: shai at content2zero.com (Shai Gluskin) Date: Thu, 9 Jul 2009 12:30:06 -0400 Subject: [support] Need organic group mailing list functionality In-Reply-To: <007b01ca00a1$d0154530$703fcf90$@com> References: <007b01ca00a1$d0154530$703fcf90$@com> Message-ID: <9f68efb70907090930h46104dd3xe711b9ae1a4c868e@mail.gmail.com> Pinky, Hi. look at the following modules (this isn't meant to be comprehensive or a recipe, will just get you started with more ideas. If it is one-way blasting then I think OG has that built in. But assuming you want conversation... Check out the following. Notifications Mailhandler Listhandler (if you want to combine with a traditional list serve) Messaging Mail2web Best, Shai On Thu, Jul 9, 2009 at 10:30 AM, Pinky Goyal wrote: > Hello, > > > > I need mailing list functionality for organic group I found a module > og2list but it is only in D4 my site is in D6 , I want to give option to > group users for subscribing to the mailing list. > > > > can anyone suggest me how can I implement it in D6. > > > > Thanks, > > Pinky > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nabil.malik at probity.ws Thu Jul 9 17:51:17 2009 From: nabil.malik at probity.ws (Nabil Malik) Date: Thu, 9 Jul 2009 20:51:17 +0300 Subject: [support] Forum topic side-wide contact from not emailing the user's email while sending the email has been updated. Message-ID: <967437330907091051l63a763aeobec07c3e1367bc48@mail.gmail.com> Dear Community, When some one (authenticated user or anonymous user) uses the site wide contact form, I do get the email, however, the email does not include the value entered in the email field (for anonymous user).. It only includes the subject, Name, and the Message. The problem is I cannot contact the anonymous users as I don't get their email address that they entered while submitting the form. Is the a way i can fix it. Thanks, -Nabil. -------------- next part -------------- An HTML attachment was scrubbed... URL: From nabil.malik at probity.ws Fri Jul 10 10:31:08 2009 From: nabil.malik at probity.ws (Nabil Malik) Date: Fri, 10 Jul 2009 13:31:08 +0300 Subject: [support] Forum topic side-wide contact from not emailing the user's email while sending the email has been updated. In-Reply-To: <967437330907091051l63a763aeobec07c3e1367bc48@mail.gmail.com> References: <967437330907091051l63a763aeobec07c3e1367bc48@mail.gmail.com> Message-ID: <1247221868.4180.0.camel@neon> Just for further clarification, I am getting the emails, however, i want the the contact module to include in the email body (of the email that I receive) the email address entered by the anonymous user in the form before submitting the form. This will enable me to contact back the anonymous user. Thanks, -Nabil. On Thu, 2009-07-09 at 20:51 +0300, Nabil Malik wrote: > Dear Community, > > When some one (authenticated user or anonymous user) uses the site > wide contact form, I do get the email, however, the email does not > include the value entered in the email field (for anonymous user).. It > only includes the subject, Name, and the Message. The problem is I > cannot contact the anonymous users as I don't get their email address > that they entered while submitting the form. Is the a way i can fix > it. > > Thanks, > > -Nabil. > > From moya at latertulia.org Fri Jul 10 14:01:02 2009 From: moya at latertulia.org (Maykel Moya) Date: Fri, 10 Jul 2009 10:01:02 -0400 Subject: [support] Downloadable API documentation Message-ID: <3b81bca30907100701s28eccb42xe549e6c253fddc3c@mail.gmail.com> I'm looking for API documentation for offline reading. Google haven't been of much help. Besides it has been impossible to me download the site with wget because of the pattern functions/foo/6 instead of something like 6/functions/foo. I'm not interested in getting older versions documentation. So, please, any help with this? Saludos maykel From hall.blake at gmail.com Fri Jul 10 14:15:04 2009 From: hall.blake at gmail.com (Blake Hall) Date: Fri, 10 Jul 2009 09:15:04 -0500 Subject: [support] Downloadable API documentation In-Reply-To: <3b81bca30907100701s28eccb42xe549e6c253fddc3c@mail.gmail.com> References: <3b81bca30907100701s28eccb42xe549e6c253fddc3c@mail.gmail.com> Message-ID: <429f91ed0907100715y7c2b9b58ied555c1249f64cee@mail.gmail.com> You can use the API module to generate your own local documentation, just like api.drupal.org. http://drupal.org/project/api and http://drupal.org/node/425940 Cheers, blake hall On Fri, Jul 10, 2009 at 9:01 AM, Maykel Moya wrote: > I'm looking for API documentation for offline reading. Google haven't > been of much help. Besides it has been impossible to me download the > site with wget because of the pattern functions/foo/6 instead of > something like 6/functions/foo. I'm not interested in getting older > versions documentation. > > So, please, any help with this? > > Saludos > maykel > -- > [ Drupal support list | http://lists.drupal.org/ ] > From oke at iisg.nl Fri Jul 10 15:41:53 2009 From: oke at iisg.nl (Ole Kerpel) Date: Fri, 10 Jul 2009 17:41:53 +0200 Subject: [support] Flickr upload module Message-ID: Hi all, After an hour of search -without success- for modules that can handle image upload to Flickr I decided to post this question. Does anyone know where I can find n image-upload-to-Flickr-module? FYI: I work with the latest version of Drupal 6, 6.13. Thanks in advance for the trouble taken, kerpelo -------------- next part -------------- An HTML attachment was scrubbed... URL: From cjones at partialflow.com Fri Jul 10 15:32:12 2009 From: cjones at partialflow.com (Christopher M. Jones) Date: Fri, 10 Jul 2009 11:32:12 -0400 Subject: [support] sending real time messages to users Message-ID: <4A575EFC.2050807@partialflow.com> Hi, all. I'm looking for a way to send users real time messages about system and module events. I want to: 1. Set up rules to send messages based on, e.g., nodequeue updates, etc. 2. Allow users to select their receipt method 3. Allow users to select which types of message go where: e.g., messages from other users to to one place while queue update messages go to another 4. Provide a real-time notifications block where messages are posted immediately, without a page reload. The points I'm stuck on are the multiple methods depending on message type, or message source. I don't see that the notifications / messaging modules allow multiple send methods at once. Nor do they allow me to distinguish among different types of message to configure per type sending. I'm thinking that what I want for real-time notifications is some sort of xmpp setup, but I'm not finding the XMPP Framework to have exactly what I need, nor do I really understand the implementation. Also, I'm running in shared hosting, so I don't think I'm able to set up my own xmpp server. So what I'm asking is this: 1. What's the best way to send system messages to users real-time? 2. Where can I find a nice summary of messaging technology in Drupal, to help put all the modules in context? 3. Is there a module I should consider, beyond the usual suspects? From webdev at brandtim.com Sat Jul 11 17:15:39 2009 From: webdev at brandtim.com (Tim Knittel) Date: Sat, 11 Jul 2009 13:15:39 -0400 Subject: [support] Forum topic side-wide contact from not emailing the user's email while sending the email has been updated. In-Reply-To: <1247221868.4180.0.camel@neon> References: <967437330907091051l63a763aeobec07c3e1367bc48@mail.gmail.com> <1247221868.4180.0.camel@neon> Message-ID: <000801ca024b$375a7bc0$a60f7340$@com> Nabil, The default is for the 'from' field in the email that you receive to be the email address entered into the form. Are you getting something different? Tim Knittel -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Nabil Malik Sent: Friday, July 10, 2009 6:31 AM To: support at drupal.org Subject: Re: [support] Forum topic side-wide contact from not emailing the user's email while sending the email has been updated. Just for further clarification, I am getting the emails, however, i want the the contact module to include in the email body (of the email that I receive) the email address entered by the anonymous user in the form before submitting the form. This will enable me to contact back the anonymous user. Thanks, -Nabil. On Thu, 2009-07-09 at 20:51 +0300, Nabil Malik wrote: > Dear Community, > > When some one (authenticated user or anonymous user) uses the site > wide contact form, I do get the email, however, the email does not > include the value entered in the email field (for anonymous user).. It > only includes the subject, Name, and the Message. The problem is I > cannot contact the anonymous users as I don't get their email address > that they entered while submitting the form. Is the a way i can fix > it. > > Thanks, > > -Nabil. > > -- [ Drupal support list | http://lists.drupal.org/ ] From me at u-journal.org Mon Jul 13 08:53:53 2009 From: me at u-journal.org (Unai Rodriguez) Date: Mon, 13 Jul 2009 02:53:53 -0600 Subject: [support] Best way to deploy Drupal. Message-ID: Dear All, We are building a somewhat complex site based on Drupal which features redundant servers at all levels of the system. We are starting of with 12 machines. We currently have three environments: development, staging and production. We are having a hard time setting an automated deployment mechanism. I have searched on the archives but was able to find this thread only: http://lists.drupal.org/pipermail/support/2007-May/004711.html I have not been able to understand from that how other people out there are implementing automated deployment. I found a number of links outside drupal.org: http://stackoverflow.com/questions/377629/drupal-deployment-testing-dont-how-to-call-it-tool http://stackoverflow.com/questions/282858/drupal-source-control-strategy http://nicksergeant.com/blog/drupal/painless-drupal-revision-control-cvs-and-subversion-shared-host http://nicksergeant.com/blog/drupal/my-thoughts-small-scale-drupal-development-production-environments-cvs-and-subversion http://www.workhabit.com/labs/autopilot http://www.dave-cohen.com/node/1066 http://www.garfieldtech.com/blog/drupal-dev-server I have been working with Drupal's DEPLOY Module (http://drupal.org/project/deploy). Also I am trying to contact Workhabit (i.e. Autopilot guys). I have not found yet a solid approach to automate deployment. Would anyone through me some pointers on how to do it? How are you guys doing this? Thank you so much, unai From kathleen at ceardach.com Mon Jul 13 12:40:48 2009 From: kathleen at ceardach.com (Kathleen Murtagh) Date: Mon, 13 Jul 2009 08:40:48 -0400 Subject: [support] Best way to deploy Drupal. In-Reply-To: References: Message-ID: <78789e870907130540v7ef46ce6v4e1b150f246e88b3@mail.gmail.com> "Automating" deployment? To what degree do you expect this to be automated? I can't think of any situation in which you'd want deployment to be done without observation and testing during the process. Can you elaborate on what sort of process you are expecting? -- Kathleen Murtagh On Mon, Jul 13, 2009 at 4:53 AM, Unai Rodriguez wrote: > Dear All, > > We are building a somewhat complex site based on Drupal which features > redundant servers at all levels of the system. We are starting of with 12 > machines. We currently have three environments: development, staging and > production. > > We are having a hard time setting an automated deployment mechanism. > > I have searched on the archives but was able to find this thread only: > http://lists.drupal.org/pipermail/support/2007-May/004711.html > > I have not been able to understand from that how other people out there are > implementing automated deployment. > > I found a number of links outside drupal.org: > > > http://stackoverflow.com/questions/377629/drupal-deployment-testing-dont-how-to-call-it-tool > http://stackoverflow.com/questions/282858/drupal-source-control-strategy > > http://nicksergeant.com/blog/drupal/painless-drupal-revision-control-cvs-and-subversion-shared-host > > http://nicksergeant.com/blog/drupal/my-thoughts-small-scale-drupal-development-production-environments-cvs-and-subversion > http://www.workhabit.com/labs/autopilot > http://www.dave-cohen.com/node/1066 > http://www.garfieldtech.com/blog/drupal-dev-server > > I have been working with Drupal's DEPLOY Module > (http://drupal.org/project/deploy). Also I am trying to contact Workhabit > (i.e. Autopilot guys). > > I have not found yet a solid approach to automate deployment. Would anyone > through me some pointers on how to do it? How are you guys doing this? > > Thank you so much, > unai > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From me at u-journal.org Mon Jul 13 13:04:37 2009 From: me at u-journal.org (Unai Rodriguez) Date: Mon, 13 Jul 2009 21:04:37 +0800 Subject: [support] Best way to deploy Drupal. In-Reply-To: <78789e870907130540v7ef46ce6v4e1b150f246e88b3@mail.gmail.com> References: <78789e870907130540v7ef46ce6v4e1b150f246e88b3@mail.gmail.com> Message-ID: <20090713210437942764.949c940a@u-journal.org> Dear Kathleen, Thank you so much for your reply. I guess we would like our deployment process to be somewhat similar to what we use in other projects; a number of developers are writing code while testing on their local machine first (aka developer sandbox). Each developer's machine has a web server and database server with a copy of the code. Once a developer is sure that her stuff is working fine on her sandbox that is the time when she will commit it into our version control system (i.e. we use subversion). We have a server that takes care of the automated deployments. That is, any developer can access a web-based interface, input her user/password and click one button. This button will deploy the build which is currently on the trunk in subversion and put it into the development server; also some other things will take place like copying the proper settings.php file (in drupal's case) to the proper server(s). From the web-based interface a developer can deploy to any of the 3 environments: development, staging or production. Usually development is where developers test (plus their sandboxes). Our Quality Assurance team takes care of testing the staging and production servers. That means deployments to these two environments are more controlled. The deployment process is automated, meaning, you can push the code to any environment upon clicking one button. The process takes care of deploying the right code in the right place plus the configuration files (in this case settings.php). We have been doing this for a while, I think is pretty standard. Now, for Drupal is different since part of the "settings" are stored in the database, right? We are having a hard time getting the database settings to be applied over to the next environment (i.e. development to staging or staging to production). I have been testing the deploy module which is able to do something like this... My question is more along the lines of... What do you guys do? Do you just deploy manually (i.e. reproduce the settings from your sandboxes to development, then to staging then to production) or you found a way of having this automated? Thank you so much :-) unai On Mon, 13 Jul 2009 08:40:48 -0400, Kathleen Murtagh wrote: > "Automating" deployment? To what degree do you expect this to be automated? > > I can't think of any situation in which you'd want deployment to be > done without observation and testing during the process. > > Can you elaborate on what sort of process you are expecting? > > -- > Kathleen Murtagh > > > On Mon, Jul 13, 2009 at 4:53 AM, Unai Rodriguez wrote: >> Dear All, >> >> We are building a somewhat complex site based on Drupal which features >> redundant servers at all levels of the system. We are starting of with 12 >> machines. We currently have three environments: development, staging and >> production. >> >> We are having a hard time setting an automated deployment mechanism. >> >> I have searched on the archives but was able to find this thread only: >> http://lists.drupal.org/pipermail/support/2007-May/004711.html >> >> I have not been able to understand from that how other people out there are >> implementing automated deployment. >> >> I found a number of links outside drupal.org: >> >> http://stackoverflow.com/questions/377629/drupal-deployment-testing-dont-how-to-call-it-tool >> http://stackoverflow.com/questions/282858/drupal-source-control-strategy >> http://nicksergeant.com/blog/drupal/painless-drupal-revision-control-cvs-and-subversion-shared-host >> http://nicksergeant.com/blog/drupal/my-thoughts-small-scale-drupal-development-production-environments-cvs-and-subversion >> http://www.workhabit.com/labs/autopilot >> http://www.dave-cohen.com/node/1066 >> http://www.garfieldtech.com/blog/drupal-dev-server >> >> I have been working with Drupal's DEPLOY Module >> (http://drupal.org/project/deploy). Also I am trying to contact Workhabit >> (i.e. Autopilot guys). >> >> I have not found yet a solid approach to automate deployment. Would anyone >> through me some pointers on how to do it? How are you guys doing this? >> >> Thank you so much, >> unai >> -- >> [ Drupal support list | http://lists.drupal.org/ ] > > > -- > [ Drupal support list | http://lists.drupal.org/ ] From kathleen at ceardach.com Mon Jul 13 13:52:13 2009 From: kathleen at ceardach.com (Kathleen Murtagh) Date: Mon, 13 Jul 2009 09:52:13 -0400 Subject: [support] Best way to deploy Drupal. In-Reply-To: <20090713210437942764.949c940a@u-journal.org> References: <78789e870907130540v7ef46ce6v4e1b150f246e88b3@mail.gmail.com> <20090713210437942764.949c940a@u-journal.org> Message-ID: <78789e870907130652s7c0c393ag4bc109b77aeefc07@mail.gmail.com> There are three main methods for managing the database when deploying from one workspace to another. The most common is "write down, or script your database configuration settings and repeat them in the next workspace." This is where people generally start out as it is the easiest, conceptually, to understand. It is both prone to human error and tedious, though. The second method is "put everything in code and update functions." This is the most recommended method because it is scalable both for very small and very large projects. It is also the most complicated because it requires adept programmers and takes away all the nice gui tools that makes Drupal development so accessible. There is progress towards this front, though. There is a movement to provide more "exportables" that will allow a developer to use the web gui to configure something, export the settings, and place it into code. Views currently supports this method out of the box. The "features" module is starting to give exportable support to other areas. The last, and rarely used, method is "put the database in version control, and merge databases." This is probably the most difficult to understand conceptually, but fairly scriptable allowing non-programmer developers to use the web gui and contribute to a project. It is great for small projects, and becomes increasingly more difficult the larger and larger the database (the restriction is your developer's computing power, but a production database exceeding 500mb would start to require extra finesse to manage). The "dbscripts" module provides an extensive amount of scripts in order to use this method. I use my version control system to deploy to a workspace from the primary repository. I don't need to worry about settings.php because I do not include that in version control. I set the database configuration settings once, and then never erase that file again. If you do have other settings being used in settings.php, you could put the database connection settings, and any other workspace-specific settings in a separate file and include that file in settings.php. Manually updating the workspace-specific settings would then only be required when they change (e.g.: adding Google Analytics to production, while keeping it disabled in development and testing). I don't use a "one click" deploy, however, I generally just have to run "svn update" or "svn switch". If you use the "put everything in code and update functions" method, you can install drush and have drush run update.php for you. Your script would then just say something like, "svn update && drush updatedb" or "svn switch && drush updatedb". If you use the "put the database in version control, and merge databases" method, then you would restore the appropriate database for the given workspace. For development and testing, your script would just say something like, "svn update && ./dbscripts/restore.php none". For production, you would first merge the development and production databases, commit the merged databases and then deploy. The final deploy script would be something like, "svn switch && ./dbscripts/restore.php production min". -- Kathleen Murtagh On Mon, Jul 13, 2009 at 9:04 AM, Unai Rodriguez wrote: > Dear Kathleen, > > Thank you so much for your reply. > > I guess we would like our deployment process to be somewhat similar to > what we use in other projects; a number of developers are writing code > while testing on their local machine first (aka developer sandbox). > Each developer's machine has a web server and database server with a > copy of the code. Once a developer is sure that her stuff is working > fine on her sandbox that is the time when she will commit it into our > version control system (i.e. we use subversion). > > We have a server that takes care of the automated deployments. That is, > any developer can access a web-based interface, input her user/password > and click one button. This button will deploy the build which is > currently on the trunk in subversion and put it into the development > server; also some other things will take place like copying the proper > settings.php file (in drupal's case) to the proper server(s). > > >From the web-based interface a developer can deploy to any of the 3 > environments: development, staging or production. Usually development > is where developers test (plus their sandboxes). Our Quality Assurance > team takes care of testing the staging and production servers. That > means deployments to these two environments are more controlled. > > The deployment process is automated, meaning, you can push the code to > any environment upon clicking one button. The process takes care of > deploying the right code in the right place plus the configuration > files (in this case settings.php). > > We have been doing this for a while, I think is pretty standard. > > Now, for Drupal is different since part of the "settings" are stored in > the database, right? We are having a hard time getting the database > settings to be applied over to the next environment (i.e. development > to staging or staging to production). > > I have been testing the deploy module which is able to do something > like this... My question is more along the lines of... What do you guys > do? Do you just deploy manually (i.e. reproduce the settings from your > sandboxes to development, then to staging then to production) or you > found a way of having this automated? > > Thank you so much :-) > unai > > On Mon, 13 Jul 2009 08:40:48 -0400, Kathleen Murtagh wrote: > > "Automating" deployment? To what degree do you expect this to be > automated? > > > > I can't think of any situation in which you'd want deployment to be > > done without observation and testing during the process. > > > > Can you elaborate on what sort of process you are expecting? > > > > -- > > Kathleen Murtagh > > > > > > On Mon, Jul 13, 2009 at 4:53 AM, Unai Rodriguez > wrote: > >> Dear All, > >> > >> We are building a somewhat complex site based on Drupal which features > >> redundant servers at all levels of the system. We are starting of with > 12 > >> machines. We currently have three environments: development, staging and > >> production. > >> > >> We are having a hard time setting an automated deployment mechanism. > >> > >> I have searched on the archives but was able to find this thread only: > >> http://lists.drupal.org/pipermail/support/2007-May/004711.html > >> > >> I have not been able to understand from that how other people out there > are > >> implementing automated deployment. > >> > >> I found a number of links outside drupal.org: > >> > >> > > http://stackoverflow.com/questions/377629/drupal-deployment-testing-dont-how-to-call-it-tool > >> > http://stackoverflow.com/questions/282858/drupal-source-control-strategy > >> > > http://nicksergeant.com/blog/drupal/painless-drupal-revision-control-cvs-and-subversion-shared-host > >> > > http://nicksergeant.com/blog/drupal/my-thoughts-small-scale-drupal-development-production-environments-cvs-and-subversion > >> http://www.workhabit.com/labs/autopilot > >> http://www.dave-cohen.com/node/1066 > >> http://www.garfieldtech.com/blog/drupal-dev-server > >> > >> I have been working with Drupal's DEPLOY Module > >> (http://drupal.org/project/deploy). Also I am trying to contact > Workhabit > >> (i.e. Autopilot guys). > >> > >> I have not found yet a solid approach to automate deployment. Would > anyone > >> through me some pointers on how to do it? How are you guys doing this? > >> > >> Thank you so much, > >> unai > >> -- > >> [ Drupal support list | http://lists.drupal.org/ ] > > > > > > -- > > [ Drupal support list | http://lists.drupal.org/ ] > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From me at u-journal.org Mon Jul 13 14:02:24 2009 From: me at u-journal.org (Unai Rodriguez) Date: Mon, 13 Jul 2009 22:02:24 +0800 Subject: [support] Best way to deploy Drupal. In-Reply-To: <78789e870907130652s7c0c393ag4bc109b77aeefc07@mail.gmail.com> References: <78789e870907130540v7ef46ce6v4e1b150f246e88b3@mail.gmail.com> <20090713210437942764.949c940a@u-journal.org> <78789e870907130652s7c0c393ag4bc109b77aeefc07@mail.gmail.com> Message-ID: <20090713220224707902.19bc0dc5@u-journal.org> Thank you so much Kathleen. On Mon, 13 Jul 2009 09:52:13 -0400, Kathleen Murtagh wrote: > There are three main methods for managing the database when deploying > from one workspace to another. From me at u-journal.org Mon Jul 13 14:10:50 2009 From: me at u-journal.org (Unai Rodriguez) Date: Mon, 13 Jul 2009 22:10:50 +0800 Subject: [support] Best way to deploy Drupal. In-Reply-To: <78789e870907130652s7c0c393ag4bc109b77aeefc07@mail.gmail.com> References: <78789e870907130540v7ef46ce6v4e1b150f246e88b3@mail.gmail.com> <20090713210437942764.949c940a@u-journal.org> <78789e870907130652s7c0c393ag4bc109b77aeefc07@mail.gmail.com> Message-ID: <20090713221050920861.f7b473a5@u-journal.org> Dear Kathleen, If we want to go for the second method (i.e. "put everything in code and update functions"), how do we do it? Is all this about using "Hook Update" (http://api.drupal.org/api/function/hook_update)? Thank you, unai On Mon, 13 Jul 2009 09:52:13 -0400, Kathleen Murtagh wrote: > There are three main methods for managing the database when deploying > from one workspace to another. > > The most common is "write down, or script your database configuration > settings and repeat them in the next workspace." This is where > people generally start out as it is the easiest, conceptually, to > understand. It is both prone to human error and tedious, though. > > The second method is "put everything in code and update functions." > This is the most recommended method because it is scalable both for > very small and very large projects. It is also the most complicated > because it requires adept programmers and takes away all the nice gui > tools that makes Drupal development so accessible. There is progress > towards this front, though. There is a movement to provide more > "exportables" that will allow a developer to use the web gui to > configure something, export the settings, and place it into code. > Views currently supports this method out of the box. The "features" > module is starting to give exportable support to other areas. > > The last, and rarely used, method is "put the database in version > control, and merge databases." This is probably the most difficult > to understand conceptually, but fairly scriptable allowing > non-programmer developers to use the web gui and contribute to a > project. It is great for small projects, and becomes increasingly > more difficult the larger and larger the database (the restriction is > your developer's computing power, but a production database exceeding > 500mb would start to require extra finesse to manage). The > "dbscripts" module provides an extensive amount of scripts in order > to use this method. > > I use my version control system to deploy to a workspace from the > primary repository. I don't need to worry about settings.php because > I do not include that in version control. I set the database > configuration settings once, and then never erase that file again. > If you do have other settings being used in settings.php, you could > put the database connection settings, and any other > workspace-specific settings in a separate file and include that file > in settings.php. Manually updating the workspace-specific settings > would then only be required when they change (e.g.: adding Google > Analytics to production, while keeping it disabled in development and > testing). > > I don't use a "one click" deploy, however, I generally just have to > run "svn update" or "svn switch". > > If you use the "put everything in code and update functions" method, > you can install drush and have drush run update.php for you. Your > script would then just say something like, "svn update && drush > updatedb" or "svn switch && drush updatedb". > > If you use the "put the database in version control, and merge > databases" method, then you would restore the appropriate database > for the given workspace. For development and testing, your script > would just say something like, "svn update && ./dbscripts/restore.php > none". For production, you would first merge the development and > production databases, commit the merged databases and then deploy. > The final deploy script would be something like, "svn switch branch> && ./dbscripts/restore.php production min". > > -- > Kathleen Murtagh > > > On Mon, Jul 13, 2009 at 9:04 AM, Unai Rodriguez wrote: >> Dear Kathleen, >> >> Thank you so much for your reply. >> >> I guess we would like our deployment process to be somewhat similar to >> what we use in other projects; a number of developers are writing code >> while testing on their local machine first (aka developer sandbox). >> Each developer's machine has a web server and database server with a >> copy of the code. Once a developer is sure that her stuff is working >> fine on her sandbox that is the time when she will commit it into our >> version control system (i.e. we use subversion). >> >> We have a server that takes care of the automated deployments. That is, >> any developer can access a web-based interface, input her user/password >> and click one button. This button will deploy the build which is >> currently on the trunk in subversion and put it into the development >> server; also some other things will take place like copying the proper >> settings.php file (in drupal's case) to the proper server(s). >> >>>From the web-based interface a developer can deploy to any of the 3 >> environments: development, staging or production. Usually development >> is where developers test (plus their sandboxes). Our Quality Assurance >> team takes care of testing the staging and production servers. That >> means deployments to these two environments are more controlled. >> >> The deployment process is automated, meaning, you can push the code to >> any environment upon clicking one button. The process takes care of >> deploying the right code in the right place plus the configuration >> files (in this case settings.php). >> >> We have been doing this for a while, I think is pretty standard. >> >> Now, for Drupal is different since part of the "settings" are stored in >> the database, right? We are having a hard time getting the database >> settings to be applied over to the next environment (i.e. development >> to staging or staging to production). >> >> I have been testing the deploy module which is able to do something >> like this... My question is more along the lines of... What do you guys >> do? Do you just deploy manually (i.e. reproduce the settings from your >> sandboxes to development, then to staging then to production) or you >> found a way of having this automated? >> >> Thank you so much :-) >> unai >> >> >> On Mon, 13 Jul 2009 08:40:48 -0400, Kathleen Murtagh wrote: >>> "Automating" deployment? To what degree do you expect this to be >> automated? >>> >>> I can't think of any situation in which you'd want deployment to be >>> done without observation and testing during the process. >>> >>> Can you elaborate on what sort of process you are expecting? >>> >>> -- >>> Kathleen Murtagh >>> >>> >>> On Mon, Jul 13, 2009 at 4:53 AM, Unai Rodriguez wrote: >>>> Dear All, >>>> >>>> We are building a somewhat complex site based on Drupal which features >>>> redundant servers at all levels of the system. We are starting of >> with 12 >>>> machines. We currently have three environments: development, staging and >>>> production. >>>> >>>> We are having a hard time setting an automated deployment mechanism. >>>> >>>> I have searched on the archives but was able to find this thread only: >>>> http://lists.drupal.org/pipermail/support/2007-May/004711.html >>>> >>>> I have not been able to understand from that how other people out >> there are >>>> implementing automated deployment. >>>> >>>> I found a number of links outside drupal.org: >>>> >>>> >> http://stackoverflow.com/questions/377629/drupal-deployment-testing-dont-how-to-call-it-tool >>>> http://stackoverflow.com/questions/282858/drupal-source-control-strategy >>>> >> http://nicksergeant.com/blog/drupal/painless-drupal-revision-control-cvs-and-subversion-shared-host >>>> >> http://nicksergeant.com/blog/drupal/my-thoughts-small-scale-drupal-development-production-environments-cvs-and-subversion >>>> http://www.workhabit.com/labs/autopilot >>>> http://www.dave-cohen.com/node/1066 >>>> http://www.garfieldtech.com/blog/drupal-dev-server >>>> >>>> I have been working with Drupal's DEPLOY Module >>>> (http://drupal.org/project/deploy). Also I am trying to contact >> Workhabit >>>> (i.e. Autopilot guys). >>>> >>>> I have not found yet a solid approach to automate deployment. >> Would anyone >>>> through me some pointers on how to do it? How are you guys doing this? >>>> >>>> Thank you so much, >>>> unai >>>> -- >>>> [ Drupal support list | http://lists.drupal.org/ ] >>> >>> >>> -- >>> [ Drupal support list | http://lists.drupal.org/ ] >> -- >> [ Drupal support list | http://lists.drupal.org/ ] > > > -- > [ Drupal support list | http://lists.drupal.org/ ] From earnie at users.sourceforge.net Mon Jul 13 14:23:06 2009 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Mon, 13 Jul 2009 14:23:06 +0000 Subject: [support] Best way to deploy Drupal. In-Reply-To: <78789e870907130652s7c0c393ag4bc109b77aeefc07@mail.gmail.com> References: <78789e870907130540v7ef46ce6v4e1b150f246e88b3@mail.gmail.com> <20090713210437942764.949c940a@u-journal.org> <78789e870907130652s7c0c393ag4bc109b77aeefc07@mail.gmail.com> Message-ID: <20090713142306.16811hyhx9f82ji8@mail.siebunlimited.com> You might find http://drupal.org/project/drush important for this. -- Earnie -- http://r-feed.com/ -- http://for-my-kids.com/ -- http://www.4offer.biz/ -- http://give-me-an-offer.com/ From kathleen at ceardach.com Mon Jul 13 14:47:08 2009 From: kathleen at ceardach.com (Kathleen Murtagh) Date: Mon, 13 Jul 2009 10:47:08 -0400 Subject: [support] Best way to deploy Drupal. In-Reply-To: <20090713221050920861.f7b473a5@u-journal.org> References: <78789e870907130540v7ef46ce6v4e1b150f246e88b3@mail.gmail.com> <20090713210437942764.949c940a@u-journal.org> <78789e870907130652s7c0c393ag4bc109b77aeefc07@mail.gmail.com> <20090713221050920861.f7b473a5@u-journal.org> Message-ID: <78789e870907130747n1ca5d6a7k2407deec2f314ccf@mail.gmail.com> Yes, when using that method, hook_update will become your best friend. Not everything you configure will require a hook_update, though. You can maximize the API of the modules you are using in order to get many of the results you want. Ultimately, the idea is that you will 100% separate the construction of the site from its content and users. With that method, you would be able to start with an empty database, fill in some content and everything would "just work." -- Kathleen Murtagh On Mon, Jul 13, 2009 at 10:10 AM, Unai Rodriguez wrote: > Dear Kathleen, > > If we want to go for the second method (i.e. "put everything in code > and update functions"), how do we do it? Is all this about using "Hook > Update" (http://api.drupal.org/api/function/hook_update)? > > Thank you, > unai > > On Mon, 13 Jul 2009 09:52:13 -0400, Kathleen Murtagh wrote: > > There are three main methods for managing the database when deploying > > from one workspace to another. > > > > The most common is "write down, or script your database configuration > > settings and repeat them in the next workspace." This is where > > people generally start out as it is the easiest, conceptually, to > > understand. It is both prone to human error and tedious, though. > > > > The second method is "put everything in code and update functions." > > This is the most recommended method because it is scalable both for > > very small and very large projects. It is also the most complicated > > because it requires adept programmers and takes away all the nice gui > > tools that makes Drupal development so accessible. There is progress > > towards this front, though. There is a movement to provide more > > "exportables" that will allow a developer to use the web gui to > > configure something, export the settings, and place it into code. > > Views currently supports this method out of the box. The "features" > > module is starting to give exportable support to other areas. > > > > The last, and rarely used, method is "put the database in version > > control, and merge databases." This is probably the most difficult > > to understand conceptually, but fairly scriptable allowing > > non-programmer developers to use the web gui and contribute to a > > project. It is great for small projects, and becomes increasingly > > more difficult the larger and larger the database (the restriction is > > your developer's computing power, but a production database exceeding > > 500mb would start to require extra finesse to manage). The > > "dbscripts" module provides an extensive amount of scripts in order > > to use this method. > > > > I use my version control system to deploy to a workspace from the > > primary repository. I don't need to worry about settings.php because > > I do not include that in version control. I set the database > > configuration settings once, and then never erase that file again. > > If you do have other settings being used in settings.php, you could > > put the database connection settings, and any other > > workspace-specific settings in a separate file and include that file > > in settings.php. Manually updating the workspace-specific settings > > would then only be required when they change (e.g.: adding Google > > Analytics to production, while keeping it disabled in development and > > testing). > > > > I don't use a "one click" deploy, however, I generally just have to > > run "svn update" or "svn switch". > > > > If you use the "put everything in code and update functions" method, > > you can install drush and have drush run update.php for you. Your > > script would then just say something like, "svn update && drush > > updatedb" or "svn switch && drush updatedb". > > > > If you use the "put the database in version control, and merge > > databases" method, then you would restore the appropriate database > > for the given workspace. For development and testing, your script > > would just say something like, "svn update && ./dbscripts/restore.php > > none". For production, you would first merge the development and > > production databases, commit the merged databases and then deploy. > > The final deploy script would be something like, "svn switch > branch> && ./dbscripts/restore.php production min". > > > > -- > > Kathleen Murtagh > > > > > > On Mon, Jul 13, 2009 at 9:04 AM, Unai Rodriguez > wrote: > >> Dear Kathleen, > >> > >> Thank you so much for your reply. > >> > >> I guess we would like our deployment process to be somewhat similar to > >> what we use in other projects; a number of developers are writing code > >> while testing on their local machine first (aka developer sandbox). > >> Each developer's machine has a web server and database server with a > >> copy of the code. Once a developer is sure that her stuff is working > >> fine on her sandbox that is the time when she will commit it into our > >> version control system (i.e. we use subversion). > >> > >> We have a server that takes care of the automated deployments. That is, > >> any developer can access a web-based interface, input her user/password > >> and click one button. This button will deploy the build which is > >> currently on the trunk in subversion and put it into the development > >> server; also some other things will take place like copying the proper > >> settings.php file (in drupal's case) to the proper server(s). > >> > >>>From the web-based interface a developer can deploy to any of the 3 > >> environments: development, staging or production. Usually development > >> is where developers test (plus their sandboxes). Our Quality Assurance > >> team takes care of testing the staging and production servers. That > >> means deployments to these two environments are more controlled. > >> > >> The deployment process is automated, meaning, you can push the code to > >> any environment upon clicking one button. The process takes care of > >> deploying the right code in the right place plus the configuration > >> files (in this case settings.php). > >> > >> We have been doing this for a while, I think is pretty standard. > >> > >> Now, for Drupal is different since part of the "settings" are stored in > >> the database, right? We are having a hard time getting the database > >> settings to be applied over to the next environment (i.e. development > >> to staging or staging to production). > >> > >> I have been testing the deploy module which is able to do something > >> like this... My question is more along the lines of... What do you guys > >> do? Do you just deploy manually (i.e. reproduce the settings from your > >> sandboxes to development, then to staging then to production) or you > >> found a way of having this automated? > >> > >> Thank you so much :-) > >> unai > >> > >> > >> On Mon, 13 Jul 2009 08:40:48 -0400, Kathleen Murtagh wrote: > >>> "Automating" deployment? To what degree do you expect this to be > >> automated? > >>> > >>> I can't think of any situation in which you'd want deployment to be > >>> done without observation and testing during the process. > >>> > >>> Can you elaborate on what sort of process you are expecting? > >>> > >>> -- > >>> Kathleen Murtagh > >>> > >>> > >>> On Mon, Jul 13, 2009 at 4:53 AM, Unai Rodriguez > wrote: > >>>> Dear All, > >>>> > >>>> We are building a somewhat complex site based on Drupal which features > >>>> redundant servers at all levels of the system. We are starting of > >> with 12 > >>>> machines. We currently have three environments: development, staging > and > >>>> production. > >>>> > >>>> We are having a hard time setting an automated deployment mechanism. > >>>> > >>>> I have searched on the archives but was able to find this thread only: > >>>> http://lists.drupal.org/pipermail/support/2007-May/004711.html > >>>> > >>>> I have not been able to understand from that how other people out > >> there are > >>>> implementing automated deployment. > >>>> > >>>> I found a number of links outside drupal.org: > >>>> > >>>> > >> > > http://stackoverflow.com/questions/377629/drupal-deployment-testing-dont-how-to-call-it-tool > >>>> > http://stackoverflow.com/questions/282858/drupal-source-control-strategy > >>>> > >> > > http://nicksergeant.com/blog/drupal/painless-drupal-revision-control-cvs-and-subversion-shared-host > >>>> > >> > > http://nicksergeant.com/blog/drupal/my-thoughts-small-scale-drupal-development-production-environments-cvs-and-subversion > >>>> http://www.workhabit.com/labs/autopilot > >>>> http://www.dave-cohen.com/node/1066 > >>>> http://www.garfieldtech.com/blog/drupal-dev-server > >>>> > >>>> I have been working with Drupal's DEPLOY Module > >>>> (http://drupal.org/project/deploy). Also I am trying to contact > >> Workhabit > >>>> (i.e. Autopilot guys). > >>>> > >>>> I have not found yet a solid approach to automate deployment. > >> Would anyone > >>>> through me some pointers on how to do it? How are you guys doing this? > >>>> > >>>> Thank you so much, > >>>> unai > >>>> -- > >>>> [ 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: From me at u-journal.org Mon Jul 13 14:56:35 2009 From: me at u-journal.org (Unai Rodriguez) Date: Mon, 13 Jul 2009 22:56:35 +0800 Subject: [support] Best way to deploy Drupal. In-Reply-To: <78789e870907130747n1ca5d6a7k2407deec2f314ccf@mail.gmail.com> References: <78789e870907130540v7ef46ce6v4e1b150f246e88b3@mail.gmail.com> <20090713210437942764.949c940a@u-journal.org> <78789e870907130652s7c0c393ag4bc109b77aeefc07@mail.gmail.com> <20090713221050920861.f7b473a5@u-journal.org> <78789e870907130747n1ca5d6a7k2407deec2f314ccf@mail.gmail.com> Message-ID: <20090713225635930948.c08d92eb@u-journal.org> Thank you so much Kathleen/Earnie. From sfreach at gmail.com Mon Jul 13 15:10:14 2009 From: sfreach at gmail.com (Seth Freach) Date: Mon, 13 Jul 2009 11:10:14 -0400 Subject: [support] Best way to deploy Drupal. In-Reply-To: <20090713221050920861.f7b473a5@u-journal.org> References: <78789e870907130540v7ef46ce6v4e1b150f246e88b3@mail.gmail.com> <20090713210437942764.949c940a@u-journal.org> <78789e870907130652s7c0c393ag4bc109b77aeefc07@mail.gmail.com> <20090713221050920861.f7b473a5@u-journal.org> Message-ID: <4A5B4E56.40104@gmail.com> Unai, Kathleen is describing two different tools that are both useful in trying to achieve the results you are after. To expand a bit on the "putting everything in code" approach: a view created by the views module GUI interface might present some page or block to your liking, that view is basically inside that environment's db. If you install enable the views exporter module, you will have access to then export that view as code, which will basically mean you can copy+paste it somewhere. But where? ...Into your module's hook_views_default_views() function. (http://drupal.org/node/99568). You've now taken your views "settings" out of the db, and placed them into code that you can manage and deploy from your svn repo. For larger applications with many views, we find it cleaner and helpful to place each coded view in its own view_name.views.inc.php file in a views/ sub-directory in our module's main directory. At the bottom of each individual view file, we add a necessary line that doesn't get exported with the the view. This line populates the initially empty $views array when the file is included in the hook: $views[$view->name] = $view; Then, our hook_views_default_views() function looks like follows: function my_module_views_default_views() { $view_files = file_scan_directory(drupal_get_path('module', 'my_module') . '/views', '.*\.views\.inc\.php'); $views = array(); foreach ($view_files as $file => $data) { include $file; } return $views; } This export feature is key to getting different modules "settings" out of the db and into a deployable form of code. Seth Unai Rodriguez wrote: > Dear Kathleen, > > If we want to go for the second method (i.e. "put everything in code > and update functions"), how do we do it? Is all this about using "Hook > Update" (http://api.drupal.org/api/function/hook_update)? > > Thank you, > unai > > On Mon, 13 Jul 2009 09:52:13 -0400, Kathleen Murtagh wrote: > >> There are three main methods for managing the database when deploying >> from one workspace to another. >> >> The most common is "write down, or script your database configuration >> settings and repeat them in the next workspace." This is where >> people generally start out as it is the easiest, conceptually, to >> understand. It is both prone to human error and tedious, though. >> >> The second method is "put everything in code and update functions." >> This is the most recommended method because it is scalable both for >> very small and very large projects. It is also the most complicated >> because it requires adept programmers and takes away all the nice gui >> tools that makes Drupal development so accessible. There is progress >> towards this front, though. There is a movement to provide more >> "exportables" that will allow a developer to use the web gui to >> configure something, export the settings, and place it into code. >> Views currently supports this method out of the box. The "features" >> module is starting to give exportable support to other areas. >> >> The last, and rarely used, method is "put the database in version >> control, and merge databases." This is probably the most difficult >> to understand conceptually, but fairly scriptable allowing >> non-programmer developers to use the web gui and contribute to a >> project. It is great for small projects, and becomes increasingly >> more difficult the larger and larger the database (the restriction is >> your developer's computing power, but a production database exceeding >> 500mb would start to require extra finesse to manage). The >> "dbscripts" module provides an extensive amount of scripts in order >> to use this method. >> >> I use my version control system to deploy to a workspace from the >> primary repository. I don't need to worry about settings.php because >> I do not include that in version control. I set the database >> configuration settings once, and then never erase that file again. >> If you do have other settings being used in settings.php, you could >> put the database connection settings, and any other >> workspace-specific settings in a separate file and include that file >> in settings.php. Manually updating the workspace-specific settings >> would then only be required when they change (e.g.: adding Google >> Analytics to production, while keeping it disabled in development and >> testing). >> >> I don't use a "one click" deploy, however, I generally just have to >> run "svn update" or "svn switch". >> >> If you use the "put everything in code and update functions" method, >> you can install drush and have drush run update.php for you. Your >> script would then just say something like, "svn update && drush >> updatedb" or "svn switch && drush updatedb". >> >> If you use the "put the database in version control, and merge >> databases" method, then you would restore the appropriate database >> for the given workspace. For development and testing, your script >> would just say something like, "svn update && ./dbscripts/restore.php >> none". For production, you would first merge the development and >> production databases, commit the merged databases and then deploy. >> The final deploy script would be something like, "svn switch > branch> && ./dbscripts/restore.php production min". >> >> -- >> Kathleen Murtagh >> >> >> On Mon, Jul 13, 2009 at 9:04 AM, Unai Rodriguez wrote: >> >>> Dear Kathleen, >>> >>> Thank you so much for your reply. >>> >>> I guess we would like our deployment process to be somewhat similar to >>> what we use in other projects; a number of developers are writing code >>> while testing on their local machine first (aka developer sandbox). >>> Each developer's machine has a web server and database server with a >>> copy of the code. Once a developer is sure that her stuff is working >>> fine on her sandbox that is the time when she will commit it into our >>> version control system (i.e. we use subversion). >>> >>> We have a server that takes care of the automated deployments. That is, >>> any developer can access a web-based interface, input her user/password >>> and click one button. This button will deploy the build which is >>> currently on the trunk in subversion and put it into the development >>> server; also some other things will take place like copying the proper >>> settings.php file (in drupal's case) to the proper server(s). >>> >>> >From the web-based interface a developer can deploy to any of the 3 >>> environments: development, staging or production. Usually development >>> is where developers test (plus their sandboxes). Our Quality Assurance >>> team takes care of testing the staging and production servers. That >>> means deployments to these two environments are more controlled. >>> >>> The deployment process is automated, meaning, you can push the code to >>> any environment upon clicking one button. The process takes care of >>> deploying the right code in the right place plus the configuration >>> files (in this case settings.php). >>> >>> We have been doing this for a while, I think is pretty standard. >>> >>> Now, for Drupal is different since part of the "settings" are stored in >>> the database, right? We are having a hard time getting the database >>> settings to be applied over to the next environment (i.e. development >>> to staging or staging to production). >>> >>> I have been testing the deploy module which is able to do something >>> like this... My question is more along the lines of... What do you guys >>> do? Do you just deploy manually (i.e. reproduce the settings from your >>> sandboxes to development, then to staging then to production) or you >>> found a way of having this automated? >>> >>> Thank you so much :-) >>> unai >>> >>> >>> On Mon, 13 Jul 2009 08:40:48 -0400, Kathleen Murtagh wrote: >>> >>>> "Automating" deployment? To what degree do you expect this to be >>>> >>> automated? >>> >>>> I can't think of any situation in which you'd want deployment to be >>>> done without observation and testing during the process. >>>> >>>> Can you elaborate on what sort of process you are expecting? >>>> >>>> -- >>>> Kathleen Murtagh >>>> >>>> >>>> On Mon, Jul 13, 2009 at 4:53 AM, Unai Rodriguez wrote: >>>> >>>>> Dear All, >>>>> >>>>> We are building a somewhat complex site based on Drupal which features >>>>> redundant servers at all levels of the system. We are starting of >>>>> >>> with 12 >>> >>>>> machines. We currently have three environments: development, staging and >>>>> production. >>>>> >>>>> We are having a hard time setting an automated deployment mechanism. >>>>> >>>>> I have searched on the archives but was able to find this thread only: >>>>> http://lists.drupal.org/pipermail/support/2007-May/004711.html >>>>> >>>>> I have not been able to understand from that how other people out >>>>> >>> there are >>> >>>>> implementing automated deployment. >>>>> >>>>> I found a number of links outside drupal.org: >>>>> >>>>> >>>>> > http://stackoverflow.com/questions/377629/drupal-deployment-testing-dont-how-to-call-it-tool > >>>>> http://stackoverflow.com/questions/282858/drupal-source-control-strategy >>>>> >>>>> > http://nicksergeant.com/blog/drupal/painless-drupal-revision-control-cvs-and-subversion-shared-host > > http://nicksergeant.com/blog/drupal/my-thoughts-small-scale-drupal-development-production-environments-cvs-and-subversion > >>>>> http://www.workhabit.com/labs/autopilot >>>>> http://www.dave-cohen.com/node/1066 >>>>> http://www.garfieldtech.com/blog/drupal-dev-server >>>>> >>>>> I have been working with Drupal's DEPLOY Module >>>>> (http://drupal.org/project/deploy). Also I am trying to contact >>>>> >>> Workhabit >>> >>>>> (i.e. Autopilot guys). >>>>> >>>>> I have not found yet a solid approach to automate deployment. >>>>> >>> Would anyone >>> >>>>> through me some pointers on how to do it? How are you guys doing this? >>>>> >>>>> Thank you so much, >>>>> unai >>>>> -- >>>>> [ 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: From hello at fresh-off.com Mon Jul 13 18:47:59 2009 From: hello at fresh-off.com (brendan, fresh-off.com) Date: Mon, 13 Jul 2009 11:47:59 -0700 Subject: [support] drupal 6 and Paypal In-Reply-To: <507b282e0907081528j7df282c7t39f303955fc938a7@mail.gmail.com> References: <000001ca0012$10ae2520$320a6f60$@com> <507b282e0907081528j7df282c7t39f303955fc938a7@mail.gmail.com> Message-ID: <001801ca03ea$724cb220$56e61660$@com> Hello again! The site is for a freelance interior designer who wants her clients to able to make per-project payments via PayPal. She's looking to accept payments based on milestones, for example 50% down, and 50% upon completion of a job. And if she's anything like most freelancers, she'll probably need to be able to mix it up from time to time to say 33%, 33%, 33%, etc.. "I" see these as multiple 1-time payments, not re-occurring payments - but I'm new to ecommerce. She is just starting out and is NOT looking for all the bells and whistles - just wants it to work and look nice and I'm prepared to theme anything extensively. But like I said previously, this IS my first dabble into online payments so I'm trying to keep it as simple as possible! Hope that is enough additional info! Thanks for any thoughts! brendan seattle.usa From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Brian Choc Sent: Wednesday, July 08, 2009 3:29 PM To: support at drupal.org Subject: Re: [support] drupal 6 and Paypal It really depends on what you want to accomplish with Paypal. Can you elaborate? In the simplest case, for example, if you just want a donation button Paypal has some ready-made code you can drop into a block. Brian On Wed, Jul 8, 2009 at 3:21 PM, brendan, fresh-off.com wrote: Hello, What is the simplest way to integrate PayPal into a D6 website? I see that UberCart can be set up for PayPal - but I've never used it and from a quick look at it, I'm wondering if it's MORE than I need for simple way for non-tech users to make payments using PayPal. Is UberCart the best way to go, or perhaps lm_paypal, or even the e-commerce module? This is my first dabble into online payments, so I'm trying to keep it as simple as possible! Thanks for any suggestions!! Brendan -- [ Drupal support list | http://lists.drupal.org/ ] -- Brian Choc Technology Director Teaming for Technology Colorado 2505 18th St. Denver, CO 80211 P: 303.561.2377, F: 303.455.6462 http://www.t4tcolorado.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From oke at iisg.nl Tue Jul 14 09:11:26 2009 From: oke at iisg.nl (Ole Kerpel) Date: Tue, 14 Jul 2009 11:11:26 +0200 Subject: [support] Posting a GET, retriveing XML and storingdata in Drupal database In-Reply-To: References: Message-ID: Hi all, I am wondering how to get started with following task I got. A search from must be built to post keywords. A webservice must be then called with the keywords as parameters. The retrieved XML (a resultset) must be displayed in a list. User must be able to select from the resultset and store the id of one result record in the Drupal database. I am using D 6.13, but I have few experience with Drupal. Any help is welcome to get me started. Kerpel -------------- next part -------------- An HTML attachment was scrubbed... URL: From me at u-journal.org Tue Jul 14 10:05:48 2009 From: me at u-journal.org (Unai Rodriguez) Date: Tue, 14 Jul 2009 04:05:48 -0600 Subject: [support] Best way to deploy Drupal. In-Reply-To: <4A5B4E56.40104@gmail.com> References: <78789e870907130540v7ef46ce6v4e1b150f246e88b3@mail.gmail.com> <20090713210437942764.949c940a@u-journal.org> <78789e870907130652s7c0c393ag4bc109b77aeefc07@mail.gmail.com> <20090713221050920861.f7b473a5@u-journal.org> <4A5B4E56.40104@gmail.com> Message-ID: <36fcd7bc7b2f4f8f0b1f357cc406e1ef@mail.u-journal.org> Dear All, Thank you so much for the contributions. I have classified different parts that currently compose our Drupal system along with a suggested method of "putting everything in code and update functions": a) THEMES.- We just copy the code over, there is no settings to be applied really b) VIEWS.- We will be using what is suggested here: http://treehouseagency.com/blog/steven-merrill/2008/11/05/speed-and-version-your-views (This is similar to what Seth sent but applied to Drupal 6 -- THANKS SETH!) c) MODULES DEVELOPED BY US FROM SCRATCH.- We will make sure that all the settings that need to be put into the database are being updated on the hook_update function. Ideally these settings could come from a configuration file in php. We will use DRUSH to invoke our update.php upon deployment, as suggested by Kathleen. d) 3rd PARTY MODULES (aka contributed modules by the Drupal Community).- I am not sure how to proceed with this one; for now I am trying to check if the modules that we use implement the hook_update function and modify if possible so the settings get loaded from configuration files, similar to (c). My questions are: 1) How would you handle (d)? What I have now in mind seems a bit tricky... 2) What do you think of the classification? Am I missing something? Does it make sense? Thank you so much. With Best Wishes, unai From kathleen at ceardach.com Tue Jul 14 13:49:34 2009 From: kathleen at ceardach.com (Kathleen Murtagh) Date: Tue, 14 Jul 2009 09:49:34 -0400 Subject: [support] Best way to deploy Drupal. In-Reply-To: <36fcd7bc7b2f4f8f0b1f357cc406e1ef@mail.u-journal.org> References: <78789e870907130540v7ef46ce6v4e1b150f246e88b3@mail.gmail.com> <20090713210437942764.949c940a@u-journal.org> <78789e870907130652s7c0c393ag4bc109b77aeefc07@mail.gmail.com> <20090713221050920861.f7b473a5@u-journal.org> <4A5B4E56.40104@gmail.com> <36fcd7bc7b2f4f8f0b1f357cc406e1ef@mail.u-journal.org> Message-ID: <78789e870907140649h16464956q647a9c6a37531658@mail.gmail.com> Any value stored in the variables table can be set in code. Read the bottom of the settings.php file for details of implementation. Many many many modules store their values here. For your custom modules, you can set all your default variable values in code. Then, any time you need to change that default value, you'll do it in code rather than performing an action that would effect the database. Read through the API of the contributed modules and see what you can use. Use provided hooks whenever possible. If necessary, you can run functions as one-off update events. For example, I used simplenews' simplenews_subscribe_user() function as part of a script to initially subscribe all users. Othertimes I have run scripts to migrate values from one field to another field, then delete the old field. I don't have a recommended best practice for automating this, but I'd look into setting up a system that will run each script in succession and then store what point it is at (e.g.: something like Ruby on Rails' migrations). -- Kathleen Murtagh On Tue, Jul 14, 2009 at 6:05 AM, Unai Rodriguez wrote: > Dear All, > > Thank you so much for the contributions. > > I have classified different parts that currently compose our Drupal system > along with a suggested method of "putting everything in code and update > functions": > > a) THEMES.- We just copy the code over, there is no settings to be applied > really > b) VIEWS.- We will be using what is suggested here: > > http://treehouseagency.com/blog/steven-merrill/2008/11/05/speed-and-version-your-views > (This is similar to what Seth sent but applied to Drupal 6 -- THANKS SETH!) > c) MODULES DEVELOPED BY US FROM SCRATCH.- We will make sure that all the > settings that need to be put into the database are being updated on the > hook_update function. Ideally these settings could come from a > configuration file in php. We will use DRUSH to invoke our update.php upon > deployment, as suggested by Kathleen. > d) 3rd PARTY MODULES (aka contributed modules by the Drupal Community).- I > am not sure how to proceed with this one; for now I am trying to check if > the modules that we use implement the hook_update function and modify if > possible so the settings get loaded from configuration files, similar to > (c). > > My questions are: > > 1) How would you handle (d)? What I have now in mind seems a bit tricky... > > 2) What do you think of the classification? Am I missing something? Does it > make sense? > > Thank you so much. > > With Best Wishes, > unai > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sfreach at gmail.com Tue Jul 14 13:55:22 2009 From: sfreach at gmail.com (Seth Freach) Date: Tue, 14 Jul 2009 09:55:22 -0400 Subject: [support] Best way to deploy Drupal. In-Reply-To: <36fcd7bc7b2f4f8f0b1f357cc406e1ef@mail.u-journal.org> References: <78789e870907130540v7ef46ce6v4e1b150f246e88b3@mail.gmail.com> <20090713210437942764.949c940a@u-journal.org> <78789e870907130652s7c0c393ag4bc109b77aeefc07@mail.gmail.com> <20090713221050920861.f7b473a5@u-journal.org> <4A5B4E56.40104@gmail.com> <36fcd7bc7b2f4f8f0b1f357cc406e1ef@mail.u-journal.org> Message-ID: <4A5C8E4A.5040906@gmail.com> Unai, (d) really is the tricky part. Some modules will play nice, others won't. Some of the easiest modules to configure in your code will be ones that use /system_settings_form()/ to return their administrative options and configuration forms. /system_settings_form()/ just stores things as variables. This means that, for a low maintenance module that does all of its settings configuration on its admin screen, the API to configure that module from other code consists of /variable_get()/, /variable_set()/, & /variable_del()/. I would not recommend doing this in the contrib module's .install file, ie: directly in that module's update_N hooks. If you take mighty_contrib_module.install and add the function /mighty_contrib_module_update_1()/ (or, more correctly, ...update_6101() ), things will work fine only until the next release of that module is available and the author has added his own first update hook. Besides the version control conflicts in the files themselves, there will be schema version fixing needing to be done in the system table. I would recommend creating your own local module that exists mostly to just contain the update_N hooks to configure other contrib modules (say, housekeeping.module). Kind of like the junk drawer in you kitchen... everything useful (and not) that's together in one place just to keep it out of the way... Assuming that mighty_contrib_module had an admin setting to set the max number of words allowed in something, we could find the name of the FAPI element, and then inside of housekeeping.install write: function housekeeping_update_1() { variable_set('mighty_contrib_module_max_words', 100); $ret[] = array( 'success' => true, 'query' => 'this is just a message masquerading as called sql statement for reporting purposes.', ); return $ret; } You'll find all sorts of things to shove into the housekeeping module ;) Including some core config stuff too. Looking at the classifications you've set out below, I'd say that (b) is really a subset of (d). When it comes to contrib modules, there are going to be two main categories: those that play nice and those that don't. views happens to fall into the 'plays nice' category. Others won't. It's an important distinction you'll need to make when you're deciding which contrib modules to use from your solution's onset, an important criteria that cannot be overlooked. Seth Unai Rodriguez wrote: > Dear All, > > Thank you so much for the contributions. > > I have classified different parts that currently compose our Drupal system > along with a suggested method of "putting everything in code and update > functions": > > a) THEMES.- We just copy the code over, there is no settings to be applied > really > b) VIEWS.- We will be using what is suggested here: > http://treehouseagency.com/blog/steven-merrill/2008/11/05/speed-and-version-your-views > (This is similar to what Seth sent but applied to Drupal 6 -- THANKS SETH!) > c) MODULES DEVELOPED BY US FROM SCRATCH.- We will make sure that all the > settings that need to be put into the database are being updated on the > hook_update function. Ideally these settings could come from a > configuration file in php. We will use DRUSH to invoke our update.php upon > deployment, as suggested by Kathleen. > d) 3rd PARTY MODULES (aka contributed modules by the Drupal Community).- I > am not sure how to proceed with this one; for now I am trying to check if > the modules that we use implement the hook_update function and modify if > possible so the settings get loaded from configuration files, similar to > (c). > > My questions are: > > 1) How would you handle (d)? What I have now in mind seems a bit tricky... > > 2) What do you think of the classification? Am I missing something? Does it > make sense? > > Thank you so much. > > With Best Wishes, > unai > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From emma.badger at chocolateteapot.net Tue Jul 14 16:17:55 2009 From: emma.badger at chocolateteapot.net (Emma Badger) Date: Tue, 14 Jul 2009 17:17:55 +0100 Subject: [support] Categorising and displaying content Message-ID: http://jane-hr.co.uk/drupal/ (latest version of Drupal) I'm categorising my content using taxonomy and displaying the categories in a menu using the taxonomy-menu module. The way that the menu is being displayed is just what I want, but I'd like to change the way that the linked pages display. When clicking on a categories menu link, is it possible/feasible to get the page to Category name Category description Sub categories if any (at this level only, not any further down) with links Category content if any (at this level only, not any further down) (stories, pages etc) Is this something I could achieve with Views (which I've looked at but find very confusing)? As an example the WebParts link (third level, below HR Portal, within the left hand menu) I'd like: HR Portal (Term Title) This is a description of the category (Term Description) (Term Content - Stories, Pages etc) HR WebParts - Overview HR WebParts - Requirements See also - (Categories in the next level down) WebParts Catalogue Any help would be appreciated, thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From me at u-journal.org Tue Jul 14 16:47:13 2009 From: me at u-journal.org (Unai Rodriguez) Date: Wed, 15 Jul 2009 00:47:13 +0800 Subject: [support] Best way to deploy Drupal. In-Reply-To: <4A5C8E4A.5040906@gmail.com> References: <78789e870907130540v7ef46ce6v4e1b150f246e88b3@mail.gmail.com> <20090713210437942764.949c940a@u-journal.org> <78789e870907130652s7c0c393ag4bc109b77aeefc07@mail.gmail.com> <20090713221050920861.f7b473a5@u-journal.org> <4A5B4E56.40104@gmail.com> <36fcd7bc7b2f4f8f0b1f357cc406e1ef@mail.u-journal.org> <4A5C8E4A.5040906@gmail.com> Message-ID: <20090715004713913522.1e370959@u-journal.org> Thank you so much for all the help :-)))) unai From sikileng at gmail.com Wed Jul 15 11:28:58 2009 From: sikileng at gmail.com (Steve) Date: Wed, 15 Jul 2009 14:28:58 +0300 Subject: [support] Themeing webforms screencast Message-ID: Hi, all am new to drupal and i would like to theme my webform to have field arranged like two field in one line rather than a field per line. have looked at http://drupal.org/node/82427 and http://drupal.org/node/79086 but i cant fully comprehend which files i need to edit. if any of the drupalers here can provide some info of screencast available i would be greatfull or a well documented step of how to theme webform Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From fb at codicelibero.net Wed Jul 15 12:00:37 2009 From: fb at codicelibero.net (Francesco Baldini) Date: Wed, 15 Jul 2009 14:00:37 +0200 Subject: [support] Author's nodes on profile page Message-ID: On my site users can write 2 different content type: content-one content-two I have to show latest x content type on their profile page site.com/user/autorA, site.com/user/autorB, etc.. I need to create 2 different blocks to separate these two nodes type, I used Views2 to let me show these blocks by content type, what I need now is being able to let this listing appear on profile pages and listing nodes created by the author (1, 2, etc...) and not from everyone.. I guess I have to work on Relationship or Filters but have no idea.. thanks From fredthejonester at gmail.com Wed Jul 15 12:06:19 2009 From: fredthejonester at gmail.com (Fred Jones) Date: Wed, 15 Jul 2009 15:06:19 +0300 Subject: [support] Themeing webforms screencast In-Reply-To: References: Message-ID: <177c0a10907150506s39fad523r333b22b4fe2cf7b8@mail.gmail.com> > Hi, all > am new to drupal and i would like to theme my webform to have field arranged > like two field in one line rather than a field per line. > have looked > at http://drupal.org/node/82427 and http://drupal.org/node/79086 but i cant > fully comprehend which files i need to edit. > if any of the drupalers here can provide some info of screencast available i > would be greatfull or a well documented step of how to theme webform Basically you just make the webform first and then examine the HTML and then edit the CSS file(s) in your chosen theme to create the layout you need for your webform. It's really just pure CSS that creates this layout for you. From tech4him at gmail.com Wed Jul 15 12:29:25 2009 From: tech4him at gmail.com (Tom Lucas) Date: Wed, 15 Jul 2009 07:29:25 -0500 Subject: [support] Author's nodes on profile page In-Reply-To: References: Message-ID: To get thelisting to be per user, simply add the User: UID to your argument section of your view. Make sure the "Action to take if argument is not present:" is set to provide a default argument and then set the default argument type to "User ID from URL". As for showing the blocks on the profile pages, go to your block settings. Set the block specific visibility settings to "Show on only the listed pages." and the path to users/* That should do the trick. On Wed, Jul 15, 2009 at 7:00 AM, Francesco Baldini wrote: > On my site users can write 2 different content type: > content-one > content-two > > I have to show latest x content type on their profile page > site.com/user/autorA, site.com/user/autorB, etc.. > > I need to create 2 different blocks to separate these two nodes type, I > used Views2 to let me show these blocks by content type, what I need now > is being able to let this listing appear on profile pages and listing > nodes created by the author (1, 2, etc...) and not from everyone.. > > I guess I have to work on Relationship or Filters but have no idea.. > > thanks > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From michel at ziobuddalabs.it Wed Jul 15 13:34:19 2009 From: michel at ziobuddalabs.it (Michel Morelli) Date: Wed, 15 Jul 2009 15:34:19 +0200 Subject: [support] url aliases : from select list to value Message-ID: <4A5DDADB.1070406@ziobuddalabs.it> Hi. I have a cck-node with a select list field. Now I want to insert the selected item value into node path alias (via pathauto module). If I use field_producer-formatted or field_producer-raw token I see the key value, but I want the "value" value. Think to an inode type with a select list that can be: 0| New 1| Used I want a path like this for the node titled "my great music 2009" in the "Music" category: /music/new/my_great_music_2009. Now I get: /music/0/my_great_music_2009 Is this possible ? Tnx. M. -- Michel 'ZioBudda' Morelli michel at ziobuddalabs.net Consulenza sistemistica in ambito OpenSource. Sviluppo applicazioni web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ziodrupal.net MSN: michel at ziobuddalabs.it JABBER: michel at ziobuddalabs.it From michel at ziobuddalabs.it Wed Jul 15 13:47:27 2009 From: michel at ziobuddalabs.it (Michel Morelli) Date: Wed, 15 Jul 2009 15:47:27 +0200 Subject: [support] Change node title when node is viewed. Message-ID: <4A5DDDEF.3010508@ziobuddalabs.it> Hi. I have a content type and I need to change the node's title when the node is view-ed. I have created a hook_nodeapi() function in one of my module: function ostoni_admin_nodeapi(&$node, $op, $a3 = NULL, $a4 = NULL) { switch ($op) { case 'view': if ($node->type == 'machine_new') { dpm("ecco"); $node->title = t("Macchina nuova").": ".$node->title; } } } But when I view the node page I see the node's title without my modification. If I print the node's structure I see that node->title is changed. Where is my error ? I use acquia theme without modification. M. -- Michel 'ZioBudda' Morelli michel at ziobuddalabs.net Consulenza sistemistica in ambito OpenSource. Sviluppo applicazioni web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ziodrupal.net MSN: michel at ziobuddalabs.it JABBER: michel at ziobuddalabs.it From neil at esl-lounge.com Wed Jul 15 14:22:33 2009 From: neil at esl-lounge.com (Neil Coghlan) Date: Wed, 15 Jul 2009 11:22:33 -0300 Subject: [support] Author's nodes on profile page References: Message-ID: Or you could do what I do on my user profiles which is to use a views_embed_view in the tpl file and pass the argument directly there. Your code will look something like this: uid); ?> which means the user's uid gets dynamically inserted as the argument Neil ----- Original Message ----- From: Tom Lucas To: support at drupal.org Sent: Wednesday, July 15, 2009 9:29 AM Subject: Re: [support] Author's nodes on profile page To get thelisting to be per user, simply add the User: UID to your argument section of your view. Make sure the "Action to take if argument is not present:" is set to provide a default argument and then set the default argument type to "User ID from URL". As for showing the blocks on the profile pages, go to your block settings. Set the block specific visibility settings to "Show on only the listed pages." and the path to users/* That should do the trick. On Wed, Jul 15, 2009 at 7:00 AM, Francesco Baldini wrote: On my site users can write 2 different content type: content-one content-two I have to show latest x content type on their profile page site.com/user/autorA, site.com/user/autorB, etc.. I need to create 2 different blocks to separate these two nodes type, I used Views2 to let me show these blocks by content type, what I need now is being able to let this listing appear on profile pages and listing nodes created by the author (1, 2, etc...) and not from everyone.. I guess I have to work on Relationship or Filters but have no idea.. thanks -- [ Drupal support list | http://lists.drupal.org/ ] ------------------------------------------------------------------------------ -- [ Drupal support list | http://lists.drupal.org/ ] -------------- next part -------------- An HTML attachment was scrubbed... URL: From brettev at gmail.com Wed Jul 15 14:30:11 2009 From: brettev at gmail.com (Brett Evanson) Date: Wed, 15 Jul 2009 08:30:11 -0600 Subject: [support] Change node title when node is viewed. In-Reply-To: <4A5DDDEF.3010508@ziobuddalabs.it> References: <4A5DDDEF.3010508@ziobuddalabs.it> Message-ID: <972255370907150730u221ba5bap30a3482b76be3de9@mail.gmail.com> I think what you are looking for is drupal_set_title() http://api.drupal.org/api/function/drupal_set_title/6 Brett On Wed, Jul 15, 2009 at 7:47 AM, Michel Morelli wrote: > Hi. I have a content type and I need to change the node's title when the > node is view-ed. > > I have created a hook_nodeapi() function in one of my module: > > function ostoni_admin_nodeapi(&$node, $op, $a3 = NULL, $a4 = NULL) { > ? switch ($op) { > ? ? case 'view': > ? ? ? if ($node->type == 'machine_new') { > ? ? ? ? dpm("ecco"); > ? ? ? ? $node->title = t("Macchina nuova").": ".$node->title; > ? ? ? } > ? } > } > > But when I view the node page I see the node's title without my > modification. > > If I print the node's structure I see that node->title is changed. > > Where is my error ? > I use acquia theme without modification. > > M. > > -- > Michel 'ZioBudda' Morelli ? ? ? ? ? ? ? ? ? ? ? michel at ziobuddalabs.net > Consulenza sistemistica in ambito OpenSource. > Sviluppo applicazioni web dinamiche (LAMP+Ajax) > Telefono: 0200619074 > Telefono Cell: +39-3939890025 -- ?Fax: +39-0291390660 > > http://www.ziobudda.net ? ? ? ? ? ? ? ? ? ? ? ? ICQ: 58351764 > ?http://www.ziobuddalabs.it ? ? ? ? ? ? ? ? ? ? ?Skype: zio_budda > http://www.ziodrupal.net ? ? ? ? ? ? ? ? ? ? ? ?MSN: michel at ziobuddalabs.it > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?JABBER: > michel at ziobuddalabs.it > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Brett Evanson From sivaji2009 at gmail.com Wed Jul 15 14:48:23 2009 From: sivaji2009 at gmail.com (sivaji j.g) Date: Wed, 15 Jul 2009 20:18:23 +0530 Subject: [support] Indian Payment Gateway with Ubercart 2.x Message-ID: I am building an e-commerce site using Drupal 6.x and ubercart 2.x. The site aims at Indian customers to sell t-shirts. I would like to get some input from you regarding payment gateway. I am a noob may be mis-using terminology, forgive me if i am wrong. I thought of using Paypal, payment gateway with a personal account for now but it seems to be having too many drawbacks. 1. Doesn't support INR transaction (though i managed to change it to USD before sending it to paypal) 2. It needs a paypal account to use credit card. 3. Credit needs to be verified to use it with paypal which will take few days, obviously it may leads to drop out of sales/customers. 4. Debit card doesn't works. 5. Paypal has it own exchange rate which is usually $1.5 less than usual exchange rate. On the whole paypal doesn't satifies the things we are looking for. I gone through Authorize.net website, it requires $99 for setup and $20 monthly fee. It seems to be very expensive for a startup. Is there any payment gateway which satisfied the following requirements 1. it Should accept and perform payment processing in INR. 2. should work with ubercart 2.x. 3. it should not ask the customers to create an account like paypal 4. less setup and monthly fee. I am curious to know the strategies used by other Indians to handle this. Is there anyone using EBS payment Gateway with drupal 5.x ? is it good enough for your website ? I am glad to port it to drupal 6 if it satisfied some of the above mentioned requirements. Any inputs regarding this will be greatly appreciated. -- Thanks Sivaji -------------- next part -------------- An HTML attachment was scrubbed... URL: From sivaji2009 at gmail.com Wed Jul 15 14:56:10 2009 From: sivaji2009 at gmail.com (sivaji j.g) Date: Wed, 15 Jul 2009 20:26:10 +0530 Subject: [support] Change node title when node is viewed. In-Reply-To: <972255370907150730u221ba5bap30a3482b76be3de9@mail.gmail.com> References: <4A5DDDEF.3010508@ziobuddalabs.it> <972255370907150730u221ba5bap30a3482b76be3de9@mail.gmail.com> Message-ID: On Wed, Jul 15, 2009 at 8:00 PM, Brett Evanson wrote: > I think what you are looking for is drupal_set_title() > > http://api.drupal.org/api/function/drupal_set_title/6 it is used to set the page title isn't it ? > > Hi. I have a content type and I need to change the node's title when the > > node is view-ed. > > > > > > Where is my error ? > drupal cache may be causing this. -- Thanks Sivaji -------------- next part -------------- An HTML attachment was scrubbed... URL: From michel at ziobuddalabs.it Wed Jul 15 15:02:16 2009 From: michel at ziobuddalabs.it (Michel Morelli) Date: Wed, 15 Jul 2009 17:02:16 +0200 Subject: [support] Change node title when node is viewed. In-Reply-To: <972255370907150730u221ba5bap30a3482b76be3de9@mail.gmail.com> References: <4A5DDDEF.3010508@ziobuddalabs.it> <972255370907150730u221ba5bap30a3482b76be3de9@mail.gmail.com> Message-ID: <4A5DEF78.5050304@ziobuddalabs.it> Brett Evanson ha scritto: > I think what you are looking for is drupal_set_title() > > http://api.drupal.org/api/function/drupal_set_title/6 > Thanks Brett. M. -- Michel 'ZioBudda' Morelli michel at ziobuddalabs.net Consulenza sistemistica in ambito OpenSource. Sviluppo applicazioni web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ziodrupal.net MSN: michel at ziobuddalabs.it JABBER: michel at ziobuddalabs.it From bharanikumariyerphp at gmail.com Wed Jul 15 15:12:18 2009 From: bharanikumariyerphp at gmail.com (bharani kumar) Date: Wed, 15 Jul 2009 20:42:18 +0530 Subject: [support] Indian Payment Gateway with Ubercart 2.x In-Reply-To: References: Message-ID: <2240033d0907150812h39820f7euc976980d611c5b52@mail.gmail.com> not sure ..but please look protex ..its just $20.... On Wed, Jul 15, 2009 at 8:18 PM, sivaji j.g wrote: > I am building an e-commerce site using Drupal 6.x and ubercart 2.x. The > site aims at Indian customers to sell t-shirts. I would like to get some > input from you regarding payment gateway. I am a noob may be mis-using > terminology, forgive me if i am wrong. > > I thought of using Paypal, payment gateway with a personal account for now > but it seems to be having too many drawbacks. > 1. Doesn't support INR transaction (though i managed to change it to USD > before sending it to paypal) > 2. It needs a paypal account to use credit card. > 3. Credit needs to be verified to use it with paypal which will take few > days, obviously it may leads to drop out of sales/customers. > 4. Debit card doesn't works. > 5. Paypal has it own exchange rate which is usually $1.5 less than usual > exchange rate. > On the whole paypal doesn't satifies the things we are looking for. > > I gone through Authorize.net website, it requires $99 for setup and $20 > monthly fee. It seems to be very expensive for a startup. > > Is there any payment gateway which satisfied the following requirements > 1. it Should accept and perform payment processing in INR. > 2. should work with ubercart 2.x. > 3. it should not ask the customers to create an account like paypal > 4. less setup and monthly fee. > > I am curious to know the strategies used by other Indians to handle this. > Is there anyone using EBS payment Gateway with drupal 5.x ? is it good > enough for your website ? I am glad to port it to drupal 6 if it satisfied > some of the above mentioned requirements. Any inputs regarding this will be > greatly appreciated. > > -- > Thanks > Sivaji > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Regards B.S.Bharanikumar http://php-mysql-jquery.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From michel at ziobuddalabs.it Wed Jul 15 15:15:00 2009 From: michel at ziobuddalabs.it (Michel Morelli) Date: Wed, 15 Jul 2009 17:15:00 +0200 Subject: [support] Change node title when node is viewed. In-Reply-To: References: <4A5DDDEF.3010508@ziobuddalabs.it> <972255370907150730u221ba5bap30a3482b76be3de9@mail.gmail.com> Message-ID: <4A5DF274.5070409@ziobuddalabs.it> sivaji j.g ha scritto: > > > On Wed, Jul 15, 2009 at 8:00 PM, Brett Evanson > wrote: > > I think what you are looking for is drupal_set_title() > > http://api.drupal.org/api/function/drupal_set_title/6 > > > it is used to set the page title isn't it ? html page title (tag ) and node page title. But i was sure that in Drupal 5 I changed the node->title field. M. -- Michel 'ZioBudda' Morelli michel at ziobuddalabs.net Consulenza sistemistica in ambito OpenSource. Sviluppo applicazioni web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ziodrupal.net MSN: michel at ziobuddalabs.it JABBER: michel at ziobuddalabs.it -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090715/0a37f9f1/attachment.htm> From sivaji2009 at gmail.com Wed Jul 15 15:36:20 2009 From: sivaji2009 at gmail.com (sivaji j.g) Date: Wed, 15 Jul 2009 21:06:20 +0530 Subject: [support] Indian Payment Gateway with Ubercart 2.x In-Reply-To: <2240033d0907150812h39820f7euc976980d611c5b52@mail.gmail.com> References: <fce946780907150748t7539482ci2e92d20a5db94699@mail.gmail.com> <2240033d0907150812h39820f7euc976980d611c5b52@mail.gmail.com> Message-ID: <fce946780907150836j72dab542sf922823b00a3269c@mail.gmail.com> On Wed, Jul 15, 2009 at 8:42 PM, bharani kumar < bharanikumariyerphp at gmail.com> wrote: > 3. Credit needs to be verified to use it with paypal which will take few >> days, obviously it may leads to drop out of sales/customers. >> > 2. It needs a paypal account to use credit card. > Sorry i made a wrong point here, credit card verification and waiting is not required for customers its only for merchants. > >> 4. Debit card doesn't works. >> >> -- Thanks Sivaji -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090715/ed2df714/attachment.htm> From emma.badger at chocolateteapot.net Wed Jul 15 17:01:58 2009 From: emma.badger at chocolateteapot.net (Emma Badger) Date: Wed, 15 Jul 2009 18:01:58 +0100 Subject: [support] Views - group by a field(s) in View header? Message-ID: <42488C14-5DFB-46BD-9EA5-5027921693C5@chocolateteapot.net> This is what I'm trying to display on a page: Taxonomy Term Title Taxonomy Term Description Content Title (1) contained in corresponding Taxonomy Term (linking to content page) Content Title (2) contained in corresponding Taxonomy Term (linking to content page) Content Title (3) contained in corresponding Taxonomy Term (linking to content page) Content Title (4) contained in corresponding Taxonomy Term (linking to content page) Content Title (5) contained in corresponding Taxonomy Term (linking to content page) etc Using Views and cloning the taxonomy_term default view and tweaking I've managed to group the content for each Taxonomy Term therefore (sort of) creating this bit Content Title (1) contained in Taxonomy Term (linking to content page) Content Title (2) contained in Taxonomy Term (linking to content page) Content Title (3) contained in Taxonomy Term (linking to content page) Content Title (4) contained in Taxonomy Term (linking to content page) Content Title (5) contained in Taxonomy Term (linking to content page) This is an example http://jane-hr.co.uk/drupal/category/system-setup/housekeeping I don't want the Taxonomy in Content table as this would duplicate the Term Title and more importantly the Term Description which would look silly. Is there a way of displaying the content of fields in a textarea? I ask this as then I could use the View header field to display Taxonomy Term Title Taxonomy Term Description Can anyone suggest an alternative way of constructing this page? Any help would be appreciated, thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090715/165f2e73/attachment-0001.htm> From sikileng at gmail.com Wed Jul 15 21:24:37 2009 From: sikileng at gmail.com (Steve) Date: Thu, 16 Jul 2009 00:24:37 +0300 Subject: [support] Themeing webforms screencast In-Reply-To: <177c0a10907150506s39fad523r333b22b4fe2cf7b8@mail.gmail.com> References: <d8fd3b970907150428p2139145el6b472cb5aa053756@mail.gmail.com> <177c0a10907150506s39fad523r333b22b4fe2cf7b8@mail.gmail.com> Message-ID: <d8fd3b970907151424y176c890fg3e95d23d8ecff931@mail.gmail.com> thanks you got me started but i also needed to theme the webforms separately and have every form with a different look n feel On 7/15/09, Fred Jones <fredthejonester at gmail.com> wrote: >> Hi, all >> am new to drupal and i would like to theme my webform to have field >> arranged >> like two field in one line rather than a field per line. >> have looked >> at http://drupal.org/node/82427 and http://drupal.org/node/79086 but i >> cant >> fully comprehend which files i need to edit. >> if any of the drupalers here can provide some info of screencast available >> i >> would be greatfull or a well documented step of how to theme webform > > Basically you just make the webform first and then examine the HTML > and then edit the CSS file(s) in your chosen theme to create the > layout you need for your webform. It's really just pure CSS that > creates this layout for you. > -- > [ Drupal support list | http://lists.drupal.org/ ] > From hello at fresh-off.com Wed Jul 15 22:26:03 2009 From: hello at fresh-off.com (brendan, fresh-off.com) Date: Wed, 15 Jul 2009 15:26:03 -0700 Subject: [support] Themeing webforms screencast In-Reply-To: <d8fd3b970907151424y176c890fg3e95d23d8ecff931@mail.gmail.com> References: <d8fd3b970907150428p2139145el6b472cb5aa053756@mail.gmail.com> <177c0a10907150506s39fad523r333b22b4fe2cf7b8@mail.gmail.com> <d8fd3b970907151424y176c890fg3e95d23d8ecff931@mail.gmail.com> Message-ID: <000b01ca059b$3e94cf50$bbbe6df0$@com> although it isn't specifically about styling/creating forms, this might be helpful: http://mustardseedmedia.com/podcast/episode24 if not, take a look at that dudes other podcasts - I found them extremely helpful in understanding how to translate my designs into Drupal. brendan www.fresh-off.com seattle.usa -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Steve Sent: Wednesday, July 15, 2009 2:25 PM To: support at drupal.org Subject: Re: [support] Themeing webforms screencast thanks you got me started but i also needed to theme the webforms separately and have every form with a different look n feel On 7/15/09, Fred Jones <fredthejonester at gmail.com> wrote: >> Hi, all >> am new to drupal and i would like to theme my webform to have field >> arranged >> like two field in one line rather than a field per line. >> have looked >> at http://drupal.org/node/82427 and http://drupal.org/node/79086 but i >> cant >> fully comprehend which files i need to edit. >> if any of the drupalers here can provide some info of screencast available >> i >> would be greatfull or a well documented step of how to theme webform > > Basically you just make the webform first and then examine the HTML > and then edit the CSS file(s) in your chosen theme to create the > layout you need for your webform. It's really just pure CSS that > creates this layout for you. > -- > [ 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/20090715/e921fcac/attachment.htm> From sikileng at gmail.com Thu Jul 16 06:58:37 2009 From: sikileng at gmail.com (Steve) Date: Thu, 16 Jul 2009 09:58:37 +0300 Subject: [support] Themeing webforms screencast In-Reply-To: <000b01ca059b$3e94cf50$bbbe6df0$@com> References: <d8fd3b970907150428p2139145el6b472cb5aa053756@mail.gmail.com> <177c0a10907150506s39fad523r333b22b4fe2cf7b8@mail.gmail.com> <d8fd3b970907151424y176c890fg3e95d23d8ecff931@mail.gmail.com> <000b01ca059b$3e94cf50$bbbe6df0$@com> Message-ID: <d8fd3b970907152358i769419dbr7553389829ffe8cb@mail.gmail.com> Thanks so much this will definitely give me an upper hand in overall theming On Thu, Jul 16, 2009 at 1:26 AM, brendan, fresh-off.com <hello at fresh-off.com > wrote: > although it isn't specifically about styling/creating forms, this might > be helpful: *http://mustardseedmedia.com/podcast/episode24*<http://mustardseedmedia.com/podcast/episode24> > > > if not, take a look at that dudes other podcasts - I found them*** > extremely* helpful in understanding how to translate my designs into > Drupal? > > brendan > > www.fresh-off.com > > seattle.usa > > -----Original Message----- > From: support-bounces at drupal.org [mailto:support-bounces at drupal.org<support-bounces at drupal.org>] > On Behalf Of Steve > Sent: Wednesday, July 15, 2009 2:25 PM > To: support at drupal.org > Subject: Re: [support] Themeing webforms screencast > > thanks you got me started but i also needed to theme the webforms > > separately and have every form with a different look n feel > > On 7/15/09, Fred Jones <fredthejonester at gmail.com> wrote: > > >> Hi, all > > >> am new to drupal and i would like to theme my webform to have field > > >> arranged > > >> like two field in one line rather than a field per line. > > >> have looked > > >> at http://drupal.org/node/82427 and http://drupal.org/node/79086 but i > > >> cant > > >> fully comprehend which files i need to edit. > > >> if any of the drupalers here can provide some info of screencast > available > > >> i > > >> would be greatfull or a well documented step of how to theme webform > > > > > > Basically you just make the webform first and then examine the HTML > > > and then edit the CSS file(s) in your chosen theme to create the > > > layout you need for your webform. It's really just pure CSS that > > > creates this layout for you. > > > -- > > > [ 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/20090716/988546c7/attachment.htm> From postmaster at boxbe.com Thu Jul 16 11:24:05 2009 From: postmaster at boxbe.com (postmaster at boxbe.com) Date: Thu, 16 Jul 2009 04:24:05 -0700 (PDT) Subject: [support] Change node title when node is viewed. (Action Required) Message-ID: <46709306.18221.1247743445538.JavaMail.prod@app004.boxbe.com> Hello Michel Morelli, This message serves as notification that you will not receive any more courtesy notices from our members for two days. Messages you have sent will remain in a lower priority queue for our member to review at their leisure. Future messages will be more likely to be viewed if you are on our member's priority Guest List. Thank you, bharanikumariyerphp at gmail.com About Boxbe This courtesy notice is part of a free service to make email more reliable and useful. Boxbe (http://www.boxbe.com) uses your existing social network and that of your friends to keep your inbox clean and make sure you receive email from people who matter to you. Boxbe: Say Goodbye to Email Overload Visit http://www.boxbe.com/how-it-works?tc=229711738_1589431806 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090716/4eee534e/attachment-0001.htm> -------------- next part -------------- An embedded message was scrubbed... From: Michel Morelli <michel at ziobuddalabs.it> Subject: Re: [support] Change node title when node is viewed. Date: Wed, 15 Jul 2009 17:15:00 +0200 Size: 4288 URL: <http://lists.drupal.org/pipermail/support/attachments/20090716/4eee534e/attachment-0001.eml> From aldo at caonao.cu Thu Jul 16 13:13:23 2009 From: aldo at caonao.cu (Aldo Martinez Selleras) Date: Thu, 16 Jul 2009 09:13:23 -0400 Subject: [support] create a multisite with drupal Message-ID: <4A5F2773.7090401@caonao.cu> i have a drupal site with two functions, i want too create now two sites with drupal, i mean, using the mutisite option of drupal.... sites/site1 sites/site2 but, how can i separate now the info in the database for the sites!?? From sfreach at gmail.com Thu Jul 16 14:24:06 2009 From: sfreach at gmail.com (Seth Freach) Date: Thu, 16 Jul 2009 10:24:06 -0400 Subject: [support] create a multisite with drupal In-Reply-To: <4A5F2773.7090401@caonao.cu> References: <4A5F2773.7090401@caonao.cu> Message-ID: <4A5F3806.9080300@gmail.com> Aldo, Do you want two new wholly separate sites and separate databases or just to separate out the tables that pertain to function 1 and function 2 leaving things like the node and users table shared between the two sites? use of $db_prefix in your settings.php files is going to be where it's done. If splitting an existing installation, take special care of the {sequences} table. http://drupal.org/node/147828 may be of use. Seth If the two "functions" are completely seperate and use different database tables Aldo Martinez Selleras wrote: > i have a drupal site with two functions, i want too create now two > sites with drupal, i mean, using the mutisite option of drupal.... > > sites/site1 > sites/site2 > > but, how can i separate now the info in the database for the sites!?? > -- > [ Drupal support list | http://lists.drupal.org/ ] From inforazor at gmail.com Thu Jul 16 23:52:30 2009 From: inforazor at gmail.com (sebastian) Date: Thu, 16 Jul 2009 16:52:30 -0700 Subject: [support] dynamic views field output based on arguments Message-ID: <4A5FBD3E.9060308@gmail.com> Hello Drupalites, I have a taxonomy-view which correctly outputs my taxonomy list and I am using "rewrite output" to generate the correct path output for when a user clicks an item in the list. However, I do not see how I can make it so that if the view is passed an argument that matches one of the taxonomy terms, the specific taxonomy term can be changed so that I can then turn off it's A HREF and style it appropriately. I had tried using the module: taxonomy_menu but when I turn on "custom path" my menu just vanishes from the output, and I am not sure why it is doing this, nor can I find any quick solutions to this...; hence why I am just using the standard Views 2 solution. I am on Drupal 6.2 Does anyone have a solution to this? Do I need to write custom PHP code? If so, it will be for only one panel, which in turn is loading this one view. Thanks! Sebastian. From michel at ziobuddalabs.it Fri Jul 17 08:53:41 2009 From: michel at ziobuddalabs.it (Michel Morelli) Date: Fri, 17 Jul 2009 10:53:41 +0200 Subject: [support] 4 different sites with 1 shared search Message-ID: <4A603C15.7050306@ziobuddalabs.it> Hi all. I need to create 4 different sites (nodes, taxonomies, users, theme) that have two things in common: domain base (mydomain.com) and the search. How can I do it ? I can use multi-installation and divide the sites via directory (ok for theme, node, taxonomy, but not for search) or I can use the organic groups (ok for node, taxonomy, search but not for theme?) I have thinked that the organic groups is the best solution, but can I theme it ? How ? Thanks. M. -- Michel 'ZioBudda' Morelli michel at ziobuddalabs.net Consulenza sistemistica in ambito OpenSource. Sviluppo applicazioni web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ziodrupal.net MSN: michel at ziobuddalabs.it JABBER: michel at ziobuddalabs.it From earnie at users.sourceforge.net Fri Jul 17 12:21:56 2009 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Fri, 17 Jul 2009 12:21:56 +0000 Subject: [support] 4 different sites with 1 shared search In-Reply-To: <4A603C15.7050306@ziobuddalabs.it> References: <4A603C15.7050306@ziobuddalabs.it> Message-ID: <20090717122156.18296plwmqwpfh0c@mail.siebunlimited.com> Quoting Michel Morelli <michel at ziobuddalabs.it>: > Hi all. I need to create 4 different sites (nodes, taxonomies, > users, theme) that have two things in common: domain base > (mydomain.com) and the search. How can I do it ? > > I can use multi-installation and divide the sites via directory (ok > for theme, node, taxonomy, but not for search) or I can use the > organic groups (ok for node, taxonomy, search but not for theme?) I > have thinked that the organic groups is the best solution, but can I > theme it ? How ? > http://lmgtfy.com/?q=organic+theme+site%3Adrupal.org -- Earnie -- http://r-feed.com/ -- http://for-my-kids.com/ -- http://www.4offer.biz/ -- http://give-me-an-offer.com/ From michel at ziobuddalabs.it Fri Jul 17 13:19:29 2009 From: michel at ziobuddalabs.it (Michel Morelli) Date: Fri, 17 Jul 2009 15:19:29 +0200 Subject: [support] 4 different sites with 1 shared search In-Reply-To: <20090717122156.18296plwmqwpfh0c@mail.siebunlimited.com> References: <4A603C15.7050306@ziobuddalabs.it> <20090717122156.18296plwmqwpfh0c@mail.siebunlimited.com> Message-ID: <4A607A61.8050102@ziobuddalabs.it> Earnie Boyd ha scritto: > Quoting Michel Morelli <michel at ziobuddalabs.it>: > >> Hi all. I need to create 4 different sites (nodes, taxonomies, users, >> theme) that have two things in common: domain base (mydomain.com) and >> the search. How can I do it ? >> >> I can use multi-installation and divide the sites via directory (ok >> for theme, node, taxonomy, but not for search) or I can use the >> organic groups (ok for node, taxonomy, search but not for theme?) I >> have thinked that the organic groups is the best solution, but can I >> theme it ? How ? >> > > http://lmgtfy.com/?q=organic+theme+site%3Adrupal.org I know how to search via google. M. -- Michel 'ZioBudda' Morelli michel at ziobuddalabs.net Consulenza sistemistica in ambito OpenSource. Sviluppo applicazioni web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ziodrupal.net MSN: michel at ziobuddalabs.it JABBER: michel at ziobuddalabs.it From bill at funnymonkey.com Fri Jul 17 13:46:38 2009 From: bill at funnymonkey.com (Bill Fitzgerald) Date: Fri, 17 Jul 2009 06:46:38 -0700 Subject: [support] 4 different sites with 1 shared search In-Reply-To: <4A607A61.8050102@ziobuddalabs.it> References: <4A603C15.7050306@ziobuddalabs.it> <20090717122156.18296plwmqwpfh0c@mail.siebunlimited.com> <4A607A61.8050102@ziobuddalabs.it> Message-ID: <4A6080BE.40107@funnymonkey.com> Hello, Michael, Using OG, you can specify a different theme for each group. Using Solr Search, you can set up federated search across sites. Either one of these approaches would probably meet your needs. Earnie -- this is the support list. It's okay to ask questions here. This question is not a RTFM-type question, especially for someone who is new-ish to Drupal, and sending someone to "Let Me Google That For You" is a pretty poor response. If the OP had copped an attitude, that would be a different story, but I didn't get that sense. Next time, how about pouring yourself another cup of coffee and forgoing a response that can be construed as less than helpful? Cheers, Bill Michel Morelli wrote: > Earnie Boyd ha scritto: >> Quoting Michel Morelli <michel at ziobuddalabs.it>: >> >>> Hi all. I need to create 4 different sites (nodes, taxonomies, users, >>> theme) that have two things in common: domain base (mydomain.com) and >>> the search. How can I do it ? >>> >>> I can use multi-installation and divide the sites via directory (ok >>> for theme, node, taxonomy, but not for search) or I can use the >>> organic groups (ok for node, taxonomy, search but not for theme?) I >>> have thinked that the organic groups is the best solution, but can I >>> theme it ? How ? >>> >> >> http://lmgtfy.com/?q=organic+theme+site%3Adrupal.org > I know how to search via google. > > M. > From gordon at heydon.com.au Fri Jul 17 14:19:50 2009 From: gordon at heydon.com.au (Gordon Heydon) Date: Sat, 18 Jul 2009 00:19:50 +1000 Subject: [support] 4 different sites with 1 shared search In-Reply-To: <4A603C15.7050306@ziobuddalabs.it> References: <4A603C15.7050306@ziobuddalabs.it> Message-ID: <ABBD3BAC-D733-4078-BB30-1BE981BF9345@heydon.com.au> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Take a look at domain access http://drupal.org/project/domain where you can set up the different sites, and then set up the search as a special page which will not implement the access. Gordon. On 17/07/2009, at 6:53 PM, Michel Morelli wrote: > Hi all. I need to create 4 different sites (nodes, taxonomies, > users, theme) that have two things in common: domain base > (mydomain.com) and the search. How can I do it ? > > I can use multi-installation and divide the sites via directory (ok > for theme, node, taxonomy, but not for search) or I can use the > organic groups (ok for node, taxonomy, search but not for theme?) > I have thinked that the organic groups is the best solution, but can > I theme it ? How ? > > Thanks. > > M. > > -- > Michel 'ZioBudda' Morelli > michel at ziobuddalabs.net > Consulenza sistemistica in ambito OpenSource. > Sviluppo applicazioni web dinamiche (LAMP+Ajax) > Telefono: 0200619074 > Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 > > http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it > Skype: zio_budda > http://www.ziodrupal.net MSN: > michel at ziobuddalabs.it JABBER: michel at ziobuddalabs.it > > -- > [ Drupal support list | http://lists.drupal.org/ ] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkpgiIcACgkQngavurZvkrxOJwCfceNJBQbZaof4LfJnSAxssglc 6nkAn2Lm1TVJpehh4tCrOmIRupkJA2tH =T3kD -----END PGP SIGNATURE----- From earnie at users.sourceforge.net Fri Jul 17 16:47:34 2009 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Fri, 17 Jul 2009 16:47:34 +0000 Subject: [support] 4 different sites with 1 shared search In-Reply-To: <4A6080BE.40107@funnymonkey.com> References: <4A603C15.7050306@ziobuddalabs.it> <20090717122156.18296plwmqwpfh0c@mail.siebunlimited.com> <4A607A61.8050102@ziobuddalabs.it> <4A6080BE.40107@funnymonkey.com> Message-ID: <20090717164734.16452be36zqws0u8@mail.siebunlimited.com> Quoting Bill Fitzgerald <bill at funnymonkey.com>: > > Earnie -- this is the support list. It's okay to ask questions here. > This question is not a RTFM-type question, especially for someone > who is new-ish to Drupal, and sending someone to "Let Me Google That > For You" is a pretty poor response. If the OP had copped an > attitude, that would be a different story, but I didn't get that > sense. > > Next time, how about pouring yourself another cup of coffee and > forgoing a response that can be construed as less than helpful? > Even on a support list one should be willing to research a little before asking. It was after all the very first link returned by Google. I'm a member of many support lists and this one is one goes more than above board with kindness regardless of the questions asked. But even that doesn't mean we shouldn't guide users to help themselves. http://www.eifl.net/cps/sections/services/eifl-foss/briefings/tips-for-engaging-with http://www.catb.org/~esr/faqs/smart-questions.html -- Earnie -- http://r-feed.com/ -- http://for-my-kids.com/ -- http://www.4offer.biz/ -- http://give-me-an-offer.com/ From neil at esl-lounge.com Fri Jul 17 16:57:54 2009 From: neil at esl-lounge.com (Neil Coghlan) Date: Fri, 17 Jul 2009 13:57:54 -0300 Subject: [support] adding "description" help text to block configuration form Message-ID: <9EF11D6A24A74A888CA5E6E25237FBC9@Neil> I've never tried to user hook_form_alter to change a form. I'd like to just add a line or two of help text to the block configuration form on the user account edit page. Is hook_form_alter even the best way to do this? could someone just give me a pointer as to where to begin with this? Do I need to make a separate module with just the hook_form_alter in it? Interestingly, D7 will now have a few lines of help text in the block config form, but I'm on D6. thanks Neil -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090717/9bc8d23c/attachment.htm> From earnie at users.sourceforge.net Fri Jul 17 17:54:09 2009 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Fri, 17 Jul 2009 17:54:09 +0000 Subject: [support] adding "description" help text to block configuration form In-Reply-To: <9EF11D6A24A74A888CA5E6E25237FBC9@Neil> References: <9EF11D6A24A74A888CA5E6E25237FBC9@Neil> Message-ID: <20090717175409.141076kte70wtzwg@mail.siebunlimited.com> Quoting Neil Coghlan <neil at esl-lounge.com>: > I've never tried to user hook_form_alter to change a form. I'd like > to just add a line or two of help text to the block configuration > form on the user account edit page. Is hook_form_alter even the best > way to do this? > Probably this is what you want to do. > could someone just give me a pointer as to where to begin with this? > Do I need to make a separate module with just the hook_form_alter in > it? > Yes, if you use hook_form_alter you need a custom module. > Interestingly, D7 will now have a few lines of help text in the > block config form, but I'm on D6. > This http://drupal.org/project/advanced_help might help as well. -- Earnie -- http://r-feed.com/ -- http://for-my-kids.com/ -- http://www.4offer.biz/ -- http://give-me-an-offer.com/ From killshot91 at comcast.net Fri Jul 17 20:31:10 2009 From: killshot91 at comcast.net (Steve Edwards) Date: Fri, 17 Jul 2009 13:31:10 -0700 Subject: [support] Displaying node form buttons at top and bottom Message-ID: <4A60DF8E.4070101@comcast.net> On the node edit form for a CCK type, the client wants to have the Save/Preview/Delete buttons both at the top and bottom of the form. I created a template file and added an entry in hook_theme() to use it, and it works fine. I then added "print drupal_render_form('article-edit',$form['buttons']);" and then print drupal_render_form('article-edit',$form); , and then moves the button to the top and then renders the rest of the form. The question is, how do I get the buttons to display again at the bottom? If I put in another "print drupal_render_form('article-edit',$form['buttons']);", they aren't displayed. I really don't want to have to enter each element individually just to get the buttons at the bottom if I don't have to. Thanks. Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090717/f08eb4d9/attachment.htm> From rotsen at gmail.com Fri Jul 17 21:11:12 2009 From: rotsen at gmail.com (=?ISO-8859-1?B?TulzdG9y?=) Date: Fri, 17 Jul 2009 14:11:12 -0700 Subject: [support] Calendar Events In-Reply-To: <1CF7137E18C1234082F572E8A816DFAE12C3321A@Octopus.sdcwa.org> References: <1CF7137E18C1234082F572E8A816DFAE12C3321A@Octopus.sdcwa.org> Message-ID: <a304e2d60907171411x370aee5buabf682fde6c2b3c2@mail.gmail.com> Looking at my Calendar events, I get different result on FF than I get on IE. The Firefox is the correct one. Is there anything that I am not aware that I need to do? *On FF I get:* ---------------------------------------------------------------------------------- </td> <td id="date_browser-2009-07-18" class="sat future has-events"> <div class="inner"><div class="month day"> <a href="/drupal/scroller612/date-browser/2009-07-18">18</a> </div><div class="view-item view-item-date_browser"> <div class="calendar monthview" id="calendar:16:field_date:0:1"> <div id="node-title" class="view-field view-data-node-title"> <a href="/drupal/scroller612/golf_2009">Golf Tournament</a> </div> </div> </div> </div> </td> ---------------------------------------------------------------------------------- *On IE I get:* ---------------------------------------------------------------------------------- <td id="date_browser-2009-07-18" class="sat future has-no-events"> <div class="inner"><div class="month day"> <a href="/drupal/scroller612/date-browser/2009-07-18">18</a> </div><div class="calendar-empty"> </div> </div> </td> ---------------------------------------------------------------------------------- Thanks, N?stor :-) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090717/7394116e/attachment.htm> From metzlerd at evergreen.edu Fri Jul 17 21:24:11 2009 From: metzlerd at evergreen.edu (Metzler, David) Date: Fri, 17 Jul 2009 14:24:11 -0700 Subject: [support] adding "description" help text to block configuration form In-Reply-To: <20090717175409.141076kte70wtzwg@mail.siebunlimited.com> References: <9EF11D6A24A74A888CA5E6E25237FBC9@Neil> <20090717175409.141076kte70wtzwg@mail.siebunlimited.com> Message-ID: <52177C930FA90F4D9888B0343FDB79FBA58C64@birch.evergreen.edu> The form_defaults module also provides this funtionality. -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Earnie Boyd Sent: Friday, July 17, 2009 10:54 AM To: support at drupal.org Subject: Re: [support] adding "description" help text to block configuration form Quoting Neil Coghlan <neil at esl-lounge.com>: > I've never tried to user hook_form_alter to change a form. I'd like to > just add a line or two of help text to the block configuration form on > the user account edit page. Is hook_form_alter even the best way to do > this? > Probably this is what you want to do. > could someone just give me a pointer as to where to begin with this? > Do I need to make a separate module with just the hook_form_alter in > it? > Yes, if you use hook_form_alter you need a custom module. > Interestingly, D7 will now have a few lines of help text in the > block config form, but I'm on D6. > This http://drupal.org/project/advanced_help might help as well. -- Earnie -- http://r-feed.com/ -- http://for-my-kids.com/ -- http://www.4offer.biz/ -- http://give-me-an-offer.com/ -- [ Drupal support list | http://lists.drupal.org/ ] From bchoc at t4tcolorado.org Fri Jul 17 22:32:13 2009 From: bchoc at t4tcolorado.org (Brian Choc) Date: Fri, 17 Jul 2009 16:32:13 -0600 Subject: [support] Calendar Events In-Reply-To: <a304e2d60907171411x370aee5buabf682fde6c2b3c2@mail.gmail.com> References: <1CF7137E18C1234082F572E8A816DFAE12C3321A@Octopus.sdcwa.org> <a304e2d60907171411x370aee5buabf682fde6c2b3c2@mail.gmail.com> Message-ID: <507b282e0907171532r3a7a0069y2588349a9883333e@mail.gmail.com> Ensure you are logged in as the same user/role that has the same permission to view the event. Brian On Fri, Jul 17, 2009 at 3:11 PM, N?stor <rotsen at gmail.com> wrote: > Looking at my Calendar events, I get different result on FF than I get on > IE. > The Firefox is the correct one. > Is there anything that I am not aware that I need to do? > > *On FF I get:* > > ---------------------------------------------------------------------------------- > </td> > <td id="date_browser-2009-07-18" class="sat future > has-events"> > > <div class="inner"><div class="month day"> <a > href="/drupal/scroller612/date-browser/2009-07-18">18</a> </div><div > class="view-item view-item-date_browser"> > > <div class="calendar monthview" id="calendar:16:field_date:0:1"> > <div id="node-title" class="view-field view-data-node-title"> > > <a href="/drupal/scroller612/golf_2009">Golf Tournament</a> > </div> > </div> > </div> > </div> </td> > > ---------------------------------------------------------------------------------- > > *On IE I get:* > > ---------------------------------------------------------------------------------- > <td id="date_browser-2009-07-18" class="sat future > has-no-events"> > <div class="inner"><div class="month day"> <a > href="/drupal/scroller612/date-browser/2009-07-18">18</a> </div><div > class="calendar-empty"> </div> > > </div> </td> > > ---------------------------------------------------------------------------------- > > Thanks, > > N?stor :-) > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090717/10b98b1b/attachment-0001.htm> From rotsen at gmail.com Sat Jul 18 00:27:01 2009 From: rotsen at gmail.com (=?ISO-8859-1?B?TulzdG9y?=) Date: Fri, 17 Jul 2009 17:27:01 -0700 Subject: [support] Calendar Events In-Reply-To: <507b282e0907171532r3a7a0069y2588349a9883333e@mail.gmail.com> References: <1CF7137E18C1234082F572E8A816DFAE12C3321A@Octopus.sdcwa.org> <a304e2d60907171411x370aee5buabf682fde6c2b3c2@mail.gmail.com> <507b282e0907171532r3a7a0069y2588349a9883333e@mail.gmail.com> Message-ID: <a304e2d60907171727m7918229bw210bde24d409c13a@mail.gmail.com> I think you are correct. I was admin on FF and I was just a user on IE Darn! I spent 4 hours trying to figure out the problem and it might just be a permission problem. I will test on monday when I am back at work. Thanks On Fri, Jul 17, 2009 at 3:32 PM, Brian Choc <bchoc at t4tcolorado.org> wrote: > Ensure you are logged in as the same user/role that has the same permission > to view the event. > > Brian > > On Fri, Jul 17, 2009 at 3:11 PM, N?stor <rotsen at gmail.com> wrote: > >> Looking at my Calendar events, I get different result on FF than I get on >> IE. >> The Firefox is the correct one. >> Is there anything that I am not aware that I need to do? >> >> *On FF I get:* >> >> ---------------------------------------------------------------------------------- >> </td> >> <td id="date_browser-2009-07-18" class="sat future >> has-events"> >> >> <div class="inner"><div class="month day"> <a >> href="/drupal/scroller612/date-browser/2009-07-18">18</a> </div><div >> class="view-item view-item-date_browser"> >> >> <div class="calendar monthview" id="calendar:16:field_date:0:1"> >> <div id="node-title" class="view-field >> view-data-node-title"> >> >> <a href="/drupal/scroller612/golf_2009">Golf Tournament</a> >> </div> >> </div> >> </div> >> </div> </td> >> >> ---------------------------------------------------------------------------------- >> >> *On IE I get:* >> >> ---------------------------------------------------------------------------------- >> <td id="date_browser-2009-07-18" class="sat future >> has-no-events"> >> <div class="inner"><div class="month day"> <a >> href="/drupal/scroller612/date-browser/2009-07-18">18</a> </div><div >> class="calendar-empty"> </div> >> >> </div> </td> >> >> ---------------------------------------------------------------------------------- >> >> Thanks, >> >> N?stor :-) >> >> >> -- >> [ 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/20090717/42601d02/attachment.htm> From geoffocallaghan at gmail.com Sat Jul 18 08:02:31 2009 From: geoffocallaghan at gmail.com (Geoff O'Callaghan) Date: Sat, 18 Jul 2009 18:02:31 +1000 Subject: [support] email archives as drupal nodes Message-ID: <1247904151.5687.113.camel@MrPointy> Hi All, New to drupal. I'm using 6.x and I would like to be able to add email archives into my drupal site and have them accessible for viewing/searching according to rules set by content_access. The email archives will need to have new emails added to them as well as a large backlog to be imported. What is the easiest way to achieve this ?? I've done quite a lot of googling on the subject but I can't find the right sequence of keywords to give me a decent hit :-) Any help appreciated Cheers Geoff From philip at philipnet.com Sat Jul 18 10:50:51 2009 From: philip at philipnet.com (philip at philipnet.com) Date: Sat, 18 Jul 2009 11:50:51 +0100 Subject: [support] email archives as drupal nodes In-Reply-To: <1247904151.5687.113.camel@MrPointy> References: <1247904151.5687.113.camel@MrPointy> Message-ID: <20090718115051.19534x8l2zogy423@89.16.178.14> Quoting Geoff O'Callaghan <geoffocallaghan at gmail.com>: > Hi All, > > New to drupal. I'm using 6.x and I would like to be able to add email > archives into my drupal site and have them accessible for > viewing/searching according to rules set by content_access. The email > archives will need to have new emails added to them as well as a large > backlog to be imported. > > What is the easiest way to achieve this ?? > > I've done quite a lot of googling on the subject but I can't find the > right sequence of keywords to give me a decent hit :-) mailhandler and listhandler spring to mind as suitable modules. I would use forums to place the archived email and then limit access to the forums as required. This setup is ideal if you want to archive messages from the implementation date onwards. To archive previous messages you would have to find a way to re-send them to the special mailbox you create as part of setting up Mailhandler/Listhandler. How to setup Mailhandler/Listhandler like this, see the documentation at http://drupal.org/node/40777 . Please also check the README in the Listhandler module. Other mail related modules can be found at the link: http://drupal.org/project/modules?filters=tid:66&solrsort=sort_title%20asc Regards. Phil L. ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From reinier.battenberg at mountbatten.net Sat Jul 18 11:14:16 2009 From: reinier.battenberg at mountbatten.net (Reinier Battenberg) Date: Sat, 18 Jul 2009 14:14:16 +0300 Subject: [support] email archives as drupal nodes In-Reply-To: <20090718115051.19534x8l2zogy423@89.16.178.14> References: <1247904151.5687.113.camel@MrPointy> <20090718115051.19534x8l2zogy423@89.16.178.14> Message-ID: <200907181414.16831.reinier.battenberg@mountbatten.net> @ To archive previous messages you would ? have to find a way to re-send them to the special mailbox you create ? as part of setting up Mailhandler/Listhandler. We did the 're-sending' recently just by using IMAP. So, you load them in your (Thunderbird/Kontakt) client in 1 mailaccount, then create a second mailaccount that points to your new server where you want to import from. Drag the mails over to the new mailaccount, and synchronize. IMAP handles the uploading of the original emails. What gave us a lot of trouble was the fact that all senders of emails need to have an account *before* you import the emails. There is no "if this sender does not exist, then create the user" or "If the sender does not exist, then post as Anonymous" setting, AFAIK. rgds, Reinier Battenberg Director Mountbatten Ltd. +256 782 801 749 www.mountbatten.net Be a professional website builder: www.easysites.ug On Saturday 18 July 2009 13:50:51 philip at philipnet.com wrote: > To archive previous messages you would ? > have to find a way to re-send them to the special mailbox you create ? > as part of setting up Mailhandler/Listhandler. From sikileng at gmail.com Mon Jul 20 06:31:10 2009 From: sikileng at gmail.com (Steve) Date: Mon, 20 Jul 2009 09:31:10 +0300 Subject: [support] XSPF playlist and views 2 D6 Message-ID: <d8fd3b970907192331x5d34a9e7x643774d64dcb083a@mail.gmail.com> I have created a content type named albums with the music uploaded as attachments. need a view to make a playlist view with views 2. i followed instructions from http://drupal.org/node/278260 but got stuck as their is no views 2 implementation for D6 any guide or info will help me out thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090720/6958e487/attachment.htm> From mike at mikeyp.net Mon Jul 20 06:07:31 2009 From: mike at mikeyp.net (Michael Prasuhn) Date: Sun, 19 Jul 2009 23:07:31 -0700 Subject: [support] Displaying node form buttons at top and bottom In-Reply-To: <4A60DF8E.4070101@comcast.net> References: <4A60DF8E.4070101@comcast.net> Message-ID: <747F8965-A0C9-4AE2-A6AC-3F52BB1F1DE4@mikeyp.net> Uhm, you could just do something like this: <?php $buttons = drupal_render($form['buttons']; print $buttons; print drupal_render($form); print $buttons; ?> On Jul 17, 2009, at 1:31 PM, Steve Edwards wrote: > On the node edit form for a CCK type, the client wants to have the > Save/Preview/Delete buttons both at the top and bottom of the form. > I created a template file and added an entry in hook_theme() to use > it, and it works fine. I then added "print > drupal_render_form('article-edit',$form['buttons']);" and then print > drupal_render_form('article-edit',$form); , and then moves the > button to the top and then renders the rest of the form. The > question is, how do I get the buttons to display again at the > bottom? If I put in another "print drupal_render_form('article- > edit',$form['buttons']);", they aren't displayed. I really don't > want to have to enter each element individually just to get the > buttons at the bottom if I don't have to. > > Thanks. > > Steve > -- > [ Drupal support list | http://lists.drupal.org/ ] __________________ Michael Prasuhn 503.488.5433 office 503.539.3864 cell 503.661.7574 home mike at mikeyp.net http://mikeyp.net From ratadi2 at gmail.com Mon Jul 20 11:43:23 2009 From: ratadi2 at gmail.com (geniekids) Date: Mon, 20 Jul 2009 04:43:23 -0700 (PDT) Subject: [support] Using views Display data from multiple cck nodes with shared fields Message-ID: <24568255.post@talk.nabble.com> I have many cck content types all having a common shared date field (called activity_date) What i want is a view that will display data from different nodes for the same date. This what i did in views FILTERS - i added node type and selected two such node types (both have shared field activity_date) in views FIELDS - i selected one field each from each of the nodes (session report from one and activity name from another) But when i view - grouped by date - while the date comes neatly once at the top (like a header) the fileds come repeated - it lists both the fields twice (see attached image) - each field blank in each instance. This would obviously look terrible if i had many fields from each node. what i want is - under the date - fields 1a, 1b etc from node type 1 and fields 2a, 2b etc from node type 2. any guidance appreciated http://www.nabble.com/file/p24568255/Clipboard01.jpg Clipboard01.jpg -- View this message in context: http://www.nabble.com/Using-views-Display-data-from-multiple-cck-nodes-with-shared-fields-tp24568255p24568255.html Sent from the Drupal - Support mailing list archive at Nabble.com. From max.linuxtime at gmail.com Mon Jul 20 12:21:57 2009 From: max.linuxtime at gmail.com (Massimiliano Marini) Date: Mon, 20 Jul 2009 12:21:57 +0000 Subject: [support] How to hide Body field in a CCK content Message-ID: <441bcae80907200521u116fb5fey5f48f92a6bd83523@mail.gmail.com> Hi all, I've created a new content with CCK, all the fields are displayed correctly, but I don't use the Body field (displayed by default) and I would like to hide it, is it possible or not? Regards -- Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/ "It's easier to invent the future than to predict it." -- Alan Kay From maxigas at gn.apc.org Mon Jul 20 13:09:47 2009 From: maxigas at gn.apc.org (maxigas) Date: Mon, 20 Jul 2009 14:09:47 +0100 (BST) Subject: [support] How can I permanently expand the "File attachment" fieldset? Message-ID: <20090720.140947.45939607.maxigas@gn.apc.org> hi! There is a method for permamently expanding the "File attachment" fieldset. I need this specifically on the upload forms of my "Gallery" node types, so i tried to implement the hacks described there, but it doesn't seem to work: http://drupal.org/node/227339 Seems to be a nice improvement indeed. I applied it on a Drupal 6 site i am building, but doesn't seem to work. It is supposed to have effect at node creation time in that form as well, isn't it? Here's the code that doesn't work for me, it's in a module file which is enabled on the site, and there are no other custom modules altering forms: function lsesu_form_alter($form_id, &$form) { if($form_id == 'gallery_node_form') { $form['attachments']['#collapsed'] = false; // Tried with and without this but no effect: return drupal_render($form); } } maxigas From neil at esl-lounge.com Mon Jul 20 13:57:22 2009 From: neil at esl-lounge.com (Neil Coghlan) Date: Mon, 20 Jul 2009 10:57:22 -0300 Subject: [support] How to hide Body field in a CCK content References: <441bcae80907200521u116fb5fey5f48f92a6bd83523@mail.gmail.com> Message-ID: <33BAC06E8B7E44F1A37F1CFC914A5803@Neil> Can't you just delete its title and it doesn't show? ----- Original Message ----- From: "Massimiliano Marini" <max.linuxtime at gmail.com> To: "Drupal Support ML" <support at drupal.org> Sent: Monday, July 20, 2009 9:21 AM Subject: [support] How to hide Body field in a CCK content > Hi all, > > I've created a new content with CCK, all the fields are displayed > correctly, but I don't use the Body field (displayed by default) and I > would like to hide it, is it possible or not? > > Regards > -- > 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 sivaji2009 at gmail.com Mon Jul 20 14:06:30 2009 From: sivaji2009 at gmail.com (sivaji j.g) Date: Mon, 20 Jul 2009 19:36:30 +0530 Subject: [support] How to hide Body field in a CCK content In-Reply-To: <441bcae80907200521u116fb5fey5f48f92a6bd83523@mail.gmail.com> References: <441bcae80907200521u116fb5fey5f48f92a6bd83523@mail.gmail.com> Message-ID: <fce946780907200706q1935b266k89e3e77f86987841@mail.gmail.com> On Mon, Jul 20, 2009 at 5:51 PM, Massimiliano Marini < max.linuxtime at gmail.com> wrote: > Hi all, > > I've created a new content with CCK, all the fields are displayed > correctly, but I don't use the Body field (displayed by default) and I > would like to hide it, is it possible or not? Goto to content management -> content type -> edit "content name" -> Submission form settings -> Body field label -> remove the label of this field -> save content type. -- Thanks Sivaji -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090720/61f3b29d/attachment.htm> From shai at content2zero.com Mon Jul 20 14:18:18 2009 From: shai at content2zero.com (Shai Gluskin) Date: Mon, 20 Jul 2009 10:18:18 -0400 Subject: [support] How to hide Body field in a CCK content In-Reply-To: <fce946780907200706q1935b266k89e3e77f86987841@mail.gmail.com> References: <441bcae80907200521u116fb5fey5f48f92a6bd83523@mail.gmail.com> <fce946780907200706q1935b266k89e3e77f86987841@mail.gmail.com> Message-ID: <9f68efb70907200718r18b64098i9fed37510d577487@mail.gmail.com> Neil and all, This is one of those "secret" Drupal tricks that, once you've done it a few times, you don't even notice how counter-intuitive this method is. I was 2 years into using Drupal before I ran into your problem and someone pointed out that help-text to me. I had never noticed it before. The help-text is clear, "To omit the body field for this content type, remove any text and leave this field blank" but its weird deleting a field by removing its label and it would be much more intuitive if this were managed on the "Manage Fields" page. For Drupal 7, I believe the "body" field is going away altogether now that "fields" (aka CCK or much of CCK) is moving into core. I think that was the plan, but not sure if they got that far. Shai On Mon, Jul 20, 2009 at 10:06 AM, sivaji j.g <sivaji2009 at gmail.com> wrote: > > > On Mon, Jul 20, 2009 at 5:51 PM, Massimiliano Marini <max.linuxtime at gmail.com> wrote: >> >> Hi all, >> >> I've created a new content with CCK, all the fields are displayed >> correctly, but I don't use the Body field (displayed by default) and I >> would like to hide it, is it possible or not? > > Goto to content management -> content type -> edit "content name" -> Submission form settings -> Body field label -> remove the label of this field -> save content type. > > > -- > Thanks > Sivaji > > -- > [ Drupal support list | http://lists.drupal.org/ ] From max.linuxtime at gmail.com Mon Jul 20 14:51:23 2009 From: max.linuxtime at gmail.com (Massimiliano Marini) Date: Mon, 20 Jul 2009 14:51:23 +0000 Subject: [support] How to hide Body field in a CCK content In-Reply-To: <fce946780907200706q1935b266k89e3e77f86987841@mail.gmail.com> References: <441bcae80907200521u116fb5fey5f48f92a6bd83523@mail.gmail.com> <fce946780907200706q1935b266k89e3e77f86987841@mail.gmail.com> Message-ID: <441bcae80907200751o337501aayf8a949190e486660@mail.gmail.com> Hi Sivaji and all for the help, > Goto to content management -> content type -> edit "content name" -> > Submission form settings -> Body field label -> remove the label of this > field -> save content type. It works, thanks! :) -- Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/ "It's easier to invent the future than to predict it." -- Alan Kay From max.linuxtime at gmail.com Mon Jul 20 16:08:18 2009 From: max.linuxtime at gmail.com (Massimiliano Marini) Date: Mon, 20 Jul 2009 16:08:18 +0000 Subject: [support] How to hide a CCK field (label and value) if value is empty Message-ID: <441bcae80907200908v288ca04k9454f9ca33e95e75@mail.gmail.com> Hi all, I've made a CCK content where some field are not "Required". What is the best way to hide during visualization (label and value) if value is empty? It's recommended to use a module, for example: http://drupal.org/project/contemplate or there is another better way? -- Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/ "It's easier to invent the future than to predict it." -- Alan Kay From shai at content2zero.com Mon Jul 20 16:46:29 2009 From: shai at content2zero.com (Shai Gluskin) Date: Mon, 20 Jul 2009 12:46:29 -0400 Subject: [support] How to hide a CCK field (label and value) if value is empty In-Reply-To: <441bcae80907200908v288ca04k9454f9ca33e95e75@mail.gmail.com> References: <441bcae80907200908v288ca04k9454f9ca33e95e75@mail.gmail.com> Message-ID: <9f68efb70907200946t65b9f0f9uccde2a90162d847c@mail.gmail.com> Massimilliano, Hmmm, I think you are describing Drupal/CCK's default behavior... labels don't show up for empty content... but maybe I'm dreaming. Shai On Mon, Jul 20, 2009 at 12:08 PM, Massimiliano Marini<max.linuxtime at gmail.com> wrote: > Hi all, > > I've made a CCK content where some field are not "Required". > > What is the best way to hide during visualization ?(label and value) > if value is empty? > > It's recommended to use a module, for example: > > http://drupal.org/project/contemplate > > or there is another better way? > > -- > 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 Mon Jul 20 17:02:00 2009 From: max.linuxtime at gmail.com (Massimiliano Marini) Date: Mon, 20 Jul 2009 17:02:00 +0000 Subject: [support] How to hide a CCK field (label and value) if value is empty In-Reply-To: <9f68efb70907200946t65b9f0f9uccde2a90162d847c@mail.gmail.com> References: <441bcae80907200908v288ca04k9454f9ca33e95e75@mail.gmail.com> <9f68efb70907200946t65b9f0f9uccde2a90162d847c@mail.gmail.com> Message-ID: <441bcae80907201002q45bc169aq842aeee43bbc9de6@mail.gmail.com> Hi Shai, > Hmmm, I think you are describing Drupal/CCK's default behavior... > labels don't show up for empty content... but maybe I'm dreaming. No, you're not dreaming, you said right, I posted without first having tried. :( Thanks :) -- Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/ "It's easier to invent the future than to predict it." -- Alan Kay From geoffocallaghan at gmail.com Tue Jul 21 03:27:19 2009 From: geoffocallaghan at gmail.com (Geoff O'Callaghan) Date: Tue, 21 Jul 2009 13:27:19 +1000 Subject: [support] email archives as drupal nodes In-Reply-To: <20090718115051.19534x8l2zogy423@89.16.178.14> References: <1247904151.5687.113.camel@MrPointy> <20090718115051.19534x8l2zogy423@89.16.178.14> Message-ID: <1248146839.9280.114.camel@MrPointy> On Sat, 2009-07-18 at 11:50 +0100, philip at philipnet.com wrote: > Quoting Geoff O'Callaghan <geoffocallaghan at gmail.com>: > > > Hi All, > > > > New to drupal. I'm using 6.x and I would like to be able to add email > > archives into my drupal site and have them accessible for > > viewing/searching according to rules set by content_access. The email > > archives will need to have new emails added to them as well as a large > > backlog to be imported. > > > > What is the easiest way to achieve this ?? > > > > I've done quite a lot of googling on the subject but I can't find the > > right sequence of keywords to give me a decent hit :-) > > mailhandler and listhandler spring to mind as suitable modules. > I would use forums to place the archived email and then limit access > to the forums as required. > > This setup is ideal if you want to archive messages from the > implementation date onwards. To archive previous messages you would > have to find a way to re-send them to the special mailbox you create > as part of setting up Mailhandler/Listhandler. > > How to setup Mailhandler/Listhandler like this, see the documentation > at http://drupal.org/node/40777 . Please also check the README in the > Listhandler module. > > Other mail related modules can be found at the link: > http://drupal.org/project/modules?filters=tid:66&solrsort=sort_title%20asc Hi thanks for that. I set it up and it in 'general' works. I'll also need to see if I can integrate it mailsave as i'd like to be able to attach attachments to the nodes. Thanks for the pointers Cheers Geoff From geoffocallaghan at gmail.com Tue Jul 21 04:03:32 2009 From: geoffocallaghan at gmail.com (Geoff O'Callaghan) Date: Tue, 21 Jul 2009 14:03:32 +1000 Subject: [support] email archives as drupal nodes In-Reply-To: <200907181414.16831.reinier.battenberg@mountbatten.net> References: <1247904151.5687.113.camel@MrPointy> <20090718115051.19534x8l2zogy423@89.16.178.14> <200907181414.16831.reinier.battenberg@mountbatten.net> Message-ID: <1248149012.9280.151.camel@MrPointy> On Sat, 2009-07-18 at 14:14 +0300, Reinier Battenberg wrote: > @ To archive previous messages you would > have to find a way to re-send them to the special mailbox you create > as part of setting up Mailhandler/Listhandler. > > > We did the 're-sending' recently just by using IMAP. So, you load them in your > (Thunderbird/Kontakt) client in 1 mailaccount, then create a second > mailaccount that points to your new server where you want to import from. > Drag the mails over to the new mailaccount, and synchronize. IMAP handles the > uploading of the original emails. > > What gave us a lot of trouble was the fact that all senders of emails need to > have an account *before* you import the emails. There is no "if this sender > does not exist, then create the user" or "If the sender does not exist, then > post as Anonymous" setting, AFAIK. Thanks for the heads up. I tweaked the code to create nodes with a specific 'unknown' user account when the email address wasn't registered. Probably should submit a patch to add the functionality, seems that most people would run into this problem - haven't thought through all the ramifications of doing it this way yet ;-) Cheers Geoff From sikileng at gmail.com Tue Jul 21 10:44:01 2009 From: sikileng at gmail.com (Steve) Date: Tue, 21 Jul 2009 13:44:01 +0300 Subject: [support] XSPF playlist and views 2 D6 In-Reply-To: <d8fd3b970907192331x5d34a9e7x643774d64dcb083a@mail.gmail.com> References: <d8fd3b970907192331x5d34a9e7x643774d64dcb083a@mail.gmail.com> Message-ID: <d8fd3b970907210344n6196e55dk1365e900668b3d47@mail.gmail.com> After a long struggle googling i finally achieved what i needed to know from guideline at http://groups.drupal.org/node/10894 as advised on a comment from darkbrewery <http://groups.drupal.org/user/16010> anyone interested follow the links -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090721/fc45e2db/attachment.htm> From fb at codicelibero.net Tue Jul 21 13:19:37 2009 From: fb at codicelibero.net (Francesco Baldini) Date: Tue, 21 Jul 2009 15:19:37 +0200 Subject: [support] Auto Assign Role + Content Profile Message-ID: <fe20ac7906c09aaf3c23f504943cc5e3.squirrel@webmail.codicelibero.net> Hi, I'm trying to use Auto Assign Role and Content Profile modules on the registration form. I have 3 roles, A B and C (other than authenticated and anonymous) While using these 2 modules I get all the fields on a single page, while I need some compulsory fields for some roles and some other for other roles what I'm trying to get is something like this: http://www.preventgbvafrica.org/user/register with a page per role or something that let me do something like that with 3 different forms, I'm open to ideas.. thanks From timothyjwashington at yahoo.ca Tue Jul 21 13:58:52 2009 From: timothyjwashington at yahoo.ca (Timothy Washington) Date: Tue, 21 Jul 2009 06:58:52 -0700 (PDT) Subject: [support] Newbie Qs Message-ID: <705138.92234.qm@web111503.mail.gq1.yahoo.com> Hey there, I just have a few beginner questions. 1) I tried adding a text field and text area to one of our Content types - an "Article". But I am not seeing any new content / text after I add some to one of the articles. What do I have to do to see those text changes in my page? Is there some kind of caching issue here? 2) I've made some changes to a template php file (and associated CSS). But those changes aren't being reflected in the pages served. Is there a caching issue here? Or does some file(s) need to be re-indexed? 3) With Drupal's content editor is there a way to do like here: http://digitalrhino.projectpath.com/projects/2836732/thumbnails/27705922 * make an image to span 2 fields * have text split into 2 columns 4) How do you manage the homepage that Drupal uses? I had a user delete the homepage and now I need to recreate it. But this doesn't seem to be a straightforward process. Thanks for any help Tim __________________________________________________________________ Get the name you've always wanted @ymail.com or @rocketmail.com! Go to http://ca.promos.yahoo.com/jacko/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090721/c76241c4/attachment.htm> From steev at initsix.co.uk Tue Jul 21 14:18:13 2009 From: steev at initsix.co.uk (Steve Power) Date: Tue, 21 Jul 2009 15:18:13 +0100 Subject: [support] Newbie Qs In-Reply-To: <705138.92234.qm@web111503.mail.gq1.yahoo.com> References: <705138.92234.qm@web111503.mail.gq1.yahoo.com> Message-ID: <651c6d110907210718s45fbaba1lf684d9ae4fe46cf0@mail.gmail.com> > > > 1) I tried adding a text field and text area to one of our Content types - > an "Article". But I am not seeing any new content / text after I add some to > one of the articles. What do I have to do to see those text changes in my > page? Is there some kind of caching issue here? > Check out permissions in user settings, you have to allow users to see cck fields. > > > > 2) I've made some changes to a template php file (and associated CSS). But > those changes aren't being reflected in the pages served. Is there a caching > issue here? Or does some file(s) need to be re-indexed? > go to performance in the site configuration menu and clear the cache. Also install the theme developer module to ensure your tpls are gtting picked up OK > > > > 3) With Drupal's content editor is there a way to do like here: > http://digitalrhino.projectpath.com/projects/2836732/thumbnails/27705922 > > - make an image to span 2 fields > - have text split into 2 columns > > You probably want fckeditor or www.drupal.org/project/wysiwyg > > 4) How do you manage the homepage that Drupal uses? I had a user delete the > homepage and now I need to recreate it. But this doesn't seem to be a > straightforward process. > /node should be a normal 'river of content' view. I would worry more about users being able to change the homepage atm than recreating it. > > > > Thanks for any help > Tim > > > ------------------------------ > Be smarter than spam. See how smart SpamGuard is at giving junk email the > boot with the *All-new Yahoo! Mail *<http://ca.promos.yahoo.com/newmail/overview2/> > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- -- -- Steve Power Principal Consultant Mobile: +44 (0) 7747 027 243 Initsix Technology and Media -- -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090721/883b05f3/attachment.htm> From oke at iisg.nl Tue Jul 21 14:29:28 2009 From: oke at iisg.nl (Ole Kerpel) Date: Tue, 21 Jul 2009 16:29:28 +0200 Subject: [support] Developing module Message-ID: <D5A05486058D0A4B94F6283184DFEABF0306211B@XCCLUSTER.iisg.nl> For a project I am doing I need to build the following: A content type with url (txt), metadata(txt) and tags(txt). The url comes from a search result from a webservice, metadata and tags can be entered by user. Do I create a new table for this, or do I use what Drupal offers? Thanks in advance for the trouble taken, cerpy -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090721/c3d81616/attachment-0001.htm> From shai at content2zero.com Tue Jul 21 14:30:36 2009 From: shai at content2zero.com (Shai Gluskin) Date: Tue, 21 Jul 2009 10:30:36 -0400 Subject: [support] Newbie Qs In-Reply-To: <705138.92234.qm@web111503.mail.gq1.yahoo.com> References: <705138.92234.qm@web111503.mail.gq1.yahoo.com> Message-ID: <9f68efb70907210730g26e2a48ase9bec8341bb9dfcc@mail.gmail.com> Tim, Welcome to Drupal... it's awesome... hand in there with the learning curve. 1. Check here: admin/content/node-type/page/display (change "page" to be the content-type you are dealing with. Or just go to: admin/content/types then click "manage fields" and then "display fields." However, I believe the default after adding fields is for them to display. So your story is curious. It's always a good idea to clear cache! However, if you are logged in while viewing the page I doubt it is a caching issue. (FYI its real easy to clear cache when you have the following two modules installed: devel admin_menu) Write back with more details if this persists. You can also clear cache at the bottom of: admin/settings/performance 2. Which .tpl file did you change and which theme are you using? Note that it can be confusing at the beginning when to change page.tpl.php or node.tpl.php. You do need to clear the theme registry after changing a .tpl page. To clear the theme registry, go to the theme settings page for the theme you are using. Here is the theme settings page for Garland: admin/build/themes/settings/garland Then click save at the bottom (even if you didn't change anything) and your theme registry will be cleared. 3. Your URL that you gave for the example required a log-in, do you have a screen shot? I don't really know what you mean by make an image span two fields. "Have text split into two columns. With the views module it's very simple to output fields in tabular format. If you mean, "Can I present content in one field in tabular format?" The answer is yes. As long as that field is not "plain" text (set when you set up the field) and the input format that you choose when doing data entry allows the html tags you need (e.g. <table>), then you can do anything you want. If you use the "full html" input format that will surely work, though be careful with that not to give privilege to use full html to too many people. You can add allowable tags to the filtered html input format. 4. The home page in Drupal is set at the site information screen: admin/settings/site-information You can set it to any URL. It could be an individual node, a view a panel page (if you have Panels installed), whatever. It's possible the content was not deleted. I always recommend newbies to visit the content listing page often, cause that usually answers the question, "Where did my stuff go?" dmin/content/node/overview Good luck, Shai Content2zero Web Development <http://content2zero.com/portfolio> On Tue, Jul 21, 2009 at 9:58 AM, Timothy Washington < timothyjwashington at yahoo.ca> wrote: > Hey there, I just have a few beginner questions. > > > 1) I tried adding a text field and text area to one of our Content types - > an "Article". But I am not seeing any new content / text after I add some to > one of the articles. What do I have to do to see those text changes in my > page? Is there some kind of caching issue here? > > > 2) I've made some changes to a template php file (and associated CSS). But > those changes aren't being reflected in the pages served. Is there a caching > issue here? Or does some file(s) need to be re-indexed? > > > 3) With Drupal's content editor is there a way to do like here: > http://digitalrhino.projectpath.com/projects/2836732/thumbnails/27705922 > > - make an image to span 2 fields > - have text split into 2 columns > > > 4) How do you manage the homepage that Drupal uses? I had a user delete the > homepage and now I need to recreate it. But this doesn't seem to be a > straightforward process. > > > Thanks for any help > Tim > > > ------------------------------ > Be smarter than spam. See how smart SpamGuard is at giving junk email the > boot with the *All-new Yahoo! Mail *<http://ca.promos.yahoo.com/newmail/overview2/> > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090721/59706b46/attachment.htm> From shai at content2zero.com Tue Jul 21 14:42:02 2009 From: shai at content2zero.com (Shai Gluskin) Date: Tue, 21 Jul 2009 10:42:02 -0400 Subject: [support] Newbie Qs In-Reply-To: <651c6d110907210718s45fbaba1lf684d9ae4fe46cf0@mail.gmail.com> References: <705138.92234.qm@web111503.mail.gq1.yahoo.com> <651c6d110907210718s45fbaba1lf684d9ae4fe46cf0@mail.gmail.com> Message-ID: <9f68efb70907210742m435e9fbj2d02b79f1e27855c@mail.gmail.com> Tim, Steve, and all, To add a bit of nuance to Steve's answer. It's possible he's right on with the cck field permissions issue. Note though, that if the sub-module in cck called "Content Permissions" (see in the module listing page in the cck ssction at admin/build/modules/list) is turned off (unchecked) then this will not be the issue. If this is indeed the problem, that you have "Content Permissions" turned on, rather then set all those permissions, I would turn the module off, if you don't need it. It really complexifies the the permissions page, and you can always add it back later if you don't need it. That module used to be called "field permissions" which I think is a better name. With that module turned off you can still restrict access on a node by node basis (with content_access or another module) or build in with Drupal you have role-based access. The "Content Permissions" module is required when you want to restrict certain fields within a content type to specific user roles. It's a great feature; I'm just saying if you don't need it, don't use it (that's true for a lot of things in Drupal). Best, Shai On Tue, Jul 21, 2009 at 10:18 AM, Steve Power <steev at initsix.co.uk> wrote: > >> 1) I tried adding a text field and text area to one of our Content types - >> an "Article". But I am not seeing any new content / text after I add some to >> one of the articles. What do I have to do to see those text changes in my >> page? Is there some kind of caching issue here? >> > Check out permissions in user settings, you have to allow users to see cck > fields. > >> >> >> >> 2) I've made some changes to a template php file (and associated CSS). But >> those changes aren't being reflected in the pages served. Is there a caching >> issue here? Or does some file(s) need to be re-indexed? >> > go to performance in the site configuration menu and clear the cache. Also > install the theme developer module to ensure your tpls are gtting picked up > OK > >> >> >> >> 3) With Drupal's content editor is there a way to do like here: >> http://digitalrhino.projectpath.com/projects/2836732/thumbnails/27705922 >> >> - make an image to span 2 fields >> - have text split into 2 columns >> >> You probably want fckeditor or www.drupal.org/project/wysiwyg > >> >> 4) How do you manage the homepage that Drupal uses? I had a user delete >> the homepage and now I need to recreate it. But this doesn't seem to be a >> straightforward process. >> > /node should be a normal 'river of content' view. I would worry more about > users being able to change the homepage atm than recreating it. > >> >> >> >> Thanks for any help >> Tim >> >> >> ------------------------------ >> Be smarter than spam. See how smart SpamGuard is at giving junk email the >> boot with the *All-new Yahoo! Mail *<http://ca.promos.yahoo.com/newmail/overview2/> >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > > > -- > -- > -- > Steve Power > Principal Consultant > Mobile: +44 (0) 7747 027 243 > Initsix Technology and Media > -- > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090721/2b19a38a/attachment.htm> From fredthejonester at gmail.com Tue Jul 21 14:46:09 2009 From: fredthejonester at gmail.com (Fred Jones) Date: Tue, 21 Jul 2009 17:46:09 +0300 Subject: [support] Developing module In-Reply-To: <D5A05486058D0A4B94F6283184DFEABF0306211B@XCCLUSTER.iisg.nl> References: <D5A05486058D0A4B94F6283184DFEABF0306211B@XCCLUSTER.iisg.nl> Message-ID: <177c0a10907210746m30543516q2af5450274ad8047@mail.gmail.com> > For a project I am doing I need to build the following: > > A content type with url (txt), metadata(txt) and tags(txt). > > The url comes from a search result from a webservice, metadata and tags can > be entered by user. > > > > Do I create a new table for this, or do I use what Drupal offers? Sounds like CCK would handle this. From the little you wrote anyhow. HTH From metzlerd at evergreen.edu Tue Jul 21 14:46:11 2009 From: metzlerd at evergreen.edu (Metzler, David) Date: Tue, 21 Jul 2009 07:46:11 -0700 Subject: [support] Developing module In-Reply-To: <D5A05486058D0A4B94F6283184DFEABF0306211B@XCCLUSTER.iisg.nl> References: <D5A05486058D0A4B94F6283184DFEABF0306211B@XCCLUSTER.iisg.nl> Message-ID: <52177C930FA90F4D9888B0343FDB79FBA58C73@birch.evergreen.edu> You might want to look at http://drupal.org/project/feedapi This project is aimed at providing an api to do some of what you want. Ideally use cck fields /modules so that the content types that you store can be used with views module, etc. I guess what I'm trying to say is that in this case, avoid creating your own table and use what drupal has. Dave ________________________________ From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Ole Kerpel Sent: Tuesday, July 21, 2009 7:29 AM To: support at drupal.org Subject: [support] Developing module For a project I am doing I need to build the following: A content type with url (txt), metadata(txt) and tags(txt). The url comes from a search result from a webservice, metadata and tags can be entered by user. Do I create a new table for this, or do I use what Drupal offers? Thanks in advance for the trouble taken, cerpy -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090721/561dc787/attachment-0001.htm> From timothyjwashington at yahoo.ca Tue Jul 21 16:01:19 2009 From: timothyjwashington at yahoo.ca (Timothy Washington) Date: Tue, 21 Jul 2009 09:01:19 -0700 (PDT) Subject: [support] Newbie Qs In-Reply-To: <651c6d110907210718s45fbaba1lf684d9ae4fe46cf0@mail.gmail.com> References: <705138.92234.qm@web111503.mail.gq1.yahoo.com> <651c6d110907210718s45fbaba1lf684d9ae4fe46cf0@mail.gmail.com> Message-ID: <29149.653.qm@web111508.mail.gq1.yahoo.com> Hey guys, thanks for the feedback. See inlined comments... ________________________________ From:Steve Power <steev at initsix.co.uk> To:support at drupal.org Sent:Tuesday, July 21, 2009 10:18:13 AM Subject:Re: [support] Newbie Qs >1) I tried adding a text field and text area to one of our Content types - an "Article". But I am not seeing any new content / text after I add some to one of the articles. What do I have to do to see those text changes in my page? Is there some kind of caching issue here? Check out permissions in user settings, you have to allow users to see cck fields. There's no module that I can see called Content Construction Kit (CCK). But I did try enabling anonymous and authenticated user access to view all fields in the "content_permissions module" module. As well, all users can view all "views" modules. Now the page isn't even showing up (see http://fto.digitalrhino.biz/whatwedo), even though all pages are published. This is confusing :| 2) I've made some changes to a template php file (and associated CSS). But those changes aren't being reflected in the pages served. Is there a caching issue here? Or does some file(s) need to be re-indexed? go to performance in the site configuration menu and clear the cache. Also install the theme developer module to ensure your tpls are gtting picked up OK Ok, got this one. Thanks :) 3) With Drupal's content editor is there a way to do like here: http://digitalrhino.projectpath.com/projects/2836732/thumbnails/27705922 > > * make an image to span 2 fields > * have text split into 2 columns You probably want fckeditor or www.drupal.org/project/wysiwyg I'll check out the fckeditor. 4) How do you manage the homepage that Drupal uses? I had a user delete the homepage and now I need to recreate it. But this doesn't seem to be a straightforward process. /node should be a normal 'river of content' view. I would worry more about users being able to change the homepage atm than recreating it. I don't quite follow this. How can a user (anonymous or authenticated) control what homepage appears? Or why would I want that to happen? In this case, I just want one homepage to appear all the time, and I can't see where to set that. This is obviously my lack of understanding of how Drupal handles this. Thanks a lot Tim __________________________________________________________________ Looking for the perfect gift? Give the gift of Flickr! http://www.flickr.com/gift/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090721/0821ae6a/attachment.htm> From steev at initsix.co.uk Tue Jul 21 16:22:32 2009 From: steev at initsix.co.uk (Steve Power) Date: Tue, 21 Jul 2009 17:22:32 +0100 Subject: [support] Newbie Qs In-Reply-To: <29149.653.qm@web111508.mail.gq1.yahoo.com> References: <705138.92234.qm@web111503.mail.gq1.yahoo.com> <651c6d110907210718s45fbaba1lf684d9ae4fe46cf0@mail.gmail.com> <29149.653.qm@web111508.mail.gq1.yahoo.com> Message-ID: <651c6d110907210922k2bc928btd5099c3260dce369@mail.gmail.com> hello again mate site configuraion>site information should have url for frontpage you can set it there. /node is the default front page (it just displays everything in date order, hence 'river of content') - http://fto.digitalrhino.biz/node is what i mean your front page is a bit fubar, and im not sure how to help you with the CCK stuff! dont know how you managed to do all this without CCK (its been so long since i used anything but CCK ! ) http://fto.digitalrhino.biz/gallery/Gallery-1 have you enabled the option 'access content'? also, in the content types, it may be disabled or hidden in the display options (guess/unlikely) On Tue, Jul 21, 2009 at 5:01 PM, Timothy Washington < timothyjwashington at yahoo.ca> wrote: > Hey guys, thanks for the feedback. See inlined comments... > > > > ------------------------------ > *From:* Steve Power <steev at initsix.co.uk> > *To:* support at drupal.org > *Sent:* Tuesday, July 21, 2009 10:18:13 AM > *Subject:* Re: [support] Newbie Qs > > >> 1) I tried adding a text field and text area to one of our Content types - >> an "Article". But I am not seeing any new content / text after I add some to >> one of the articles. What do I have to do to see those text changes in my >> page? Is there some kind of caching issue here? >> > Check out permissions in user settings, you have to allow users to see cck > fields. > There's no module that I can see called Content Construction Kit (CCK). But > I did try enabling anonymous and authenticated user access to view all > fields in the "content_permissions module" module. As well, all users can > view all "views" modules. > > Now the page isn't even showing up (see > http://fto.digitalrhino.biz/whatwedo), even though all pages are > published. This is confusing :| > > > 2) I've made some changes to a template php file (and associated CSS). But >> those changes aren't being reflected in the pages served. Is there a caching >> issue here? Or does some file(s) need to be re-indexed? >> > go to performance in the site configuration menu and clear the cache. Also > install the theme developer module to ensure your tpls are gtting picked up > OK > Ok, got this one. Thanks :) > > > 3) With Drupal's content editor is there a way to do like here: >> http://digitalrhino.projectpath.com/projects/2836732/thumbnails/27705922 >> >> - make an image to span 2 fields >> - have text split into 2 columns >> >> You probably want fckeditor or www.drupal.org/project/wysiwyg > I'll check out the fckeditor. > > > 4) How do you manage the homepage that Drupal uses? I had a user delete >> the homepage and now I need to recreate it. But this doesn't seem to be a >> straightforward process. >> > /node should be a normal 'river of content' view. I would worry more about > users being able to change the homepage atm than recreating it. > I don't quite follow this. How can a user (anonymous or authenticated) > control what homepage appears? Or why would I want that to happen? In this > case, I just want one homepage to appear all the time, and I can't see where > to set that. This is obviously my lack of understanding of how Drupal > handles this. > > > Thanks a lot > Tim > > > ------------------------------ > Ask a question on any topic and get answers from real people. *Go to > Yahoo! Answers.* <http://ca.answers.yahoo.com> > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- -- -- Steve Power Principal Consultant Mobile: +44 (0) 7747 027 243 Initsix Technology and Media -- -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090721/5cf442c6/attachment.htm> From shai at content2zero.com Tue Jul 21 16:24:53 2009 From: shai at content2zero.com (Shai Gluskin) Date: Tue, 21 Jul 2009 12:24:53 -0400 Subject: [support] Newbie Qs In-Reply-To: <29149.653.qm@web111508.mail.gq1.yahoo.com> References: <705138.92234.qm@web111503.mail.gq1.yahoo.com> <651c6d110907210718s45fbaba1lf684d9ae4fe46cf0@mail.gmail.com> <29149.653.qm@web111508.mail.gq1.yahoo.com> Message-ID: <9f68efb70907210924w11d827c6i4bb9c5d02db72f4c@mail.gmail.com> CCK has its own fieldset on the modules listing page. The main module there is called "Content". If you have Content Permisssions, then you definitely have CCK, you wouldn't be able to create custom fields without it. You set a universal home page for your site at: admin/settings/site-information It says, "Default Front Page" at the bottom. Don't give everyone permission to see "All views" that essentially disables the role based permission you create for every view that you create. Views are often created for admin purposes and even if you set permissions on that individual view, the "see all views" permission trumps what you did in the view set up. So that was a bad choice. Good luck, Shai On Tue, Jul 21, 2009 at 12:01 PM, Timothy Washington < timothyjwashington at yahoo.ca> wrote: > Hey guys, thanks for the feedback. See inlined comments... > > > > ------------------------------ > *From:* Steve Power <steev at initsix.co.uk> > *To:* support at drupal.org > *Sent:* Tuesday, July 21, 2009 10:18:13 AM > *Subject:* Re: [support] Newbie Qs > > >> 1) I tried adding a text field and text area to one of our Content types - >> an "Article". But I am not seeing any new content / text after I add some to >> one of the articles. What do I have to do to see those text changes in my >> page? Is there some kind of caching issue here? >> > Check out permissions in user settings, you have to allow users to see cck > fields. > There's no module that I can see called Content Construction Kit (CCK). But > I did try enabling anonymous and authenticated user access to view all > fields in the "content_permissions module" module. As well, all users can > view all "views" modules. > > Now the page isn't even showing up (see > http://fto.digitalrhino.biz/whatwedo), even though all pages are > published. This is confusing :| > > > 2) I've made some changes to a template php file (and associated CSS). But >> those changes aren't being reflected in the pages served. Is there a caching >> issue here? Or does some file(s) need to be re-indexed? >> > go to performance in the site configuration menu and clear the cache. Also > install the theme developer module to ensure your tpls are gtting picked up > OK > Ok, got this one. Thanks :) > > > 3) With Drupal's content editor is there a way to do like here: >> http://digitalrhino.projectpath.com/projects/2836732/thumbnails/27705922 >> >> - make an image to span 2 fields >> - have text split into 2 columns >> >> You probably want fckeditor or www.drupal.org/project/wysiwyg > I'll check out the fckeditor. > > > 4) How do you manage the homepage that Drupal uses? I had a user delete >> the homepage and now I need to recreate it. But this doesn't seem to be a >> straightforward process. >> > /node should be a normal 'river of content' view. I would worry more about > users being able to change the homepage atm than recreating it. > I don't quite follow this. How can a user (anonymous or authenticated) > control what homepage appears? Or why would I want that to happen? In this > case, I just want one homepage to appear all the time, and I can't see where > to set that. This is obviously my lack of understanding of how Drupal > handles this. > > > Thanks a lot > Tim > > > ------------------------------ > Ask a question on any topic and get answers from real people. *Go to > Yahoo! Answers.* <http://ca.answers.yahoo.com> > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090721/ca74a1b8/attachment-0001.htm> From timothyjwashington at yahoo.ca Tue Jul 21 17:18:53 2009 From: timothyjwashington at yahoo.ca (Timothy Washington) Date: Tue, 21 Jul 2009 10:18:53 -0700 (PDT) Subject: [support] Newbie Qs In-Reply-To: <9f68efb70907210730g26e2a48ase9bec8341bb9dfcc@mail.gmail.com> References: <705138.92234.qm@web111503.mail.gq1.yahoo.com> <9f68efb70907210730g26e2a48ase9bec8341bb9dfcc@mail.gmail.com> Message-ID: <172427.36818.qm@web111512.mail.gq1.yahoo.com> Hey there, see inlined comments... ________________________________ From:Shai Gluskin <shai at content2zero.com> To:support at drupal.org Sent:Tuesday, July 21, 2009 10:30:36 AM Subject:Re: [support] Newbie Qs Tim, Welcome to Drupal... it's awesome... hand in there with the learning curve. 1. Check here: admin/content/node-type/page/display (change "page" to be the content-type you are dealing with. Or just go to: admin/content/types then click "manage fields" and then "display fields." However, I believe the default after adding fields is for them to display. So your story is curious. It's always a good idea to clear cache! However, if you are logged in while viewing the page I doubt it is a caching issue. (FYI its real easy to clear cache when you have the following two modules installed: devel admin_menu) Write back with more details if this persists. You can also clear cache at the bottom of: admin/settings/performance Indeed I wasn't able to see the new fields after I added them. I don't know what switch was flipped off. Now the page isn't even showing after fiddling with user permissions to view the fields (and the content is definitely published). I also cleared the cache, but I need to see the pages now to see if that worked. 2. Which .tpl file did you change and which theme are you using? Note that it can be confusing at the beginning when to change page.tpl.php or node.tpl.php. You do need to clear the theme registry after changing a .tpl page. To clear the theme registry, go to the theme settings page for the theme you are using. Here is the theme settings page for Garland: - admin/build/themes/settings/garland Then click save at the bottom (even if you didn't change anything) and your theme registry will be cleared. The files I am using are: ./sites/all/themes/gamut/node-<my_files>.tpl.php. It's hard to know which CSS applies though. I've tried to directly insert style elements that turn off image repeating in the element, but I'm still getting the problem seen here: http://fto.digitalrhino.biz/gallery/Gallery-1 3. Your URL that you gave for the example required a log-in, do you have a screen shot? I don't really know what you mean by make an image span two fields. "Have text split into two columns. With the views module it's very simple to output fields in tabular format. If you mean, "Can I present content in one field in tabular format?" The answer is yes. As long as that field is not "plain" text (set when you set up the field) and the input format that you choose when doing data entry allows the html tags you need (e.g. <table>), then you can do anything you want. If you use the "full html" input format that will surely work, though be careful with that not to give privilege to use full html to too many people. You can add allowable tags to the filtered html input format. Oh, sorry about that. See attached image. 4. The home page in Drupal is set at the site information screen: admin/settings/site-information You can set it to any URL. It could be an individual node, a view a panel page (if you have Panels installed), whatever. It's possible the content was not deleted. I always recommend newbies to visit the content listing page often, cause that usually answers the question, "Where did my stuff go?" dmin/content/node/overview Let me check this out. Thanks a lot Tim __________________________________________________________________ Looking for the perfect gift? Give the gift of Flickr! http://www.flickr.com/gift/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090721/96920f7a/attachment-0001.htm> -------------- next part -------------- A non-text attachment was scrubbed... Name: Picture 1.png Type: image/png Size: 344947 bytes Desc: not available URL: <http://lists.drupal.org/pipermail/support/attachments/20090721/96920f7a/attachment-0001.png> From timothyjwashington at yahoo.ca Tue Jul 21 18:37:00 2009 From: timothyjwashington at yahoo.ca (Timothy Washington) Date: Tue, 21 Jul 2009 11:37:00 -0700 (PDT) Subject: [support] Newbie Qs In-Reply-To: <651c6d110907210922k2bc928btd5099c3260dce369@mail.gmail.com> References: <705138.92234.qm@web111503.mail.gq1.yahoo.com> <651c6d110907210718s45fbaba1lf684d9ae4fe46cf0@mail.gmail.com> <29149.653.qm@web111508.mail.gq1.yahoo.com> <651c6d110907210922k2bc928btd5099c3260dce369@mail.gmail.com> Message-ID: <343810.35117.qm@web111501.mail.gq1.yahoo.com> Ok, CCK is installed as it turns out. And I got the homepage back up, thanks so much guys for the help. I had to reset my content name (and alias) to a proper name. Now I'm going to look into installing fckeditor for creating content like what you see in the attachment. More soon. Thanks a lot to both of you Tim ________________________________ From: Steve Power <steev at initsix.co.uk> To: support at drupal.org Sent: Tuesday, July 21, 2009 12:22:32 PM Subject: Re: [support] Newbie Qs hello again mate site configuraion>site information should have url for frontpage you can set it there. /node is the default front page (it just displays everything in date order, hence 'river of content') - http://fto.digitalrhino.biz/node is what i mean your front page is a bit fubar, and im not sure how to help you with the CCK stuff! dont know how you managed to do all this without CCK (its been so long since i used anything but CCK ! ) http://fto.digitalrhino.biz/gallery/Gallery-1 have you enabled the option 'access content'? also, in the content types, it may be disabled or hidden in the display options (guess/unlikely) On Tue, Jul 21, 2009 at 5:01 PM, Timothy Washington <timothyjwashington at yahoo.ca> wrote: >Hey guys, thanks for the feedback. See inlined comments... > > > > > ________________________________ From:Steve Power <steev at initsix.co.uk> >To:support at drupal.org >Sent:Tuesday, July 21, > 2009 10:18:13 AM >Subject:Re: [support] Newbie Qs > > > >>1) I tried adding a text field and text area to one of our Content types - an "Article". But I am not seeing any new content / text after I add some to one of the articles. What do I have to do to see those text changes in my page? Is there some kind of caching issue here? >Check out permissions in user settings, you have to allow users to see cck fields. >There's no module that I can see called Content Construction Kit (CCK). But I did try enabling anonymous and authenticated user access to view all fields in the "content_permissions module" module. As well, all users can view all "views" modules. > >Now the page isn't even showing up (see http://fto.digitalrhino.biz/whatwedo), even though all pages are published. This is confusing :| > > > >2) I've made some changes to a template php file (and associated CSS). But those changes aren't being reflected in the pages served. Is there a caching issue here? Or does some file(s) need to be re-indexed? >go to performance in the site configuration menu and clear the cache. Also install the theme developer module to ensure your tpls are gtting picked up OK >Ok, got this one. Thanks :) > > > >3) With Drupal's content editor is there a way to do like here: http://digitalrhino.projectpath.com/projects/2836732/thumbnails/27705922 >> >> * make an image to span 2 fields >> * have text split into 2 columns > You probably want fckeditor or www.drupal.org/project/wysiwyg >I'll check out the fckeditor. > > > >4) How do you manage the homepage that Drupal uses? I had a user delete the homepage and now I need to recreate it. But this doesn't seem to be a straightforward process. >/node should be a normal 'river of content' view. I would worry more about users being able to change the homepage atm than recreating it. > >I don't quite follow this. How can a user (anonymous or authenticated) control what homepage appears? Or why would I want that to happen? In this case, I just want one homepage to appear all the time, and I can't see where to set that. This is obviously my lack of understanding of how Drupal handles this. > > >Thanks a lot >Tim > > > > >________________________________ Ask a question on any topic and get answers from real people. Go to Yahoo! Answers. >-- >>[ Drupal support list | http://lists.drupal.org/ ] > -- -- -- Steve Power Principal Consultant Mobile: +44 (0) 7747 027 243 Initsix Technology and Media -- __________________________________________________________________ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now http://ca.toolbar.yahoo.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090721/322f82d4/attachment-0001.htm> -------------- next part -------------- A non-text attachment was scrubbed... Name: Picture 1.png Type: image/png Size: 344947 bytes Desc: not available URL: <http://lists.drupal.org/pipermail/support/attachments/20090721/322f82d4/attachment-0001.png> From rotsen at gmail.com Tue Jul 21 18:39:48 2009 From: rotsen at gmail.com (=?ISO-8859-1?B?TulzdG9y?=) Date: Tue, 21 Jul 2009 11:39:48 -0700 Subject: [support] Calendar Events In-Reply-To: <a304e2d60907171727m7918229bw210bde24d409c13a@mail.gmail.com> References: <1CF7137E18C1234082F572E8A816DFAE12C3321A@Octopus.sdcwa.org> <a304e2d60907171411x370aee5buabf682fde6c2b3c2@mail.gmail.com> <507b282e0907171532r3a7a0069y2588349a9883333e@mail.gmail.com> <a304e2d60907171727m7918229bw210bde24d409c13a@mail.gmail.com> Message-ID: <a304e2d60907211139q7676525em104f2ed832c75d44@mail.gmail.com> Brian, You were correct, It was a permission problems. Thanks, Nestor :-) On Fri, Jul 17, 2009 at 5:27 PM, N?stor <rotsen at gmail.com> wrote: > I think you are correct. I was admin on FF and I was just a user on IE > Darn! I spent 4 hours trying to figure out the problem and it might just be > a permission problem. I will test on monday when I am back at work. > > Thanks > > > On Fri, Jul 17, 2009 at 3:32 PM, Brian Choc <bchoc at t4tcolorado.org> wrote: > >> Ensure you are logged in as the same user/role that has the same >> permission to view the event. >> >> Brian >> >> On Fri, Jul 17, 2009 at 3:11 PM, N?stor <rotsen at gmail.com> wrote: >> >>> Looking at my Calendar events, I get different result on FF than I get on >>> IE. >>> The Firefox is the correct one. >>> Is there anything that I am not aware that I need to do? >>> >>> *On FF I get:* >>> >>> ---------------------------------------------------------------------------------- >>> </td> >>> <td id="date_browser-2009-07-18" class="sat future >>> has-events"> >>> >>> <div class="inner"><div class="month day"> <a >>> href="/drupal/scroller612/date-browser/2009-07-18">18</a> </div><div >>> class="view-item view-item-date_browser"> >>> >>> <div class="calendar monthview" id="calendar:16:field_date:0:1"> >>> <div id="node-title" class="view-field >>> view-data-node-title"> >>> >>> <a href="/drupal/scroller612/golf_2009">Golf Tournament</a> >>> </div> >>> </div> >>> </div> >>> </div> </td> >>> >>> ---------------------------------------------------------------------------------- >>> >>> *On IE I get:* >>> >>> ---------------------------------------------------------------------------------- >>> <td id="date_browser-2009-07-18" class="sat future >>> has-no-events"> >>> <div class="inner"><div class="month day"> <a >>> href="/drupal/scroller612/date-browser/2009-07-18">18</a> </div><div >>> class="calendar-empty"> </div> >>> >>> </div> </td> >>> >>> ---------------------------------------------------------------------------------- >>> >>> Thanks, >>> >>> N?stor :-) >>> >>> >>> -- >>> [ 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/20090721/5dffd826/attachment.htm> From rotsen at gmail.com Tue Jul 21 21:52:29 2009 From: rotsen at gmail.com (=?ISO-8859-1?B?TulzdG9y?=) Date: Tue, 21 Jul 2009 14:52:29 -0700 Subject: [support] Displays different on IE than FF Message-ID: <a304e2d60907211452o40ef9caj1f6e17b41bcf50a3@mail.gmail.com> I am running into problems the way FF renders my blocks and IE. I am using this code that basically display my info into a table, I try displaying it to a DIV but the problem still persisted, where the link displays in 2 lines on IE. My code: ----------------- <?php $block = module_invoke('blog', 'block', 'view', '0'); print $block['content']; ?> ------------------- My blog info displays like this on FF (single line): ---------------------- * Drupal Experience and like this on I (2 line)E: ----------------- Drupal * Experience What can cause this is there a way to make the IE display like the FF I am having the same problem display an RSS yahoo news feed. Thanks, N?stor Alberto Fl?rez Torres :-) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090721/84823268/attachment.htm> From victorkane at gmail.com Tue Jul 21 22:07:56 2009 From: victorkane at gmail.com (Victor Kane) Date: Tue, 21 Jul 2009 19:07:56 -0300 Subject: [support] Displays different on IE than FF In-Reply-To: <a304e2d60907211452o40ef9caj1f6e17b41bcf50a3@mail.gmail.com> References: <a304e2d60907211452o40ef9caj1f6e17b41bcf50a3@mail.gmail.com> Message-ID: <ff176450907211507m77ee7b55h2f265cb288e1895c@mail.gmail.com> PHP is fine, check out the CSS one way: http://www.hedgerwow.com/360/dhtml/css-display-inline.html On Tue, Jul 21, 2009 at 6:52 PM, N?stor <rotsen at gmail.com> wrote: > I am running into problems the way FF renders my blocks and IE. > I am using this code that basically display my info into a table, > I try displaying it to a DIV but the problem still persisted, where > the link displays in 2 lines on IE. My code: > ----------------- > <?php > $block = module_invoke('blog', 'block', 'view', '0'); > print $block['content']; > ?> > ------------------- > > My blog info displays like this on FF (single line): > ---------------------- > * Drupal Experience > > > and like this on I (2 line)E: > ----------------- > Drupal > * Experience > > What can cause this is there a way to make the IE display like the FF > > I am having the same problem display an RSS yahoo news feed. > > Thanks, > > N?stor Alberto Fl?rez Torres :-) > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090721/a745e6c3/attachment.htm> From rotsen at gmail.com Tue Jul 21 22:55:29 2009 From: rotsen at gmail.com (=?ISO-8859-1?B?TulzdG9y?=) Date: Tue, 21 Jul 2009 15:55:29 -0700 Subject: [support] Displays different on IE than FF In-Reply-To: <ff176450907211507m77ee7b55h2f265cb288e1895c@mail.gmail.com> References: <a304e2d60907211452o40ef9caj1f6e17b41bcf50a3@mail.gmail.com> <ff176450907211507m77ee7b55h2f265cb288e1895c@mail.gmail.com> Message-ID: <a304e2d60907211555p282b35dbt31724439a2eaf3f8@mail.gmail.com> Victor, I will check the css-inline that but I just checked my page on IE 7 and it shows great jsut like on FF I am using IE 6 and that is the one that is not displaying correct. Thanks, Nestor On Tue, Jul 21, 2009 at 3:07 PM, Victor Kane <victorkane at gmail.com> wrote: > PHP is fine, check out the CSS > > one way: http://www.hedgerwow.com/360/dhtml/css-display-inline.html > > On Tue, Jul 21, 2009 at 6:52 PM, N?stor <rotsen at gmail.com> wrote: > >> I am running into problems the way FF renders my blocks and IE. >> I am using this code that basically display my info into a table, >> I try displaying it to a DIV but the problem still persisted, where >> the link displays in 2 lines on IE. My code: >> ----------------- >> <?php >> $block = module_invoke('blog', 'block', 'view', '0'); >> print $block['content']; >> ?> >> ------------------- >> >> My blog info displays like this on FF (single line): >> ---------------------- >> * Drupal Experience >> >> >> and like this on I (2 line)E: >> ----------------- >> Drupal >> * Experience >> >> What can cause this is there a way to make the IE display like the FF >> >> I am having the same problem display an RSS yahoo news feed. >> >> Thanks, >> >> N?stor Alberto Fl?rez Torres :-) >> -- >> [ 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/20090721/8b61dc56/attachment.htm> From aldo at caonao.cu Wed Jul 22 11:49:59 2009 From: aldo at caonao.cu (Aldo Martinez Selleras) Date: Wed, 22 Jul 2009 07:49:59 -0400 Subject: [support] multilingual node Message-ID: <4A66FCE7.8000009@caonao.cu> i have a multilingual node, but when the language change, don't change the content of this, when this must to do. i'm showing the content from a modify template, with that code print t($node->body); this must work?? From rpnabar at gmail.com Wed Jul 22 19:15:39 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Wed, 22 Jul 2009 14:15:39 -0500 Subject: [support] managing automated cron generated html pages via drupal Message-ID: <c4d69730907221215m5a531a9cnb47a0a739d07ae53@mail.gmail.com> I'm a newbiee to Drupal and I just installed one on our server. I was wondering if there was any way to achieve the following via drupal? We have a mysql database storing a bunch of scientific data and I have a cron script querying the database and making html tables of key data. Is there a way how this content (the resulting html pages) can be integrated and managed via drupal? Especially the link structure etc.? -- Rahul From sivaji2009 at gmail.com Wed Jul 22 19:21:15 2009 From: sivaji2009 at gmail.com (sivaji j.g) Date: Thu, 23 Jul 2009 00:51:15 +0530 Subject: [support] managing automated cron generated html pages via drupal In-Reply-To: <c4d69730907221215m5a531a9cnb47a0a739d07ae53@mail.gmail.com> References: <c4d69730907221215m5a531a9cnb47a0a739d07ae53@mail.gmail.com> Message-ID: <fce946780907221221r3f74df5fu9d15e1b4999353b3@mail.gmail.com> On Thu, Jul 23, 2009 at 12:45 AM, Rahul Nabar <rpnabar at gmail.com> wrote: > We have a mysql database storing a bunch of scientific data and I have > a cron script querying the database and making html tables of key > data. Is there a way how this content (the resulting html pages) can > be integrated and managed via drupal? Especially the link structure > etc.? It is very difficult to answer with this minimal information. -- Thanks Sivaji -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090723/b6c5a97e/attachment.htm> From rpnabar at gmail.com Wed Jul 22 20:11:05 2009 From: rpnabar at gmail.com (Rahul Nabar) Date: Wed, 22 Jul 2009 15:11:05 -0500 Subject: [support] managing automated cron generated html pages via drupal In-Reply-To: <fce946780907221221r3f74df5fu9d15e1b4999353b3@mail.gmail.com> References: <c4d69730907221215m5a531a9cnb47a0a739d07ae53@mail.gmail.com> <fce946780907221221r3f74df5fu9d15e1b4999353b3@mail.gmail.com> Message-ID: <c4d69730907221311q61bdb86j941c5e9eb7ce255d@mail.gmail.com> On Wed, Jul 22, 2009 at 2:21 PM, sivaji j.g<sivaji2009 at gmail.com> wrote: > On Thu, Jul 23, 2009 at 12:45 AM, Rahul Nabar <rpnabar at gmail.com> wrote: >> >> We have a mysql database storing a bunch of scientific data and I have >> a cron script querying the database and making html tables of key >> data. Is there a way how this content (the resulting html pages) can >> be integrated and managed via drupal? Especially the link structure >> etc.? > > It is very difficult to answer with this minimal information. Sorry if I was terse. I'll try to do better: I have data in a mysql database. In order to present this I (or rather a cron script) usually run on the command line something like: echo 'SELECT * FROM footable' | mysql -h foo.bar.edu -u foouser -p --html bar_db > temp.html Then a webpage.php file adds some more headers, css styling etc. and presents this page. Something like: http://files.getdropbox.com/u/118481/mqsql_html.jpg Unfortunately there are several such "autogenerated" pages and it is hard to keep track of up-to-date menus, links etc. I was wondering if this was facilitated by Drupal. Maybe even if Drupal was the right tool for this job at all. -- Rahul From sivaji2009 at gmail.com Thu Jul 23 07:17:58 2009 From: sivaji2009 at gmail.com (sivaji j.g) Date: Thu, 23 Jul 2009 12:47:58 +0530 Subject: [support] managing automated cron generated html pages via drupal In-Reply-To: <c4d69730907221311q61bdb86j941c5e9eb7ce255d@mail.gmail.com> References: <c4d69730907221215m5a531a9cnb47a0a739d07ae53@mail.gmail.com> <fce946780907221221r3f74df5fu9d15e1b4999353b3@mail.gmail.com> <c4d69730907221311q61bdb86j941c5e9eb7ce255d@mail.gmail.com> Message-ID: <fce946780907230017m19967898x7bbd25a0dd7e3c7@mail.gmail.com> On Thu, Jul 23, 2009 at 1:41 AM, Rahul Nabar <rpnabar at gmail.com> wrote: > > Unfortunately there are several such "autogenerated" pages and it is > hard to keep track of up-to-date menus, links etc. I was wondering if > this was facilitated by Drupal. Maybe even if Drupal was the right > tool for this job at all. I would use a simple PHP framework like CodeIgniter for this purpose. Drupal is often used to build kind of websites listed in this link http://webjackalope.com/16-different-clones-you-can-build-with-drupal/ Again i would say that it is very difficult to suggest something without understanding the complete requirements. Hope this will help you. -- Thanks Sivaji -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090723/d674844f/attachment.htm> From michel at ziobuddalabs.it Thu Jul 23 13:29:50 2009 From: michel at ziobuddalabs.it (Michel Morelli) Date: Thu, 23 Jul 2009 15:29:50 +0200 Subject: [support] Tag cloud for a single content type or vocabolary Message-ID: <4A6865CE.3050200@ziobuddalabs.it> Hi all. I need to create a tag cloud for a single content type. I know that exist tagadelic to create the tag cloud, but it's usefull for a generic tag cloud. I need a diffent tag cloud for different content type. I can add a single vocabolary for each content type. I have see tagadelic_views but It does not works (some type of error). Any other solution ? Tnx. -- Michel 'ZioBudda' Morelli michel at ziobuddalabs.net Consulenza sistemistica in ambito OpenSource. Sviluppo applicazioni web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ziodrupal.net MSN: michel at ziobuddalabs.it JABBER: michel at ziobuddalabs.it From inforazor at gmail.com Thu Jul 23 16:21:25 2009 From: inforazor at gmail.com (sebastian) Date: Thu, 23 Jul 2009 09:21:25 -0700 Subject: [support] Views 2: multiple taxonomy? Message-ID: <4A688E05.1020604@gmail.com> Hello Drupalites, Using Views 2, Drupal 6: I have a taxonomy-view, and I have two taxonomy lists. In the URL I want to be able to pass a term. Then in the filters, I only want to show one of the taxonomy vocabularies. Finally, in the fields, I want to output all of the taxonomy terms from the one I am filtering. This all works fine until I pass a non null argument: When I do so, it assumes I am trying to match [and thus filter] the taxonomy terms based on what is being passed as an argument. When instead, what I really want to do, is to have the taxonomy field output re-written to display: <a href="[%1]/[name]">[name]</a> Where %1 is the item passed in the URL, and [name] is the taxonomy term being displayed. ...I hope this is clear, is there any way to do this? It would work fine if I could change the "argument" type to be "Text: do not apply logic" instead of "Taxonomy: Term {filter based on argument}" Thanks!! Sebastian. From inforazor at gmail.com Thu Jul 23 18:45:37 2009 From: inforazor at gmail.com (sebastian) Date: Thu, 23 Jul 2009 11:45:37 -0700 Subject: [support] Views 2: multiple taxonomy? In-Reply-To: <4A688E05.1020604@gmail.com> References: <4A688E05.1020604@gmail.com> Message-ID: <4A68AFD1.3000800@gmail.com> Found the solution: Argument: Global: Null was what I needed. :) sebastian wrote: > Hello Drupalites, > > Using Views 2, Drupal 6: > > I have a taxonomy-view, and I have two taxonomy lists. > > In the URL I want to be able to pass a term. > > Then in the filters, I only want to show one of the taxonomy vocabularies. > > Finally, in the fields, I want to output all of the taxonomy terms from > the one I am filtering. > > This all works fine until I pass a non null argument: > > When I do so, it assumes I am trying to match [and thus filter] the > taxonomy terms based on what is being passed as an argument. > > When instead, what I really want to do, is to have the taxonomy field > output re-written to display: > > <a href="[%1]/[name]">[name]</a> > > Where %1 is the item passed in the URL, and [name] is the taxonomy term > being displayed. > > ...I hope this is clear, is there any way to do this? > It would work fine if I could change the "argument" type to be "Text: do > not apply logic" instead of "Taxonomy: Term {filter based on argument}" > > Thanks!! > > Sebastian. > > From gaurav at deeproot.co.in Fri Jul 24 10:33:54 2009 From: gaurav at deeproot.co.in (Gaurav Khambhala) Date: Fri, 24 Jul 2009 16:03:54 +0530 Subject: [support] Target attribute to menu links .. Message-ID: <4A698E12.6010407@deeproot.co.in> Hi Guys, There is a need to give menu link a target attribute 'blank'. Is there any way we can assign target attribute to a menu link? Basically I want menu link to be open in new window when clicked. -- Cheers, Gaurav Khambhala i-hack-at-DeepRoot Linux Getting GNU/Linux to work for you. Faster. Better. Today. Every way. http://www.deeproot.in, +91 80 4089 0000 From emma.badger at chocolateteapot.net Fri Jul 24 11:52:16 2009 From: emma.badger at chocolateteapot.net (Emma Badger) Date: Fri, 24 Jul 2009 12:52:16 +0100 Subject: [support] taxonomy_tree/Views/super user Message-ID: <485E0B2D-091E-45E0-9B11-DCDE2412E739@chocolateteapot.net> I've been able to create a menu tree to access nodes using Views which works when I'm logged in as Superuser/Admin, but fails when I'm not logged in. (I'm assuming) the View creates a list of nodes associated with the selected term. When I click on one of the nodes in the list (WHEN I'M NOT LOGGED IN AS ADMIN) I get Fatal error: Cannot use string offset as an array in /sites/all/ modules/taxonomy_treemenu/taxonomy_treemenu.module on line 2367 <code> case "taxmenu/%/node/%/%": //Treemenus have no node links. To control exansion, we target the //parent tid link. $item['href'] = 'category/' . $item['page_arguments'][0] ['vid'] . $item['page_arguments'][1]['parent_path']; break; </code> This is line 2367 <code> $item['href'] = 'category/' . $item['page_arguments'][0] ['vid'] . $item['page_arguments'][1]['parent_path']; </code> The URL that the View has constructed is /taxmenu/menu-ol-hlp/node/ 55-66/9 The same URL works when I'm logged in as Admin. I'm using the default taxonomy_router_term and taxonomy_router_node. I'm assuming that it's something to do with taxonomy_router_node. The access is set to unrestricted and anyway I'd expect some kind of warning about permissions, not an error. Any help would be appreciated, thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090724/a166e876/attachment.htm> From earnie at users.sourceforge.net Fri Jul 24 12:29:14 2009 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Fri, 24 Jul 2009 12:29:14 +0000 Subject: [support] Target attribute to menu links .. In-Reply-To: <4A698E12.6010407@deeproot.co.in> References: <4A698E12.6010407@deeproot.co.in> Message-ID: <20090724122914.1018648upx914oco@mail.siebunlimited.com> Quoting Gaurav Khambhala <gaurav at deeproot.co.in>: > Hi Guys, > > > There is a need to give menu link a target attribute 'blank'. Is > there any way we can assign target attribute to a menu link? > Basically I want menu link to be open in new window when clicked. > The first link from http://lmgtfy.com/?q=target+attribute+menu+link+site%3Adrupal.org gives good examples and a contrib module that might help. -- Earnie -- http://r-feed.com/ -- http://for-my-kids.com/ -- http://www.4offer.biz/ -- http://give-me-an-offer.com/ From lists at luminosity.co.uk Fri Jul 24 12:57:14 2009 From: lists at luminosity.co.uk (GaryL) Date: Fri, 24 Jul 2009 13:57:14 +0100 Subject: [support] image gallery Message-ID: <4A69AFAA.3000106@luminosity.co.uk> I am using the image and image_gallery modules. Is there an easy way to find out if an image is in a gallery from within node-image.tpl.php or by changing theme_image_teaser() I'd like to change the link so that an image link on my blog goes straight to the gallery page instead of the image page So for example on: http://ramblings.garylawton.com/2009_05_18/Sunny/Avon the link from the image goes to: http://ramblings.garylawton.com/image/tid/63 instead of going to: http://ramblings.garylawton.com/node/1433 Any ideas appreciated, happy to write some sql to pull this from the taxonomy if there isn't a better way.... Cheers Gary From fb at codicelibero.net Fri Jul 24 15:16:51 2009 From: fb at codicelibero.net (Francesco Baldini) Date: Fri, 24 Jul 2009 17:16:51 +0200 Subject: [support] Wrong Views2 date Message-ID: <21c03d514e586270ab2532ff7c81e781.squirrel@webmail.codicelibero.net> I created a data profile field called profile_p_datanascita, editing user's accout I filled this field with Jan 22th 1952 With Views2 I want to show this field on user's profile pages - As "Argument" I selected "User: Uid" so that for every profile page Drupal can shows user's data. - As "Fields" I selected "Profile: Birthday" and then created a block. As I see the results I get: ", January 22, 1952" (with ",") if regular date or "r t01e o" if "Time ago" do anyone has any idea? From bchoc at t4tcolorado.org Fri Jul 24 17:15:53 2009 From: bchoc at t4tcolorado.org (Brian Choc) Date: Fri, 24 Jul 2009 11:15:53 -0600 Subject: [support] Target attribute to menu links .. In-Reply-To: <20090724122914.1018648upx914oco@mail.siebunlimited.com> References: <4A698E12.6010407@deeproot.co.in> <20090724122914.1018648upx914oco@mail.siebunlimited.com> Message-ID: <507b282e0907241015t341730fehb9c996ed6e26da95@mail.gmail.com> http://drupal.org/project/menu_attributes On Fri, Jul 24, 2009 at 6:29 AM, Earnie Boyd <earnie at users.sourceforge.net>wrote: > Quoting Gaurav Khambhala <gaurav at deeproot.co.in>: > > Hi Guys, >> >> >> There is a need to give menu link a target attribute 'blank'. Is there any >> way we can assign target attribute to a menu link? Basically I want menu >> link to be open in new window when clicked. >> >> > The first link from > http://lmgtfy.com/?q=target+attribute+menu+link+site%3Adrupal.org gives > good examples and a contrib module that might help. > > -- > Earnie > -- http://r-feed.com/ -- http://for-my-kids.com/ > -- http://www.4offer.biz/ -- http://give-me-an-offer.com/ > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Brian Choc Technology Director Teaming for Technology Colorado 2505 18th St. Denver, CO 80211 P: 303.561.2377, F: 303.455.6462 http://www.t4tcolorado.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090724/27a4fb81/attachment.htm> From ryanchan404 at gmail.com Sat Jul 25 14:19:23 2009 From: ryanchan404 at gmail.com (Ryan Chan) Date: Sat, 25 Jul 2009 22:19:23 +0800 Subject: [support] HTTP 400 - BAD REQUEST when moving .htaccess to httpd.conf Message-ID: <45d40ce30907250719m72a773cam6854759096b7b870@mail.gmail.com> Hello, I have install latest Drupal, I come across with a problem: If I move the content of .htaccess into httpd.conf, the site is not accessible and error "HTTP 400 - BAD REQUEST" will be give out. If I leave the drupal config as in .htaccess, it is okay. However, I don't want to use .htacess in my production server, so anyone had experience in moving configurations to httpd.conf? (I am using Apache 2.2) Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090725/d6e7ef2d/attachment.htm> From steves at splicer.com Sat Jul 25 17:00:53 2009 From: steves at splicer.com (Steven Scotten) Date: Sat, 25 Jul 2009 10:00:53 -0700 Subject: [support] HTTP 400 - BAD REQUEST when moving .htaccess to httpd.conf In-Reply-To: <45d40ce30907250719m72a773cam6854759096b7b870@mail.gmail.com> References: <45d40ce30907250719m72a773cam6854759096b7b870@mail.gmail.com> Message-ID: <3C6D7153-EAB5-420D-A341-B2882981DFAF@splicer.com> On Jul 25, 2009, at 7:19 AM, Ryan Chan wrote: > Hello, > I have install latest Drupal, I come across with a problem: > If I move the content of .htaccess into httpd.conf, the site is not > accessible and error "HTTP 400 - BAD REQUEST" will be give out. > If I leave the drupal config as in .htaccess, it is okay. Did you remember to wrap the content from your .htaccess inside its own "Directory" directive? <Directory /path/to/site> # .htaccess content goes here </Directory> Just a stab in the dark guess. About the best I can do without looking at your files. Steve From sikileng at gmail.com Sun Jul 26 12:35:21 2009 From: sikileng at gmail.com (Steve) Date: Sun, 26 Jul 2009 15:35:21 +0300 Subject: [support] Page not found - Views 2 D6 Message-ID: <d8fd3b970907260535g47b2b86x25b506d06288901d@mail.gmail.com> Hi all Have tried making a view that will display as a page and block view of my custom content types but i only manage to get the block part right (working perfectly) but on the other hand i cant get the page i create using views. I enter the url for my page views and even create the menu form the views contril panel but when am done i click on the menu and i get Page not found. What am i not doing right. help me out here. Thanks From ryanchan404 at gmail.com Sun Jul 26 13:28:38 2009 From: ryanchan404 at gmail.com (Ryan Chan) Date: Sun, 26 Jul 2009 21:28:38 +0800 Subject: [support] Integration with Other Frameworks Message-ID: <45d40ce30907260628r5c4b1f76q512865962c3764ff@mail.gmail.com> Hey all, Just tried Drupal and it is a very powerful CMS, good work! We have an existing basic CMS implemented using a MVC framework (custom written), we are okay to change the backend CMS to Drupal, but the problem is the main site we are hesitated, since 1. Our front-end is highly tuned for performance (e.g. caching, compression), we don't need flexibility provided by Drupal, we want speed. 2. We understand how the front-end work very well, and we don't enough time to implment all the template using Drupal So I want to know in such case, any recommendation for site integration? e.g. 1. Are there wrapper class of Drupal so we can use, without touching DB directly? 2. Or any RESTFUL API can be used for integration? Thanks for any idea. Ryan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090726/84601978/attachment-0001.htm> From sikileng at gmail.com Sun Jul 26 20:29:11 2009 From: sikileng at gmail.com (Steve) Date: Sun, 26 Jul 2009 23:29:11 +0300 Subject: [support] Tag cloud for a single content type or vocabolary In-Reply-To: <4A6865CE.3050200@ziobuddalabs.it> References: <4A6865CE.3050200@ziobuddalabs.it> Message-ID: <d8fd3b970907261329h71562378p9ca283cbb416896c@mail.gmail.com> try this link hope it will help http://sudosys.be/?q=drupal_tag_cloud On Thu, Jul 23, 2009 at 4:29 PM, Michel Morelli<michel at ziobuddalabs.it> wrote: > Hi all. I need to create a tag cloud for a single content type. I know that > exist tagadelic to create the tag cloud, but it's usefull for a generic tag > cloud. I need a diffent tag cloud for different content type. I can add a > single vocabolary for each content type. > I have see tagadelic_views but It does not works (some type of error). > > Any other solution ? > > Tnx. > > -- > Michel 'ZioBudda' Morelli ? ? ? ? ? ? ? ? ? ? ? michel at ziobuddalabs.net > Consulenza sistemistica in ambito OpenSource. > Sviluppo applicazioni web dinamiche (LAMP+Ajax) > Telefono: 0200619074 > Telefono Cell: +39-3939890025 -- ?Fax: +39-0291390660 > > http://www.ziobudda.net ? ? ? ? ? ? ? ? ? ? ? ? ICQ: 58351764 > ?http://www.ziobuddalabs.it ? ? ? ? ? ? ? ? ? ? ?Skype: zio_budda > http://www.ziodrupal.net ? ? ? ? ? ? ? ? ? ? ? ?MSN: michel at ziobuddalabs.it > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?JABBER: > michel at ziobuddalabs.it > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From bms at mscis.org Mon Jul 27 06:07:47 2009 From: bms at mscis.org (Brandon Stout) Date: Mon, 27 Jul 2009 00:07:47 -0600 Subject: [support] Organic Groups problem in 6.x - no admin access Message-ID: <4A6D4433.607@mscis.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello everyone. I filed this support request with OG a few months ago: http://drupal.org/node/473464 This is what I said in the support request: > If I try to manage members of a group for any group I manage > ([site]/og/users/[id_number]/faces, I get the 'Access denied' page. > This has been happening for a few months, across several releases of > drupal 6 core and OG 6.x-x. When I go to [site]/og/manage/[id_number] > it knows I'm the group owner. I've asked about this a few times on IRC > and really need this fixed, but nobody ever responds on IRC channel > #drupal-support. What should I look for? A setting in the database? > Please help soon, this has been a truly annoying problem I just > haven't had time to look at and hoped some new release would resolve. I have emailed at least one OG module admin. I have sent chats over IRC about the problem. I have had zero response. This problem is a growing problem because I have months worth of requests to join groups that I can't do anything about. If I can't have a basic user group system running, I really must move on to a different CMS, but I really don't want to do that. I love so many other things about Drupal. Can anyone help me? Brandon -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkptRDIACgkQx0pgn74qrcKHMgCfVLZoPseDmX7TOId/mYxUB1q0 ySwAoIK0TonS0Xu+LquzyzY58Dc0NCLF =ks6i -----END PGP SIGNATURE----- From michel at ziobuddalabs.it Mon Jul 27 07:15:24 2009 From: michel at ziobuddalabs.it (Michel Morelli) Date: Mon, 27 Jul 2009 09:15:24 +0200 Subject: [support] Tag cloud for a single content type or vocabolary In-Reply-To: <d8fd3b970907261329h71562378p9ca283cbb416896c@mail.gmail.com> References: <4A6865CE.3050200@ziobuddalabs.it> <d8fd3b970907261329h71562378p9ca283cbb416896c@mail.gmail.com> Message-ID: <4A6D540C.9080609@ziobuddalabs.it> Steve ha scritto: > try this link hope it will help http://sudosys.be/?q=drupal_tag_cloud > Thanks, but the link is for Drupal 5. I'm using Drupal 6. M. -- Michel 'ZioBudda' Morelli michel at ziobuddalabs.net Consulenza sistemistica in ambito OpenSource. Sviluppo applicazioni web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ziodrupal.net MSN: michel at ziobuddalabs.it JABBER: michel at ziobuddalabs.it From amitkarpe at gmail.com Mon Jul 27 10:20:10 2009 From: amitkarpe at gmail.com (Amit Karpe) Date: Mon, 27 Jul 2009 15:50:10 +0530 Subject: [support] Membership renewal notification Message-ID: <1ab22a4b0907270320q3850c104wa8f1694ce059ed34@mail.gmail.com> Hello All, I am using ubercart for membership of website. Where I used paypal as payment gateway, and uc_subscribe module for subscription. I want my customer should received "Membership renewal notification". Let say website membership life is one year. Then before expiration he should received mail notification. Let say he should received notification mail 1 day/ 5 days/ 10 days before the expiration date. -- Regards Amit. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090727/2b5f3935/attachment.htm> From earnie at users.sourceforge.net Mon Jul 27 12:20:15 2009 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Mon, 27 Jul 2009 12:20:15 +0000 Subject: [support] Organic Groups problem in 6.x - no admin access In-Reply-To: <4A6D4433.607@mscis.org> References: <4A6D4433.607@mscis.org> Message-ID: <20090727122015.352720ckvadpm45c@mail.siebunlimited.com> Quoting Brandon Stout <bms at mscis.org>: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello everyone. I filed this support request with OG a few months ago: > > http://drupal.org/node/473464 > > This is what I said in the support request: > >> If I try to manage members of a group for any group I manage >> ([site]/og/users/[id_number]/faces, I get the 'Access denied' page. >> This has been happening for a few months, across several releases of >> drupal 6 core and OG 6.x-x. When I go to [site]/og/manage/[id_number] >> it knows I'm the group owner. I've asked about this a few times on IRC >> and really need this fixed, but nobody ever responds on IRC channel >> #drupal-support. What should I look for? A setting in the database? >> Please help soon, this has been a truly annoying problem I just >> haven't had time to look at and hoped some new release would resolve. > > I have emailed at least one OG module admin. I have sent chats over IRC > about the problem. I have had zero response. This problem is a growing > problem because I have months worth of requests to join groups that I > can't do anything about. If I can't have a basic user group system > running, I really must move on to a different CMS, but I really don't > want to do that. I love so many other things about Drupal. Can anyone > help me? > Which OG module provides the /faces part of the link? I've played with OG but not enough to know it but I can try to help you. -- Earnie -- http://r-feed.com/ -- http://for-my-kids.com/ -- http://www.4offer.biz/ -- http://give-me-an-offer.com/ From fb at codicelibero.net Mon Jul 27 12:36:17 2009 From: fb at codicelibero.net (Francesco Baldini) Date: Mon, 27 Jul 2009 14:36:17 +0200 Subject: [support] Restrict access on user/* "by role" Message-ID: <1b1c3f44e1191fe0a1c71b504032b88a.squirrel@webmail.codicelibero.net> I need to create a block with some data on profile page user/* I created 3 Views blocks, each block has to be shown on user's page by role The site has 3 roles: Role-0 higher with block-0 Role-1 middle with block-1 Role-2 lower with block-2 Role-0 users have to have a block-0 block on their profile page (user/3, user/7, user/15, etc) Role-1 users have to have a block-1 block on their profile page (user/4, user/8, user/19, etc) Role-2 users have to have a block-0 block on their profile page (user/5, user/11, user/35, etc) in two words each Role has its own block but have not to be shown on others roles' page if I visit user/3 I have to see block-0 only if I visit user/4 I have to see block-1 only if I visit user/5 I have to see block-2 only I tried to restrict access by role but now Role-0 can see 3 blocks on the same page, some empty some filled, etc.. any idea? From fb at codicelibero.net Mon Jul 27 14:36:23 2009 From: fb at codicelibero.net (Francesco Baldini) Date: Mon, 27 Jul 2009 16:36:23 +0200 Subject: [support] [SOLVED] Re: Restrict access on user/* "by role" In-Reply-To: <1b1c3f44e1191fe0a1c71b504032b88a.squirrel@webmail.codicelibero.net> References: <1b1c3f44e1191fe0a1c71b504032b88a.squirrel@webmail.codicelibero.net> Message-ID: <9b17b2b39fcf27d8677f0e4122fcc02f.squirrel@webmail.codicelibero.net> On Lun, 27 Luglio 2009 2:36 pm, Francesco Baldini wrote: > I need to create a block with some data on profile page user/* > > I created 3 Views blocks, each block has to be shown on user's page by > role > > The site has 3 roles: > Role-0 higher with block-0 > Role-1 middle with block-1 > Role-2 lower with block-2 > > Role-0 users have to have a block-0 block on their profile page (user/3, > user/7, user/15, etc) > > Role-1 users have to have a block-1 block on their profile page (user/4, > user/8, user/19, etc) > > Role-2 users have to have a block-0 block on their profile page (user/5, > user/11, user/35, etc) > > in two words each Role has its own block but have not to be shown on > others roles' page > > if I visit user/3 I have to see block-0 only > if I visit user/4 I have to see block-1 only > if I visit user/5 I have to see block-2 only > > I tried to restrict access by role but now Role-0 can see 3 blocks on the > same page, some empty some filled, etc.. Solved adding a Filter on Views: User: Role From metzlerd at evergreen.edu Mon Jul 27 15:16:39 2009 From: metzlerd at evergreen.edu (Metzler, David) Date: Mon, 27 Jul 2009 08:16:39 -0700 Subject: [support] Organic Groups problem in 6.x - no admin access In-Reply-To: <4A6D4433.607@mscis.org> References: <4A6D4433.607@mscis.org> Message-ID: <52177C930FA90F4D9888B0343FDB79FBA58C84@birch.evergreen.edu> You might try rebuilding permissions under Administer->Content->Post Settings. Also, assuming you are a site admin, you might want to give yourself Administer Organic Groups permissions. Also you definitely want to be using the issue queue for OG if you're trying to get a problem solved. The best way is to find a someone else having the problem and pool recourses. Its not generally considered good form to go for the module maintainers via email first. File an issue at durpal.org/project/og, and use this list, of course. Dave -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Brandon Stout Sent: Sunday, July 26, 2009 11:08 PM To: Drupal Support Subject: [support] Organic Groups problem in 6.x - no admin access -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello everyone. I filed this support request with OG a few months ago: http://drupal.org/node/473464 This is what I said in the support request: > If I try to manage members of a group for any group I manage > ([site]/og/users/[id_number]/faces, I get the 'Access denied' page. > This has been happening for a few months, across several releases of > drupal 6 core and OG 6.x-x. When I go to [site]/og/manage/[id_number] > it knows I'm the group owner. I've asked about this a few times on IRC > and really need this fixed, but nobody ever responds on IRC channel > #drupal-support. What should I look for? A setting in the database? > Please help soon, this has been a truly annoying problem I just > haven't had time to look at and hoped some new release would resolve. I have emailed at least one OG module admin. I have sent chats over IRC about the problem. I have had zero response. This problem is a growing problem because I have months worth of requests to join groups that I can't do anything about. If I can't have a basic user group system running, I really must move on to a different CMS, but I really don't want to do that. I love so many other things about Drupal. Can anyone help me? Brandon -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkptRDIACgkQx0pgn74qrcKHMgCfVLZoPseDmX7TOId/mYxUB1q0 ySwAoIK0TonS0Xu+LquzyzY58Dc0NCLF =ks6i -----END PGP SIGNATURE----- -- [ Drupal support list | http://lists.drupal.org/ ] From bms at mscis.org Mon Jul 27 16:06:02 2009 From: bms at mscis.org (Brandon Stout) Date: Mon, 27 Jul 2009 10:06:02 -0600 Subject: [support] Organic Groups problem in 6.x - no admin access In-Reply-To: <20090727122015.352720ckvadpm45c@mail.siebunlimited.com> References: <4A6D4433.607@mscis.org> <20090727122015.352720ckvadpm45c@mail.siebunlimited.com> Message-ID: <4A6DD06A.20809@mscis.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Earnie Boyd wrote: > Which OG module provides the /faces part of the link? I've played > with OG but not enough to know it but I can try to help you. I'm not sure. I always thought it was part of the OG core. It might be part of the path module that provides a freindly url though. Out of the OG modules, I have OG, OG Access Control, OG Actions, OG Views, Subgroups for OG enabled. Brandon -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkpt0GoACgkQx0pgn74qrcJnqACfUXD7RhxBdugtIM/l1ae4hNjp MJAAoKHqWzlOD2SBau7JDvME0kT/ZcIU =62nw -----END PGP SIGNATURE----- From bms at mscis.org Mon Jul 27 16:21:44 2009 From: bms at mscis.org (Brandon Stout) Date: Mon, 27 Jul 2009 10:21:44 -0600 Subject: [support] Organic Groups problem in 6.x - no admin access In-Reply-To: <52177C930FA90F4D9888B0343FDB79FBA58C84@birch.evergreen.edu> References: <4A6D4433.607@mscis.org> <52177C930FA90F4D9888B0343FDB79FBA58C84@birch.evergreen.edu> Message-ID: <4A6DD418.8010702@mscis.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Metzler, David wrote: > You might try rebuilding permissions under > Administer->Content->Post Settings. I just tried that, and it didn't fix the issue. Thank you for the idea. > Also, assuming you are a site admin, you might want to give > yourself Administer Organic Groups permissions. Under User Permissions, I can give anonymous users and authenticated users 'administer organic groups' permissions, but I think it should be automatic for site admins - there is no column for site admins. Of course I don't want to give all authenticated users this right, or anonymous users. As an extra step, I added a new role, and gave it 'administer organic groups' permissions, then gave my user that role, and I still have the same issue. Am I looking in the wrong place? > Also you definitely want to be using the issue queue for OG if > you're trying to get a problem solved. I have had this problem posted there for a long time with no response. > The best way is to find a someone else having the problem and pool > recourses. Its not generally considered good form to go for the > module maintainers via email first. File an issue at > durpal.org/project/og, and use this list, of course. > > Dave I could not find anyone else with this issue, which is why I posted it as a new one, and why I posted it as a support request instead of a bug because nobody else has duplicated it. I didn't email any module maintainers until the issue sat in their queue for a few months. Then I emailed Moshe, I think, and now it's been a few more months with still no response. Thank you for your help Brandon -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkpt1BcACgkQx0pgn74qrcK4iQCeLar49djbYjrkFCbOQLUyZxJz opcAn0c9KyT/WTgt9/Z+1cCFHdjMrvAT =iQCN -----END PGP SIGNATURE----- From reach.supermike at gmail.com Tue Jul 28 03:57:27 2009 From: reach.supermike at gmail.com (vinq1) Date: Mon, 27 Jul 2009 20:57:27 -0700 (PDT) Subject: [support] Newbie Needing View Walkthrough Message-ID: <24692079.post@talk.nabble.com> I'm a newbie but yet an accomplished PHP developer. However, I need a Drupal 6 View walkthrough because I "don't get it". Let's say I have a list of staff members with the fields: - name - title - photo - bio - email When viewed in a sidebar block on an About Us page, I only want the list to show name, title, and photo. But when clicked, I want it to go to a node and show all the fields. I hear I can do this with 2 Drupal Views, but I'm confused as to how to implement this. -- View this message in context: http://www.nabble.com/Newbie-Needing-View-Walkthrough-tp24692079p24692079.html Sent from the Drupal - Support mailing list archive at Nabble.com. From shai at content2zero.com Tue Jul 28 04:14:38 2009 From: shai at content2zero.com (Shai Gluskin) Date: Tue, 28 Jul 2009 00:14:38 -0400 Subject: [support] Newbie Needing View Walkthrough In-Reply-To: <24692079.post@talk.nabble.com> References: <24692079.post@talk.nabble.com> Message-ID: <9f68efb70907272114y414591ben9d593b22f3bd3342@mail.gmail.com> Hi Vinq1, Welcome to Drupal. The O'Reilly book "Using Drupal" will get you through it one step at a time. I highly recommend it (I have financial interest in that book :) Note, in addition to Views, you also need to install the CCK module as well as imagefield, and if you want more flexibility displaying the pics, the imagecache module is brilliant. Good luck, Shai Owner, Content2zero Web Development <http://content2zero.com> On Mon, Jul 27, 2009 at 11:57 PM, vinq1 <reach.supermike at gmail.com> wrote: > > I'm a newbie but yet an accomplished PHP developer. However, I need a > Drupal > 6 View walkthrough because I "don't get it". Let's say I have a list of > staff members with the fields: > > - name > - title > - photo > - bio > - email > > When viewed in a sidebar block on an About Us page, I only want the list to > show name, title, and photo. But when clicked, I want it to go to a node > and > show all the fields. > > I hear I can do this with 2 Drupal Views, but I'm confused as to how to > implement this. > -- > View this message in context: > http://www.nabble.com/Newbie-Needing-View-Walkthrough-tp24692079p24692079.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/20090728/6ab5df2e/attachment.htm> From shai at content2zero.com Tue Jul 28 04:15:30 2009 From: shai at content2zero.com (Shai Gluskin) Date: Tue, 28 Jul 2009 00:15:30 -0400 Subject: [support] Newbie Needing View Walkthrough In-Reply-To: <9f68efb70907272114y414591ben9d593b22f3bd3342@mail.gmail.com> References: <24692079.post@talk.nabble.com> <9f68efb70907272114y414591ben9d593b22f3bd3342@mail.gmail.com> Message-ID: <9f68efb70907272115g16aa3f4cg2a252b0ed8347f0b@mail.gmail.com> I meant to say, "I have NO financial interest in that book." That slip may expose some hidden desire :) On Tue, Jul 28, 2009 at 12:14 AM, Shai Gluskin <shai at content2zero.com>wrote: > Hi Vinq1, > Welcome to Drupal. > > The O'Reilly book "Using Drupal" will get you through it one step at a > time. I highly recommend it (I have financial interest in that book :) > > Note, in addition to Views, you also need to install the CCK module as well > as imagefield, and if you want more flexibility displaying the pics, the > imagecache module is brilliant. > > Good luck, > > Shai > Owner, Content2zero Web Development <http://content2zero.com> > > > On Mon, Jul 27, 2009 at 11:57 PM, vinq1 <reach.supermike at gmail.com> wrote: > >> >> I'm a newbie but yet an accomplished PHP developer. However, I need a >> Drupal >> 6 View walkthrough because I "don't get it". Let's say I have a list of >> staff members with the fields: >> >> - name >> - title >> - photo >> - bio >> - email >> >> When viewed in a sidebar block on an About Us page, I only want the list >> to >> show name, title, and photo. But when clicked, I want it to go to a node >> and >> show all the fields. >> >> I hear I can do this with 2 Drupal Views, but I'm confused as to how to >> implement this. >> -- >> View this message in context: >> http://www.nabble.com/Newbie-Needing-View-Walkthrough-tp24692079p24692079.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/20090728/a6048388/attachment.htm> From reach.supermike at gmail.com Tue Jul 28 04:21:11 2009 From: reach.supermike at gmail.com (vinq1) Date: Mon, 27 Jul 2009 21:21:11 -0700 (PDT) Subject: [support] Newbie Needing View Walkthrough In-Reply-To: <9f68efb70907272114y414591ben9d593b22f3bd3342@mail.gmail.com> References: <24692079.post@talk.nabble.com> <9f68efb70907272114y414591ben9d593b22f3bd3342@mail.gmail.com> Message-ID: <24692275.post@talk.nabble.com> Shai Gluskin-2 wrote: > > in addition to Views, you also need to install the CCK module as well > as imagefield, and if you want more flexibility displaying the pics, the > imagecache module is brilliant. > Thanks. Yeah, I installed the following modules today: - CCK - filefield - imagefield - emfield - link - email I then created a custom content type for Staff Member with those fields. But now I'm trying to grasp how to make two views, and then how to throw one view onto a page node (just one staff member), and another into a sidebar block as a short list of staff members. Once that's done, I need to know how to add pages to the Zen theme (which I have customized in a subfolder of the Zen theme) to style just those staff member entries. -- View this message in context: http://www.nabble.com/Newbie-Needing-View-Walkthrough-tp24692079p24692275.html Sent from the Drupal - Support mailing list archive at Nabble.com. From reach.supermike at gmail.com Tue Jul 28 04:34:56 2009 From: reach.supermike at gmail.com (vinq1) Date: Mon, 27 Jul 2009 21:34:56 -0700 (PDT) Subject: [support] Newbie Needing View Walkthrough In-Reply-To: <9f68efb70907272115g16aa3f4cg2a252b0ed8347f0b@mail.gmail.com> References: <24692079.post@talk.nabble.com> <9f68efb70907272114y414591ben9d593b22f3bd3342@mail.gmail.com> <9f68efb70907272115g16aa3f4cg2a252b0ed8347f0b@mail.gmail.com> Message-ID: <24692371.post@talk.nabble.com> Shai Gluskin-2 wrote: > > I meant to say, "I have NO financial interest in that book." That slip may > expose some hidden desire :) > No problem. -- View this message in context: http://www.nabble.com/Newbie-Needing-View-Walkthrough-tp24692079p24692371.html Sent from the Drupal - Support mailing list archive at Nabble.com. From craig.s.gardner at gmail.com Tue Jul 28 05:31:57 2009 From: craig.s.gardner at gmail.com (Craig Gardner) Date: Mon, 27 Jul 2009 22:31:57 -0700 Subject: [support] managing automated cron generated html pages via drupal In-Reply-To: <c4d69730907221311q61bdb86j941c5e9eb7ce255d@mail.gmail.com> References: <c4d69730907221215m5a531a9cnb47a0a739d07ae53@mail.gmail.com> <fce946780907221221r3f74df5fu9d15e1b4999353b3@mail.gmail.com> <c4d69730907221311q61bdb86j941c5e9eb7ce255d@mail.gmail.com> Message-ID: <becaa3870907272231w4ad52a3dr4fa59e42f51a2f55@mail.gmail.com> Rahul, I've done something similar quite a few times using Drupal. The guts of my code are: > function scoreboard_menu() { $items = array(); > $items['scoreboard'] = array( 'title' => t('My Scoreboard'), 'description' => t('Scoreboard'), 'page callback' => 'scoreboard_main_page', 'access arguments' => array('access content'), 'type' => MENU_CALLBACK, ); > return $items; } function scoreboard_main_page() { > $output = ''; > $table = array(); > $header = array( > ); > $date = date('Y-m-d'); > > db_set_active('customdb'); > $results = db_query('SELECT * FROM WHERE filter LIKE "%s%%" GROUP BY > groupfield ORDER BY orderfield DESC', $date); > db_set_active(); > while ($line = db_fetch_object($results)) { > $table[] = $line; > } > > $output .= theme('table', $header, $table, array('class' => > 'scoreboard-table')); > return $output; > } Just make sure you have your database settings in your settings.php. Seems to work for me for simple tasks On Wed, Jul 22, 2009 at 1:11 PM, Rahul Nabar<rpnabar at gmail.com> wrote: > On Wed, Jul 22, 2009 at 2:21 PM, sivaji j.g<sivaji2009 at gmail.com> wrote: >> On Thu, Jul 23, 2009 at 12:45 AM, Rahul Nabar <rpnabar at gmail.com> wrote: >>> >>> We have a mysql database storing a bunch of scientific data and I have >>> a cron script querying the database and making html tables of key >>> data. Is there a way how this content (the resulting html pages) can >>> be integrated and managed via drupal? Especially the link structure >>> etc.? >> >> It is very difficult to answer with this minimal information. > > Sorry if I was terse. I'll try to do better: > > I have data in a mysql database. In order to present this I (or rather > a cron script) usually run on the command line something like: > > echo 'SELECT * FROM footable' | mysql -h foo.bar.edu -u foouser -p > --html bar_db > temp.html > > Then a webpage.php file adds some more headers, css styling etc. and > presents this page. Something like: > > http://files.getdropbox.com/u/118481/mqsql_html.jpg > > > Unfortunately there are several such "autogenerated" pages and it is > hard to keep track of up-to-date menus, links etc. I was wondering if > this was facilitated by Drupal. Maybe even if Drupal was the right > tool for this job at all. > > -- > Rahul > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090727/162cc267/attachment-0001.htm> From shai at content2zero.com Tue Jul 28 07:36:55 2009 From: shai at content2zero.com (Shai Gluskin) Date: Tue, 28 Jul 2009 03:36:55 -0400 Subject: [support] Newbie Needing View Walkthrough In-Reply-To: <24692275.post@talk.nabble.com> References: <24692079.post@talk.nabble.com> <9f68efb70907272114y414591ben9d593b22f3bd3342@mail.gmail.com> <24692275.post@talk.nabble.com> Message-ID: <9f68efb70907280036y119a8b81gd1afd541077e32e1@mail.gmail.com> With Views for D6, one "View" can create a lot of different "displays." So on your main views editing page top left, click on the drop down just above "add display" and choose, "block" and then click "add display." This is for your block. Row type will be "fields" by default which is good, no fussing there. Click the "+" link in the "fields" section, then limit all the choices by selecting "node" and then select "Title" assuming you want the links in the block to be node titles. If you want some other field represented in the block, a field that you created with CCK for example, then you can limit your field choices by clicking on "content" in the drop down after you've clicked on the "+". (Note... "content" in Drupal is often a code word for "custom field." Not intuitive unless you know that "CCK" is an acronym for "Content Construction Kit" which was all about adding field flexibility in Drupal.) Before I go further, a BIG Views tip: clicking on "update display" does absolutely NOTHING to the database. You MUST click on "save" (down and to the left of where the update display link is) for it to change anything. My habit is to click on save after every adjustment I make even though you don't have to. You can make several changes and then save them, but every time I get out of the habit of saving after each change I end up losing work. Yes a lot of clicking and waiting a couple seconds... but Views is so darn powerful it's worth it. You'll want to filter your results, otherwise every node in your install will show up. And you can sort, etc. Now getting it to display... This view will now show up under in the disabled section of block admin and you can place it wherever you want. (Hint about block admin. If you see "delete" next to a block, you created it via clicking on "add block" while you were in the block admin. All the blocks that are sans a "delete" link were made by another module,) As for inserting a view into a node, you can use http://drupal.org/project/insert_view. Another way is to create a view of just the one node and then attach your view using Views attachment system to the first view of the one node. Good luck, let us know how it goes. Drupal is awesome! Shai On Tue, Jul 28, 2009 at 12:21 AM, vinq1 <reach.supermike at gmail.com> wrote: > > > Shai Gluskin-2 wrote: > > > > in addition to Views, you also need to install the CCK module as well > > as imagefield, and if you want more flexibility displaying the pics, the > > imagecache module is brilliant. > > > > Thanks. Yeah, I installed the following modules today: > > - CCK > - filefield > - imagefield > - emfield > - link > - email > > I then created a custom content type for Staff Member with those fields. > > But now I'm trying to grasp how to make two views, and then how to throw > one > view onto a page node (just one staff member), and another into a sidebar > block as a short list of staff members. > > Once that's done, I need to know how to add pages to the Zen theme (which I > have customized in a subfolder of the Zen theme) to style just those staff > member entries. > -- > View this message in context: > http://www.nabble.com/Newbie-Needing-View-Walkthrough-tp24692079p24692275.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/20090728/3fcd6358/attachment.htm> From jose.fernandez at naxos-fr.net Tue Jul 28 10:10:20 2009 From: jose.fernandez at naxos-fr.net (=?ISO-8859-1?Q?jos=E9?= fernandez) Date: Tue, 28 Jul 2009 12:10:20 +0200 Subject: [support] Simplenews and uninterpreted variables in confirmation mail Message-ID: <1248775820.28988.40.camel@Dream.Developpement> Hello, I have set up a newsletter with the module Simplenews. For a user who has an account, or if it is opted out a newsletter from my home, he will receive a confirmation mail in which the variable will be interpreted Simplenews: Example : Nous avons re?u une requ?te de d?sabonnement pour l?adresse toto at mail.net du Bulletin d?information de www.monsite.com sur le site www.monsite.com se trouvant ? l?adresse http://www.monsite.com/. Pour confirmer ce d?sabonnement, nous vous invitons ? cliquer sur le lien suivant:http://www.monsite.com/newsletter/confirm/remove/a76? As if against a visitor who does not have an account on my site is, or opted out of the newsletter, he will receive the following confirmation message: Example: We have received a subscription request for the address !Mailto newsletter appointed Newsletter www.monsite.com on the !site Site located al'adresse http://www.monsite.com. To confirm this subscription, please click the following link: http://www.monsite.com/newsletter/confirm/add/68ch ... Have you an idea of the problem? Thank's you. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090728/0a3a733f/attachment.htm> From earnie at users.sourceforge.net Tue Jul 28 12:04:12 2009 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Tue, 28 Jul 2009 12:04:12 +0000 Subject: [support] Simplenews and uninterpreted variables in confirmation mail In-Reply-To: <1248775820.28988.40.camel@Dream.Developpement> References: <1248775820.28988.40.camel@Dream.Developpement> Message-ID: <20090728120412.141111f6zw95yi4g@mail.siebunlimited.com> Quoting jos? fernandez <jose.fernandez at naxos-fr.net>: > > Have you an idea of the problem? > No; research and file a issue at http://drupal.org/project/issues/simplenews for a more appropriate forum for you problem. -- Earnie -- http://r-feed.com/ -- http://for-my-kids.com/ -- http://www.4offer.biz/ -- http://give-me-an-offer.com/ From broyhill at lrc.edu Tue Jul 28 13:49:02 2009 From: broyhill at lrc.edu (Gary Broyhill) Date: Tue, 28 Jul 2009 09:49:02 -0400 Subject: [support] support Digest, Vol 79, Issue 31 In-Reply-To: <mailman.16560.1248759152.17128.support@drupal.org> References: <mailman.16560.1248759152.17128.support@drupal.org> Message-ID: <e7f602200907280649i1a23aad8w91acee543b690322@mail.gmail.com> My email address has changed to broyhill at lr.edu thanks On Tue, Jul 28, 2009 at 1:32 AM, <support-request at drupal.org> wrote: > 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: Organic Groups problem in 6.x - no admin access > (Brandon Stout) > 2. Re: Organic Groups problem in 6.x - no admin access > (Brandon Stout) > 3. Newbie Needing View Walkthrough (vinq1) > 4. Re: Newbie Needing View Walkthrough (Shai Gluskin) > 5. Re: Newbie Needing View Walkthrough (Shai Gluskin) > 6. Re: Newbie Needing View Walkthrough (vinq1) > 7. Re: Newbie Needing View Walkthrough (vinq1) > 8. Re: managing automated cron generated html pages via drupal > (Craig Gardner) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 27 Jul 2009 10:06:02 -0600 > From: Brandon Stout <bms at mscis.org> > Subject: Re: [support] Organic Groups problem in 6.x - no admin access > To: support at drupal.org > Message-ID: <4A6DD06A.20809 at mscis.org> > Content-Type: text/plain; charset=ISO-8859-1 > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Earnie Boyd wrote: > > > Which OG module provides the /faces part of the link? I've played > > with OG but not enough to know it but I can try to help you. > > I'm not sure. I always thought it was part of the OG core. It might be > part of the path module that provides a freindly url though. Out of the > OG modules, I have OG, OG Access Control, OG Actions, OG Views, > Subgroups for OG enabled. > > Brandon > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.9 (GNU/Linux) > Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org > > iEYEARECAAYFAkpt0GoACgkQx0pgn74qrcJnqACfUXD7RhxBdugtIM/l1ae4hNjp > MJAAoKHqWzlOD2SBau7JDvME0kT/ZcIU > =62nw > -----END PGP SIGNATURE----- > > > ------------------------------ > > Message: 2 > Date: Mon, 27 Jul 2009 10:21:44 -0600 > From: Brandon Stout <bms at mscis.org> > Subject: Re: [support] Organic Groups problem in 6.x - no admin access > To: support at drupal.org > Message-ID: <4A6DD418.8010702 at mscis.org> > Content-Type: text/plain; charset=ISO-8859-1 > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Metzler, David wrote: > > > You might try rebuilding permissions under > > Administer->Content->Post Settings. > > I just tried that, and it didn't fix the issue. Thank you for the idea. > > > Also, assuming you are a site admin, you might want to give > > yourself Administer Organic Groups permissions. > > Under User Permissions, I can give anonymous users and authenticated > users 'administer organic groups' permissions, but I think it should > be automatic for site admins - there is no column for site admins. Of > course I don't want to give all authenticated users this right, or > anonymous users. As an extra step, I added a new role, and gave it > 'administer organic groups' permissions, then gave my user that role, > and I still have the same issue. Am I looking in the wrong place? > > > Also you definitely want to be using the issue queue for OG if > > you're trying to get a problem solved. > > I have had this problem posted there for a long time with no response. > > > The best way is to find a someone else having the problem and pool > > recourses. Its not generally considered good form to go for the > > module maintainers via email first. File an issue at > > durpal.org/project/og, and use this list, of course. > > > > Dave > > I could not find anyone else with this issue, which is why I posted it > as a new one, and why I posted it as a support request instead of a > bug because nobody else has duplicated it. I didn't email any module > maintainers until the issue sat in their queue for a few months. Then > I emailed Moshe, I think, and now it's been a few more months with > still no response. > > Thank you for your help > > Brandon > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.9 (GNU/Linux) > Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org > > iEYEARECAAYFAkpt1BcACgkQx0pgn74qrcK4iQCeLar49djbYjrkFCbOQLUyZxJz > opcAn0c9KyT/WTgt9/Z+1cCFHdjMrvAT > =iQCN > -----END PGP SIGNATURE----- > > > > ------------------------------ > > Message: 3 > Date: Mon, 27 Jul 2009 20:57:27 -0700 (PDT) > From: vinq1 <reach.supermike at gmail.com> > Subject: [support] Newbie Needing View Walkthrough > To: support at drupal.org > Message-ID: <24692079.post at talk.nabble.com> > Content-Type: text/plain; charset=us-ascii > > > I'm a newbie but yet an accomplished PHP developer. However, I need a > Drupal > 6 View walkthrough because I "don't get it". Let's say I have a list of > staff members with the fields: > > - name > - title > - photo > - bio > - email > > When viewed in a sidebar block on an About Us page, I only want the list to > show name, title, and photo. But when clicked, I want it to go to a node > and > show all the fields. > > I hear I can do this with 2 Drupal Views, but I'm confused as to how to > implement this. > -- > View this message in context: > http://www.nabble.com/Newbie-Needing-View-Walkthrough-tp24692079p24692079.html > Sent from the Drupal - Support mailing list archive at Nabble.com. > > > > ------------------------------ > > Message: 4 > Date: Tue, 28 Jul 2009 00:14:38 -0400 > From: Shai Gluskin <shai at content2zero.com> > Subject: Re: [support] Newbie Needing View Walkthrough > To: support at drupal.org > Message-ID: > <9f68efb70907272114y414591ben9d593b22f3bd3342 at mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > Hi Vinq1, > Welcome to Drupal. > > The O'Reilly book "Using Drupal" will get you through it one step at a > time. > I highly recommend it (I have financial interest in that book :) > > Note, in addition to Views, you also need to install the CCK module as well > as imagefield, and if you want more flexibility displaying the pics, the > imagecache module is brilliant. > > Good luck, > > Shai > Owner, Content2zero Web Development <http://content2zero.com> > > On Mon, Jul 27, 2009 at 11:57 PM, vinq1 <reach.supermike at gmail.com> wrote: > > > > > I'm a newbie but yet an accomplished PHP developer. However, I need a > > Drupal > > 6 View walkthrough because I "don't get it". Let's say I have a list of > > staff members with the fields: > > > > - name > > - title > > - photo > > - bio > > - email > > > > When viewed in a sidebar block on an About Us page, I only want the list > to > > show name, title, and photo. But when clicked, I want it to go to a node > > and > > show all the fields. > > > > I hear I can do this with 2 Drupal Views, but I'm confused as to how to > > implement this. > > -- > > View this message in context: > > > http://www.nabble.com/Newbie-Needing-View-Walkthrough-tp24692079p24692079.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/20090728/6ab5df2e/attachment-0001.htm > > > > ------------------------------ > > Message: 5 > Date: Tue, 28 Jul 2009 00:15:30 -0400 > From: Shai Gluskin <shai at content2zero.com> > Subject: Re: [support] Newbie Needing View Walkthrough > To: support at drupal.org > Message-ID: > <9f68efb70907272115g16aa3f4cg2a252b0ed8347f0b at mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > I meant to say, "I have NO financial interest in that book." That slip may > expose some hidden desire :) > > On Tue, Jul 28, 2009 at 12:14 AM, Shai Gluskin <shai at content2zero.com > >wrote: > > > Hi Vinq1, > > Welcome to Drupal. > > > > The O'Reilly book "Using Drupal" will get you through it one step at a > > time. I highly recommend it (I have financial interest in that book :) > > > > Note, in addition to Views, you also need to install the CCK module as > well > > as imagefield, and if you want more flexibility displaying the pics, the > > imagecache module is brilliant. > > > > Good luck, > > > > Shai > > Owner, Content2zero Web Development <http://content2zero.com> > > > > > > On Mon, Jul 27, 2009 at 11:57 PM, vinq1 <reach.supermike at gmail.com> > wrote: > > > >> > >> I'm a newbie but yet an accomplished PHP developer. However, I need a > >> Drupal > >> 6 View walkthrough because I "don't get it". Let's say I have a list of > >> staff members with the fields: > >> > >> - name > >> - title > >> - photo > >> - bio > >> - email > >> > >> When viewed in a sidebar block on an About Us page, I only want the list > >> to > >> show name, title, and photo. But when clicked, I want it to go to a node > >> and > >> show all the fields. > >> > >> I hear I can do this with 2 Drupal Views, but I'm confused as to how to > >> implement this. > >> -- > >> View this message in context: > >> > http://www.nabble.com/Newbie-Needing-View-Walkthrough-tp24692079p24692079.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/20090728/a6048388/attachment-0001.htm > > > > ------------------------------ > > Message: 6 > Date: Mon, 27 Jul 2009 21:21:11 -0700 (PDT) > From: vinq1 <reach.supermike at gmail.com> > Subject: Re: [support] Newbie Needing View Walkthrough > To: support at drupal.org > Message-ID: <24692275.post at talk.nabble.com> > Content-Type: text/plain; charset=us-ascii > > > > Shai Gluskin-2 wrote: > > > > in addition to Views, you also need to install the CCK module as well > > as imagefield, and if you want more flexibility displaying the pics, the > > imagecache module is brilliant. > > > > Thanks. Yeah, I installed the following modules today: > > - CCK > - filefield > - imagefield > - emfield > - link > - email > > I then created a custom content type for Staff Member with those fields. > > But now I'm trying to grasp how to make two views, and then how to throw > one > view onto a page node (just one staff member), and another into a sidebar > block as a short list of staff members. > > Once that's done, I need to know how to add pages to the Zen theme (which I > have customized in a subfolder of the Zen theme) to style just those staff > member entries. > -- > View this message in context: > http://www.nabble.com/Newbie-Needing-View-Walkthrough-tp24692079p24692275.html > Sent from the Drupal - Support mailing list archive at Nabble.com. > > > > ------------------------------ > > Message: 7 > Date: Mon, 27 Jul 2009 21:34:56 -0700 (PDT) > From: vinq1 <reach.supermike at gmail.com> > Subject: Re: [support] Newbie Needing View Walkthrough > To: support at drupal.org > Message-ID: <24692371.post at talk.nabble.com> > Content-Type: text/plain; charset=us-ascii > > > > Shai Gluskin-2 wrote: > > > > I meant to say, "I have NO financial interest in that book." That slip > may > > expose some hidden desire :) > > > > No problem. > -- > View this message in context: > http://www.nabble.com/Newbie-Needing-View-Walkthrough-tp24692079p24692371.html > Sent from the Drupal - Support mailing list archive at Nabble.com. > > > > ------------------------------ > > Message: 8 > Date: Mon, 27 Jul 2009 22:31:57 -0700 > From: Craig Gardner <craig.s.gardner at gmail.com> > Subject: Re: [support] managing automated cron generated html pages > via drupal > To: support at drupal.org > Message-ID: > <becaa3870907272231w4ad52a3dr4fa59e42f51a2f55 at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Rahul, > > I've done something similar quite a few times using Drupal. The guts of my > code are: > > > function scoreboard_menu() { > > $items = array(); > > > > $items['scoreboard'] = array( > > 'title' => t('My Scoreboard'), > > 'description' => t('Scoreboard'), > > 'page callback' => 'scoreboard_main_page', > > 'access arguments' => array('access content'), > > 'type' => MENU_CALLBACK, > > ); > > > > return $items; > > } > > > > function scoreboard_main_page() { > > $output = ''; > > $table = array(); > > $header = array( > > ); > > $date = date('Y-m-d'); > > > > db_set_active('customdb'); > > $results = db_query('SELECT * FROM WHERE filter LIKE "%s%%" GROUP BY > > groupfield ORDER BY orderfield DESC', $date); > > db_set_active(); > > > > > > while ($line = db_fetch_object($results)) { > > $table[] = $line; > > } > > > > $output .= theme('table', $header, $table, array('class' => > > 'scoreboard-table')); > > return $output; > > } > > > Just make sure you have your database settings in your settings.php. Seems > to work for me for simple tasks > > On Wed, Jul 22, 2009 at 1:11 PM, Rahul Nabar<rpnabar at gmail.com> wrote: > > On Wed, Jul 22, 2009 at 2:21 PM, sivaji j.g<sivaji2009 at gmail.com> wrote: > >> On Thu, Jul 23, 2009 at 12:45 AM, Rahul Nabar <rpnabar at gmail.com> > wrote: > >>> > >>> We have a mysql database storing a bunch of scientific data and I have > >>> a cron script querying the database and making html tables of key > >>> data. Is there a way how this content (the resulting html pages) can > >>> be integrated and managed via drupal? Especially the link structure > >>> etc.? > >> > >> It is very difficult to answer with this minimal information. > > > > Sorry if I was terse. I'll try to do better: > > > > I have data in a mysql database. In order to present this I (or rather > > a cron script) usually run on the command line something like: > > > > echo 'SELECT * FROM footable' | mysql -h foo.bar.edu -u foouser -p > > --html bar_db > temp.html > > > > Then a webpage.php file adds some more headers, css styling etc. and > > presents this page. Something like: > > > > http://files.getdropbox.com/u/118481/mqsql_html.jpg > > > > > > Unfortunately there are several such "autogenerated" pages and it is > > hard to keep track of up-to-date menus, links etc. I was wondering if > > this was facilitated by Drupal. Maybe even if Drupal was the right > > tool for this job at all. > > > > -- > > Rahul > > -- > > [ Drupal support list | http://lists.drupal.org/ ] > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.drupal.org/pipermail/support/attachments/20090727/162cc267/attachment.htm > > > > ------------------------------ > > -- > [ Drupal support list | http://list.drupal.org/ ] > > End of support Digest, Vol 79, Issue 31 > *************************************** > -- Gary C. Broyhill Webmaster Lenoir-Rhyne University (828) 328-7379 webmaster at lr.edu www.lr.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090728/2fa7c598/attachment-0001.htm> From jose.fernandez at naxos-fr.net Tue Jul 28 14:33:51 2009 From: jose.fernandez at naxos-fr.net (=?ISO-8859-1?Q?jos=E9?= fernandez) Date: Tue, 28 Jul 2009 16:33:51 +0200 Subject: [support] Simplenews and uninterpreted variables in confirmation mail In-Reply-To: <20090728120412.141111f6zw95yi4g@mail.siebunlimited.com> References: <1248775820.28988.40.camel@Dream.Developpement> <20090728120412.141111f6zw95yi4g@mail.siebunlimited.com> Message-ID: <1248791631.9709.13.camel@Dream.Developpement> Thank's for you information. Le mardi 28 juillet 2009 ? 12:04 +0000, Earnie Boyd a ?crit : > Quoting jos? fernandez <jose.fernandez at naxos-fr.net>: > > > > > Have you an idea of the problem? > > > > No; research and file a issue at > http://drupal.org/project/issues/simplenews for a more appropriate > forum for you problem. > > -- > Earnie > -- http://r-feed.com/ -- http://for-my-kids.com/ > -- http://www.4offer.biz/ -- http://give-me-an-offer.com/ > > -- > [ Drupal support list | http://lists.drupal.org/ ] Jos? FERNANDEZ Service D?veloppement T?l?phone 01 55 95 52 24 Fax 01 55 95 45 01 www.naxos.fr Email jose.fernandez at naxos-fr.net 17, place de la R?sistance 92445 Issy-les-Moulineaux ***************************************************************************************************************** Les informations contenues dans ce message et toutes ses pi?ces jointes sont ? l'attention exclusive de son destinataire et sont strictement confidentielles. Si vous n'?tes pas le destinataire de ce message, merci de le d?truire et d'en avertir notre soci?t?. Toute diffusion ou utilisation non express?ment autoris?e de ce message et de ses pi?ces jointes est interdite. Le destinataire d?clare avoir ?t? averti que ce message a pu ?tre infect? par un virus ou autre d?ficience lors de sa transmission. Nous ne pourrons ?tre tenus responsables de tout dommage ou perte li?e au contenu, ? la transmission et/ou la lecture du pr?sent message et de ses pi?ces jointes. ***************************************************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090728/c5647f5a/attachment.htm> From emma.badger at chocolateteapot.net Tue Jul 28 15:07:31 2009 From: emma.badger at chocolateteapot.net (Emma Badger) Date: Tue, 28 Jul 2009 16:07:31 +0100 Subject: [support] taxonomy_treemenu module/views/Cannot use string offset as an array Message-ID: <6332B2D7-26D3-49FB-A033-6AB164C12EEF@chocolateteapot.net> I'm using the most recent versions of Drupal, Views and Taxonomy Treemenu. The taxonomy treemenus are generating successfully, using the default view (taxonomy_router_term). I'm having problems accessing the content when I'm NOT logged in as admin. I'm using the default view (taxonomy_router_node) and access is set to unrestricted. The 'authenticated user' (which I understand is everyone that is not logged in?) gets Fatal error: Cannot use string offset as an array in /sites/all/ modules/taxonomy_treemenu/taxonomy_treemenu.module on line 2367 whereas the admin user gets to see the content. If I give the authenticated user 'Administer Nodes' permissions I do not get the error and I do see the content, however that means that anyone can create content, which is not what I want. Interestingly applying all create, delete, edit permissions (but NOT administer nodes) brings back the error. This is the code. case "taxmenu/%/node/%/%": //Treemenus have no node links. To control exansion, we target the //parent tid link. $item['href'] = 'category/' . $item['page_arguments'][0] ['vid'] . $item['page_arguments'][1]['parent_path']; break; Specifically, line 2367 is $item['href'] = 'category/' . $item['page_arguments'][0] ['vid'] . $item['page_arguments'][1]['parent_path']; Logged in as admin $item['page_arguments'] returns: Array ( [0] => Array ( [menu_name] => menu-ol-hlp [title] => Online Help [description] => Jane Systems online help [vid] => 13 [tid] => 0 [options] => a:3:{s:6:"filter";a:0:{}s:6:"fields";a:0:{}s: 4:"sort";a:1:{s:3:"nid";a:1:{s:5:"order";s:3:"ASC";}}} ) [1] => Array ( [0] => Array ( [tid] => 55 [title] => System Setup ) [1] => Array ( [tid] => 68 [title] => Authorisation Centre ) [parent_path] => /55/68 ) [2] => 25 ) But when I'm not logged in I get a:3:{i:0;i:1;i:1;i:3;i:2;i:4;} I can see that $item['page_arguments'] isn't being turned into an array, but I can't see why. I've been trying to trace back $router_items to see how it gets generated, but I can't seem to find it. I'd really appreciate any help. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090728/4c625351/attachment.htm> From metzlerd at evergreen.edu Tue Jul 28 15:09:34 2009 From: metzlerd at evergreen.edu (Metzler, David) Date: Tue, 28 Jul 2009 08:09:34 -0700 Subject: [support] Organic Groups problem in 6.x - no admin access In-Reply-To: <4A6DD418.8010702@mscis.org> References: <4A6D4433.607@mscis.org><52177C930FA90F4D9888B0343FDB79FBA58C84@birch.evergreen.edu> <4A6DD418.8010702@mscis.org> Message-ID: <52177C930FA90F4D9888B0343FDB79FBA58C8B@birch.evergreen.edu> Access permissions are automatic for uid 1 (THE site admin), but not for others, so if you're UID 1 then yes, you shouldn't need to grant authenticated users or anonymous. I just wasn't sure whether you were using that user. Sorry if I misunsterstood you regarding your contact methodology. Just never hurts to be careful on this. It's unlike og maintainers to ignore an issue.... Hmm... It's clear you've got something odd going on right now. I might try deleteing cache and session tables if it were my site. Just cause that's helped me with weird problems before (I admit that's flailing a bit). Does this issue seem like it might be relavent? http://drupal.org/node/128306 Could you also send me the issue number that you logged? Dave -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Brandon Stout Sent: Monday, July 27, 2009 9:22 AM To: support at drupal.org Subject: Re: [support] Organic Groups problem in 6.x - no admin access -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Metzler, David wrote: > You might try rebuilding permissions under > Administer->Content->Post Settings. I just tried that, and it didn't fix the issue. Thank you for the idea. > Also, assuming you are a site admin, you might want to give yourself > Administer Organic Groups permissions. Under User Permissions, I can give anonymous users and authenticated users 'administer organic groups' permissions, but I think it should be automatic for site admins - there is no column for site admins. Of course I don't want to give all authenticated users this right, or anonymous users. As an extra step, I added a new role, and gave it 'administer organic groups' permissions, then gave my user that role, and I still have the same issue. Am I looking in the wrong place? > Also you definitely want to be using the issue queue for OG if you're > trying to get a problem solved. I have had this problem posted there for a long time with no response. > The best way is to find a someone else having the problem and pool > recourses. Its not generally considered good form to go for the > module maintainers via email first. File an issue at > durpal.org/project/og, and use this list, of course. > > Dave I could not find anyone else with this issue, which is why I posted it as a new one, and why I posted it as a support request instead of a bug because nobody else has duplicated it. I didn't email any module maintainers until the issue sat in their queue for a few months. Then I emailed Moshe, I think, and now it's been a few more months with still no response. Thank you for your help Brandon -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkpt1BcACgkQx0pgn74qrcK4iQCeLar49djbYjrkFCbOQLUyZxJz opcAn0c9KyT/WTgt9/Z+1cCFHdjMrvAT =iQCN -----END PGP SIGNATURE----- -- [ Drupal support list | http://lists.drupal.org/ ] From earnie at users.sourceforge.net Tue Jul 28 16:03:37 2009 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Tue, 28 Jul 2009 16:03:37 +0000 Subject: [support] Organic Groups problem in 6.x - no admin access In-Reply-To: <52177C930FA90F4D9888B0343FDB79FBA58C8B@birch.evergreen.edu> References: <4A6D4433.607@mscis.org><52177C930FA90F4D9888B0343FDB79FBA58C84@birch.evergreen.edu> <4A6DD418.8010702@mscis.org> <52177C930FA90F4D9888B0343FDB79FBA58C8B@birch.evergreen.edu> Message-ID: <20090728160337.96962qxot7igrm80@mail.siebunlimited.com> David, I don't know if it is related. The issue is at http://drupal.org/node/473464. I've asked a clarifying question. Earnie Quoting "Metzler, David" <metzlerd at evergreen.edu>: > Access permissions are automatic for uid 1 (THE site admin), but not for > others, so if you're UID 1 then yes, you shouldn't need to grant > authenticated users or anonymous. I just wasn't sure whether you were > using that user. > > Sorry if I misunsterstood you regarding your contact methodology. Just > never hurts to be careful on this. It's unlike og maintainers to ignore > an issue.... > > Hmm... It's clear you've got something odd going on right now. I might > try deleteing cache and session tables if it were my site. Just cause > that's helped me with weird problems before (I admit that's flailing a > bit). > > Does this issue seem like it might be relavent? > > http://drupal.org/node/128306 > > Could you also send me the issue number that you logged? > > > Dave > > -----Original Message----- > From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On > Behalf Of Brandon Stout > Sent: Monday, July 27, 2009 9:22 AM > To: support at drupal.org > Subject: Re: [support] Organic Groups problem in 6.x - no admin access > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Metzler, David wrote: > >> You might try rebuilding permissions under >> Administer->Content->Post Settings. > > I just tried that, and it didn't fix the issue. Thank you for the idea. > >> Also, assuming you are a site admin, you might want to give yourself >> Administer Organic Groups permissions. > > Under User Permissions, I can give anonymous users and authenticated > users 'administer organic groups' permissions, but I think it should be > automatic for site admins - there is no column for site admins. Of > course I don't want to give all authenticated users this right, or > anonymous users. As an extra step, I added a new role, and gave it > 'administer organic groups' permissions, then gave my user that role, > and I still have the same issue. Am I looking in the wrong place? > >> Also you definitely want to be using the issue queue for OG if you're >> trying to get a problem solved. > > I have had this problem posted there for a long time with no response. > >> The best way is to find a someone else having the problem and pool >> recourses. Its not generally considered good form to go for the >> module maintainers via email first. File an issue at >> durpal.org/project/og, and use this list, of course. >> >> Dave > > I could not find anyone else with this issue, which is why I posted it > as a new one, and why I posted it as a support request instead of a bug > because nobody else has duplicated it. I didn't email any module > maintainers until the issue sat in their queue for a few months. Then I > emailed Moshe, I think, and now it's been a few more months with still > no response. > > Thank you for your help > > Brandon > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.9 (GNU/Linux) > Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org > > iEYEARECAAYFAkpt1BcACgkQx0pgn74qrcK4iQCeLar49djbYjrkFCbOQLUyZxJz > opcAn0c9KyT/WTgt9/Z+1cCFHdjMrvAT > =iQCN > -----END PGP SIGNATURE----- > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Earnie -- http://r-feed.com/ -- http://for-my-kids.com/ -- http://www.4offer.biz/ -- http://give-me-an-offer.com/ From bms at mscis.org Tue Jul 28 16:22:18 2009 From: bms at mscis.org (Brandon Stout) Date: Tue, 28 Jul 2009 10:22:18 -0600 Subject: [support] Organic Groups problem in 6.x - no admin access In-Reply-To: <52177C930FA90F4D9888B0343FDB79FBA58C8B@birch.evergreen.edu> References: <4A6D4433.607@mscis.org><52177C930FA90F4D9888B0343FDB79FBA58C84@birch.evergreen.edu> <4A6DD418.8010702@mscis.org> <52177C930FA90F4D9888B0343FDB79FBA58C8B@birch.evergreen.edu> Message-ID: <4A6F25BA.4080800@mscis.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Metzler, David wrote: > Access permissions are automatic for uid 1 (THE site admin), but not for > others, so if you're UID 1 then yes, you shouldn't need to grant > authenticated users or anonymous. I just wasn't sure whether you were > using that user. > Sorry if I misunsterstood you regarding your contact methodology. Just > never hurts to be careful on this. It's unlike og maintainers to ignore > an issue.... No worries, it is good to make sure people know the correct procedure to follow. > Hmm... It's clear you've got something odd going on right now. I might > try deleteing cache and session tables if it were my site. Just cause > that's helped me with weird problems before (I admit that's flailing a > bit). > > Does this issue seem like it might be relavent? > > http://drupal.org/node/128306 That seems different since it was not for the site admin. If it was ever patched, it probably doesn't apply since a patch would have been installed with one of my updates. > Could you also send me the issue number that you logged? http://drupal.org/node/473464 Thank you, Brandon -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkpvJboACgkQx0pgn74qrcLNoACfRQcEo+BtiOycEjo2mROvLbJm r6AAnjbNYobj347YpNF2GcQI+e4x6F1R =cNzF -----END PGP SIGNATURE----- From rotsen at gmail.com Tue Jul 28 21:01:48 2009 From: rotsen at gmail.com (=?ISO-8859-1?B?TulzdG9y?=) Date: Tue, 28 Jul 2009 14:01:48 -0700 Subject: [support] Taxonomy and the database Message-ID: <a304e2d60907281401o3a32c5bbg8ebf6fd198f5a5af@mail.gmail.com> Hi Drupalers, I am playing with taxonomy and I am looking at the database and I not able to tell how does the node table ties in with the vocabulary table. There is no field in the node table that tells me that the node is part of a category. How can I tell what type of vocabulary/term/category a node belongs to? Thanks, Nestor :-) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090728/93e6b053/attachment.htm> From killshot91 at comcast.net Tue Jul 28 21:07:08 2009 From: killshot91 at comcast.net (Steve Edwards) Date: Tue, 28 Jul 2009 14:07:08 -0700 Subject: [support] Taxonomy and the database In-Reply-To: <a304e2d60907281401o3a32c5bbg8ebf6fd198f5a5af@mail.gmail.com> References: <a304e2d60907281401o3a32c5bbg8ebf6fd198f5a5af@mail.gmail.com> Message-ID: <4A6F687C.30302@comcast.net> The nid (node id), tid (term id) and vid (vocabulary id) are linked together in the term_node table. Steve N?stor wrote: > Hi Drupalers, > > I am playing with taxonomy and I am looking at the database and I not > able to tell > how does the node table ties in with the vocabulary table. There is > no field > in the node table that tells me that the node is part of a category. > > How can I tell what type of vocabulary/term/category a node belongs to? > > Thanks, > > Nestor :-) > ------------------------------------------------------------------------ > > -- > [ Drupal support list | http://lists.drupal.org/ ] -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090728/90931fe3/attachment.htm> From damiansoriano at gmail.com Tue Jul 28 22:56:22 2009 From: damiansoriano at gmail.com (Damian Soriano) Date: Tue, 28 Jul 2009 19:56:22 -0300 Subject: [support] Ubercart and DHTML menu Message-ID: <5f60e29a0907281556m7c2eb62cma817a8f621c5f66c@mail.gmail.com> Hi! I am using Ubercart and DHTML Menu on Drupal 6. For the DHTML Menu I have the options "Animated sliding effect" and "Keep only one menu open at a time" selected. I create the following menu: A |--B | |--C | |--D |--E which is shown in a block and starts like A when first entering the web page (A is not expanded). If the items C, D and E points to a content or a view It works fine: When clicking A the item is expanded showing B and E; when clicking B, it shows C and D; and finally, when clicking C it goes to the correct link and the menu tree is still expanded (with the A and B items expanded). However, if the items C points to an Ubercart catalogue (ex: path catalog/12), when expanding the hole tree and clicking C, while it goes to the correct page, the menu tree is collapsed and only the A item is shown. I am not using a menu generated by Taxonomy Menu, nor the Ubercart product auto-generated menu, but a menu I created myself. Anyone has found the same problem, or know how can I make to have the tree structure preserved when entering a catalogue via a menu item? Thanks! Dami?n From workingivan at hotmail.com Wed Jul 29 04:33:02 2009 From: workingivan at hotmail.com (Ivan Working) Date: Wed, 29 Jul 2009 12:33:02 +0800 Subject: [support] Does Drupal support MySQL Cluster? Message-ID: <BAY108-W8E369110D01DF6257407ABE120@phx.gbl> Hello, I want to install Drupal with MySQL Cluster. Can Drupal be installed with MySQL Cluster? If not, does anybody know when will Drupal support MySQL Cluster? Thank you. Regards, Ivan _________________________________________________________________ With Windows Live, you can organize, edit, and share your photos. http://www.microsoft.com/singapore/windows/windowslive/products/photo-gallery-edit.aspx -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090729/c8df8348/attachment.htm> From earnie at users.sourceforge.net Wed Jul 29 13:06:46 2009 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Wed, 29 Jul 2009 13:06:46 +0000 Subject: [support] Does Drupal support MySQL Cluster? In-Reply-To: <BAY108-W8E369110D01DF6257407ABE120@phx.gbl> References: <BAY108-W8E369110D01DF6257407ABE120@phx.gbl> Message-ID: <20090729130646.165629ltkdcbj7vo@mail.siebunlimited.com> Quoting Ivan Working <workingivan at hotmail.com>: > > Hello, > > I want to install Drupal with MySQL Cluster. > > Can Drupal be installed with MySQL Cluster? > > If not, does anybody know when will Drupal support MySQL Cluster? > Drupal uses the PHP interface to MySQL. If MySQL Cluster works with PHP then it should work with Drupal. -- Earnie -- http://r-feed.com/ -- http://for-my-kids.com/ -- http://www.4offer.biz/ -- http://give-me-an-offer.com/ From emma.badger at chocolateteapot.net Wed Jul 29 13:11:34 2009 From: emma.badger at chocolateteapot.net (Emma Badger) Date: Wed, 29 Jul 2009 14:11:34 +0100 Subject: [support] Access denied/permissions Message-ID: <E8E1034A-AB74-4A32-AAE8-7094BA122C4C@chocolateteapot.net> I have a problem accessing content with the anonymous user. An example of the original URL for the content is /drupal/recruitment- overview and the anonymous user can see this page. The content is actually being accessed via a View (unrestricted access) from the URL /drupal/taxmenu/menu-ol-hlp/node/58/26 where 26 is the node ID. The admin user can see the content of /drupal/taxmenu/menu-ol-hlp/node/ 58/26 but the anonymous user gets You are not authorized to access this page. The anonymous user has 'access content' and 'access all views permissions'. If I give the anonymous user 'administer content types' permissions I can see the content of /drupal/taxmenu/menu-ol-hlp/node/ 58/26 without logging in, but this means that anyone can create content, which is not what I want. I don't think this is related to Views as if I rename the View the the administrator gets a blank page (I'm using taxonomy_treemenu where the View name is hard coded) where as the anonymous user continues to get You are not authorized to access this page. The You are not authorized to access this page message is coming from index.php. Does this mean that the system doesn't recognise the URL /drupal/ taxmenu/menu-ol-hlp/node/58/26 when I'm not logged in as admin as is in essence telling me that the page is not found? Are permissions associated to URLs in this way? I've tried using the Devel module to clear the cache and rebuild the treemenus. Using the Devel module to Collect query info and Display query log doesn't give me anything on /drupal/taxmenu/menu-ol-hlp/node/58/26 (although it seems to work elsewhere on the site) so I thought that maybe there was a redirect to this page so I switched on Display redirection page which still doesn't give anything. Looking at /drupal/recruitment-overview logged on as admin I get the Devel Access permissions by user box which shows Guest as view - yes update - no, delete - no, which is what I want. Looking at /drupal/ taxmenu/menu-ol-hlp/node/58/26 I don't get the Access permissions by user box. Any help would really be appreciated, thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090729/59bbbaf6/attachment.htm> From hovercrafter at earthlink.net Wed Jul 29 13:28:21 2009 From: hovercrafter at earthlink.net (Jamie Holly) Date: Wed, 29 Jul 2009 09:28:21 -0400 Subject: [support] Does Drupal support MySQL Cluster? In-Reply-To: <20090729130646.165629ltkdcbj7vo@mail.siebunlimited.com> References: <BAY108-W8E369110D01DF6257407ABE120@phx.gbl> <20090729130646.165629ltkdcbj7vo@mail.siebunlimited.com> Message-ID: <4A704E75.3050500@earthlink.net> Yeah Drupal will work with MySQL cluster, but its not very practical. Considering the number of tables in Drupal and how quickly datasets can grow you start seeing performance issues, plus you also need to keep dumping more memory into the cluster to store the tables. One thing you can do to help alleviate this is using an external caching mechanism like memcached to handle all Drupal's caching. A better solution (and one used by a lot of high traffic Drupal sites including Drupal.org) is to use database replication. Drupal doesn't support this out of the box (yet), but there are patches available that will make it work. Tag1 has a decent patch that I have used before without any problems: http://tag1consulting.com/patches#replication Jamie Holly http://www.intoxination.net http://www.hollyit.net Earnie Boyd wrote: > Quoting Ivan Working <workingivan at hotmail.com>: > > > > > Hello, > > > > I want to install Drupal with MySQL Cluster. > > > > Can Drupal be installed with MySQL Cluster? > > > > If not, does anybody know when will Drupal support MySQL Cluster? > > > > Drupal uses the PHP interface to MySQL. If MySQL Cluster works with > PHP then it should work with Drupal. > > -- > Earnie > -- http://r-feed.com/ -- http://for-my-kids.com/ > -- http://www.4offer.biz/ -- http://give-me-an-offer.com/ > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > From shai at content2zero.com Thu Jul 30 06:28:31 2009 From: shai at content2zero.com (Shai Gluskin) Date: Wed, 29 Jul 2009 23:28:31 -0700 Subject: [support] Upgrading from 4.5.5 to 6.13 Message-ID: <9f68efb70907292328i2441500br616b046a70c4fc3a@mail.gmail.com> Hi Gang, I'm bidding on a site upgrade which is currently running on Drupal 4.5.5. The good (actually great) news is that there are no non-core modules running except for the image module. I haven't had direct access to the db and the node content page isn't filterable by content type in 4.5, out of the 1280 nodes, I believe that fewer than 50 are images. I figure I'd upgrade to the last 4.5 release which was 4.5.8, then to 4.6.11, then to 4.7.11, 5.19, 6.13. The db is MySQL. There are 1280 nodes. There is one vocabulary with about 130 terms. No important blocks. It's running a minimally customized version of Bluemarine. But I'm throwing the theme out completely, anyway. Even though it is five upgrades, this looks like it will be simple. Am I deluding myself? Are there any gotchas that I'm not seeing? Any advice, especially about what I may not be thinking of, would be most appreciated. Thanks, Shai -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090729/414f5edc/attachment.htm> From victorkane at gmail.com Thu Jul 30 08:48:10 2009 From: victorkane at gmail.com (Victor Kane) Date: Thu, 30 Jul 2009 05:48:10 -0300 Subject: [support] Upgrading from 4.5.5 to 6.13 In-Reply-To: <9f68efb70907292328i2441500br616b046a70c4fc3a@mail.gmail.com> References: <9f68efb70907292328i2441500br616b046a70c4fc3a@mail.gmail.com> Message-ID: <ff176450907300148u118a21f0va641637f5c84ddee@mail.gmail.com> Should be a piece of cake! The only thing I would look for are possible dependencies on hosting weirdnesses in general and PHP 4 in particular, given the version throwback. Make sure you preserve a copy of the original instal (the whole shebang not just Drupal). What weirdness is in the .htaccess file? What weirdness is in the ./sites/default/settings.php file? Prefixed db? Victor Kane http://awebfactory.com.ar http://projectflowandtracker.com On Thu, Jul 30, 2009 at 3:28 AM, Shai Gluskin <shai at content2zero.com> wrote: > Hi Gang, > > I'm bidding on a site upgrade which is currently running on Drupal 4.5.5. > The good (actually great) news is that there are no non-core modules running > except for the image module. I haven't had direct access to the db and the > node content page isn't filterable by content type in 4.5, out of the 1280 > nodes, I believe that fewer than 50 are images. > > I figure I'd upgrade to the last 4.5 release which was 4.5.8, then to > 4.6.11, then to 4.7.11, 5.19, 6.13. > > The db is MySQL. There are 1280 nodes. There is one vocabulary with about > 130 terms. No important blocks. It's running a minimally customized version > of Bluemarine. But I'm throwing the theme out completely, anyway. > > Even though it is five upgrades, this looks like it will be simple. Am I > deluding myself? Are there any gotchas that I'm not seeing? Any advice, > especially about what I may not be thinking of, would be most appreciated. > > Thanks, > > Shai > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090730/593c42d1/attachment.htm> From earnie at users.sourceforge.net Thu Jul 30 12:52:16 2009 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Thu, 30 Jul 2009 12:52:16 +0000 Subject: [support] Upgrading from 4.5.5 to 6.13 In-Reply-To: <9f68efb70907292328i2441500br616b046a70c4fc3a@mail.gmail.com> References: <9f68efb70907292328i2441500br616b046a70c4fc3a@mail.gmail.com> Message-ID: <20090730125216.927965g619yami88@mail.siebunlimited.com> Quoting Shai Gluskin <shai at content2zero.com>: > > I figure I'd upgrade to the last 4.5 release which was 4.5.8, then to > 4.6.11, then to 4.7.11, 5.19, 6.13. > Here's what I did http://for-my-kids.com/Upgrading-Drupal. -- Earnie -- http://r-feed.com/ -- http://for-my-kids.com/ -- http://www.4offer.biz/ -- http://give-me-an-offer.com/ From bill at funnymonkey.com Thu Jul 30 14:28:20 2009 From: bill at funnymonkey.com (Bill Fitzgerald) Date: Thu, 30 Jul 2009 07:28:20 -0700 Subject: [support] Upgrading from 4.5.5 to 6.13 In-Reply-To: <9f68efb70907292328i2441500br616b046a70c4fc3a@mail.gmail.com> References: <9f68efb70907292328i2441500br616b046a70c4fc3a@mail.gmail.com> Message-ID: <4A71AE04.2020202@funnymonkey.com> Hello, Shai, In the interests of protecting both you and your client from the surprises that will likely be lurking within either the data, the hosting config, or the content, I would be very clear that your initial bid represents an estimate, but that the actual hours for the job can only really be known when you start interacting with the data (aka, doing the work). In some cases, we treat upgrades from older versions more like data migrations than upgrades. It depends on the job, and the amount of data, but sometimes that can be a useful context for the work. I would also ask what the client wants to gain from the upgrade. Do they just want to preserve the existing functionality within an updated codebase, or do they want to begin to leverage some of the architectural improvements that are possible with D6 (like, for example, moving from Image to Filefield/Imagefield/CCK)? My .02. Cheers, Bill Shai Gluskin wrote: > Hi Gang, > > I'm bidding on a site upgrade which is currently running on Drupal > 4.5.5. The good (actually great) news is that there are no non-core > modules running except for the image module. I haven't had direct access > to the db and the node content page isn't filterable by content type in > 4.5, out of the 1280 nodes, I believe that fewer than 50 are images. > > I figure I'd upgrade to the last 4.5 release which was 4.5.8, then to > 4.6.11, then to 4.7.11, 5.19, 6.13. > > The db is MySQL. There are 1280 nodes. There is one vocabulary with > about 130 terms. No important blocks. It's running a minimally > customized version of Bluemarine. But I'm throwing the theme out > completely, anyway. > > Even though it is five upgrades, this looks like it will be simple. Am I > deluding myself? Are there any gotchas that I'm not seeing? Any advice, > especially about what I may not be thinking of, would be most appreciated. > > Thanks, > > Shai > > > ------------------------------------------------------------------------ > > -- > [ Drupal support list | http://lists.drupal.org/ ] From cxjohnson at gmail.com Thu Jul 30 14:43:33 2009 From: cxjohnson at gmail.com (Chris Johnson) Date: Thu, 30 Jul 2009 09:43:33 -0500 Subject: [support] Upgrading from 4.5.5 to 6.13 In-Reply-To: <4A71AE04.2020202@funnymonkey.com> References: <9f68efb70907292328i2441500br616b046a70c4fc3a@mail.gmail.com> <4A71AE04.2020202@funnymonkey.com> Message-ID: <9ea8d6030907300743o3ff77555s635a4a017ed45ef4@mail.gmail.com> I did roughly the same migration for a small civic-action group's site I maintain. I had problems with large pieces of content in nodes disappearing because of a subtle change some place in character set handling. The MySQL database software was not changed; the hosting company was the same through out. I also had some other problem (don't recall the specifics as it was more than a year ago), which necessitated me redoing the entire chain migration over. Be sure you keep backups of each step along the way! The upshot is that although in theory it should be very simple, you may well hit unexpected snags. Be prepared to have to spend many extra hours fixing them. Good luck. ..chris On Thu, Jul 30, 2009 at 9:28 AM, Bill Fitzgerald<bill at funnymonkey.com> wrote: > Hello, Shai, > > In the interests of protecting both you and your client from the surprises > that will likely be lurking within either the data, the hosting config, or > the content, I would be very clear that your initial bid represents an > estimate, but that the actual hours for the job can only really be known > when you start interacting with the data (aka, doing the work). > > In some cases, we treat upgrades from older versions more like data > migrations than upgrades. It depends on the job, and the amount of data, but > sometimes that can be a useful context for the work. > > I would also ask what the client wants to gain from the upgrade. Do they > just want to preserve the existing functionality within an updated codebase, > or do they want to begin to leverage some of the architectural ?improvements > that are possible with D6 (like, for example, moving from Image to > Filefield/Imagefield/CCK)? > > My .02. > > Cheers, > > Bill > > Shai Gluskin wrote: >> >> Hi Gang, >> >> I'm bidding on a site upgrade which is currently running on Drupal 4.5.5. >> The good (actually great) news is that there are no non-core modules running >> except for the image module. I haven't had direct access to the db and the >> node content page isn't filterable by content type in 4.5, out of the 1280 >> nodes, I believe that fewer than 50 are images. >> >> I figure I'd upgrade to the last 4.5 release which was 4.5.8, then to >> 4.6.11, then to 4.7.11, 5.19, 6.13. >> >> The db is MySQL. There are 1280 nodes. There is one vocabulary with about >> 130 terms. No important blocks. It's running a minimally customized version >> of Bluemarine. But I'm throwing the theme out completely, anyway. >> >> Even though it is five upgrades, this looks like it will be simple. Am I >> deluding myself? Are there any gotchas that I'm not seeing? Any advice, >> especially about what I may not be thinking of, would be most appreciated. >> >> Thanks, >> >> Shai >> >> >> ------------------------------------------------------------------------ >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From victorkane at gmail.com Thu Jul 30 14:47:30 2009 From: victorkane at gmail.com (Victor Kane) Date: Thu, 30 Jul 2009 11:47:30 -0300 Subject: [support] Upgrading from 4.5.5 to 6.13 In-Reply-To: <9ea8d6030907300743o3ff77555s635a4a017ed45ef4@mail.gmail.com> References: <9f68efb70907292328i2441500br616b046a70c4fc3a@mail.gmail.com> <4A71AE04.2020202@funnymonkey.com> <9ea8d6030907300743o3ff77555s635a4a017ed45ef4@mail.gmail.com> Message-ID: <ff176450907300747h4de4cf9bk4c6b657bb7f1af92@mail.gmail.com> Yeah! Which version of MySql is running on the legacy site. You might need to export the db contents in a newer version. You can easily check that out, though, with a quick test (if you can easily move the existing site to a modern setup, you should be ok). If you can't test the data you should find out what the host is running. But the fact that you say there are no modules other than image (assuming no encoding problems on the filenames also) and only 1200 nodes leads me to believe it is relatively straightforward. Victor Kane http://awebfactory.com.ar On Thu, Jul 30, 2009 at 11:43 AM, Chris Johnson <cxjohnson at gmail.com> wrote: > I did roughly the same migration for a small civic-action group's site > I maintain. I had problems with large pieces of content in nodes > disappearing because of a subtle change some place in character set > handling. The MySQL database software was not changed; the hosting > company was the same through out. > > I also had some other problem (don't recall the specifics as it was > more than a year ago), which necessitated me redoing the entire chain > migration over. Be sure you keep backups of each step along the way! > > The upshot is that although in theory it should be very simple, you > may well hit unexpected snags. Be prepared to have to spend many > extra hours fixing them. > > Good luck. > > ..chris > > On Thu, Jul 30, 2009 at 9:28 AM, Bill Fitzgerald<bill at funnymonkey.com> > wrote: > > Hello, Shai, > > > > In the interests of protecting both you and your client from the > surprises > > that will likely be lurking within either the data, the hosting config, > or > > the content, I would be very clear that your initial bid represents an > > estimate, but that the actual hours for the job can only really be known > > when you start interacting with the data (aka, doing the work). > > > > In some cases, we treat upgrades from older versions more like data > > migrations than upgrades. It depends on the job, and the amount of data, > but > > sometimes that can be a useful context for the work. > > > > I would also ask what the client wants to gain from the upgrade. Do they > > just want to preserve the existing functionality within an updated > codebase, > > or do they want to begin to leverage some of the architectural > improvements > > that are possible with D6 (like, for example, moving from Image to > > Filefield/Imagefield/CCK)? > > > > My .02. > > > > Cheers, > > > > Bill > > > > Shai Gluskin wrote: > >> > >> Hi Gang, > >> > >> I'm bidding on a site upgrade which is currently running on Drupal > 4.5.5. > >> The good (actually great) news is that there are no non-core modules > running > >> except for the image module. I haven't had direct access to the db and > the > >> node content page isn't filterable by content type in 4.5, out of the > 1280 > >> nodes, I believe that fewer than 50 are images. > >> > >> I figure I'd upgrade to the last 4.5 release which was 4.5.8, then to > >> 4.6.11, then to 4.7.11, 5.19, 6.13. > >> > >> The db is MySQL. There are 1280 nodes. There is one vocabulary with > about > >> 130 terms. No important blocks. It's running a minimally customized > version > >> of Bluemarine. But I'm throwing the theme out completely, anyway. > >> > >> Even though it is five upgrades, this looks like it will be simple. Am I > >> deluding myself? Are there any gotchas that I'm not seeing? Any advice, > >> especially about what I may not be thinking of, would be most > appreciated. > >> > >> Thanks, > >> > >> Shai > >> > >> > >> ------------------------------------------------------------------------ > >> > >> -- > >> [ 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/20090730/71696f9e/attachment-0001.htm> From bill at funnymonkey.com Thu Jul 30 16:28:34 2009 From: bill at funnymonkey.com (Bill Fitzgerald) Date: Thu, 30 Jul 2009 09:28:34 -0700 Subject: [support] Upgrading from 4.5.5 to 6.13 In-Reply-To: <ff176450907300747h4de4cf9bk4c6b657bb7f1af92@mail.gmail.com> References: <9f68efb70907292328i2441500br616b046a70c4fc3a@mail.gmail.com> <4A71AE04.2020202@funnymonkey.com> <9ea8d6030907300743o3ff77555s635a4a017ed45ef4@mail.gmail.com> <ff176450907300747h4de4cf9bk4c6b657bb7f1af92@mail.gmail.com> Message-ID: <4A71CA32.3090107@funnymonkey.com> Victor Kane wrote: > > > But the fact that you say there are no modules other than image > (assuming no encoding problems on the filenames also) and only 1200 > nodes leads me to believe it is relatively straightforward. > We don't call him Victor "The Glass is Half Full" Kane for nothing :) Victor is probably right, but I still urge you to exercise caution. There are so many fringe cases that could pop up, and you won't see many of them until they bring your export process to a grinding halt. But, with 1200 nodes, you could probably contract with someone to do data entry for less than what it would cost to script around fringe cases. Cheers, Bill From shai at content2zero.com Thu Jul 30 16:32:56 2009 From: shai at content2zero.com (Shai Gluskin) Date: Thu, 30 Jul 2009 09:32:56 -0700 Subject: [support] Upgrading from 4.5.5 to 6.13 In-Reply-To: <4A71CA32.3090107@funnymonkey.com> References: <9f68efb70907292328i2441500br616b046a70c4fc3a@mail.gmail.com> <4A71AE04.2020202@funnymonkey.com> <9ea8d6030907300743o3ff77555s635a4a017ed45ef4@mail.gmail.com> <ff176450907300747h4de4cf9bk4c6b657bb7f1af92@mail.gmail.com> <4A71CA32.3090107@funnymonkey.com> Message-ID: <9f68efb70907300932l4a213cb8o5b3d2ef6a5bb3983@mail.gmail.com> Victor, Bill, Earnie, Thank you guys so much. The potential client is going to give me server access so I'll have more solid information later and check back in. I appreciate both, "the cup half full" and cautionary approaches! Shai On Thu, Jul 30, 2009 at 9:28 AM, Bill Fitzgerald <bill at funnymonkey.com>wrote: > Victor Kane wrote: > >> >> >> But the fact that you say there are no modules other than image (assuming >> no encoding problems on the filenames also) and only 1200 nodes leads me to >> believe it is relatively straightforward. >> >> > We don't call him Victor "The Glass is Half Full" Kane for nothing :) > > Victor is probably right, but I still urge you to exercise caution. There > are so many fringe cases that could pop up, and you won't see many of them > until they bring your export process to a grinding halt. > > But, with 1200 nodes, you could probably contract with someone to do data > entry for less than what it would cost to script around fringe cases. > > Cheers, > > Bill > > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090730/8b4cddbb/attachment.htm> From skessler at denverdataman.com Thu Jul 30 17:28:01 2009 From: skessler at denverdataman.com (Steve Kessler) Date: Thu, 30 Jul 2009 11:28:01 -0600 Subject: [support] Comments needing approval block Message-ID: <02c701ca113b$17487e50$45d97af0$@com> I am trying to create a block of comments that need approval. I have tried many iterations of ways to do this and I cannot figure it out. I would like to do this with views. If anyone can give me a suggestion I would appreciate it. Thanks, Steve Steve Kessler Denver DataMan 303-587-4428 <http://www.denverdataman.com/content/enewsletter-signup> Sign up for the Denver DataMan Free eNewsletter -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090730/2b1cd7d7/attachment.htm> From neil at esl-lounge.com Thu Jul 30 17:46:29 2009 From: neil at esl-lounge.com (Neil Coghlan) Date: Thu, 30 Jul 2009 14:46:29 -0300 Subject: [support] Comments needing approval block References: <02c701ca113b$17487e50$45d97af0$@com> Message-ID: <7EFC4C17D22141B9A24C80CD23723455@Neil> this is what I have in a block, alongside some other stats: <b><span style="color:red;"><?php $count_unpub_comm_tot = db_result(db_query("SELECT COUNT(cid) FROM {comments} WHERE `status` = 1")); echo $count_unpub_comm_tot; ?></span></b> <b>Un</b>published Comments with Views, I imagine it would be even easier, no? Just use unpublished filter. Preferred to roll my own though. Neil ----- Original Message ----- From: Steve Kessler To: support at drupal.org Sent: Thursday, July 30, 2009 2:28 PM Subject: [support] Comments needing approval block I am trying to create a block of comments that need approval. I have tried many iterations of ways to do this and I cannot figure it out. I would like to do this with views. If anyone can give me a suggestion I would appreciate it. Thanks, Steve Steve Kessler Denver DataMan 303-587-4428 Sign up for the Denver DataMan Free eNewsletter ------------------------------------------------------------------------------ -- [ Drupal support list | http://lists.drupal.org/ ] -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090730/43e7b77d/attachment.htm> From sivaji2009 at gmail.com Thu Jul 30 17:54:26 2009 From: sivaji2009 at gmail.com (sivaji j.g) Date: Thu, 30 Jul 2009 23:24:26 +0530 Subject: [support] [development] Import data from excel into drupal In-Reply-To: <7e4b6dfa0907301014k34d4cf48r5272352e86f9bebb@mail.gmail.com> References: <7e4b6dfa0907301014k34d4cf48r5272352e86f9bebb@mail.gmail.com> Message-ID: <fce946780907301054t5c3a7b5bla1c717647f62d093@mail.gmail.com> 2009/7/30 Gast?n Pablo P?rez <gpperez at gmail.com> > Hi! > This is developer mailing list, for support questions use support at drupal.org > I would like implement a functionality in a web site for able to upload an > excel file, with a determined format, and then, I want to generate nodes > with this information. > Exists a module or a medium to do that? or how can i insert data into > drupal database from an excel file? node_import may help you refer http://drupal.org/project/node_import > -- Thanks Sivaji -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090730/c4d0315e/attachment.htm> From drupal at lists.tacticus.com Thu Jul 30 19:39:12 2009 From: drupal at lists.tacticus.com (Luke) Date: Thu, 30 Jul 2009 15:39:12 -0400 (EDT) Subject: [support] OT: color swatches for drupal Message-ID: <Pine.LNX.4.64.0907301532510.5001@gube.gnpgvphfpbzzhavpngvbaf.arg> Hello This is probably OT, unless there is a Drupal way to do this. For a client, I am designing a Drupal and UC based site. Some of the products require the buyer to choose a color from a specific range (think carpets and such). On their previous hand-coded site, they had a little tool into which they could enter a hex RGB value, and the site would show the color (one for each color option). I was thinking that a better way might be to provide a gif or jpg image for each color, using the UC option images module. However, how to generate those images, which would essentially be little blocks of solid color, is the question which is plaguing me. Surely this is not a unique problem. I found closed source Windows based programs (ColorImpact, for example) which claim some such capability, but not only does that seem like overkill, it seems as if there should be some simple way to go about this using an open source option. Ideas? Thanks Luke From monk at cafelug.org.ar Thu Jul 30 20:05:16 2009 From: monk at cafelug.org.ar (Leandro Monk) Date: Thu, 30 Jul 2009 17:05:16 -0300 Subject: [support] OT: color swatches for drupal In-Reply-To: <Pine.LNX.4.64.0907301532510.5001@gube.gnpgvphfpbzzhavpngvbaf.arg> References: <Pine.LNX.4.64.0907301532510.5001@gube.gnpgvphfpbzzhavpngvbaf.arg> Message-ID: <4A71FCFC.4060601@cafelug.org.ar> Luke escribi?, El 30/07/09 16:39: > Hello > > This is probably OT, unless there is a Drupal way to do this. > > For a client, I am designing a Drupal and UC based site. Some of the > products require the buyer to choose a color from a specific range (think > carpets and such). > > On their previous hand-coded site, they had a little tool into which they > could enter a hex RGB value, and the site would show the color (one for > each color option). > > I was thinking that a better way might be to provide a gif or jpg image > for each color, using the UC option images module. > > However, how to generate those images, which would essentially be little > blocks of solid color, is the question which is plaguing me. > > Surely this is not a unique problem. > > I found closed source Windows based programs (ColorImpact, for example) > which claim some such capability, but not only does that seem like > overkill, it seems as if there should be some simple way to go about this > using an open source option. > > Ideas? > > Thanks > > Luke > -- > [ Drupal support list | http://lists.drupal.org/ ] > > http://www.ubercart.org/docs/user/3340/product_attributes_and_options Regards -- LeitoMonk From skessler at denverdataman.com Thu Jul 30 20:19:57 2009 From: skessler at denverdataman.com (Steve Kessler) Date: Thu, 30 Jul 2009 14:19:57 -0600 Subject: [support] Comments needing approval block In-Reply-To: <7EFC4C17D22141B9A24C80CD23723455@Neil> References: <02c701ca113b$17487e50$45d97af0$@com> <7EFC4C17D22141B9A24C80CD23723455@Neil> Message-ID: <031901ca1153$1c648d30$552da790$@com> Thank you very much. There does not appear to be published/unpublished toggle available in views. Thanks, Steve Steve Kessler Denver DataMan 303-587-4428 Sign up for the <http://www.denverdataman.com/content/enewsletter-signup> Denver DataMan Free eNewsletter From: Neil Coghlan [mailto:neil at esl-lounge.com] Sent: Thursday, July 30, 2009 11:46 AM To: support at drupal.org Subject: Re: [support] Comments needing approval block this is what I have in a block, alongside some other stats: <b><span style="color:red;"><?php $count_unpub_comm_tot = db_result(db_query("SELECT COUNT(cid) FROM {comments} WHERE `status` = 1")); echo $count_unpub_comm_tot; ?></span></b> <b>Un</b>published Comments with Views, I imagine it would be even easier, no? Just use unpublished filter. Preferred to roll my own though. Neil ----- Original Message ----- From: Steve Kessler <mailto:skessler at denverdataman.com> To: support at drupal.org Sent: Thursday, July 30, 2009 2:28 PM Subject: [support] Comments needing approval block I am trying to create a block of comments that need approval. I have tried many iterations of ways to do this and I cannot figure it out. I would like to do this with views. If anyone can give me a suggestion I would appreciate it. Thanks, Steve Steve Kessler Denver DataMan 303-587-4428 Sign up for the <http://www.denverdataman.com/content/enewsletter-signup> Denver DataMan Free eNewsletter _____ -- [ Drupal support list | http://lists.drupal.org/ ] -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090730/a0fd1765/attachment.htm> From drupal at lists.tacticus.com Thu Jul 30 20:28:36 2009 From: drupal at lists.tacticus.com (Luke) Date: Thu, 30 Jul 2009 16:28:36 -0400 (EDT) Subject: [support] OT: color swatches for drupal In-Reply-To: <4A71FCFC.4060601@cafelug.org.ar> References: <Pine.LNX.4.64.0907301532510.5001@gube.gnpgvphfpbzzhavpngvbaf.arg> <4A71FCFC.4060601@cafelug.org.ar> Message-ID: <Pine.LNX.4.64.0907301623350.5001@gube.gnpgvphfpbzzhavpngvbaf.arg> I am aware of how to implement attributes and options. I need to enable the user to choose between a list of around a hundred color options for a particular product. They need to be able to see an actual approximation of each of those colors. The former site did this with a table. The background of a cell was styled to the desired color, and the link to the product was given a 25X25PX transparent image, to allow the background to be viewed. That is not only browser dependent (among other things), it would be difficult to do, unless I create a view for each product, and even then it may not be enough. So I thought I could find a way to generate actual color pictures to use with the UC option images module. However, I've not any idea how to generate those color pictures. Luke On Thu, 30 Jul 2009, Leandro Monk wrote: > Luke escribi?, El 30/07/09 16:39: > > Hello > > > > This is probably OT, unless there is a Drupal way to do this. > > > > For a client, I am designing a Drupal and UC based site. Some of the > > products require the buyer to choose a color from a specific range (think > > carpets and such). > > > > On their previous hand-coded site, they had a little tool into which they > > could enter a hex RGB value, and the site would show the color (one for > > each color option). > > > > I was thinking that a better way might be to provide a gif or jpg image > > for each color, using the UC option images module. > > > > However, how to generate those images, which would essentially be little > > blocks of solid color, is the question which is plaguing me. > > > > Surely this is not a unique problem. > > > > I found closed source Windows based programs (ColorImpact, for example) > > which claim some such capability, but not only does that seem like > > overkill, it seems as if there should be some simple way to go about this > > using an open source option. > > > > Ideas? > > > > Thanks > > > > Luke > > -- > > [ Drupal support list | http://lists.drupal.org/ ] > > > > > http://www.ubercart.org/docs/user/3340/product_attributes_and_options > > Regards > > -- > LeitoMonk > -- > [ Drupal support list | http://lists.drupal.org/ ] > From fredthejonester at gmail.com Thu Jul 30 21:50:12 2009 From: fredthejonester at gmail.com (Fred Jones) Date: Fri, 31 Jul 2009 00:50:12 +0300 Subject: [support] OT: color swatches for drupal In-Reply-To: <Pine.LNX.4.64.0907301532510.5001@gube.gnpgvphfpbzzhavpngvbaf.arg> References: <Pine.LNX.4.64.0907301532510.5001@gube.gnpgvphfpbzzhavpngvbaf.arg> Message-ID: <177c0a10907301450n37a15b9dud03dd639680816cc@mail.gmail.com> > I found closed source Windows based programs (ColorImpact, for example) > which claim some such capability, but not only does that seem like > overkill, it seems as if there should be some simple way to go about this > using an open source option. closed source: http://www.iconico.com/colorPop/ seems like open source--he anyway provides the source code there: http://www.asahi-net.or.jp/~FX6M-FJMY/java09e.html HTH From hovercrafter at earthlink.net Thu Jul 30 22:01:49 2009 From: hovercrafter at earthlink.net (Jamie Holly) Date: Thu, 30 Jul 2009 18:01:49 -0400 Subject: [support] OT: color swatches for drupal In-Reply-To: <Pine.LNX.4.64.0907301623350.5001@gube.gnpgvphfpbzzhavpngvbaf.arg> References: <Pine.LNX.4.64.0907301532510.5001@gube.gnpgvphfpbzzhavpngvbaf.arg> <4A71FCFC.4060601@cafelug.org.ar> <Pine.LNX.4.64.0907301623350.5001@gube.gnpgvphfpbzzhavpngvbaf.arg> Message-ID: <4A72184D.2030907@earthlink.net> Luke wrote: > I am aware of how to implement attributes and options. > > I need to enable the user to choose between a list of around a hundred > color options for a particular product. > They need to be able to see an actual approximation of each of those > colors. > > The former site did this with a table. The background of a cell was > styled to the desired color, and the link to the product was given a > 25X25PX transparent image, to allow the background to be viewed. > That is not only browser dependent (among other things), it would be > difficult to do, unless I create a view for each product, and even then > it may not be enough. > > So I thought I could find a way to generate actual color pictures to use > with the UC option images module. > > However, I've not any idea how to generate those color pictures. > > Luke > > > Making the images with PHP/GD wouldn't be complicated. Just look through and array of the colors you want, create the block then output it with the color's hex value as the filename. If not that then you would need some graphics program that has scripting in it, like newer versions of Paint Shop Pro. Of course a better solution might be to use something like the Jquery Color Picker to have them select the color: http://www.eyecon.ro/colorpicker/ Jamie Holly http://www.intoxination.net http://www.hollyit.net From william.darren at gmail.com Thu Jul 30 22:09:50 2009 From: william.darren at gmail.com (William Smith) Date: Thu, 30 Jul 2009 18:09:50 -0400 Subject: [support] OT: color swatches for drupal In-Reply-To: <4A72184D.2030907@earthlink.net> References: <Pine.LNX.4.64.0907301532510.5001@gube.gnpgvphfpbzzhavpngvbaf.arg> <4A71FCFC.4060601@cafelug.org.ar> <Pine.LNX.4.64.0907301623350.5001@gube.gnpgvphfpbzzhavpngvbaf.arg> <4A72184D.2030907@earthlink.net> Message-ID: <74630ca20907301509k6bd0c1eag7e4ec325730c3f69@mail.gmail.com> There's also the CCK colorpicker (http://drupal.org/project/colorpicker) although it has been in various states of brokenness since the 6.x release. I'm not sure of its current status. On Thu, Jul 30, 2009 at 6:01 PM, Jamie Holly <hovercrafter at earthlink.net>wrote: > > Luke wrote: > >> I am aware of how to implement attributes and options. >> >> I need to enable the user to choose between a list of around a hundred >> color options for a particular product. >> They need to be able to see an actual approximation of each of those >> colors. >> >> The former site did this with a table. The background of a cell was >> styled to the desired color, and the link to the product was given a 25X25PX >> transparent image, to allow the background to be viewed. >> That is not only browser dependent (among other things), it would be >> difficult to do, unless I create a view for each product, and even then it >> may not be enough. >> >> So I thought I could find a way to generate actual color pictures to use >> with the UC option images module. >> >> However, I've not any idea how to generate those color pictures. >> >> Luke >> >> >> > Making the images with PHP/GD wouldn't be complicated. Just look through > and array of the colors you want, create the block then output it with the > color's hex value as the filename. If not that then you would need some > graphics program that has scripting in it, like newer versions of Paint Shop > Pro. > > Of course a better solution might be to use something like the Jquery Color > Picker to have them select the color: > > http://www.eyecon.ro/colorpicker/ > > Jamie Holly > http://www.intoxination.net http://www.hollyit.net > > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090730/5a5274ba/attachment.htm> From r.cahilig at gmail.com Thu Jul 30 22:48:38 2009 From: r.cahilig at gmail.com (Richard R. Cahilig) Date: Thu, 30 Jul 2009 23:48:38 +0100 Subject: [support] Hide block in teaser Message-ID: <4A722346.9030902@gmail.com> Hello, I created a block and assigned it to a custom region I created and embed in node.tpl.php. The problem is the block is showing in the teaser. Please help me how to hide the block on the teaser. Please check the website here <http://www.cahilig.org>. Regards, Richard R. Cahilig -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090730/5f297009/attachment.htm> From hovercrafter at earthlink.net Thu Jul 30 22:56:47 2009 From: hovercrafter at earthlink.net (Jamie Holly) Date: Thu, 30 Jul 2009 18:56:47 -0400 Subject: [support] Hide block in teaser In-Reply-To: <4A722346.9030902@gmail.com> References: <4A722346.9030902@gmail.com> Message-ID: <4A72252F.7000206@earthlink.net> An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090730/586edb7f/attachment.htm> From gmcabral at gmail.com Thu Jul 30 23:05:17 2009 From: gmcabral at gmail.com (Gustavo Cabral) Date: Thu, 30 Jul 2009 20:05:17 -0300 Subject: [support] Import data or create nodes from Excel Message-ID: <d7d365700907301605j35cdbcd7mcc890dc19e92dca1@mail.gmail.com> Hi! I would like implement a functionality in a web site for able to upload an excel file, with a determined format, and then, I want to generate nodes with this information. Exists a module or a medium to do that? or how can i insert data into drupal database from an excel file? thanks a lot From r.cahilig at gmail.com Thu Jul 30 23:15:10 2009 From: r.cahilig at gmail.com (Richard R. Cahilig) Date: Fri, 31 Jul 2009 00:15:10 +0100 Subject: [support] Hide block in teaser In-Reply-To: <4A72252F.7000206@earthlink.net> References: <4A722346.9030902@gmail.com> <4A72252F.7000206@earthlink.net> Message-ID: <4A72297E.1080705@gmail.com> Hello, Thanks a lot. It works. Regards, Richard R. Cahilig On 07/30/2009 11:56 PM, Jamie Holly wrote: > <?php endif; ?> From tech4him at gmail.com Fri Jul 31 00:35:45 2009 From: tech4him at gmail.com (Tom Lucas) Date: Thu, 30 Jul 2009 19:35:45 -0500 Subject: [support] Import data or create nodes from Excel In-Reply-To: <d7d365700907301605j35cdbcd7mcc890dc19e92dca1@mail.gmail.com> References: <d7d365700907301605j35cdbcd7mcc890dc19e92dca1@mail.gmail.com> Message-ID: <ae663adf0907301735n26d45be2l945423398bed3302@mail.gmail.com> Hi. Take a look at the node_import module. We use it on a number of sites to do mass import of nodes for club and event listings. Still has some nuances to it but overall it gets the job done. http://drupal.org/project/node_import Blessings, Tom On Thu, Jul 30, 2009 at 6:05 PM, Gustavo Cabral <gmcabral at gmail.com> wrote: > Hi! > > I would like implement a functionality in a web site for able to > upload an excel file, with a determined format, and then, I want to > generate nodes with this information. > Exists a module or a medium to do that? or how can i insert data into > drupal database from an excel file? > > thanks a lot > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090730/9c0d1b3e/attachment.htm> From workingivan at hotmail.com Fri Jul 31 01:33:50 2009 From: workingivan at hotmail.com (Ivan Working) Date: Fri, 31 Jul 2009 09:33:50 +0800 Subject: [support] Does Drupal support MySQL Cluster? In-Reply-To: <mailman.16730.1248874124.17128.support@drupal.org> References: <mailman.16730.1248874124.17128.support@drupal.org> Message-ID: <BAY108-W5195BAA46F64F65E723FEBBE100@phx.gbl> Thanks a lot for the patch! Have you used this patch on production server? Regards, Ivan > Date: Wed, 29 Jul 2009 09:28:21 -0400 > From: Jamie Holly <hovercrafter at earthlink.net> > Subject: Re: [support] Does Drupal support MySQL Cluster? > To: support at drupal.org > Message-ID: <4A704E75.3050500 at earthlink.net> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Yeah Drupal will work with MySQL cluster, but its not very practical. > Considering the number of tables in Drupal and how quickly datasets can > grow you start seeing performance issues, plus you also need to keep > dumping more memory into the cluster to store the tables. One thing you > can do to help alleviate this is using an external caching mechanism > like memcached to handle all Drupal's caching. > > A better solution (and one used by a lot of high traffic Drupal sites > including Drupal.org) is to use database replication. Drupal doesn't > support this out of the box (yet), but there are patches available that > will make it work. Tag1 has a decent patch that I have used before > without any problems: > > http://tag1consulting.com/patches#replication > > Jamie Holly > http://www.intoxination.net > http://www.hollyit.net > > > > Earnie Boyd wrote: > > Quoting Ivan Working <workingivan at hotmail.com>: > > > > > > > > Hello, > > > > > > I want to install Drupal with MySQL Cluster. > > > > > > Can Drupal be installed with MySQL Cluster? > > > > > > If not, does anybody know when will Drupal support MySQL Cluster? > > > > > > > Drupal uses the PHP interface to MySQL. If MySQL Cluster works with > > PHP then it should work with Drupal. > > > > -- > > Earnie > > -- http://r-feed.com/ -- http://for-my-kids.com/ > > -- http://www.4offer.biz/ -- http://give-me-an-offer.com/ > > > > > > -- > > [ Drupal support list | http://lists.drupal.org/ ] > > > > > > > ------------------------------ > > -- > [ Drupal support list | http://list.drupal.org/ ] > > End of support Digest, Vol 79, Issue 34 > *************************************** _________________________________________________________________ More than messages?check out the rest of the Windows Live?. http://www.microsoft.com/windows/windowslive/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090731/fa9b882d/attachment-0001.htm> From shai at content2zero.com Fri Jul 31 07:23:46 2009 From: shai at content2zero.com (Shai Gluskin) Date: Fri, 31 Jul 2009 00:23:46 -0700 Subject: [support] Upgrading from 4.5.5 to 6.13 In-Reply-To: <9f68efb70907300932l4a213cb8o5b3d2ef6a5bb3983@mail.gmail.com> References: <9f68efb70907292328i2441500br616b046a70c4fc3a@mail.gmail.com> <4A71AE04.2020202@funnymonkey.com> <9ea8d6030907300743o3ff77555s635a4a017ed45ef4@mail.gmail.com> <ff176450907300747h4de4cf9bk4c6b657bb7f1af92@mail.gmail.com> <4A71CA32.3090107@funnymonkey.com> <9f68efb70907300932l4a213cb8o5b3d2ef6a5bb3983@mail.gmail.com> Message-ID: <9f68efb70907310023r5e08d91fr62ce78912ac45262@mail.gmail.com> Update, PHP is 4.4.9 and MySQL is 5.0.41 which is good news. Still poking around. What took me longest so far was locating the password to the db. Found it in includes/conf.php. No settings.php back in the 4.5 days. I'm a newbie at three years :) I'll keep you posted. Again, thanks for the help. Shai On Thu, Jul 30, 2009 at 9:32 AM, Shai Gluskin <shai at content2zero.com> wrote: > Victor, Bill, Earnie, > > Thank you guys so much. > > The potential client is going to give me server access so I'll have more > solid information later and check back in. > > I appreciate both, "the cup half full" and cautionary approaches! > > Shai > > On Thu, Jul 30, 2009 at 9:28 AM, Bill Fitzgerald <bill at funnymonkey.com>wrote: > >> Victor Kane wrote: >> >>> >>> >>> But the fact that you say there are no modules other than image (assuming >>> no encoding problems on the filenames also) and only 1200 nodes leads me to >>> believe it is relatively straightforward. >>> >>> >> We don't call him Victor "The Glass is Half Full" Kane for nothing :) >> >> Victor is probably right, but I still urge you to exercise caution. There >> are so many fringe cases that could pop up, and you won't see many of them >> until they bring your export process to a grinding halt. >> >> But, with 1200 nodes, you could probably contract with someone to do data >> entry for less than what it would cost to script around fringe cases. >> >> Cheers, >> >> Bill >> >> >> >> >> -- >> [ Drupal support list | http://lists.drupal.org/ ] >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090731/391adcd5/attachment.htm> From drupal at lists.tacticus.com Thu Jul 30 21:02:30 2009 From: drupal at lists.tacticus.com (Luke) Date: Thu, 30 Jul 2009 17:02:30 -0400 (EDT) Subject: [support] Import data or create nodes from Excel In-Reply-To: <d7d365700907301605j35cdbcd7mcc890dc19e92dca1@mail.gmail.com> References: <d7d365700907301605j35cdbcd7mcc890dc19e92dca1@mail.gmail.com> Message-ID: <Pine.LNX.4.64.0907301656140.3646@gube.gnpgvphfpbzzhavpngvbaf.arg> The most likely starting point would be node_import: http://www.drupal.org/project/node_import It will not handle Excel files natively however--you will need to have them available as CSV files. If that is not possible for what ever reason, you may look into a tool which converts between the formats (there are a few ways to do this in the unix world, including one direct xls2csv program, although I do not know what package it is a part of). Luke On Thu, 30 Jul 2009, Gustavo Cabral wrote: > Hi! > > I would like implement a functionality in a web site for able to > upload an excel file, with a determined format, and then, I want to > generate nodes with this information. > Exists a module or a medium to do that? or how can i insert data into > drupal database from an excel file? > > thanks a lot > -- > [ Drupal support list | http://lists.drupal.org/ ] > From geoffocallaghan at gmail.com Fri Jul 31 09:12:03 2009 From: geoffocallaghan at gmail.com (Geoff O'Callaghan) Date: Fri, 31 Jul 2009 19:12:03 +1000 Subject: [support] ssl + login best practice Message-ID: <1249031524.27651.26.camel@MrPointy> Hi All, Running D6. What's the best practice for setting up a site where content is delivered by http *until* the user logs on and from then on I want all content to be via https. Cheers Geoff From sh at sholler.de Fri Jul 31 09:58:57 2009 From: sh at sholler.de (Sebastian Holler) Date: Fri, 31 Jul 2009 11:58:57 +0200 Subject: [support] ssl + login best practice In-Reply-To: <1249031524.27651.26.camel@MrPointy> References: <1249031524.27651.26.camel@MrPointy> Message-ID: <4A72C061.6000602@sholler.de> I don't use the default login block but set a link to the login page in the footer block: <a href="https://www.example.com/drupal/user">Member Login</a> This method doesn't prevent that a user can login via http either, but in the normal case she/he will use the easiest way and that means to click the link in the footer ;-) Regards, Sebastian H. Geoff O'Callaghan schrieb: > Hi All, > > Running D6. What's the best practice for setting up a site where > content is delivered by http *until* the user logs on and from then on I > want all content to be via https. > > Cheers > Geoff > > -- > [ Drupal support list | http://lists.drupal.org/ ] > From mail at webthatworks.it Fri Jul 31 11:27:35 2009 From: mail at webthatworks.it (Ivan Sergio Borgonovo) Date: Fri, 31 Jul 2009 13:27:35 +0200 Subject: [support] login with email and/or "hiding" user.name Message-ID: <20090731132735.7b8da31e@dawn.webthatworks.it> Hi all, I've to move users from a legacy system to D5. In the legacy system the user name for login was the email. Users will produce some public content. In many places drupal uses the user.name to refer to users but I can't of course use users' emails to refer to users. I can't even force the users to change the way they login. So they have to continue to be able to login with email, password. One way would be to automatically fill name with something auto-generated during import and change the login process (looking for some clean idea that won't involve changing core, form_alter?). Any other suggestion? -- Ivan Sergio Borgonovo http://www.webthatworks.it From hovercrafter at earthlink.net Fri Jul 31 11:45:32 2009 From: hovercrafter at earthlink.net (Jamie Holly) Date: Fri, 31 Jul 2009 07:45:32 -0400 Subject: [support] Does Drupal support MySQL Cluster? In-Reply-To: <BAY108-W5195BAA46F64F65E723FEBBE100@phx.gbl> References: <mailman.16730.1248874124.17128.support@drupal.org> <BAY108-W5195BAA46F64F65E723FEBBE100@phx.gbl> Message-ID: <4A72D95C.3010408@earthlink.net> Ivan Working wrote: > Thanks a lot for the patch! > Have you used this patch on production server? > Yeah I'm currently using it on one client's site and have been for almost a year without any problem at all. One thing I would suggest is using an alternative caching method like Memcache. We were getting some replication lag, but once I moved Drupal's caching from database to Memcache that cleared up. Jamie Holly http://www.intoxination.net http://www.hollyit.net From monk at cafelug.org.ar Fri Jul 31 12:35:47 2009 From: monk at cafelug.org.ar (Leandro Monk) Date: Fri, 31 Jul 2009 09:35:47 -0300 Subject: [support] login with email and/or "hiding" user.name In-Reply-To: <20090731132735.7b8da31e@dawn.webthatworks.it> References: <20090731132735.7b8da31e@dawn.webthatworks.it> Message-ID: <4A72E523.6050204@cafelug.org.ar> Ivan Sergio Borgonovo escribi?, El 31/07/09 08:27: > Hi all, > I've to move users from a legacy system to D5. > > In the legacy system the user name for login was the email. > > Users will produce some public content. > > In many places drupal uses the user.name to refer to users but I > can't of course use users' emails to refer to users. > > I can't even force the users to change the way they login. So they > have to continue to be able to login with email, password. > > One way would be to automatically fill name with something > auto-generated during import and change the login process (looking > for some clean idea that won't involve changing core, form_alter?). > > Any other suggestion? > > http://drupal.org/project/logintoboggan From earnie at users.sourceforge.net Fri Jul 31 12:47:52 2009 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Fri, 31 Jul 2009 12:47:52 +0000 Subject: [support] login with email and/or "hiding" user.name In-Reply-To: <20090731132735.7b8da31e@dawn.webthatworks.it> References: <20090731132735.7b8da31e@dawn.webthatworks.it> Message-ID: <20090731124752.18345hi7p14qhwcg@mail.siebunlimited.com> Quoting Ivan Sergio Borgonovo <mail at webthatworks.it>: > Hi all, > I've to move users from a legacy system to D5. > > In the legacy system the user name for login was the email. > > Users will produce some public content. > > In many places drupal uses the user.name to refer to users but I > can't of course use users' emails to refer to users. > > I can't even force the users to change the way they login. So they > have to continue to be able to login with email, password. > > One way would be to automatically fill name with something > auto-generated during import and change the login process (looking > for some clean idea that won't involve changing core, form_alter?). > > Any other suggestion? > I don't have time to find which one but I know there is a module that will allow the user to register/login with email address, and use the portion before the @ as the user name; I forget how it manages duplicate user names. There may even be a module for masquerading the user name. -- Earnie -- http://r-feed.com/ -- http://for-my-kids.com/ -- http://www.4offer.biz/ -- http://give-me-an-offer.com/ From victorkane at gmail.com Fri Jul 31 12:52:37 2009 From: victorkane at gmail.com (Victor Kane) Date: Fri, 31 Jul 2009 09:52:37 -0300 Subject: [support] login with email and/or "hiding" user.name In-Reply-To: <20090731132735.7b8da31e@dawn.webthatworks.it> References: <20090731132735.7b8da31e@dawn.webthatworks.it> Message-ID: <ff176450907310552qef28efevfe05c64702d6015e@mail.gmail.com> 1a. I believe login tobagan gives the option to login with email 1b. hook_form_alter to login form, supply own submit handler, login programmatically 1c. webform or roll your own login form, login programmatically in submit handler 2. Just use the email for the user name, and add core profile or content profilie module for first and last names, etc. 3. Override user.name theme to use profile values Victor Kane http://awebfactory.com.ar On Fri, Jul 31, 2009 at 8:27 AM, Ivan Sergio Borgonovo <mail at webthatworks.it > wrote: > Hi all, > I've to move users from a legacy system to D5. > > In the legacy system the user name for login was the email. > > Users will produce some public content. > > In many places drupal uses the user.name to refer to users but I > can't of course use users' emails to refer to users. > > I can't even force the users to change the way they login. So they > have to continue to be able to login with email, password. > > One way would be to automatically fill name with something > auto-generated during import and change the login process (looking > for some clean idea that won't involve changing core, form_alter?). > > Any other suggestion? > > -- > Ivan Sergio Borgonovo > http://www.webthatworks.it > > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090731/e93a9d1c/attachment-0001.htm> From greg.knaddison at gmail.com Fri Jul 31 12:54:49 2009 From: greg.knaddison at gmail.com (Greg Knaddison) Date: Fri, 31 Jul 2009 06:54:49 -0600 Subject: [support] Import data or create nodes from Excel In-Reply-To: <d7d365700907301605j35cdbcd7mcc890dc19e92dca1@mail.gmail.com> References: <d7d365700907301605j35cdbcd7mcc890dc19e92dca1@mail.gmail.com> Message-ID: <3861c6770907310554w48320be2g9fdc872852401893@mail.gmail.com> The node import advice you received so far is great. Another potential solutions is the combination of Table Wizard and Migrate modules http://drupal.org/project/tw http://drupal.org/project/migrate These were recently discussed on the Civic Actions blog: http://civicactions.com/blog/2009/jul/25/migrating_your_website_drupal There's also a whole discussion on the topic comparing options at http://groups.drupal.org/node/21338 And a group for discussing them at http://groups.drupal.org/content-migration-import-and-export There are tons of resources for this topic, but it's still relatively hard to do the work itself. Regards, Greg On Thu, Jul 30, 2009 at 5:05 PM, Gustavo Cabral<gmcabral at gmail.com> wrote: > Hi! > > I would like implement a functionality in a web site for able to > upload an excel file, with a determined format, and then, I want to > generate nodes with this information. > Exists a module or a medium to do that? or how can i insert data into > drupal database from an excel file? > > thanks a lot > -- > [ Drupal support list | http://lists.drupal.org/ ] > -- Greg Knaddison | 303-800-5623 | http://growingventuresolutions.com Cracking Drupal - Learn to protect your Drupal site from hackers Now available from Wiley http://crackingdrupal.com From earnie at users.sourceforge.net Fri Jul 31 12:56:36 2009 From: earnie at users.sourceforge.net (Earnie Boyd) Date: Fri, 31 Jul 2009 12:56:36 +0000 Subject: [support] ssl + login best practice In-Reply-To: <1249031524.27651.26.camel@MrPointy> References: <1249031524.27651.26.camel@MrPointy> Message-ID: <20090731125636.11853mxf96x96txc@mail.siebunlimited.com> Quoting Geoff O'Callaghan <geoffocallaghan at gmail.com>: > Hi All, > > Running D6. What's the best practice for setting up a site where > content is delivered by http *until* the user logs on and from then on I > want all content to be via https. > Ideas only here; none of them tested. A hook_init in a custom module. Some code in settings.php to modify the $base_url if the $user->uid != 0. A mod_rewrite pattern and rule. -- Earnie -- http://r-feed.com/ -- http://for-my-kids.com/ -- http://www.4offer.biz/ -- http://give-me-an-offer.com/ From mail at webthatworks.it Fri Jul 31 13:00:59 2009 From: mail at webthatworks.it (Ivan Sergio Borgonovo) Date: Fri, 31 Jul 2009 15:00:59 +0200 Subject: [support] login with email and/or "hiding" user.name In-Reply-To: <4A72E523.6050204@cafelug.org.ar> References: <20090731132735.7b8da31e@dawn.webthatworks.it> <4A72E523.6050204@cafelug.org.ar> Message-ID: <20090731150059.4e80911f@dawn.webthatworks.it> On Fri, 31 Jul 2009 09:35:47 -0300 Leandro Monk <monk at cafelug.org.ar> wrote: > Ivan Sergio Borgonovo escribi?, El 31/07/09 08:27: > > Hi all, > > I've to move users from a legacy system to D5. > > > > In the legacy system the user name for login was the email. > > > > Users will produce some public content. > > > > In many places drupal uses the user.name to refer to users but I > > can't of course use users' emails to refer to users. > > > > I can't even force the users to change the way they login. So > > they have to continue to be able to login with email, password. > > > > One way would be to automatically fill name with something > > auto-generated during import and change the login process > > (looking for some clean idea that won't involve changing core, > > form_alter?). > > > > Any other suggestion? > http://drupal.org/project/logintoboggan Thanks! I remember I already grabbed some code from there. At that time I was interested in learning how to redirect to different places users after login. I didn't remember the module also provided logging in with email too. Since a lot of urls already contains uid I think filling the users.name with uid at import time doesn't look a bad idea. Maybe to improve user experience what's missing now is to ask to change the "nick" when the user will try to add his first content. Not really sure if it could be something appreciated/useful for most users. -- Ivan Sergio Borgonovo http://www.webthatworks.it From mail at webthatworks.it Fri Jul 31 13:25:51 2009 From: mail at webthatworks.it (Ivan Sergio Borgonovo) Date: Fri, 31 Jul 2009 15:25:51 +0200 Subject: [support] login with email and/or "hiding" user.name In-Reply-To: <ff176450907310552qef28efevfe05c64702d6015e@mail.gmail.com> References: <20090731132735.7b8da31e@dawn.webthatworks.it> <ff176450907310552qef28efevfe05c64702d6015e@mail.gmail.com> Message-ID: <20090731152551.04010f68@dawn.webthatworks.it> On Fri, 31 Jul 2009 09:52:37 -0300 Victor Kane <victorkane at gmail.com> wrote: > 3. Override user.name theme to use profile values Are you saying that there is a specific place in drupal that is theming users.name everywhere? That could be nice. But well I'm exactly the reason I'm not going to use that approach. Whenever I had to output users.name I never used any such theme function. So maybe some other module I'm using (I'll use) may not be aware of such a function and eg. output something like Submitted by user at email.com thanks BTW SQL is not dead ;) -- Ivan Sergio Borgonovo http://www.webthatworks.it From greg.knaddison at gmail.com Fri Jul 31 13:37:25 2009 From: greg.knaddison at gmail.com (Greg Knaddison) Date: Fri, 31 Jul 2009 07:37:25 -0600 Subject: [support] login with email and/or "hiding" user.name In-Reply-To: <20090731150059.4e80911f@dawn.webthatworks.it> References: <20090731132735.7b8da31e@dawn.webthatworks.it> <4A72E523.6050204@cafelug.org.ar> <20090731150059.4e80911f@dawn.webthatworks.it> Message-ID: <3861c6770907310637r76495554w2105f11446570076@mail.gmail.com> Another solid module for this purpose is Email Registration http://drupal.org/project/email_registration It creates a username based on the e-mail and allows people to login with e-mail. Regards, Greg -- Greg Knaddison | 303-800-5623 | http://growingventuresolutions.com Cracking Drupal - Learn to protect your Drupal site from hackers Now available from Wiley http://crackingdrupal.com From victorkane at gmail.com Fri Jul 31 14:16:33 2009 From: victorkane at gmail.com (Victor Kane) Date: Fri, 31 Jul 2009 11:16:33 -0300 Subject: [support] Import data or create nodes from Excel In-Reply-To: <3861c6770907310554w48320be2g9fdc872852401893@mail.gmail.com> References: <d7d365700907301605j35cdbcd7mcc890dc19e92dca1@mail.gmail.com> <3861c6770907310554w48320be2g9fdc872852401893@mail.gmail.com> Message-ID: <ff176450907310716y20288ca2i28ab8abbf9fe5d10@mail.gmail.com> Excellent summary, Greg! Also, feedapi and the field mapper with the csv parser !!! Victor On Fri, Jul 31, 2009 at 9:54 AM, Greg Knaddison <greg.knaddison at gmail.com>wrote: > The node import advice you received so far is great. > > Another potential solutions is the combination of Table Wizard and > Migrate modules > > http://drupal.org/project/tw > http://drupal.org/project/migrate > > These were recently discussed on the Civic Actions blog: > > http://civicactions.com/blog/2009/jul/25/migrating_your_website_drupal > > There's also a whole discussion on the topic comparing options at > http://groups.drupal.org/node/21338 > > And a group for discussing them at > http://groups.drupal.org/content-migration-import-and-export > > There are tons of resources for this topic, but it's still relatively > hard to do the work itself. > > Regards, > Greg > > On Thu, Jul 30, 2009 at 5:05 PM, Gustavo Cabral<gmcabral at gmail.com> wrote: > > Hi! > > > > I would like implement a functionality in a web site for able to > > upload an excel file, with a determined format, and then, I want to > > generate nodes with this information. > > Exists a module or a medium to do that? or how can i insert data into > > drupal database from an excel file? > > > > thanks a lot > > -- > > [ Drupal support list | http://lists.drupal.org/ ] > > > > > > -- > Greg Knaddison | 303-800-5623 | http://growingventuresolutions.com > Cracking Drupal - Learn to protect your Drupal site from hackers > Now available from Wiley http://crackingdrupal.com > -- > [ Drupal support list | http://lists.drupal.org/ ] > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.drupal.org/pipermail/support/attachments/20090731/4d749d10/attachment.htm> From metzlerd at evergreen.edu Fri Jul 31 15:47:00 2009 From: metzlerd at evergreen.edu (Metzler, David) Date: Fri, 31 Jul 2009 08:47:00 -0700 Subject: [support] ssl + login best practice In-Reply-To: <20090731125636.11853mxf96x96txc@mail.siebunlimited.com> References: <1249031524.27651.26.camel@MrPointy> <20090731125636.11853mxf96x96txc@mail.siebunlimited.com> Message-ID: <52177C930FA90F4D9888B0343FDB79FBA58C96@birch.evergreen.edu> Expansion on this idea. I don't think you'll get setting.php to have $user->uid context will you? Doesn't it load too early? If I'm right, write a module with hook_init (as Earnie says) have it set cookie then do the base_url based on whether $cookie is site. I would at least try contacting secure pages maintainer to see if you can get a patch submitted there as this seems like a feature that would be useful to that module. Dave -----Original Message----- From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On Behalf Of Earnie Boyd Sent: Friday, July 31, 2009 5:57 AM To: support at drupal.org Subject: Re: [support] ssl + login best practice Quoting Geoff O'Callaghan <geoffocallaghan at gmail.com>: > Hi All, > > Running D6. What's the best practice for setting up a site where > content is delivered by http *until* the user logs on and from then on > I want all content to be via https. > Ideas only here; none of them tested. A hook_init in a custom module. Some code in settings.php to modify the $base_url if the $user->uid != 0. A mod_rewrite pattern and rule. -- Earnie -- http://r-feed.com/ -- http://for-my-kids.com/ -- http://www.4offer.biz/ -- http://give-me-an-offer.com/ -- [ Drupal support list | http://lists.drupal.org/ ] From tech4him at gmail.com Fri Jul 31 16:06:16 2009 From: tech4him at gmail.com (Tom Lucas) Date: Fri, 31 Jul 2009 11:06:16 -0500 Subject: [support] ssl + login best practice In-Reply-To: <52177C930FA90F4D9888B0343FDB79FBA58C96@birch.evergreen.edu> References: <1249031524.27651.26.camel@MrPointy> <20090731125636.11853mxf96x96txc@mail.siebunlimited.com> <52177C930FA90F4D9888B0343FDB79FBA58C96@birch.evergreen.edu> Message-ID: <ae663adf0907310906k17cf78faj7a9098ea2f2a697b@mail.gmail.com> If you want to use something that already exists, the secure pages module can do this and any other paths you need secured. http://drupal.org/project/securepages Blessings On Fri, Jul 31, 2009 at 10:47 AM, Metzler, David <metzlerd at evergreen.edu>wrote: > Expansion on this idea. > > I don't think you'll get setting.php to have $user->uid context will > you? Doesn't it load too early? > > If I'm right, write a module with hook_init (as Earnie says) have it > set cookie then do the base_url based on whether $cookie is site. > > I would at least try contacting secure pages maintainer to see if you > can get a patch submitted there as this seems like a feature that would > be useful to that module. > > Dave > > > -----Original Message----- > From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On > Behalf Of Earnie Boyd > Sent: Friday, July 31, 2009 5:57 AM > To: support at drupal.org > Subject: Re: [support] ssl + login best practice > > Quoting Geoff O'Callaghan <geoffocallaghan at gmail.com>: > > > Hi All, > > > > Running D6. What's the best practice for setting up a site where > > content is delivered by http *until* the user logs on and from then on > > > I want all content to be via https. > > > > Ideas only here; none of them tested. A hook_init in a custom module. > Some code in settings.php to modify the $base_url if the $user->uid != > 0. A mod_rewrite pattern and rule. > > -- > Earnie > -- http://r-feed.com/ -- http://for-my-kids.com/ > -- http://www.4offer.biz/ -- http://give-me-an-offer.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/20090731/d0573d35/attachment.htm> From drupal at lists.tacticus.com Fri Jul 31 06:27:02 2009 From: drupal at lists.tacticus.com (Luke) Date: Fri, 31 Jul 2009 02:27:02 -0400 (EDT) Subject: [support] login with email and/or "hiding" user.name In-Reply-To: <20090731132735.7b8da31e@dawn.webthatworks.it> References: <20090731132735.7b8da31e@dawn.webthatworks.it> Message-ID: <Pine.LNX.4.64.0907310226240.3646@gube.gnpgvphfpbzzhavpngvbaf.arg> You may find the realname module useful, in combination with some of the others already discussed. http://drupal.org/project/realname Luke On Fri, 31 Jul 2009, Ivan Sergio Borgonovo wrote: > Hi all, > I've to move users from a legacy system to D5. > > In the legacy system the user name for login was the email. > > Users will produce some public content. > > In many places drupal uses the user.name to refer to users but I > can't of course use users' emails to refer to users. > > I can't even force the users to change the way they login. So they > have to continue to be able to login with email, password. > > One way would be to automatically fill name with something > auto-generated during import and change the login process (looking > for some clean idea that won't involve changing core, form_alter?). > > Any other suggestion? > > From lists at luminosity.co.uk Fri Jul 31 18:30:00 2009 From: lists at luminosity.co.uk (garyl) Date: Fri, 31 Jul 2009 19:30:00 +0100 Subject: [support] image gallery In-Reply-To: <4A69AFAA.3000106@luminosity.co.uk> References: <4A69AFAA.3000106@luminosity.co.uk> Message-ID: <4A733828.3060703@luminosity.co.uk> GaryL wrote: > I am using the image and image_gallery modules. Is there an easy way to > find out if an image is in a gallery from within node-image.tpl.php or > by changing theme_image_teaser() > > I'd like to change the link so that an image link on my blog goes > straight to the gallery page instead of the image page > > So for example on: > http://ramblings.garylawton.com/2009_05_18/Sunny/Avon > > the link from the image goes to: > http://ramblings.garylawton.com/image/tid/63 > > instead of going to: > http://ramblings.garylawton.com/node/1433 > > Any ideas appreciated, happy to write some sql to pull this from the > taxonomy if there isn't a better way.... > > Cheers > Gary > -- > [ Drupal support list | http://lists.drupal.org/ ] turns out this is really simple. load the image with: $node=node_load() then use: taxonomy_node_get_terms_by_vocabulary($node, $vid) where $vid is the vocab id of the image gallery Gary From lists at luminosity.co.uk Fri Jul 31 18:44:14 2009 From: lists at luminosity.co.uk (garyl) Date: Fri, 31 Jul 2009 19:44:14 +0100 Subject: [support] javascript after document loaded Message-ID: <4A733B7E.3010209@luminosity.co.uk> I have a single javascript function i want to call when a page has loaded. I haven't used jQuery before but have found the $(document).ready option. Can I use this to run my javascript and if so do where do I put my code. Would rather not put in a module unless it's necessary... Many thanks Gary From sfreach at gmail.com Fri Jul 31 18:59:41 2009 From: sfreach at gmail.com (Seth Freach) Date: Fri, 31 Jul 2009 14:59:41 -0400 Subject: [support] javascript after document loaded In-Reply-To: <4A733B7E.3010209@luminosity.co.uk> References: <4A733B7E.3010209@luminosity.co.uk> Message-ID: <4A733F1D.1030804@gmail.com> Gary, for quick and simple in your module, use: <code> drupal_add_js(' $(document).ready(function() { alert("This ran after the DOM was loaded."); }); ', 'inline'); </code> ...replacing the alert with whatever it is you need to do. -Seth garyl wrote: > I have a single javascript function i want to call when a page has > loaded. > > I haven't used jQuery before but have found the $(document).ready > option. Can I use this to run my javascript and if so do where do I > put my code. Would rather not put in a module unless it's necessary... > > Many thanks > Gary > > -- > [ Drupal support list | http://lists.drupal.org/ ]