In which file should one best place bullshit view-related functions? like, say i have function foo($bar) which takes a string and returns a modified string, and I am going to use that functionality all throughout my site?
I placed a function like this right in node.tpl.php where i was working, just for a quick test, and it causes my webpage to crash and not render at all. Where SHOULD it go?
thanks
I am using a shared server which is currently running php version 5.2.15.
I understand that Drupal 7 requires php 5.3
I have asked by hosting company if they can help, to which they politely replied...
-------------
Lots of scripts aren't compatible with PHP 5.3 due to all the functions they have removed so we don't offer it on our shared hosting at this time.
I'm new to drupal and looking forward to getting my feet wet. What I need to know is, is it possible to create groups or rather "organizations". I would need that organization to be a self standing entity and I would need to give user's certain permissions over it. As in there would be organization administrators and moderators, etc.
I need to override the 'user/%user/edit' page for a specific user role, say 'foo_role'. I have successfully created the new user registration form that explicitly selects the fields to be used in creating a new foo_role user however, because there are additional user fields not applicable to foo_role the edit page for this role is not correct.