background preloader


Facebook Twitter

Using default views in your module. Views can be stored in the database, which is typical of smaller sites and hobby sites.

Using default views in your module

However, Views may also be stored directly in the code as "default" views, (which simply means they're available by default). Modules often come with views that are specific to the module data, but it's also possible -- and highly recommended -- that sites which have separate "development" and "production" sites export their views into default views in a site-specific module. This makes it very easy to transfer views from dev to production without making database changes. Creating a module First, create a directory in sites/all/modules for your new module. Tutorial - Building a multi-language site. Swffit - Smart Flash Resize Script.