(Please cc: clift(a)e-democracy.org with your reply. Thanks.)
The other week folks from the BeNeighbors.org initiative of my
non-profit had a great discussion with the Twin Cities Drupal Users
group.
The focus was on how Drupal could be used to connect nearest neighbors
for all sorts of community goodness (like 80% of them on a block or
two including those not online at all or regularly).
Anyway, three main approaches came out of the meeting:
1. Multi-tech Small Group (Leverage VOIP Drupal)
2. Dynamic Geo-Based Local Messaging/Alerts - Proximity Connecting
3. Map/Directory to Distributed Groups Near You
So before we go too far down the road, I was interested in any
connections with existing Drupal modules, projects, or developer
communities.
So:
A. Are there any Drupal groups or projects that you know of who are
developing tools for block level connections (like 100 households)? I
haven't been able to find them so far. An example might be using
Drupal to support neighborhood crime watch.
B. Is there an existing module effort to support geo-coding of the
street addresses (or mobile place for that matter) of Drupal site
members? What about group messaging based on proximity? (What I like
about this idea is that it would work on a global online community as
well as something hyper local because enabling the X closest members
with the topic initiator determining who gets the alert be it 10, 100
or 1000 closest members scales.)
C. We are looking for examples of Drupal sites designed to be
directories with both "select an area" and pin point options to tie an
item to a map. Any suggestions? (Our goal here is to distribute the
directory data collection and end up with a nice public-friendly map
of where neighbors are connecting online and how to find them.)
D. Who in the Drupal community do you know who might be interested in
collaborating on these themes? (We are open to creating a Group on the
Drupal site, but would rather not re-create the wheel if we do not
need to do so.)
Thanks,
Steven Clift
E-Democracy.org
Try this again just in case...
I have a few line item scripts that all happen on the checkout page. The
one that is giving trouble is a coupon line item.
* All line items are being saved to the database, as should be with
hook-order.
* All line items display, as they should but the tax is incorrect.
* In admin/store/settings/taxes/1/edit I have a tax set up with a
couple of rules.
o These should have no bearing: one being the state for the tax
and another being a user role (wholesalers are not taxed) .
o Tax is applied to the Coupon line item on this page, as well as
to the products.
o I also set the Coupon line item type as taxable.
It is correct on the checkout page(it is written in real time with
line_item_add JS...
However, when I output the order to screen in the uc_tax module... my
line items aren't in the order yet.
I am using hook order with the $op of "save".
So I tried playing with line item weights: to try to get the total line
item after my coupon.
If I use the following, it throws a fatal error on the review page load.
static $lines;
$lines = module_invoke_all('line_item', NULL); // this produces the
names in the next array to which I added weights...
Actually re-ordered them. I think "total" was 2nd or 3rd.
$l_item_ids = array(
'subtotal' => 0,
'generic' =>1,
'coupon' => 2,
'free_offer' => 3,
'shipping' => 4,
'handling' => 5,
'total' => 6
);
foreach( $lines as $i => $line ){
foreach($l_item_ids as $id => $weight){
if( $id === $line['id'] ){
$lines[$i]['weight'] = $weight;
// uc_li_tax_subtotal_weight
// variable_set('uc_line_items_'. $lines[$i]['id']
.'_weight', $weight);
}
}
}
So nothing is working and I have no idea where to turn.
Seems like line item weights would be taken into consideration. Hints
anyone?
--
/Kindest regards,/ /*Dayton Perkins*/ Dayton Perkins
Good News Design
Intelligent Web Programming for Business
Dayton Perkins: Recent American Expat in Hong Kong
dayton(a)goodnewsdesign.com <mailto:dayton@goodnewsdesign.com>
dayton(a)goodnewsdesign.com <mailto:dayton@goodnewsdesign.com>
Phone Me U.S Phone (rings me in HK) 616-795-9039
http://goodnewsdesign.com
GND Logo <http://goodnewsdesign.com><http://goodnewsdesign.com>
I have a few line item scripts that all happen on the checkout page. The
one that is giving trouble is a coupon line item.
*
The line item is being saved to the database, as it should be with
hook-order.
*
All line items display, as they should on the confirm page, and
charge properly, but the tax is incorrect.
*
In admin/store/settings/taxes/1/edit I have a tax set up with a
couple of rules.
o
These should have no bearing: one being the state for the tax
and another being a user role (wholesalers are not taxed) .
o
Tax is applied to the Coupon line item on this configuration
page, as well as to the products. These are the only
applications of the tax.
Whether I store a negative value or positive, it doesn't affect the tax
that is calculated. It is always calculated on the subtotal, which is
the total of the products. This includes visiting the confirmation page
and going "back".
Tax should be calculated on the subtotal minus the coupon amount.
My only clue is that Ubercart Taxes might expect line items before the
checkout page??? (All my line items are written on submit of the
checkout page, before the confirm page.
Should I write my line items on the checkout page with AJAX? That
doesn't even make sense in the light of how hook_order is written.
Sure appreciate any help if there is anyone who has a clue. This is a
production site and I wouldn't blame my client for getting antsy.
--
/Kindest regards,/ /*Dayton Perkins*/ Dayton Perkins
Good News Design
Intelligent Web Programming for Business
Dayton Perkins: Recent American Expat in Hong Kong
dayton(a)goodnewsdesign.com <mailto:dayton@goodnewsdesign.com>
dayton(a)goodnewsdesign.com <mailto:dayton@goodnewsdesign.com>
Phone Me U.S Phone (rings me in HK) 616-795-9039
http://goodnewsdesign.com
GND Logo <http://goodnewsdesign.com><http://goodnewsdesign.com>
On 11/27/2012 3:53 PM, development-request(a)drupal.org wrote:
> Send development mailing list submissions to
> development(a)drupal.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.drupal.org/mailman/listinfo/development
> or, via email, send a message with subject or body 'help' to
> development-request(a)drupal.org
>
> You can reach the person managing the list at
> development-owner(a)drupal.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of development digest..."
>
>
> Today's Topics:
>
> 1. File upload and convert (Chris Miller)
> 2. Ubercart problem (Dayton Perkins)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 26 Nov 2012 16:32:39 -0800 (PST)
> From: Chris Miller <cjm(a)tryx.org>
> Subject: [development] File upload and convert
> To: development(a)drupal.org, support(a)drupal.org
> Message-ID: <286998828.15506.1353976359364.JavaMail.root(a)tryx.org>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Folks,
>
> I have a content type with TWO file fields, in which I will designate TWO PDFs. On upload completion I want to run something like: "exec(pdftk f1.pdf background f2.pdf output f1.pdf)". This will "brand" f1.pdf.
>
> I don't see any standard mechanism and so I'm not sure how to go about this. I have a general understanding, but that doesn't answer the question. I am sure I don't want to intercept all possible uploads; just the uploads from this specific content type. So, can I define a file upload hook which is scoped to this specific content type? I haven't seen anything that makes me believe I can. Can I create a custom file field to use any time I need to perform a conversion? Can my custom file field "extend" the existing file field, so I don't have to port improvements/bugfixes to my custom file field version?
>
> So many questions... (-:
>
> Thanks for the help,
>
> Chris.
>
First look turns up this: Chris: though I have not done an
implementation, seems likely...
http://api.drupal.org/api/drupal/modules!field!field.api.php/function/hook_…http://api.drupal.org/api/drupal/modules!field!field.attach.inc/group/field…
Let us know how it went. I have considered doing the same.
--
/Kindest regards,/ /*Dayton Perkins*/ Dayton Perkins
Good News Design
Intelligent Web Programming for Business
Dayton Perkins: Recent American Expat in Hong Kong
dayton(a)goodnewsdesign.com <mailto:dayton@goodnewsdesign.com>
dayton(a)goodnewsdesign.com <mailto:dayton@goodnewsdesign.com>
Phone Me U.S Phone (rings me in HK) 616-795-9039
http://goodnewsdesign.com
GND Logo <http://goodnewsdesign.com><http://goodnewsdesign.com>
Hi,
How can I control the overlay's parent window url from my custom module code?
I'm inside a node form and I want to change the destination of the parent window without leaving the current overlay.
Basic scenario:
- node/%/edit is displayed in overlay
- user hit's submit
- form is rebuild, user stays in the overlay but I want to make sure that once he closes the overlay (without any further form submission) he will be seeing a specific page
I can't seem to find a way to do this. When I try to use the $form_state['redirect'] property with an array(url, array('fragment'=> '...')) then the fragment get's stripped, see this post:
http://stackoverflow.com/questions/7691460/using-fragment-in-drupal-7-form-…
Is there any way I can control the parent windows url from inside my module? By setting an undocumented javascript setting maybe?
thanks and best regards,
hadubard
Hello,
I am a French student and I am currently realizing my final thesis in the
field of Free/libre open source software.
It would be a great help for me if you could answer a short online survey
(it should take approximately 5 minutes).
This survey is designed to reach a better understanding of the cooperation
and coordination between developers in Free/libre open source projects.
There is no right or wrong answers, therefore, feel free to answer
spontaneously and to skip the questions you feel you do not want to answer.
The link to the survey is: http://bit.ly/SfDTzy
I would like to remind you that the participation is absolutely anonymous
and voluntary, and you can quit it at any time. Your answers will be
strictly confidential and will be used only for research purpose (no
commercial use of any information you provided).
If you find this survey interesting, you are welcome to share it with other
developers!
If you want to add something, or if you need further information about this
survey, feel free to contact me at: d <tanguy.duret(a)gmx.fr>
uret.tanguy(a)gmail.com
Thank you in advance for your cooperation and your enthusiasm! :)
Tanguy Duret
Hello
I am new to open source development and i really want to enter GSOC 2013 .
I checked out a number of organisations and want to pursue drupal as my
mentoring organisation for the next GSOC programme . Can anyone please let
me know as to where and how do i start . Any sort of help is appreciated .
-Rushi Shukla
Hello,
I am a French student and I am currently realizing my final thesis in the
field of Free/libre open source software.
It would be a great help for me if you could answer a short online survey
(it should take approximately 5 minutes).
This survey is designed to reach a better understanding of the cooperation
and coordination between developers in Free/libre open source projects.
There is no right or wrong answers, therefore, feel free to answer
spontaneously and to skip the questions you feel you do not want to answer.
The link to the survey is: http://bit.ly/SfDTzy
I would like to remind you that the participation is absolutely anonymous
and voluntary, and you can quit it at any time. Your answers will be
strictly confidential and will be used only for research purpose (no
commercial use of any information you provided).
If you find this survey interesting, you are welcome to share it with other
developers!
If you want to add something, or if you need further information about this
survey, feel free to contact me at: d <tanguy.duret(a)gmx.fr>
uret.tanguy(a)gmail.com
Thank you in advance for your cooperation and your enthusiasm! :)
Tanguy Duret
What is going to be the best way to handle the removal of call time
pass-by-reference as noted at
http://www.php.net/manual/en/migration54.incompatible.php?
This affects a lot of code. Based on http://drupal.org/node/1498574
D8 will not be ready for PHP 5.4 but some WAMP and LAMP are already
delivering it. My query here though is more looking at preparing for
any new modules or converting older modules and getting them ready for
PHP 5.4. How do others plan to handle this offensive change?
--
Earnie
-- https://sites.google.com/site/earnieboyd