Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I'm about to add a relatively simple feature to a custom module I'm working on that creates another tab on the "view"/"edit" tab list which allows you to copy the fields of an existing node into the form fields of a new node. My current concern is mainly for flexinode nodes, but I would suspect that other node types would also be supported. The main goal is to speed up repetitive data entry tasks.
My question is this: should I make this as a separate module? Would anybody find this useful?
I really like the autopath module, however I don't want to use it on all of my nodes just some. Is there a way to make it only create a path on say 'page' node types?
I am trying to get Drupal configured fully for a switch from php-nuke to drupal, but a big thing that I'm having a problem with is Google Adsense. In php-nuke it was a sinch to put the javascript code in a block.
I'm working on creating a module for drupal that would let Google Adsense work, but because javascript filled blocks is dropped entirely from page created dynamically, this just isn't possible.
Anyone know of a way to get this to work properly? I've tried searching the forums but maybe I'm missing something.
How do I access the variables that are stored in $user->session? They got converted (serialized) into something that when I do print_r looks like
[session] => client_type|s:6:"WinIE6";sClient_type|s:6:"WinIE6";iIframe|i:1;
(And so on... I have a complex array in there.)
When I run unserialize($var) on it - it returns an empty string.