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

Custom node module and hook_insert

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.

Thinks for your help.

Not able to hardcode URLs in the block...

Hi Friends,

I have problem in adding Static Hyperlinks (hardcoded URLs) in the blocks.

For example,

If I hardcode the following URL
http://localhost:82/people/marketpro?page=1

When I click the hyperlink in the page, I am getting

http://localhost:82/people/marketpro%3Fpage%3D1 in the address bar of my browser and it goes nowhere.

Can someone help me?

Thanks in advance...!

help with page layout (CKK/ConTemplate)

Hello,

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

Mailhandler 5.x-1.1

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.

FCKEditor: Adding an own Toolbar set

Hi,

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:

Proper way of displaying a result set?

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?

Thanks for the help

Pages

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