Hi all,
I'm coding a custom node module which use hook_insert instead of hook_form (due to xls parsing need).
Which tables do I have to use in addition to my module table: currently, my node is not recognized by the system if I don't create it throug the node creation form, and my hook_insert just insert the node in my module table.
Do I have to add an entry in node table, node_access...
I believed it's automaticaly done when the hook_insert is called.
first of all I'd like to note that I'm not versed in php as much as I would like. That aside, I have a problem commanding page layout (see example @ the site I'm trying to maintain. What I would like to do is to have no breaks between the lines, so things should look like so:
Druzina: Debeloglavcki (Hesperiidae)
// ok, one break :) Latinsko ime: Carcharodus floccifera
I downloaded the mailhandler-5.x-1.1.tar and am trying to work with it. I have couple of queries:
1) In the fromheader if I don't want the default "From Header" to be the author but the "To Header", what do I enter here?? do I enter Sender, FromSender, TO:, toheader. I tried couple of things and it did not work and I tried a search on this forum/docs, but could not find anything.
I just tried to add a new toolbar set to my FCKEditor so I can choose the Buttons I want to have and can still use DrupalFull and DrupalBasic. So I added this code in fckeditor.config.js:
I'm building a module that has a form, which, when submitted, will take the fields, run a database query, and display the results. I built the form, and set up the validation method. When I got to the submit method, I had no idea what to do. I tried to return a table, but it would give me a 404? I've literally searched for hours and I am at my whit's end.
Did I completely miss something in the docs or am I approaching this completely wrong?