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

modify $node->something from hook_nodeapi

Hi everybody,

I have a module which create nodes of type "mytype" which has a field
called "something" accessible from $node->something.
I'm working on another module (mytype_change.module) which need to
modify one of the "mytype.module" field.
I want to change the "something" field of the just submitted node to
something different that the user input.
If the user insert 'foo' as value of the something field I want that
my mytype_change.module can change the value to 'bar' just before the
node insertion on database.

blog with subdomains

Hello

For example i have this http://www.site.com/blog/toma i want to offer blog as subdomain like http://toma.site.com

is it possible with drupal, ?? anyone have experience this !! can share with me !! i want to offer blog theme for each user but this module have not yet ready for drupal 4.7, anyone can help me on making drupal enable site blog as subdomains

Thank you

navigate to another page after submit

Hi,

I need to send the user to another page (congratulations page) after he had submitted a new node (created with CCK).

Can you please help me with this?

Thanks,
introfini

Hello Drupal folks!

I want to port some php-script I made, to Drupal.
(It's a guestbook, a gallery, a ftp-client, and a bookmarks_collection_wanabe_manager. that I want to port to Drupal.)

Any ideer how..?
(or maybe a native English speeker, that can collaborate)

I guess folks want to see the pre-existing modules (as acidfree) improved, instead of new ones.

For example I have tested that "acidfree", and it didn't work with php-safemode, or if it was its dependens module "filemanager". ( I wanto remember that it was similar problem with the Smarty-themes, that I solved with 'compile_id' instead of new 'compile_dir'.) A too many subs dir, cant create files things owner problem.

My own gallery that once was based on a project called 'phpix', once. The navigation.. and etc are superb.. (in my view) hum.. hum.. ( take a look on my gallery: http://phoohb.shellkonto.se/?page=gallery&file=tvpics%2Friket2005 )

It use php-ftp as a backdoor to workaround for php-safemode.
BUT I don't know if ftp are standard, and gives extra configuration problems (that is configuration problems, for newbies).

So that was some ideer.

Im rather new user of Drupal, and not an expert on its coding standards. And guess that a port of all scripts I mentioned, will take several month (in a hot summer). Something I can't do, and if I (alone) attempt, will be bad result (or less good)?

What extra is, I need Drupals spaam protection, for my own guestbook (thats why I also need to port that). This guestbook also works as an download-page (I dislike visitor downloading without ever leaving any note) And this guestbook/downloadpage will also be integrated into the bookmarks-collection page. (where visitors homepages will apear). And I was thinking of testing using (this new toy) Ajax on my ftp-client.

4.7 Forms How do I get the results of a form back into the form.

Is there an easy way to read user input from a form when generating the next display of the same form?

CCK and "default" fileds.. "terms","submitted", etc

Hi-

Drupal noob says:

I'm trying to slighly alter default Drupal nodes so they contain a few extra fields/variables which I can display/use for the display of images. With this in mind, I thankfully found CCK, which seems like all I need. I created a new type of content and created several fields for it. I also created a node template based on "node-content-example.tpl.php" with which I am successfully displaying the contents of my custom fields.

Pages

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