See the Mailing lists or Drupal Issue queue. There are also various working groups on groups.drupal.org

file_transfer() question

I am trying to download a file using the file_transfer() method. It seems that I cannot download a file unless it is in the files directory of my Drupal installation.

Any thoughts as to why that would be?

Thanks

Rich

menu.type reference table?

hi

i tried to understand the meaning and logic of menu.type field, but i cannot find any reference table to this field. i also tried to understand from source code, but i'm unable to understand this number generation.

someone able to explain how this numbers are generated?

Regards
Alex

How to change the order of fields displayed in a form?

Hello!
I was looking at the hook_form_alter of nodeteaser ... a teaser is added to standard node types. Now the teaser field appears below all the form fields. If I want it to appear above the fields, what do I have to change?

$form['nodeteaser'] = array(
'#type' => 'textarea',
'#title' => t('Teaser or Summary'),
'#default_value' => $tags->teaser,
'#cols' => 65,
'#rows' => 3,

html in drupal's code

correct me, but I always thought, in such project as drupal code must be in one files and html, css codes must be in other. but even in drupal 5.0 there are too much html code in core and modules files. and its makes theme design difficult. why developers cant write all html in templates? it would be more better for all who want to make his site more beautiful and original.

thx. and sorry for my english. )

Is there a way to track what generates a query?

With the new modules on Drupal 5.x I quite often get reports of broken queries. The last such event comes from the HEAD version of AcidFree. I've been trying to intercept the query creation from inside the module, and that's where I came to understand (if I'm not totally hallucinated), that this does NOT happen inside the module.

The error I get is:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DISTINCT(node.nid) AS node_nid FROM node node LEFT JOIN term_node term_node ON ' at line 1 query: SELECT DISTINCT(node.nid), node.sticky AS node_sticky, DISTINCT(node.nid) AS node_nid FROM node node LEFT JOIN term_node term_node ON node.nid = term_node.nid LEFT JOIN term_data term_data ON term_node.tid = term_data.tid AND term_data.vid IN ('4') LEFT JOIN term_node term_node2 ON node.nid = term_node2.nid INNER JOIN node_access na ON na.nid = node.nid WHERE (na.grant_view >= 1 AND ((na.gid = 0 AND na.realm = 'all') OR (na.gid = 0 AND na.realm = 'og_public'))) AND ( (term_node.tid IS NOT NULL) AND (term_data.tid IS NOT NULL) AND (node.status = '1') AND (term_node2.tid = '22') ) GROUP BY node.nid ORDER BY node_sticky DESC, node_nid DESC LIMIT 0, 15 in file E:\www\drupal-5.0\includes\database.mysql.inc on line 172.

Garland Theme 'Breaks' At 800x600

I wasn't sure if this should be reported as a bug, or if it would simply become a 'by design' item, so I thought I'd put it in the discussion forum first and let everybody else decide...

If you view the new Garland theme on a monitor with a resolution of 800x600, or if you use the 'Resize' option on the Firefox Web Deveopers Toolbar to view a site using the new Garland theme at 800x600, the horizontal scroll bar appears because the minimum width of the theme is too wide.

A quick fix was to apply the following to style.css:

Pages

Subscribe with RSS Subscribe to RSS - Deprecated - Drupal core