Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I would like to create a tab menu item (MENU_LOCAL_TASK item) in my node view page that links to a place where you can add or edit an item using a CCK item type I defined.
I added the menu item successfully, but I'm only able to link to paths that start with node/[nid]. If I try to insert the menu item with the link I need, which starts with node/add/[contenttype] or node/[some other nid]/edit, the menu link won't show up.
I'm adding the menu link from a custom module I created -- all the module does is display the menu item.
I would like the ability to have certain nodes (probably pages) have a button at the bottom where the user can "agree" to the terms or regulations that are written in the node.
Once the user agrees, a flag would be added to their account, and in a perfect world, would be added to the user summary in /admin/user .
I don't think that a new node is applicable, since its really just going to be a 'page' node - so maybe a custom module? or is there some trick with the Contemplate and Views module I can use?
I am interested in why this doesn't work (4.7), and what is required to make it work. This example displays a form, if I fill in the box and submit the form I can catch the button 'Submit' in the $_POST['op'].
If I catch the $op, then I add a little "Extra" to the form array. In the theme function, I then try to print the result (including the "Extra". This doesn't work, the extra is lost... why?
I'm new to the CCK module and think it is great. I wish I could create instances of a content type using a dropdown to set the node Title, to make normalized data.
Could I hack this?
Could this be a future option?
Does this exsist anywhere else (some other node type/module)?
I install modul banner as i read in instal.txt but in time a want to upload the very first - there is the error:
warning: getimagesize(http://www.decin.cz/files/images/slunicko.gif): failed to open stream: Connection timed out in /home/decin/www/decin-ng/modules/banner/banner.module on line 630.