Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
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?
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.
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
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.
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?