I created a field which is part of a node type which has 3 fields (Including "title").
The problem I'm having is when I'm validating the field I created using hook_field_validate() and hook_field_widget_error() I require that the field be unique.
To do this I query the DB table and look to see in the entered value already exists and if it does I want to redirect to the node.
The problem with this is that when I do the redirect in hook_field_validate() the other fields continue to validate and thus output error messages on the page which the user was redirected to.
I am attempting to install the Colorbox module. When transferring the module to specified location the ftp client reports back the error: no such file or directory.
This is my first module install. I am sure that I am overlooking something obvious.
Hi, I have a content type with an image field. At 'Manage display' I can set the order of displaying the fields but if I want to set the image style, the options are very poor. How can I set here margins, borders, floating etc? I could manage it at Views but here at 'Manage display' I could not success. Thank you for your answer.
I am familiar with the http://drupal.org/project/print module, but it only seems to work with nodes. I do not believe cart is a node. Does it have a node id?
I need to have a setup where customers put items into their shopping cart (ubercart) and insted of checkout, they either save a pdf of the cart or email the cart contents.
I am trying to change the look on the language icon modulo on my theme so, it only appears the flags horizontally without text instead of vertically with text, also I want to change background and text font and color.
So, my question is where is the CSS file for the module language icon or even the css or any module?
I have created my own custom themes for a few years, and I feel now that I would like to give a crack on creating my own base theme.
I looked around the web for some guidelines in creating your own base theme, and surprisingly, I haven't found much in terms of pitfalls, guidelines, etc.
I know that the answer depends on what I would want the base theme to do and structure it as minimally as possible, but I wanted to open up a thread to just get some feedback in terms of best practices, pitfalls, etc. in creating a base theme.