Custom filter for the Drupal View’s Module
These might help:
These might help:
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">
Within the Garland theme the secondary links have a bug in that they wrap. A quick fix is to change page.tpl.php as follows:
- <?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?>
+ <?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?>
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);
}
This can be easily achieved using the views_menu_sort module. Whilst this is not an officially contributed module is can be obtained via:
http://drupal.org/node/313140 (see item #8)
Or directly download the zip file at:
To back-up use the mysqldump command. For example:
mysqldump -Qq -hdb28.pair.com -uzrtch_2 -p zrtch_mykb > my-dump-mykb.sql
To upload use the mysql command. For example:
mysql -hDBSERVER -uzrtch_26 -p zrtch-espanaviva dump-espanaviva-13OCT07.sql
There are three levels of security associated with every directory and file.
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
1. Review at: http://www.mikeindustries.com/blog/sifr
1. Select whole spreadsheet
2. Format > Conditonal Formatting
3. Select "Formulae Is"
4. Enter: =INDIRECT("J"&ROW())=0. This will apply selected format subject to value in cell J equalling 0.
You might like to refer to: http://www.asap-utilities.com
The example below will split the variable $content into an array $column[0], $column[1] and so forth.
The split will occur where is located.
$columns = preg_split('/\/span>/i', $content);
To print the columns simply use:
print $column[0]
print $column[1]