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

CSS in views

A column in the views shows the text in all major and I want to change the initial of each word to uppercase.
I created a css class and in Style Setting, Create a CSS class, I entered the class name.
I try but it doesn't transform my text the way I want.

This is the code

text-transform: capitalize;

if I use this code

text-transform: lowercase;

it works and writes me everything in lowercase

The requested page could not be found for the first module development

Hello, 

I am working on my first module development. I started with the hello world. I created the module folder directly under modules directory. 

I enabled the module. 

When I go to examplesite/hello/world, I get requested page not found error. 

I cleared the cache but the error message still there. 

Module zipped file

Programmatically set Double Field value

Hey guys, I need your help. The task is to fill a form programmatically and it seems to be pretty easy with entity_metadata_wrapper:

How would you add a menu link for "Edit Current Page"?

I would like to add a menu link to one of the menus, preferably the User Account menu.  However, it should function like an Admin Menu, so for the sake of simplicity, let's say I want to add a Menu Item to "Edit the Current Page".

It was attempted here, but the details are sparse, and it did not work for me, even with the suggestions about cacheing at the bottom.  It retains the Node ID whenever the block was first made after a Clear-Cache.  The Node ID doesn't refresh.

Accessing user input from form table fields

I am building a custom module which has a form which functions as a calculator for a specific use case. This form contains a table which collects user input in rows, allowing the user to add new rows as needed.

My problem is that I need a callback function that accesses each row, performs calculations on the values in that row and return results for each row. I don't know how to access each value as the field name is the same on every row. I have tried using $key to give each field a unique name, but that does not help me loop though 'x' number of rows the way I need to.

module for banner

How to create custom module for banner, i have content type banner with img field that is link to another page, are somewhere any examples for this?

Pages

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