Drupal Site URL Change problem

Disregard this. I'm a n00b, just made a rookie mistake is all. <_<

Reporting abuse with description

Hey!

I would like to allow users to report abuse for nodes, comments, forum topics but with text description, like 'Why this post is abusive?', where user can describe his intentions. Flag abuse is good for just flagging post not for adding description. Does anyone knows how to solve this problem?

thanks in advance

Creating field instance during hook_insert() causes PDOException

I'm trying to create a field after a node has been created, but it does not look possible:

PDOException: SQLSTATE[42000]: Syntax error or access violation: 1305 SAVEPOINT savepoint_1 does not exist in field_read_instances() (line 703 of /var/www/drupal-7.2/modules/field/field.crud.inc).

Just creating a simple field and field instance for a node type in hook_insert():

Fatal error: Call to undefined function - D7 custom module

I have enough functions in this module that I want to split them into different files to keep them organized. I have:

my_module.info
my_module.module
my_module_more_functions.module

In my .info file I have the line:
files[] = my_module_more_functions.module

I call a function in the more_functions file and I get the error. Drupal is not seeing the functions in the second file.
Before you ask...I am clearing the cache.

Unexpected pager behavior on blog

When a blog is displayed in /blog, I'm only getting 1 teaser and the pager. I'd like to get the default 10 teasers!

I've deleted my views, disabled and uninstalled views and blog modules then re-installed blog module. The one teaser per page is still showing up. Any ideas for restoring the 10 teasers per page?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x