Language
  • English
  • Français
Drupal custom theming or module development price estimate calculator

Drupal Theming

How to create a custom template file for a form with Zen subthemes

There are two stages of understanding needed in order to create a template file for a form in a Zen subtheme. The first level in my opinion is to understand how to achieve that same result in a normal theme.

In a normal theme all we need to know in order to create a working tpl (template file) for a form is the form id in question and the format to connect that form to the tpl from within the template.php file.

Drupal Primary Menu

Recently I started theming a Drupal 6 website. I installed WAMP locally and have been working there. Now it was time to move it to production server and the theme does not work the way I manipulated locally.

the biggest thing that does not work properly is the Menu, I had the menu set to show the secondary links when one of the primary links was clicked and now, the Primary Links show but not the secondary and I have check the settings for the menu and still does not work.

in menu settings I set the to be childs of the

1 Responses | READ MORE

Can Jquery Menu be used for horizontal menus?

Hello, i am new to this forum
How can i use the jquery menu for horizontal menus?
Thanks in advance

1 Responses | READ MORE

Custom Front Page showing several box based on taxonomy

Hi all,

Which is the best way to customize front page of my site?

  1. I have a vocaboulary named "CATEGORIES"
  2. Example of categories (first level of terms) are: "music", "art", "sport"
  3. Every category has is own sub-terms, e.g.:
    • music -> rock, country, jazz
    • art -> photos, sculpture
    • sport -> basketball, football, hockey

In my home page i would have a box for every category, listing all recent posts for that category (and posts of related subterms), like this:

Drupal advanced search page image button theming

Greetings. I have successfully themed a drupal 6 search form using the csearch methodology as found on the web. Everything looks great, the search box and new image submit button are in the header. The problem is that the same image submit button is drastically shifted out of site on the advanced search page itself, what shows on the breadcrumb as Home >> Search. In IE, I see the top 3 or 4 pixels of it as though it has dropped down, and in Firefox it is cut off on the right and left sides.

4 Responses | READ MORE

JQuery Menu / Superfish Compatability

I've been reading "Drupal 6 - Ultimate Community Site Guide" - it's a tutorial on how drupalfun.org was built. Early on it suggests using the Pixture theme and the DHTML Menu module. In researching these, it appears that the Pixture Extended theme and JQuery Menu module might be better alternatives. Since Pixture Extended uses Superfish menus (a jQuery plugin), I'm wondering if there might be conflicts in combining the two.

Here is the part of the documentation for the theme regarding the Superfish Drop Menu:

1) Build a standard drupal menu. Set the correct levels to "expanded".

1 Responses | READ MORE

Theming Node type

I have a gallery created with Views, however when I click on the thumbnail, the default node type (content type) is displayed. I thought that it would be possible to create a View for the Content (node) type, but I do not see how do this? So to theme the node type do I have to do that in the template file or create a node_type.tpl file?

6 Responses | READ MORE

Horizontal tree-like menus in Pixel Clever Tutorials

I would like to implement a menu system like the one in the top block of the main column in the Pixel Clever tutorials section, in which two horizontal menus at the bottom of the block seem to do duty for a menu tree, with the selected results (taxonomies?) being displayed on the blue menu bar at the top.

This is really great work in my humble opinion. If any how-to sharing is possible and appropriate, I would be most appreciative.

2 Responses | READ MORE

Drupal RSS feeds for Pixel Clever.com

Want to be kept informed whenever new content is added to Pixel Clever? If so you can subscribe to the RSS for the whole site, or for particular subjects that interest you. Below is a listing of feeds that you may find useful.

The Pixel Clever Blog feed: News, Announcements, commentary on Drupal, project management and on technology in general.
http://www.pixelclever.com/blog/feed

How to programmatically insert a view into a tpl or content in Drupal 6

In Drupal 6 views has been completely rewritten from the ground up, and as such we have to adjust the little code snippets that we developers have collected over the years to compensate.

The old way ( Drupal 5 views 1 ) of inserting a view into a tpl or into a php enabled content area was as follows:

<?php
$view_name = 'text_listing'; //name of view
$view_args = array($oldstring) ;
$view = views_get_view($view_name);
print views_build_view('embed', $view, $view_args, $view->use_pager, $view->nodes_per_page);
?>

This has now changed to the following:

<?php
  $view_args = array();
  $display_id = 'page_1';
  $view = views_get_view('logo_slideshow');
       if (!empty($view)) {
        print $view->execute_display($display_id , $view_args);
  }
?>

Ask a question related to Drupal development or administration