Replicate remote server file directory onto local server
rsync -av user@
e.g. rsync -av mike@66.39.204.501:/usr/www/users/mike/websites/ford ford
rsync -av user@
e.g. rsync -av mike@66.39.204.501:/usr/www/users/mike/websites/ford ford
Within Views module when using Date module how to change exposed filter 'Year' to something else like 'Any'.
1. Edit date module file: date/date_api_elements.inc.
2. Insert the line below within the "function date_select_process($element, $edit, $form_state, $form)" and before "return $element;"
$element['year']['#options'][''] = 'Any';
Original Ref: http://drupal.org/node/1145552
Within the Views module edit handlers/views_handler_filter.inc
Change the occurance of
Not the perfect solution - but it works.
The default block.tpl.php resides at:
modules/system/block.tpl.php
This can be copied and placed within the 'theme' directory. Afterwhich, this version will be used.
To make specific to a particular block simply include the 'blockname' as follows: block-blockname.tpl.php.
e.g. block-views-news-block_1.tpl.php
To make specific to a region where the block is located simply include the 'region' as follows: block-region.tpl.php.
Within the template.php file add something like below:
function phptemplate_preprocess_page(&$vars) { $vars['random_descriptor'] = rand(1,2); $vars['sample_variable'] = t('Lorem ipsum.'); $vars['random_key_message'] = rand(1,3); $vars['faq_terms'] = theme('links', $variables['taxonomy'], array('class' => 'links inline')); // To remove a class from $classes_array, use array_diff(). //$vars['classes_array'] = array_diff($vars['classes_array'], array('class-to-remove')); }
Then within the page.tpl.php add something like below:
mysql -u root -p mysql> CREATE DATABASE testing; mysql> GRANT ALL PRIVILEGES ON testing.* TO test_user@localhost IDENTIFIED BY 'test_pass';
With over 25 years of experience, Zerotouch has been designing and developing custom websites for a diverse range of clients across various industries. Our proven track record showcases our ability to create high-impact websites that drive measurable results and deliver a strong return on investment.
Our focus is not only on building exceptional websites but also on providing ongoing support to ensure your site continues to perform and evolve with your business. We offer comprehensive post-launch services, including: