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

Show content above title and close both in divs?

Give example how that could be done.

[db_select/HOW] lists of articles without newest article

Hello,

I can select list of all article but without the newest article. I know how select article but i do not know how exclude the newest article.

My code:

Can't get "drush test-run PageExampleTestCase" to pass

I'm trying to set up tests that run automatically for my custom modules, but have failed to get tests to pass with 'drush test-run'. My eventual goal is to have these tests run under Jenkins. When I run my tests in a browser from admin/config/development/testing they all pass.

The following is sample shell script that installs drupal in a directory and then tries to run the tests for the page_example module.

For me this fails with errors like:

Page example functionality 27 passes, 30 fails, 0 exceptions, and 14 debug messages [error]
Test PageExampleTestCase->pageExampleVerifyNoAccess() failed: HTTP response expected 403, actual 404 [error]
Test PageExampleTestCase->pageExampleVerifyNoAccess() failed: HTTP response expected 403, actual 404 [error]
Test PageExampleTestCase->testPageExampleBasic() failed: Failed to set field name to m03SvPNI [error]
Test PageExampleTestCase->testPageExampleBasic() failed: Failed to set field pass to qtmnwVrqpV [error]
...

Show custom module on a single page not in a block

Hello,

I'm quite new to dupal 7.
But I want to build my own module and show it on 1 page only.
Not within a block that shows up on every page.

for example
Assume that I created a custom login module.
I only want it to show op when clicking the menu item 'login' in the content area or so.

what is the best way to do this?

greetings,

Hidden cck field

Have a hidden cck field that I want to display via code only. any ideas?

updating table field using hook form submit?

Hi

When a form is submitted im trying to take an existing field from mysql and increase the value by .01

I tried this code

Pages

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