Development

[development] Altering the delete process of a node

Hi

I want to alter the delete process of a node to add a new
precondition. For example, I want to prevent the deletion of a
document node if there are some categories (another content type not
the Drupal category of the Taxonomy core module) associated with it.
It's possible to add this precondition? Both content types are CCK
related.

Thanks in advance

Ramon

[development] AJAX Login as Horizontal

Hi,

Fond of the Ajax Login module
It displays vertical
and could use some insight on displaying horizontal.

Should it be customized in the page.tpl.php or with jQuery. It's
hoped someone has a snippet for this. As I'm sure this has been
done before.

[development] How is it that new Drupal user is given CVS access to ban countries

Regarding the _rigorous_ CVS rights granting process, how is it that new
user http://drupal.org/user/701600 is rushed through that process, and
allowed to infect the Drupal codespace with a module banning countries from
using a Drupal site???

The offending module: http://drupal.org/project/countryban goes against all
democratic sentiment and should be taken down immediately, and this
individual, who wishes to do the work of those who would restrict internet
access based on origin of country, should have his CVS rights taken from him
immediately.

Victor Kane
http://awebfactory.com.ar
http://p

[development] Calendar views filter issue

Happy Monday to all,

I have an issue that has been plaguing me for a few days now.
I am using calendar view, but instead of showing the month in the
calendar grid, I am listing the events for the month out.
This works fine, and the date browser Prev, Month, Next, works perfectly.

However, I also want my visitors to be able to filter the events by
month and/or event type.
For this I have exposed filters to allow this.
However, in the preview, the filters will not effect the output at all.
I click an event type, and all event types are returned to me.
Select a different month, and all events

[development] CCK Checkbox Matrix module?

Hi,
I was wondering if anyone knew of a CCK module that could make a field give
a matrix of checkboxes. I have attempted to create a mock of what I am
looking for here http://www.haletechnology.co.uk/cck_matrix_checkboxes.html

The Matrix module would be great, except
the matrix is made up of text input fields, instead of checkboxes.

Any suggestions would be appreciated. Thanks

robin

[development] How to add comment under menu items

Hi,

I'm new on Drupal and I would like to know how can I make properly such comment on items Menu please ?
-> each first row is a link and each 2nd row is a comment...

- Menu 1
(my explanation)

- Menu 2
(other explanation ...)
...

The only solution i've found is to do that (below)...

[development] Help needed to convert a module to D7 with AJAX in forms

Hi all,

I've run into a problem with D7 and AJAX-enabled forms. What I try to do
is to have a selection list use options depending on another selection
list. I've looked at the code of the AJAX examples module, but I could
not find why my code is not working. A part of my code follows, the
complete code can be found here (lines 356 onwards):

I've separated those function calls into their own file, they are not in
the main .module file. Could this be a cause of problems?

[development] re-arranging mutlivalue fields

Hi,

I have two CCK multivalue fields (a nodereference field and a
textfield), both with a set amount of maximum values. My goal is to
build a form that lists these fields as 'nodereference + textfield'
groups, in order to simplify user input. This doesn't seem to be so easy
to do with form_alter(), since a multivalue field is an array of its
own, so re-ordering the fields seems tricky.

Does anyone have ideas on how to approach this?

thanks,
- bruno

Re: [development] ghost nodes

Node_loads can fail if the user doesn't exist in the users table. Node_load
does a INNER JOIN users ON u.uid = n.uid. That will fail if the users.uid
doesn't exist anymore (i.e. user is deleted by hand). Don't know if that is
the case for you but something along those lines maybe.

The node access rebuild can be a little sensitive:
http://drupal.org/node/478946

Re: [development] mod rewrite rules question

Afraid not, adding an [L] didn't do any good. I'm still getting an internal
server error that I'm presuming is caused by applying the rule indefinitely
to the rewritten result. Is this the normal behavior of .htaccess files? I'm
pasting the full content of the .htaccess file on the site root:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^(.*).example.com
RewriteRule (.*) ${tryme:%1}/$1 [L]

I'm very sure the application is working properly because I can run it
standalone and it works fine (returns either NULL or key followed by
newline).

[development] ghost nodes

I am developing an access module and when rebuilding my node_access
table some nodes don't get rebuild. I don't know the cause but when
trying to analyse them with devel access node module I have discovered
that some of them are valid and some other show me the "page not
found" message.
So all of this have raised me 2 questions:
- ghost nodes: why nodes which are in {node} and {node_revisions} show
me a "page not found" message; is there any other table?

[development] Form API and enter key press

Hi all!

I experience a simple problem, which a lot of people must have
experienced too.

I have a lot of forms with multiple submit actions, my problem here is
when a user press the enter key, it does submit the form, but using the
first found action (in form API elements order).

My problem here is because a multistep form ergonomic style would tell
you to put then , but when pressing enter,
the is the first submit button found so the browser will
submit this one.

I experience the same problem in other use case than multistep form.

[development] mod rewrite rules question

Hello all,

If this is not the right place for this question I appreciate if someone
points me to some resources or mailing lists where I can ask. I have a
couple of rewrite rules that simply refuse to work. Without too much noise,
I'll post them here:

RewriteCond %{HTTP_HOST} !^apps.example.com
RewriteCond %{HTTP_HOST} ^(.*).example.com
RewriteRule ^(.*)$ ${res:%1}/$1 [QSA]

The logic here is:

1. make sure the URL does not start with apps
2. isolate the first part of the URL and send it to an external app: The
external app either returns "members/" or nothing.

[development] Custom directory Image Cache

Just wondering if any of you can point me to a solution: I would like to
create per user upload directories perhaps name them by uid, and use
image cache to create name spaces as usual. I have poked around Google
some, but was wondering if any of you have experience with this. Thanks
so much.

[development] Custom user data tab not displayed with hook_user

I took over a site that has custom user data stored in a separate table, and I would like to display those fields in a separate tab in the user profile. I figured I could just write a page and form function, but I'd like to integrate it with user data.

[development] Survey for a Master Thesis about Open Source CMS

Hello,

As part of my Master Thesis for a degree in Business Engineering, I'm
conducting some research about the patterns of free revealing code within
Open Source CMS. To do so, I need to collect some data to conduct
statistical studies.

If you’re a developer or involved in the development of code related to a
CMS, may I ask you to give up less than 5 minutes of your time to fill in a
survey consisting of 25 multiple choice questions?

[development] Drupal splash module

Hi list:

I've installed the module splash in a Drupal 6 site to show a page as
presentation in this site, in according to the module configuration I've
indicated the section "WATH" a page with the absolute URL like
http://www.mysite.com/splash.html and I've selected the option "display
entered text/HTML full screen" option, but when I activate the splash I try
the page and I only view the link in the browser, if i press this link then
it retrieves the splash page, I mean i can't see the splash screen when I
call the site directly.
Other thing is that if I deactivate the splash in the module c

[development] How to add user role during registration with custom form

I took over a site that uses a custom registration form that directly calls user_register_submit directly, and I need to have a user role added to this user when this form is submitted. However, I can't add the value to $form_state['values']['roles'] because the function errors out if there is a roles array because it is seen as a 'malicious attempt to alter protected user fields.' Since that function then calls user_save, it seems that once the user is saved, I need to 1) load the user I just created, 2) add the role to the object, and 3) save it again.

[development] drupal expert

Dear friends,
 
We have an interesting project and are looking for a drupal expert. If you live around Boston area and know about open source CMS, please reply this email.
 
Thanks

[development] Force admin login

Hi,

Is there a backdoor way to force admin login if everything fails? Something
like the way $update_free_access is changed to TRUE to allow running
update.php....?

A client got locked out of D6.15 completely, including admin. Login seems to
work (I see admin only links on logon), cookies are set, but only on the
initial page.... any subsequent click is treated as done by an anonymous
user (checked the watchdog this way). I've cleared all browser caches,
Drupal caches via the db, also the Drupal sessions table, checked the cookie
domain, the admin user record exists in the user table, etc.

[development] Publishing data from legacy svn repository

Hi,

I'm working on a project where I need to publish data stored in svn, so
instead of coming from the Drupal database, the node body would come from
checked out (read only) files on the server (it could be any VCS for that
matter). Each file would be associated with a node (automatically or
manually), or could be displayed via a different mechanism altogether using
an appropriate loader. There is plenty of information on using svn for
development, staging or deployment purposes, but I could not find anything
on the topic I'm interested in here.

[development] Form API and Javascript stuck

Hi Everyone,

I hope you are enjoying your weekend and not working too hard.

I'm still trying to get my head around js, and was hoping someone may
have some insights to help me with the next steps on a form I am creating.

I have an order form that is going to be dynamically created.
I am able to successfully pass the quantity value upon user input for
field 1.
Basically I'm using onchange() to pass the quantity value to the script.
The id of the price field is of the format unit-price-0, unit-price-1, etc.
Each line item's subtotal should update before going onto the next line
item.

Here

[development] node_publish_action and node_save_action $op's

Hi List,

Which hook_nodeapi() $op's are called on issuing node_publish_action
and node_save_action?

Regards,
Eric

[development] improving the speed of Simpletest during development

Hello,

Performance; improving the speed of Simpletest during development
http://drupal.org/node/466972

I tried to follow the above tutorial to speed simpletest, but to no avail.

A file is attached to the above page:
http://drupal.org/files/mysql-tmpfs.txt
The handbook does not say how it should be used.

I am using Ubuntu, a Debian derivative.

Did anyone here managed to move MySQL database to tmpfs ?

tia!

[development] No suitable nodes available at RackspaceCloud (Mosso)

Hi,

At RackspaceCloud (former Mosso) I've been plagued with a very unfortunate
problem that i crippling both my work and the work of my clients -- namely
the infamous error message "Unfortunately there were no suitable nodes
available to serve this request." Those of you at RS Cloud must have bumped
into it. It is cryptic and happens unpredictably.

[development] Actions for comments

Hi,
Well I need a module to moderate comments by a group of people
"moderators" (role).

After a lot of research on Google, I didn't get any appreciable results.

Do you guys know some module which adds 'Publish Comment' action to the
Actions module ?

This can be used to mass moderate comments using VBO.

If not, I'm thinking of writing one. Give me some ideas. The guide on
drupal.org didn't suit me much.

[development] Announcing the Drupal core developer summit: April 17th, 2010

Hello, we are pleased announce an innovative new event for the Drupal community.

Read Dries's blog:
http://buytaert.net/drupal-core-developer-summit-at-drupalcon-sf
Read about it here: http://sf2010.drupal.org/conference/core-developer-summit
Register here: http://sf2010.drupal.org/core-developer-summit

Cheers,
Kieran

[development] Drop Down Menu options

Hello All,

I asked a few months ago about the best Drop down menu to use and got the
answer Nice Menu's. My client and I have noticed that it has some odd
behavior about pausing and not working (especially if the menu line is not
active) and now that I actually use more than the first link now, it occurs
so much that it is an issue.

Is there a way to fix this or a better drop down menu system to use (need a
horizontal menu able to do up to 4 levels of information (I will use menu
block to split it, but still need the functionality).

[development] Distributing "bi-modal" Drupal modules

There are a couple of large software projects that are designed to
install together with Drupal (CiviCRM is one of them). Typically, a
project like this distributes a Drupal module that handles the embedding
of the project inside of a Drupal install.

Is it even possible for a project like this to distribute either:

1. Both a Drupal 6 *and* a Drupal 7 module (i.e., will Drupal look at
the .info files and ignore the "wrong" version), or
2.

[development] sending automated email using views

Hello I was looking for a way to send a notification for all users who
flagged a node (using the flag module) i can get all of the users through
views but am looking for an automated way to notify them about the updates
on this node by sending them email

is there a module that do such a thing I've seen the views email module but
it's not automated and it's really complicated and hard to use

i was planning to create a module that will use actions and triggers to send
automated emails for user list generated through views but i wont to make
sure if there is something ready out there

thank you

[development] Tuesday doc sprints - Developers needed!

I'm hosting some D7 doc sprints tomorrow, and for the next N Tuesdays:
Schedule: http://groups.drupal.org/node/50403
Tasks: http://drupal.org/node/515870

Developers: We need you!!!

- We really need to flesh out the 6/7 module update guide. There are
many changes in D7 that haven't yet been added to the update guide,
and it's time for contrib maintainers to port their modules.
- There are many hooks, variables, etc. in D7 that haven't been
documented at all and really need to be.
- See the Tasks link above for more details, links to issues, tags to
watch, etc.

Questions?

[development] Consulting about file permissions by role

Hi list!

I have a site in Drupal 6 and i need a construct a page in which i will put
3 different files, in my site 3 different types of users are going to log,
and they will have a particular different role, i need to provide the
permissions to each role to download a particular file from this page and no
other file, each role can download only its file.

so, with which module will be able to do this?

thanks in advance

Gastón Pablo Perez
Email: <...> at gmail dot com
Web: http://cv.gpperez.com.ar

[development] Mail script problem: please help

I am using Mime Mail to send mails to users who are opted in to a users
mailing list for a certain user role. I had written a similar script for
another site, looping through email addresses and invoking mimemail()
for each.

[development] Disapearing $form_values

Hello,

I have a form:

function contactlistcreate() {
$form = array();

$form['listname'] = array(
'#type' => 'fieldset',
'#title' => t('Create new list'),
'#tree' => TRUE,
);
$form['listname']['list_name'] = array(
'#type' => 'textfield',
'#title' => t('List name'),
'#size' => 30,
'#maxlength' => 64,
'#description' => t('Enter the list name'),
'#default_value' => 'dddodododod',
);
$form['listname']['description'] = array(
'#type' => 'textarea',
'#title' => t('Describe it'),
'#cols' => 60,
'#rows' => 5,
'#descripti

[development] BBCode now supports [indent]

Hi there.

An issue was created about supporting [indent] tags in the bbcode
module. Since I was also requiring it, I've created patches for it.

All those needing this may patch their bbcode installation or wait till
it is ported to the next release.

See at - http://drupal.org/node/461004

[development] Custom registration process

Hello to you all

I'm needing to add quite a few fields to the registration process. Is the
native login / registration process easy to amend or would you recommend
using webform and building it from the bottom up so to speak. It's seems
crazy not to use what's already there, but I cannot see a straightforward
way to add to it.

What have your experiences been?

Many thanks

Stewart

[development] Form with 3 payment options

Hello all,

I have an event registration form to set up. I like using webforms (have
drupal 6 site).

I need to know how to add payment type. Each registration is either $40 for
individuals or $50 for family (so I have two different amounts).

Re: [development] multisite installation

Ok, let me try to simplify it.

Is there any way I can make Drupal list the modules/themes inside another
location rather than the matched multisite folder?

If I access abc.com (which matches abc.com in sites), can I make Drupal list
the modules and themes inside some other location by specifying it in the
settings.php for abc.com?

[development] howto views filter null timestamps

I have coded a content-type and I want to filter it using views. I
have to check if a timestamp field is 0 or NULL (I can change de
coding).

Re: [development] multisite installation

Hey Jennifer,

My apologies for the confusion, I am actually doing that. Let me try to
re-explain. Under the sites folder I have:

a.example.com
b.example.com

a.abc.com -> a.example.com
b.abc.com -> b.example.com
c.abc.-com -> a.example.com
etc...

With this configuration there's really no problem, when I visit the module
listing section of a.abc.com I see the modules,themes listed under sites/
a.abc.com/modules, sites/a.abc.com/themes which is what I want.

This is the correct behavior, except I need to create a symbolic link for
every *.abc.com and these may number if the thousands.

[development] Theme subscription's links from notifications

Hi,
i'd like to theme the links created by the notifications module, like subscribe
to content, type, author, ecc.
For doing that i'm try to hook the link_alter and overwrite the link in the way:

global $user;
$options = notifications_ui_subscribe_options($user, 'node', $user);
$i = 0;
foreach ($options as $index => $option) {
$notify = 'notifications_' .

[development] outputting a form button in a view

I've selected rewrite output in a field, and added
in the text block, and have put the same in
the block in the field Global: Custom text. The html doesn't show up in
the output of either. Scratching my head.

[development] Security Question about session handling

Hi drupal friends

I've written a patch for the ip_login module. It extends the module with the
possiblity to have a "login as an other user" link.

Basically it does the following things:

1. Logs out the current user.
2. Makes sure ip_login does not straight login again.
3.

[development] multisite installation

Hello all,

I've setup a multisite installation in this form:

a.example.com
b.example.com

c.abc.com -> a.example.com
d.abc.com -> b.example.com
e.abc.com -> a.example.com
etc....

I noticed that the only thing I change in the settings.php file is the
connection string and filepath, so I created one folder:

abc.com

That gets all the requests.

[development] Multiple search blocks doing different searches.

Hi,

My goal is to set up a tabbed search block which I'll use Quick Tabs to
build, where each tab will prime the search with a keyword. The step
before this though is to have multiple blocks that do slightly different
searches. Defining the blocks is easy enough but I can't use
hook_db_rewrite_sql (an example from searching at [1]) as I don't know
what block is calling it.

[development] Consulting about speciall permission configuration

Hi all:

I've created in my site a speciall user wich has a particular "role" Admin2.
I have gave some speciall administrative permisions to him.

[development] Good practice for module development

Hello,

Is there any good practice advises for developing modules?
*.module file gets too long. I would like to put form definitions
to one file, block definitions to another.

Regards,
Ktt

[development] Drupal 7 cannot display correct order of input filters

Hi,

After latest update I just found Drupal 7 cannot display correct order of input filters. But the change of order did work.

x.

[development] Drupal 7 has weird fatal error with fastcgi and xcache

So I've been trying this for a couple days now and I get this error:
Fatal error: Cannot redeclare field_flush_caches() in
/../d7/modules/field/field.module on line 134

It only happens when using fastcgi and xcache. xcache and mod_php have
no problem and fastcgi without xcache is also fine. It seems to be
related to the autoload functions but I can't for the life of me
figure out why. Google has been very little help either. Anyone have
any idea what's going on here? bug in xcache?

[development] Automatic linking to module under "Create content"

Hello,

I writing a module and would like after installation
it automatically appear under "Create content".
Is it possible? Or should I create new node type for this?

Thank you in advance?
Ktt

[development] autocomplete on api.drupal.org details

Hello Everyone,

I've been really impressed with the speed and functionality of the
autocomplete functionality on api.drupal.org--nicely done! I looked but
could not find any details on how it was customized, for example so that the
first suggestion in the "dropdown" is automatically selected. Does anyone
know how this was coded/customized or setup?

Thanks!
Tim

[development] warning: Missing argument 1

Hello,

I have strange errors(warnings) with hook_access in 6.15:

function EmMarketing_access($op, $node, $account) {

}

Getting these in admin interface:

warning: Missing argument 1 for EmMarketing_access() in /Applications/MAMP/htdocs/drupal-6.15/modules/EmMarketing/EmMarketing.module on line 158.
warning: Missing argument 2 for EmMarketing_access() in /Applications/MAMP/htdocs/drupal-6.15/modules/EmMarketing/EmMarketing.module on line 158.
warning: Missing argument 3 for EmMarketing_access() in /Applications/MAMP/htdocs/drupal-6.15/modules/EmMarketing/EmMarketing.module on line 158.

Pr

[development] Altering an RSS Feed

My customer doesn't like the way the RSS feeds look. For example, on a taxonomy feed, they want to see the term description rather than the term name. And for blogs, they want to see RealName rather than userid. I am still looking, but am at a loss so far as to how to change these titles. Does anyone have a good idea? (Yes, I know how to code. Yes, there is already a site-specific module in place.)
 
Nancy E. Wichmann, PMP
Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.

[development] Writing the Database Problems

Hi all,

A few days ago, I posted a "reward" for help with some difficulties a friend
was having writing to the database. As it turns out, he had forgotten to
initialize a variable somewhere in the code and that was the problem. It
took him a while to ferret out since it was failing silently at the db
level.

Thanks to all who responded - he now sees the advantage of sleep during the
debugging process. :-)

Thanks again..

[development] Deployment process

Hello all

very early on in my Drupal learning process but have been asked to come up
with a solution where the client will be entering content on the production
site and we may very well be making structural changes ( css etc )
on DEV and changes to the site setup ( for example a page name or somesuch
) , is there a way to seperate the data entered for content types from
everything else so when deploying a site to production we can do so without
worrying about content being lost.

Thanks

Stewart

http://www.flickr.com/people/mrbirch

[development] How do I write to the database?

My colleague is trying to simply write to a mysql database. And having
a pretty difficult time of it.
He has gone through the forums, posts, books and Pro Dev Drupal and is
still having
a problem

We are wondering if it is because he are working with computed fields?
Does that make any difference
in syntax, for example?

If someone could post any samples they have used of syntax - writing
to a Drupal 6.15, standard install using
computed field values - we would be so grateful. If it works, send me
your address - and I'll send you
a $100.00 bucks in pure gratitude!

Kind regards,

Chana

[development] Drupal way to seed data for a module.

Hi,

I'm building a module that has a lot of supporting data (it's a custom
shipping module that maps postcodes/zips to regions etc.) and know that
I can create the table using hook_schema() and could use hook_install()
to add rows of data to the schema, but I'm talking tens of thousands of
rows, so wondering if there is a better method for doing this?

Anthony.

[development] Module Idea for Feedback: Select Option Values

Development Peeps,

I'm thinking of a module called: Select Option Values

It would pull out part of CCK's text.module functionality
from admin/content/node-type//fields/field_
and put it on its own admin page with it's own permission.

[development] custom_url_rewrite_outbound

Hello all,

Would it make sense to allow the custom_url_rewrite_outbout to rewrite the
base_url, not only the internal path? I have a need to do this with a client
of mine and thought I'd throw the idea here to see if it warrants a patch,
already done, or if there's another approach to do it.

Why I may need this may be a little complicated, but in general, the client
has multiple URLs for the same Drupal site, and he wants some of the links
to send to the other site rather than internally within the same site.

Thanks!
AA

[development] Send Contents of new node by email (2nd attempt)

Hi Drupalfriends

How can I send the contents of a node by email after it has been created?

I installed the print module and tired to call their methods from
hook_nodeapi up on $op=='instert'. But it turned out that at this point not
all node information is saved, which causes a lot of funny side effects
(access control, strange messages on screen, etc).

The best thing I found is to have a hidden iframe, when the contents is
shown after the user hits send. The link of the iframe would call a call
back url which triggers the mail functionality.

[development] Block visibility only in module pages

Hello,

Is it possible to define block to show only in module pages?
I would like to define that in module code - is it possible?

Thank you in advance,
Ktt

[development] Send Contents of new node by email

Hi Drupalfriends

After the user hits "Send" for a new cck node, I'd like to send the contents
of this node by email. In order to do so I installed the print module.

Then I call the appropriate function of the print module in hook_nodeapi.
This works fine as long as I am the admin user.

The anonymous user gets the access denied page.

[development] Fully patched site hacked and cloaked

Hi,

This is to share an (unpleasant) experience I had yesterday on a hacked site
of a client (hacked despite fully patched modules and D6.15).

It was apparent hackers used a cloaking method, i.e.

[development] problem with drupal_goto

I have some custom nodes and I need some blocks to appear depending on
node-type.

My approach to solve the problem was replicate "/node/$nid" behavior
to "/my-type1/$nid" in order to make blocks visible depending on
node-type. If a user entered a view to "/node/$nid" he got
"drupal_goto" to the right url.

My problem now is that for some node-types /type/$nid works, but
/node/$nid stopped working; any hint?

[development] Module developing with Views?

Hello,

I develop module and would like to place some
links and menus to separate boxes.
Is it possible to do it with Views?
Are there any good resources?

Regards,
Kast

[development] Help with CKFinder installation

Hi drupalers

I've installed the module CKEditor into my website (not FCKeditor) and it
works very well, so now i'm trying to install the filebrowser CKFinder but i
getting the following error:

CKEditor 3.1

You are using a feature that requires manual integration into config.php
(either built-in filebrowser or quick uploads are enabled in the
Avanzadoprofile).
Read instructions about enabling built-in file browser and add
"require_once ..." statement in
editor/filemanager/connectors/php/config.php.

I don't understan

[development] How to trigger access denied page from hook_nodeapi

Hi Drupal friends

I'd like to trigger a access denied page from my hook_nodeapi function up on
$op=view.

I already tried:

unset($node->content);
drupal_access_denied();

This gives me a strange result: two access denied pages after each other.

Thanks for giving me a hand!
Best Regards
Ernst

[development] Simpletest question

All,

Is there a way to figure out the table prefix that Simpletest generates at runtime? I am trying to run a test that does a bunch of inserts, then I need to figure out how many rows were created in the table. However, I can't query the table because simpletest changes the name of it every time.

[development] where to put settings for a proxy script?

Hi list,

For the mapping kit module, I am using a proxy script to fetch external map
layers into the openlayers client. Some settings for this proxy script are
now inside the script file itself, e.g. which target hosts to allow, or
which types of content of responses to accept. What would be the preferable
place for these settings? For performance reasons, the proxy doesn't
bootstrap a minimal Drupal, so the settings will not be configurable through
the admin pages.
I liked the suggestion at http://drupal.org/node/685732#comment-2517110 to
put the settings in the default settings file.

[development] verbose_permissions_help Module Idea

While we are vetting module ideas....

I have been consistently underwhelmed with help that site builders/admins
get when trying to assign permissions to roles. Permissions are incredibly
important and obviously have big security implications, but that is often
really hard to do with the often cryptic short phrases on the permissions
page.

[development] Looking for co-maintainer

I maintain the Advanced User module and just haven't had time to look
at the issues. My time has been totally used by real life work and
family life recently and I do not foresee that changing in the near
future. It the meantime there are some annoying issues that users are
seeing and I haven't had time to research them. Please contact me via
the http://drupal.org/user/86710/contact web form if you are
interested in helping.

[development] Drush consulting

Exists a web interface to drush? or something application that to connect
myself to a server and perform the tasks that i do with drush?

thanks a lot

[development] Consulting about installed modules

I need to know if exists any way (maybe through drush) in which i will be
able to obtain the list of all modules installed on a particular drupal
site. I would like to create an script to install all modules that i have in
a site to another with a clean drupal installation. I'm using drupal 6.

thanks in advance

Gastón Pablo Perez
Email: <...> at gmail dot com
Web: http://cv.gpperez.com.ar

Re: [development] custom css by path [feedback]

i think using this way will make it faster and easier for themers and for
people using the views to load custom css 4 every view page

[development] A module to change node creation confirmation messages

Currently the message that is shown to a user when a node is created - @type
%title has been created. - seems to be hardcoded into node.module. I've just
helped someone on IRC change this, but it's quite a long-winded process.
Would a module be welcome? It would unset the message set on line 463 of
node.pages.inc, and allow the user to set their own message on a
per-nodetype basis. Integrated with Token and CCK.

--Jim

Re: [development] custom css by path [feedback]

The Skinr module is adding this functionality: http://drupal.org/node/612934

[development] custom css by path [feedback]

hello i just want to get feedback about a module that will load custom css
for every path you want,

the module will get the list of paths and there custom css file from the
.info file for the current active theme as the following

customcss[node]=nodesstyle.css
customcss[images]=photoalbum.css

the module will load nodestyle.css for the path /node
and the photoalbum.css for the path /images

feedback needed.

[development] Passing CCK form values to Panel

Hello all,

I have trolled the depths of the Internet for what I thought would be
straight-forward - and can't seem to get the documentation - or the answer
to this. There are two issues:

1. I have a CCK form (with demographic information). I need to pass a subset
of those filled-in values to a panel or a page. Either one will do.
(Although Page seems better for
some other reasons, down the road.) There are a total of 8 fields, 2 are
computed.

2. I recently saw a tutorial around this that used PHP within Views 2.
However the "PHP Argument Code" box is not displaying on my instance.

[development] drupal and recovering from errors

Hi all,

I'm doing a master in communications and had a lot of courses on
usability. A feature that keeps coming up in most of the heuristics is
the ability to recover from errors. I've googled (a bit) on the topic
and haven't found much yet, so I was wondering if there are existing
modules or practices ?

I guess a lot of people deal with this through database backups and
restore nodes from there. I can also imagine that developers have their
own system as for example letting content managers unpublish but not delete.

Any other ideas, suggestions ?

HnLn

[development] D7 : progress bar info not correct in status report

Hi,

_System info _
database : mysql Ver 14.14 Distrib 5.1.42, for pc-linux-gnu (i686)
using readline 6.0
php : PHP 5.3.1 with Suhosin-Patch (cli) (built: Nov 23 2009 21:35:08)
webserver : nginx version: nginx/0.7.64

On the following drupal 7 url :
http://local.drupal/index.php?q=admin/reports/status

there is in blue :

Upload progress Not enabled
Your server is not capable of displaying file upload progress.

[development] cURL and drupal_http_request do not properly download certain Google News feeds

After getting a report that

http://news.google.com/news?pz=1&hl=ar&q=سوريا&cf=all&output=rss

is not properly downloading with Feeds module, I dug deep and
discovered that cURL and drupal_http_request() return an RSS feed with
no items, while wget and PHP stream_get_contents() do return a full
RSS feed with a number of items.

Details here: http://drupal.org/node/689552

I am unsure what is actually causing this peculiar behavior and I
would appreciate people's input.

[development] [D5] Nodereference + Exposed Filter

Hi,

My setup: Drupal 5 + Content type "A" with a nodereference to Content type
"B".

Now, i've created a simple views with a bunch of exposed filter with some
fields from Content type "A" and Content type "B".

Well, when i select some cck field of Component B on exposed filter i don't
have any result. (No problem, obviously, searching for fields of Ctype A).

Seems that the SQL generated is not considering the reference field from
Ctype A to Ctype B.

Any hint ?

Thanks,
Paolo

[development] CCK Noderef and Views

I have two content types: members (not users) and committees. I have the member type set up to use Nodereference to be able to make a member part of a committee. Now I want to create a view to show the committees and each one's members. Showing all teh committees is easy, but how do I then show all the members who are part of that committee?

Maybe I'm just too short on sleep.
 
Nancy E. Wichmann, PMP 
Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.

[development] replacement for $custom_theme in D7

Hi!

Today's release of the first alpha version of Drupal 7 motivated me to have a
deeper look at the code in order to start porting ThemeKey to Drupal 7.

I already know that the global variable $custom_theme doesn't exist anymore.
But if I look at the code, some patches that went into Drupal 7 and (most
important) the still pending patches in the issue queue it seems to me that
the corresponding feature in Drupal 7 is not ready yet.

What ThemeKey for Drupal 6 does is to set $custom_theme in it's implementation
of hook_init().

[development] The Status and Future of the Body Field

I'm working on a "What's New" in D7 screencast and I'm having trouble
figuring out the body field and what a best practice would be.

A quick review leads me to the following conclusion:

The body field is a legacy of a pre-fields-in-core Drupal.

I can understand, for ease of upgrading, why the body field might remain in
the node_revisions table.

But this is what I don't get: Why is the body field still there when you
create a *new* content-type the body field is still there on the
content-type edit screen.

[development] Different default local task in tabs?

Hi,

In my case I have menu entries like:
user/123/feedback
user/123/feedback/add
user/123/feedback/received
user/123/feedback/sent

1) is MENU_LOCAL_TASK, it displays in primary tabs and is called "Feedback"
2) is MENU_DEFAULT_LOCAL_TASK, it displays in secondary tabs and is called "Add"
3) and 4) are MENU_LOCAL_TASK, they display in secondary tabs called "Received" and "Sent"

1) and 2) go to same page - a form where current user can leave a feedback for user #123.

[development] Fwd: Creating embedded unordered lists of checkboxes

I figured out the problem with the custom checkboxes theme function and drupal_render. Basically, drupal_render is assuming that I will render all of the children checkboxes in my custom theme function, so it doesn't do it itself.

[development] the better approach to split $content output on page.tpl.php file(D6)

hi,

here is a rookie question.

I want to split $content output before it were return by page callback
function which declared by hook_menu, so that allow me to print directly
$content_top and $content_main at page.tpl.php file. Meanwhile, $content_top
and $content_main were generated by different function.

I found 2 approach to make it happen,

First one is using modulename_preprocess_page to declare variables before it
were passed to template file. It works fine.

e.g.

[development] So confused about arg(...)

I'm working on a hook_preprocess_page and it seems to be behaving strangely.
I have:

drupal_set_message('stuff '. arg(0) . '/' . arg(1));

$variables['nancy'] = $hook . arg(0) . '/' . arg(1);

In exactly that order, with no intervening lines.

Displaying the variable in the page.tpl.php shows "page taxonomy/term" but
the message shows "stuff r/ms" (even if I refresh the page, or clear the
cache). How can this be happening?

Nancy E. Wichmann, PMP

Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King,
Jr.

[development] No reaction on security mails?

Hi!

We discovered a critical security issue in Drupal 6 Core and wrote a mail
about it to <...> at drupal dot org more than two weeks ago. (2009-12-27)

The only reaction so far was an auto response mail from
security-<...> at drupal dot org the next day telling
"All e-mails sent to us are read by a member of the team and acted upon if
necessary."

Now I'm not sure how to continue. Does it take more than two weeks to read
through the mails and I just have to wait or is my message lost?

Markus

mkalkbrenner
http://drupal.org/user/124705

[development] cck filefield related question

Hi,

probably I'm in the wrong place but I try to ask..

I'm using hook_form_alter to present a special form to anonymous users
in D6.

I got unlimited upload for a cck image field, but I would to limit to 1
for unauthenticated user.

I've found this un-answered question in the cck issue queue:
http://drupal.org/node/530828#comment-2288010

Should I maybe play with the submit hook?

Thanks in advice,
Luca

[development] Creating embedded unordered lists of checkboxes

I have a need to create a two-level unordered list of checkboxes from a two level taxonomy vocabulary.

[development] Private file upload

Hi All

Can anyone suggest/recommend a module to handle users uploading files where
only the uploading user can view/link to/access the file?

Kind of like a private upload/file store system.

The site will require public download method, except for these files.

I've looked at IMCE but it doesn't appear to prevent hotlinking.
I've looked at private_upload and private_download.

I'm really looking for the private download/upload features of
private_upload with the 'each user has a personal file collection' features
of IMCE.
I also like the idea of combining the token aspect of uploadpath to fo

[development] Problem I am unable to locate

*Starting a new module and cant find the solution for this problem.

[development] Creating a user and assigning a node in the node's submit callback.

Hi all.

I've been trying to get a bit of code working, and I would appreciate a
set of eyes.

Basically, I have a content type ('profile') which has fields for user
account details.

[development] cache flexibility improvement

Hi,

I saw a chance to improve the flexibility of D7 cache, with
something that looks as a very small change.

I'm sorry if I'm missing something, but I'd really appreciate if
someone will point out what's wrong with my proposal.

Substantially D7 doesn't serve cached pages if $_SESSION isn't empty
as stated in drupal_page_get_cache docs (I couldn't find anymore
where $_SESSION is tested...).

This limit the use of cache substantially.
Nearly all users will have a not empty $_SESSION that will force
regeneration of ALL the pages.

Currently core put in SESSION:
1) openid
2) user_overview_filte

[development] user_roles() at hook_boot()

I need to check roles for a permission at hook_boot; but I recive a
"Fatal error: Call to undefined function user_roles()". Is it possible
that user_roles() is not defined at hook_boot? or am I missing
something else?

thanks.

[development] Need another pair of eyes - page callback & form

I've been staring at this an hour now...time go ask for help! I have
two reports. The menu entries are below. Each works. They are identical
other than name.
At the top of each, I provide a button to request a CSV. The report's
callback checks for the get value associated with the button. The
buttons are each submits.
The action for the form in each report is the final part of the callback
path.
Report 1 successfully returns to the callback function for it. Report 2,
when the button is clicked, just spins and spins. If I change the action
in report 2 to 'customers'...

[development] ISAPI Rules

Hello all,

I'm using ISAPI rules to rewrite a URL transparently. As far as I know, this
acts like a proxy.

Let's say the browser access URL is "abc.com" and this is rewritten
transparently to "xyz.com", all works great except, the Drupal session is
saved with the domain "xyz.com", making me unable to read it when accessing
the site on "abc.com" because it's outside the domain.

I believe optimally I'd want Drupal to write it under the domain "abc.com"
rather than "xyz.com". I thought this might be a setting read from the
$base_url inside the settings.php but apparently not.

[development] All hands on deck for Drupal 7 alpha 1 this Friday!

Greetings, folks!

As you may or may not have heard (http://webchick.net/node/73), on
Friday we are going to roll Drupal 7.0 Alpha 1. This will be the very
first time that the *vast* majority of the community (not to mention
the outside world) will download Drupal 7, and play around with all of
the hard work you've all been doing for the past ~24 months. So! I
would love to do everything we can to really shine it up over the next
couple of days.

There are three queues that I would love people to focus on if they
have even *one hour* this week sometime to help Drupal 7:

1.

Syndicate content