There may come a time when you need to prevent the user from being able to click one of your command buttons. The Revit API supports enabling and disabling commands by implementing the IExternalCommandAvailability interface and applying it to a button class. Your reasons for disabling a command can be just about anything you want. Some examples might include scenarios such as the state of the current model not meeting your application's requirements, the model name may not meet a specific requirement that you specify, or maybe the wrong flavor of Revit was used to open the model.
In this article by Don Rudder, author of Instant Autodesk Revit 2013 Customization with .NET How-to [Instant], we are going to cover recipes for enabling and disabling control for commands.Read Dynamically enable a control (Become an expert) in full
In Part 1 we had a look at running multiple templates, and at creating dynamic elements and styles. In this article by Ric Shreves, we will discuss about Creating Dynamic CSS Styling and Working with Template Variables.Read Dynamic Theming in Drupal 6 - Part 2 in full
The Drupal system, when combined with the PHPTemplate engine, gives you the ability to create logic that will automatically display templates or specific elements in response to the existence of certain conditions. In this two part article by Ric Shreves, we will look at running multiple templates, and at creating dynamic elements and styles. Among the techniques covered in these articles ( Part 1 and Part 2 ) are: using suggestions—naming conventions—to control template display, the use of $body_classes to create dynamic styling, and the implementation of the preprocessor function.Read Dynamic Theming in Drupal 6 - Part 1 in full
This article is written by Jonathan Lalou author of the book Apache Maven Dependency Management. As a disclaimer, beware the following example is used for its pedagogical interest and may fit some situations, but does not match best practices for many other projects. Among other theoretical and practical reasons, common IDEs have some difficulties to support full dynamic POMs.Read Dynamic POM in full
In this article by Tessa Blakeley Silver, we will learn how to take your working, debugged, validated, and properly packaged WordPress theme and enhance it with dynamic menus using the SuckerFish CSS-based method and Adobe Flash media.
Here, we will learn about:
- Drop-down menus
- DIY SuckerFish menus in WordPress:
- Applying CSS to WordPress
- Applying the DOM script to WordPress
- Allowing only selected pages to display
- Hiding pages the easy way with pageMash
FusionCharts Suite helps you create stunning charts, gauges, and maps in a jiffy for all your web and enterprise applications. Using it, you can build awesome dashboards, reports, analytics, monitors, surveys that blend aesthetic elegance and actionable insights.
In this artice by Sanket Nadhani, Shamasis Bhattacharya, and Pallav Nadhani, authors of FusionCharts Beginner's Guide, we will look at the features of FusionCharts. We will cover the following topics:
- Learn how to set up FusionCharts
- Build your first chart and configure basic parameters
- Learn how to build charts with multiple series and axes
- Create advanced charts such as Combination charts
In the previous part of the article by Sami Salkosuo, we mainly focused on creating a dynamic user interface. In this part, we will implement Tables, List, and Field Completion.Read DWR Java AJAX User Interface: Basic Elements (Part 2) in full
In this two-part article by Sami Salkosuo, we will develop samples based on DWR, which show how to dynamically change the common user interface elements such as tables and lists as well as field completion. The section on dynamic user interfaces shows how to get started with a DWR application, and it presents a user interface skeleton that will be used to hold the tables and lists sample, and the field completion (aka. autosuggest/autocomplete) sample.
The following are the sections in this article:
- Creating a Dynamic User Interface—starts with creating a web project and a basis for samples mentioned in this article
- Implementing Tables and Lists—shows us how to use DWR with them
- Implementing Field Completion—has a sample for typical field completion
In this article, by Trevor James, author of Drupal Web Services, we're going to integrate Twitter with Drupal. If you have a Twitter account, you can post your tweets to your Drupal site automatically at the same time you post them to your Twitter home page. You can also post node content from your Drupal site to your Twitter home page as tweets. We'll look at configuring this integration in detail and also look at setting up automatic actions and triggers to occur when you save a new node content on your Drupal site.
We will install and enable a few Twitter-based modules to allow for integration with the Twitter web service API, including the Twitter module, Daily Twitter, and Tweet modules.
To summarize, in this article we will:
- Enable the Twitter module and configure it
- Post tweets from our Twitter account to blocks on our Drupal website
- Post links to nodes and node content from our Drupal site to our Twitter home page
- Enable and configure the Tweet module
Working on a site's interface to make it distinctive and attractive not only requires some technical know-how, but just like any other design-related task, it also needs some creativity. Your site, at the moment, maybe fully functional and doesn't look awful—it maybe a bit plain, but it will get the job done. With a bit of effort, creating something entirely new can be fun and rewarding, and Drupal comes with a host of features to make our lives easier.
If you enjoy working on the more creative aspects of a website, then this is really the article you have been waiting for. It's time to design, plan, and implement the visual environment in which your website's users will be immersed.
This article by David Mercer, author of the book Drupal 7, will show you how to make important modifications to your chosen theme, through the use of sub-themes.Read Drupal Theming in full
People often assume that the basics are easy to master and therefore, don't require much thought. Things are not quite so simple in reality because while a site's basic setup is, more often than not, easy to implement, the more subtle problem is in knowing what to implement, and how to implement it in the first place. Precisely understanding what you need from a site is particularly important for this reason.
Does this mean that you should not start working directly on the site unless you know exactly what is required? Not really; like most things, it's a bit of a trade-off when it comes to starting out with the development of a Drupal website. This is because it is almost impossible to determine exactly what the site will need and how its functionality should be provided until you have been working with it for some time. Often, you will find yourself modifying the behavior of a site based on feedback from the users.
In this article by David Mercer, author of the book Drupal 7, we are going to talk about the following Drupal site configuration topics:
- Site information
- Actions and Triggers
- File system
Drupal is an elegantly designed, well-supported and flexible open-source CMS platform that anyone can use in order to create their own website. What's more, the latest version of Drupal 7 includes a tremendous number of new features and new under-the-hood improvements for both users and developers. Drupal is a hugely popular and widely celebrated open-source Content Management System that is day-by-day becoming the first choice of people for a wide range of websites. The White house and the British government, to name but a few, turn to Drupal to fulfill their online requirements.
In this article by David Mercer, author of the book Drupal 7, we will take a look at the following Drupal Site Configuration topics:
- Logging and errors
- Clean URLs
- RSS Publishing
The dashboard is a central place to view a snapshot of the activity happening within your departments. This article will explain the three different types of dashboards and how to add custom content to a dashboard.
The article by Tracy Charles Smith, author of the book Drupal Intranets with Open Atrium, is divided into the following five sections:
- Main dashboard
- Group dashboard
- User dashboard
- Modifying Layout
Drupal is a rich and dynamic open source content management system. Drupal 7 is loaded with tons of great new features aimed at novice as well as experienced website administrators.
In this article we will take a look at some of the most frequently asked questions about Drupal 7, such as:
- What are the minimum requirements for Drupal 7?
- What is the Drupal community?
- Are backups essential in Drupal?
Consider that you have built an e-store, and it is full of products, has great functionality, and offers the client a great browsing experience. The only problem is that you're still using the default Drupal theme, so your website looks too ordinary and rather ugly. People won't be able to perform proper searches and you cannot interfere with the UI by simply promoting items from your stock or communicating special deals and offers.
This article by George Papadongonas and Yiannis Doxaras, authors of Drupal E-commerce with Ubercart 2.x, shows you how to install a ready-made theme, free or commercial, and use it as is.Read Drupal and Ubercart 2.x: Install a Ready-made Drupal Theme in full
In the previous article we saw how to replace the default Drupal theme by installing a ready-made theme, free or commercial, and use it as is. In this article by George Papadongonas and Yiannis Doxaras, authors of Drupal E-commerce with Ubercart 2.x, we will learn learn how to customize your frontend, to get the look and feel of your site to match your corporate visual identity. You will learn to use your company logo and colors to create a familiar and friendly environment for your visitors.Read Drupal and Ubercart 2.x: Customizing a theme in full
In the previous articles by George Papadongonas and Yiannis Doxaras, authors of Drupal E-commerce with Ubercart 2.x, we learnt how to install a ready-made theme and how to customize it, thus offering the client a great browsing experience. In this article we will learn how to create a theme from scratch using the Zen Theme.Read Drupal and Ubercart 2.x: Creating a Theme from Scratch Using the Zen Theme in full
In the previous articles by George Papadongonas and Yiannis Doxaras, authors of Drupal E-commerce with Ubercart 2.x, we learnt how-to customize the theme and thus offer the client a great browsing experience. We also covered how to create a theme from scratch using the Zen theme. In this article we will cover the following new approaches to themeing:
- Fusion Theming System with Skinr module
- Migrating an HTML theme to a Drupal template
- Creating a Drupal theme from a Photoshop template
This article by Ric Shreves, author of Drupal 7 Themes, focuses on sub-theming. The article covers how to quickly and easily build a proper sub-theme and then how to use that sub-theme to create a customized look and feel for a Drupal site. Through the implementation of a sub-theme, the themer is able to leverage the power of an existing base theme while retaining the flexibility needed to customize virtually every element of the styling and the structure.
For the purpose of illustrating the examples in this article, we'll be using the Bartik theme, which is included in the default Drupal 7 package. Among the topics we will cover:
- Selecting a base theme
- Creating a sub-theme
- Customizing your sub-theme