Base href

You can set the base href from the default to the required. For example assume the following HTML code is included.

<base href="http://beamish/flat/sIFR/" />

Thereafter all references would precede with: http://beamish/flat/sIFR/

Therefore:

<script src="https://www.zerotouch.com/sifr.js">http://www.zerotouch.com/sifr.js" type="text/javascript"></script>

http://www.zerotouch.com/sifr.js" type="text/javascript">

Collapse the menu fieldset by default

Within your template.php file enter the following:

function yourthemename_node_form($form) {
 // Collapse fieldsets
 $form_elements = element_children($form);
 foreach ($form_elements as $element) {
 if ($form[$element]['#type'] == 'fieldset') { //Identify fieldsets and collapse them
 $form[$element]['#collapsible'] = TRUE;
 $form[$element]['#collapsed'] = TRUE;
 }
 }
 return drupal_render($form);
 }

 

Unix file permissions

There are three levels of security associated with every directory and file.

  • The first is the "owner".
  • The next is the "group". You are assigned to the appropriate group when you get your account.
  • The last level is "other" which is everyone on the system.

You can give or take away permission to read, write, or execute to any of user, group, or other. To see what permissions are set, use the command

  ls -l

Here are two lines of example output