Content type

Content type comes up as a question on half the module development projects I work on. How do you create a content type from your module? What are the differences for D7. And so on. I created a content type definition module for my own projects, Content type, and my question is: Would it help you more as a pre-built module or a code example?

Error creating image-styles

I get this error trying to create a new image style and i get a error in the image generation.

Warning: Division by zero em theme_image_style_preview() (linha 786 de /var/www/novoportal.faccat.br/htdocs/portal/modules/image/image.admin.inc).
Warning: array_intersect_key(): Argument #1 is not an array em theme_image_style_preview() (linha 788 de /var/www/novoportal.faccat.br/htdocs/portal/modules/image/image.admin.inc).

This is a issue in the imagemagick module, but im using the image module from Drupal 7.10.

What can i do?

hos to restick access to anonomious user access to nodes

How to restack access to anonymous user access to nodes
i like to add videos to a site with restricted access
I like to build a website using Drupal 7 which contain some document & videos
Where only registered users should have access to those nodes
And authorized users should have access to those nodes

i want to develop a job site. Is it possible to develop a naukri.com like site in drupal?

i want to develop a job site. Is it possible to develop a naukri.com like site in drupal?

How to use image_scale_and_crop() D7

Hi there, I need to use the above mentioned function "image_scale_and_crop()" in my project.

I have coded it and it executes without any error and return TRUE. But, where would be the destination of scaled image? In D6, there was a parameter to pass $destination. Although, it is removed from D7.

Any one, please guide me in this.

Language switcher doesn't change node to apropriate language?

I got a (basic page) content on my site in two languages (useing the translate tab). When i'm on the frontpage, switching languages with language switcher works ok (got diferent nodes set up for frontpage). But when i browse to the basic page and switch languages, it switches everything but the content node itself (switching language by link below the node works right). What am I doing wrong?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x