This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Taxonomy XML: can you import hierarchies from scratch

Hi, I use taxonomy XML import to build up my site, and want to be able to import term hierarchies from scratch. I've tried various things but can't seem to get the XML right to make this happen. Do I need to specify the TIDs in the XML file and then refer to the parent TID in the child term statement? I've been leaving the TID empty and letting drupal assign it during the import.

Any help much appreciated.

Doug

5.x hook_validate in custom node module missing node data

I'm trying to create a module that manages a custom node type, following the various tutorials, etc. available here. It works mostly, but it seems that the $node object passed into my custom validate handler is incomplete. Only some of the values from the original node are present; mostly key values (nid, vid, etc.) as well as any values that might have been changed by the form. However, other values from the original node are not in the $node passed into the hook_validate/hook_submit handlers.

Data entry and image upload solution for 5.0? Maddening!

I'm trying to keep a positive attitude, but Drupal is becoming so frustrating that I'm just about ready to dump the whole mess!

How can something as basic as text entry and inline image uploads be so poorly supported in Drupal? It's the main purpose for a CMS for ^&*&*'s sake! It's like Drupal keeps hanging a carrot just out of reach. I've got to get a functioning website out there!

I had a halfway decent setup with tinymce and img_assist in 4.7. (after spending days tweaking the installs, javascripts and themes, styling, etc., and putting up with tiny's weird formatting) I built a simple tinymce theme, with limited buttons. The user could click on the img_assist plugin button and install an inline picture with automatic styling from img_assist's css. The viewer could click on a thumbnail and popup a larger version of the image.

Pretty clunky interface and a pain to set up, but it worked.

NOW, enter Drupal 5.0. I'm about to release my site so it makes sense to move to 5.0. (I thought) So many needed improvements in other areas. Except now, img_assist is nowhere to be found for 5.0! Tinymce has been rewritten and has lost half its functionality, with no way to build custom roles or themes. There's no way to turn rich text editing off and on anymore.

Changes in views_upload.inc don't show in Views Edit screen but other changes do show in View

I'm working on a simple patch to views. Why won't my changes to options in views_upload.inc function upload_views_tables show in Views Create/Edit screen, but other changes to the display portion of the same file do show up in View mode? This verifies for me that at I am at least working with the right file...

Specifically, I'm adding some options to the "File: All files" field, but the changes don't take effect.

thanks!

problem with writing uid into DB when creating content automatically

Hi there,

I wrote a module that creates content automatically. Everything is working fine except author is Anonymous - it writes uid=0 into database when at the same time watchdog shows correct user name under which cron job logs in and executes the module. I tried printing $user->uid from the code and it works, but adding it to the content node array through $node['uid']=$user->uid; - doesn't work :( All other $node[] variables are being saved in a DB just fine.

I appreciate any suggestions. Thank you.

how to remove "Request new password"?

Hi guys.

I try to remove this text line: "Request new password"?
how to do that?

i would also like to change width of username and passwords forms.

just don't know how to do that?

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions