I am trying to create a new node content type through the node_example.module. I have created the table, changed the proper fields in the module, and uploaded to the modules directory. Before drupal loads, I get the code in plain text. Upon enabling, every page is the code in plain text. What am I doing wrong?
I'm having trouble accessing custom node values from hook_submit. It seems the $node param is only being populated with the basic node values, not the additional values I add via hook_load(). Later in the process, the extra values show up just fine in hook_update.
Is this normal behavior? If so, is there another way to access custom node values from hook_submit?
(With my lack of experience, I'm leaning towards using another database query in hook_submit to retrieve the data I need.)
I was asked to provide some info on how I updated Tagadelic for use at my 5.0 site, and I thought the information might prove useful to others who are maybe new to the whole process. Basically, it involves looking in the handbook for the new changes and then scanning the code to make them! Simple enough on a small module like Tagadelic, but it can be quite a task for larger projects like e-commerce.
Check out the article and let me know if I left any holes or made any mistakes. I won't put that past me, especially after midnight. ;)
I am using the e-commerce apparel module to produce some simple variations like color and size. Question is what is the Drupal way of adding image support to each attribute. For example, color would have some color swatch where users can select colors from a swatch of images instead of using a drop down.
AS soon as I enable Firestats.module and go to the settings page for that module, and enter the proper path to firestats on my server, and then go back to the settings page and check the "administrative pages" or any of the roles, I get a blank page with this:
FireStats is not installed in the database, go to the Database tab to install FireStats in the database