Cut the CSS Fat

Hey all. I'm relatively new to Drupal in the past six months and overall I love it. In general, the Drupal sites I've developed are relatively easy to maintain and the community built around the CMS is responsive and helpful.

However, there is one thing that keeps on tripping me up: there is all sorts of additional markup that is generated that is just plain unnecessary for the display and styling of pages. I'd like to explore the feasibility of reducing some of the markup that is output in future versions of Drupal (probably beginning with v7 since v6's core code was just frozen, right?).

Here's an example of what I'm talking about. The primary links on one of my sites:

<ul class="links primary-links">
<li class="first menu-1-1-2"><a href="favorites" class="menu-1-1-2">My Favorites</a></li>
<li class="menu-1-2-2"><a href="product" class="menu-1-2-2">Store</a></li>
<li class="menu-1-3-2"><a href="forum" class="menu-1-3-2">Message Board</a></li>
<li class="last menu-1-4-2"><a href="categories/all" class="menu-1-4-2">Browse Categories</a></li>
</ul>

There's no reason to repeat the class on the li's and the descendant a's since you can style descendant selectors via css. That is, if you wanted to style the first link based on its class, you could just use the following css markup

li.menu-1-1-2 a {
/*whatever my style is*/
}

Poll Module DOESNT WORK!

When i set to users dont view how many votes was on the POLL... IT DOESNT WORK!
Since 4.7 versions it DOESNT WORK!
I really need to set this OFF... How to do it????

Installing modules with .inc/.install files

Hi. New to Drupal. I'm trying to install a facebook plugin for drupal, the following files are listed in the download:

facebook_apps.install
facebook_apps_admin.inc
facebook_apps_demo.inc

I created a directory under the /modules directory and put the .module and .info files there. Also put the .inc files in the include folder? I get this error when trying to enable the module:

Twitter

Im trying to display twitter rss feed content on the profile page. So far the only wa I can do it is to display a block within the main content.
Does anyone know of a way to display this kind of content as a view?

Making the leap to nodecomment

I stumbled upon the nodecomment project as I was trying to get comment_page (elevating comments to nodes) working the way I wanted to, and based on what I have read, nodecomment seems to provide the exact combination of voting API and promotion capabilities that I am looking for already built-in.

However, since using nodecomments would require a fundamental change from regular comments on my site, I have a few questions:

  1. Is anyone working on an upgrade tool for people who want to migrate their websites from existing regular comments? If not, I believe such a tool would really help accelerate the adoption of the use of nodecomments.
  2. For all intents and purposes, will non-technical end-users notice any difference in the process of filling out a comment, i.e. can it be done quickly as if they were using regular comments, or is there additional overhead of creating a post?
  3. Do other modules which rely on "comment" play nicely with nodecomment, so long as I change the module info dependencies to require "nodecomment" instead of "comment"? For example, I want to use nodecomments for a blog content type. Will this work for blogs and other content types, more or less? How about comment administration interfaces like akismet, modr8, etc? How about things like the comment generator in the devel module?

Drupal Migration, Upgrades and Integration Experts

BPO Canada's Drupal Migration Practice in India is looking for seasoned Drupal Developers in India who can join us immediately on some exciting projects that involve

Upgrade
--------
- Upgrading Drupal Sites from 4.x to 5.x and later to 6.x
- Upgrading Modules
- Building Internal Upgrade processes, checklist and best practices

Migration
---------
- Migrating Non-Drupal sites into Drupal ( Static or Database Driven )
- Creating Source and Target Mapping documents
- Researching Third party integraton into Drupal
- Writing Custom helper modules
- Writing Web Scrapping and Data Migration Scripts
- Ensuring the best way current SEO position/traffic of existing site be retained

Integration Experts
---------------------
- Integrating OpenAds, PHPList, PHPBB, VBulletin, SugarCRM, Asterisk, Zimbra, etc with Drupal
- Integrating Technologies like Java and Ruby on Rails with Drupal

- You will be working on some very high profile domestic and international projects.
- You must be open to International travel at a very short notice.

You can choose to work out of our Ahmedabad or Patna Office.

While we are looking for experienced - seasoned developers based in India to join us, we are also open to hire freshers who have done their academic project in Drupal. ( Drupal 6 preferred )

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x