recentpopularlog in

therobyouknow : code   202

« earlier  
how to add code in the head section of a drupal 7 theme ?Resolved |
copy html.tpl.php from drupal/modules/system/ directory to your theme directory.
In that file you can add the above code in the head section.
head  html  page  tag  howto  add  drupal  template  computing  web  dev  cms  solution  code  section 
october 2016 by therobyouknow
Render view's exposed form anywhere in a theme/module | Drupal snippets
 * Returns rendered exposed form for a given view.
 * $view_name
 * - A string with a view name,
 * $display_id
 * - A string with a name of view display,
 * @return
 * Rendered exposed form.
function MY_MODULE_render_exposed_form($view_name, $display_id = 'page') {
$view = views_get_view($view_name);
$form_state = array(
'view' => $view,
'display' => $view->display_handler->display,
'exposed_form_plugin' => $view->display_handler->get_plugin('exposed_form'),
'method' => 'get',
'rerender' => TRUE,
'no_redirect' => TRUE,
$form = drupal_build_form('views_exposed_form', $form_state);
return drupal_render($form);
Render  views  exposed  form  anywhere  theme  module  obtain  computing  web  dev  cms  howto  dropbucket  code  snippet  drupal 
september 2013 by therobyouknow
Python Directory Walker
Ideal for processing directories/folders and their leaves (files) for numerous applications.

softdev  programming  computing  howto  code  python2.x  python-2.x  2.x  walker  directorywalker  directory  folder  file  traverse  traversal  recursion  treewalker  python 
february 2012 by therobyouknow
CodeIgniter, ExpressionEngine and the Worlds of Web Development :
nice fluid shrink-to-fit site which exploits the movement of page elements as the window is resized by the use of layers/stacks css-z-index so that page elements overlap appear on underneath others
idea  design  visualdesign  computing  underneath  overlap  stack  zindex  z  css-z-index  z-index  layers  shrink-to-fit  fluid  code  expressionengine  webdev  development  webdesign  framework  programming  blog  php  codeigniter 
january 2012 by therobyouknow
« earlier      
per page:    204080120160

Copy this bookmark:

to read