I've been doing something a bit special last night.
I couldn't find a demo/screengrab thing that I liked enough, so I thought about doing it the hard way.
... Then I decided to go even harder than that.
I'm a newbie Drupal module developer - is there a hook (or any other method) of being notified when the settings page has been saved (ie after save on hook_settings)? I need to do a bit of work on the settings that have been saved, but can't figure out how.
I've coded a module which should read informations out of the database... everything works fine if i am logged in with the administrator account, but when a anonymous user wants to access the page the following warning is shown:
warning: mysql_real_escape_string() expects parameter 1 to be string, unknown given in ****\includes\database.mysql.inc on line 239.
I don't know why, because I didn't called this function :(
I'm trying to set up a block that will show a content that is placed at one of pages. The meaning is that editor can change a content of the page (text, links, images) and it will be automatically shown at one of side block. Is it real? I've tried few modules but all of them give an option to make custom menus, not content.