Put this line in your .bashrc. If the user has a directory named 'bin' then that will be added to the PATH. All scripts in that path (wich are executable) will be available as commands to that user.
[code]
# enable bin diretory in PATH when foundif [ -... Read More »
Resizing fields using a custom module
You could also resize the field using a custom module. For example, if you created mysite.module, you could use something like this to reduce the field size to 30 characters
[code]
function mysite_form_alter(&$form... Read More »
suche nach Leerzeichen im Wortsinn ersetzen durch "&zeichen(10)&" ohne die Option [ ]regulärer Ausdruck
Suche nach ^.*$ ersetzen durch ="&" mit der Option [x]regulärer Ausdruck
Dadurch werden die Texte in Formeln gewandelt mit Umbrüchen statt Leerzeichen.
[code]
... Read More »
[code]
<?php $results = db_query("SELECT DISTINCT nid from node_revisions WHERE body REGEXP '<style>.*</style>' OR body REGEXP '<style>.*</style>'"... Read More »
Instead of having multiple configurations for multiple domains, and the numerous if/then/else statements not to mention the various locations for storing the configuration....instead, enable hooks in your application config and then add this snippet of code into your application hooks directory.
[code]
<?php ... Read More »