Monday, October 21, 2013

What's New in Drupal 7

New Minimum System Requirements:

This is not a complete list of requirements. Please read the complete list of requirements.
  • Database: MySQL 5.0.15 or PostgreSQL 8.3
  • PHP Version 5.2 or higher
  • PHP Memory: 40M - 64M

Security:

  • More secure implementation for scheduled tasks (cron.php).
  • More secure password system.
  • More secure log-in system.
  • Modules can be updated via the web.

Usability:

  • Administrative links to edit existing page elements are now available on each web page, without having to go to an administration page first.
  • Improved support for integration of WYSIWYG editors.
  • Added more drag-and-drop for administrative tasks.
  • Permissions now have the ability to handle more meta-data (permissions now have a description).
  • User 1 created as part of the installation process.
  • Added features to the default install profile (tagging on the Article content type).
  • Setting up automated task runs (cron) can now be achieved via Drupal's configuration alone, without having to install any scripts on the web server.
  • Redesigned password strength validator to make it kinder and gentler, and clearer.
  • Renamed "input formats" to "text formats".
  • Added support for default text formats to be assigned on a per-role basis.
  • Moved text format permissions to the main permissions page
  • Added "vertical tabs", a reusable interface component that features automatic summaries and increases usability.
  • Improved time zone support
  • Removed per-user themes: Contributed modules with similar functionality are available.
  • Added new "Shortcuts" module to allow user to create their own menu for the pages they visit the most.

Database:

  • Added query builders for INSERT, UPDATE, DELETE, MERGE, and SELECT queries.
  • Support for master/slave replication, transactions, multi-insert queries,delayed inserts, and other features.
  • Added support for the SQLite database engine.
  • Default to InnoDB engine, rather than MyISAM, on MySQL when available for greater scalability and data integrity.

Several Performance Improvements Implemented

Documentation:

  • Hook API documentation now included in Drupal core.

News aggregator:

  • Added OPML import functionality for RSS feeds.
  • Added feed update options.

Search:

  • Added support for language-aware searches.

Testing:

  • Added test framework and tests.

Theme system:

  • Removed the Bluemarine, Chameleon and Pushbutton themes. These themes live on as contributed themes
  • Added "Bartik" theme as the default user interface theme.
  • Added "Seven" theme as the default administration interface theme.
  • Added "Stark" theme to make analyzing Drupal's default HTML and CSS easier.

File handling:

  • Files are now first class Drupal objects with file_load(), file_save(),
    and file_validate() functions and corresponding hooks.
  • Files use PHP stream wrappers to enable support for both public and private files and to support pluggable storage mechanisms and access to remote resources (e.g. S3 storage or Flickr photos).
  • Added a field specifically for uploading files, previously provided by
    the contributed module FileField.

Image handling:

  • Improved image handling, including better support for add-on image
    libraries.
  • Added a field specifically for uploading images, previously provided by the contributed module ImageField.

Better Support for Multisite Installations

Added RDF support

Better support for search engine optimization and web linking

Added ability to add custom fields

  • Provides most of the features of the former Content Construction Kit (CCK) module.
  • Custom data fields may be attached to nodes, users, comments and taxonomy terms.
  • Node bodies and teasers are now fields instead of being a hard-coded property of node objects.
  • Fields are translatable.

Installer can be run from the command line

JavaScript changes

  • Upgraded the core JavaScript library to jQuery version 1.4.2.
  • Upgraded the jQuery Forms library to 2.36.
  • Added jQuery UI 1.8, which allows improvements to Drupal's user experience.

Improved node access control system

Task handling

  • Improved handling of long-running tasks.

Sunday, October 6, 2013

how to turn off iis 7?

stop and disable the www service
type services.msc from the run command prompt > scroll down to World Wide Publishing service.
or go to control panel > Administrative Tools > Services.msc > World Wide Publishing service.

Wednesday, August 28, 2013

Theme - Responsive Blog

Responsive Blog is a responsive multipurpose Drupal 7 theme. We have created the theme with a wide range of sites in mind.
Overall Responsive Blog has a very clean and elegant design without much clutter. Its a very sleek solution that will make any site really stand out and look fantastic. The theme is completely responsive, and has been tested on the iPhone and iPad for optimal performance. This is an all around great theme, useful for almost any project.

Features

  • Responsive, Mobile-Friendly Theme
  • 1-column and 2-coumns layout support
  • 2 pre-designed color schemes (White and Dark)
  • A total of 12 block regions
  • Configurable layout : Sidebar can be Right or Left
  • Mobile support (Smartphone, Tablet, iPhone, Android, etc)
  • Configurable jQuery Cycle Image Slideshow
  • Multi-level drop-down menus (Multilingual support)
  • Minimal design and nice typography
  • HTML5 & super clean markup
  • Facebook, Twitter and other Social Icon.
Read More

Wednesday, April 3, 2013

XAMPP for Linux


Step 1: Download

Simply click on one of the links below. It's a good idea to get the latest version. :)

A complete list of downloads (older versions) is available at SourceForge.

XAMPP for Linux 1.8.1, 2012/9/30

Version

Size

Notice
XAMPP Linux 1.8.1 81 MB Apache 2.4.3, MySQL 5.5.27, PHP 5.4.7 & PEAR + SQLite 2.8.17/3.6.16 + multibyte (mbstring) support, Perl 5.14.2, ProFTPD 1.3.4a, phpMyAdmin 3.5.2.2, OpenSSL 1.0.1c, GD 2.0.1, Freetype2 2.1.7, libjpeg 6b, libpng 1.2.12, gdbm 1.8.0, zlib 1.2.3, expat 1.2, Sablotron 1.0, libxml 2.7.6, Ming 0.4.2, Webalizer 2.21-02, pdf class 009e, ncurses 5.3, mod_perl 2.0.5, FreeTDS 0.63, gettext 0.17, IMAP C-Client 2007e, OpenLDAP (client) 2.3.11, mcrypt 2.5.7, mhash 0.8.18, eAccelerator 0.9.5.3, cURL 7.19.6, libxslt 1.1.26, libapreq 2.12, FPDF 1.6, XAMPP Control Panel 0.8, bzip 1.0.5, PBXT 1.0.09-rc, PBMS 0.5.08-alpha, ICU4C Library 4.2.1, APR (1.4.6), APR-utils (1.4.1)
MD5 checsum: e7092eafff81ad363de45d192774b4d6
Upgrade 1.8.0 to 1.8.1 32 MB Upgrade package. How to upgrade?
MD5 checksum: 990a56b93ba5a909a63b67ba4f0ac503
Development package 38 MB The development package contains all files you need if you want to compile other software packages for XAMPP by yourself and the Unix manual pages. Install this package like the normal XAMPP distribution:
tar xvfz xampp-linux-devel-1.8.1.tar.gz -C /opt
MD5 checksum: 1377159c73d9a5bfc0e930b122861ee6

Step 2: Installation

After downloading simply type in the following commands:
  1. Go to a Linux shell and login as the system administrator root: su
  2. Extract the downloaded archive file to /opt: tar xvfz xampp-linux-1.8.1.tar.gz -C /opt
    Warning: Please use only this command to install XAMPP. DON'T use any Microsoft Windows tools to extract the archive, it won't work.
    Warning 2: already installed XAMPP versions get overwritten by this command.
That's all. XAMPP is now installed below the /opt/lampp directory.

Step 3: Start

To start XAMPP simply call this command:
/opt/lampp/lampp start
You should now see something like this on your screen:
Starting XAMPP 1.8.1...
LAMPP: Starting Apache...
LAMPP: Starting MySQL...
LAMPP started.

Ready. Apache and MySQL are running.
If you get any error messages please take a look at the Linux FAQ.

Step 4: Test

OK, that was easy but how can you check that everything really works? Just type in the following URL at your favourite web browser: http://localhost
Now you should see the start page of XAMPP containing some links to check the status of the installed software and some small programming examples.

Read Me


A matter of security (A MUST READ!)

As mentioned before, XAMPP is not meant for production use but only for developers in a development environment. The way XAMPP is configured is to be open as possible and allowing the developer anything he/she wants. For development environments this is great but in a production environment it could be fatal.
Here a list of missing security in XAMPP:
  1. The MySQL administrator (root) has no password.
  2. The MySQL daemon is accessible via network.
  3. ProFTPD uses the password "lampp" for user "nobody".
  4. PhpMyAdmin is accessible via network.
  5. Examples are accessible via network.
  6. MySQL and Apache running under the same user (nobody).
To fix most of the security weaknesses simply call the following command:
/opt/lampp/lampp security
It starts a small security check and makes your XAMPP installation quite secure. For example this protects the XAMPP demo pages by a username ('lampp') and password combination.

Advanced start and stop parameters

Until version 0.9.4 /opt/lampp/lampp could only start and stop XAMPP. Since version 0.9.5 it learned a lot of new things to do.
START AND STOP PARAMETERS
Parameter Description
start Starts XAMPP.
stop Stops XAMPP.
restart Stops and starts XAMPP.
startapache Starts only the Apache.
startssl Starts the Apache SSL support. This command activates the SSL support permanently, e.g. if you restarts XAMPP in the future SSL will stay activated.
startmysql Starts only the MySQL database.
startftp Starts the ProFTPD server. Via FTP you can upload files for your web server (user "nobody", password "lampp"). This command activates the ProFTPD permanently, e.g. if you restarts XAMPP in the future FTP will stay activated.
stopapache Stops the Apache.
stopssl Stops the Apache SSL support. This command deactivates the SSL support permanently, e.g. if you restarts XAMPP in the future SSL will stay deactivated.
stopmysql Stops the MySQL database.
stopftp Stops the ProFTPD server. This command deactivates the ProFTPD permanently, e.g. if you restarts XAMPP in the future FTP will stay deactivated.
security Starts a small security check programm.
For example: To start Apache with SSL support simply type in the following command (as root):
/opt/lampp/lampp startssl
You can also access your Apache server via SSL under https://localhost.

* What is where?

What is where? A big question of our existens, here are some answers! ;)

What is where? A big question of our existens, here are some answers! ;)
IMPORTANT FILES AND DIRECTORIES
File/Directory Purpose
/opt/lampp/bin/ The XAMPP commands home. /opt/lampp/bin/mysql calls for example the MySQL monitor.
/opt/lampp/htdocs/ The Apache DocumentRoot directory.
/opt/lampp/etc/httpd.conf The Apache configuration file.
/opt/lampp/etc/my.cnf The MySQL configuration file.
/opt/lampp/etc/php.ini The PHP configuration file.
/opt/lampp/etc/proftpd.conf The ProFTPD configuration file. (since 0.9.5)
/opt/lampp/phpmyadmin/config.inc.php The phpMyAdmin configuration file.

* Stopping XAMPP

To stop XAMPP simply call this command: /opt/lampp/lampp stop
You should now see:
Stopping LAMPP 1.8.1...
LAMPP: Stopping Apache...
LAMPP: Stopping MySQL...
LAMPP stopped.

And XAMPP for Linux is stopped.

* Uninstall

To uninstall XAMPP just type in this command: rm -rf /opt/lampp
The end.

Saturday, March 30, 2013

Drush Commands

Core drush commands

archive-dumpBackup your code, files, and database into a single file.
archive-restoreExpand a site archive into a Drupal web site.
cache-clearClear a specific cache, or all drupal caches.
cache-getFetch a cached object and display it.
cache-setCache an object expressed in JSON or var_export() format.
core-configEdit drushrc, site alias, and Drupal settings.php files.
core-cronRun all cron hooks in all active modules for specified site.
core-executeExecute a shell command. Usually used with a site alias.
core-quick-drupalDownload, install, serve and login to Drupal with minimal configuration and dependencies.
core-requirementsProvides information about things that may be wrong in your Drupal installation, if any.
core-rsyncRsync the Drupal tree to/from another server using ssh.
core-statusProvides a birds-eye view of the current Drupal installation, if any.
core-topicRead detailed documentation on a given topic.
drupal-directoryReturn path to a given module/theme directory.
helpPrint this help message. See `drush help help` for more options.
image-flushFlush all derived images for a given style.
php-evalEvaluate arbitrary php code after bootstrapping Drupal (if available).
php-scriptRun php script(s).
queue-listReturns a list of all defined queues
queue-runRun a specific queue by name
search-indexIndex the remaining search items without wiping the index.
search-reindexForce the search index to be rebuilt.
search-statusShow how many items remain to be indexed out of the total.
self-updateCheck to see if there is a newer Drush release available.
shell-aliasPrint all known shell alias records.
site-aliasPrint site alias records for all known site aliases and local sites.
site-installInstall Drupal along with modules/themes/configuration using the specified install profile.
site-resetReset a persistently set site.
site-setSet a site alias to work on that will persist for the current session.
site-sshConnect to a Drupal site's server via SSH for an interactive session or to run a shell command
test-cleanClean temporary tables and files.
test-runRun tests. Note that you must use the --uri option.
updatedbApply any database updates required (as with running update.php).
usage-sendSend anonymous Drush usage information to statistics logging site. Usage statistics contain the Drush command name and the Drush option names, but no arguments or option values.
usage-showShow Drush usage information that has been logged but not sent. Usage statistics contain the Drush command name and the Drush option names, but no arguments or option values.
variable-deleteDelete a variable.
variable-getGet a list of some or all site variables and values.
variable-setSet a variable.
versionShow drush version.
watchdog-deleteDelete watchdog messages.
watchdog-listShow available message types and severity levels. A prompt will ask for a choice to show watchdog messages.
watchdog-showShow watchdog messages.

Runserver commands

runserverRuns a lightweight built in http server for development.

Field commands

field-cloneClone a field and all its instances.
field-createCreate fields and instances. Returns urls for field editing.
field-deleteDelete a field and its instances.
field-infoView information about fields, field_types, and widgets.
field-updateReturn URL for field editing web page.

Project manager commands

pm-disableDisable one or more extensions (modules or themes).
pm-downloadDownload projects from drupal.org or other sources.
pm-enableEnable one or more extensions (modules or themes).
pm-infoShow detailed info for one or more extensions (modules or themes).
pm-listShow a list of available extensions (modules and themes).
pm-refreshRefresh update status information.
pm-releasenotesPrint release notes for given projects.
pm-releasesPrint release information for given projects.
pm-uninstallUninstall one or more modules.
pm-updateUpdate Drupal core and contrib projects and apply any pending database updates (Same as pm-updatecode + updatedb).
pm-updatecodeUpdate Drupal core and contrib projects to latest recommended releases.

SQL commands

sql-cliOpen a SQL command-line interface using Drupal's credentials.
sql-connectA string for connecting to the DB.
sql-createCreate a database.
sql-dropDrop all tables in a given database.
sql-dumpExports the Drupal DB as SQL using mysqldump or equivalent.
sql-queryExecute a query against the site database.
sql-syncCopy and import source database to target database. Transfers via rsync.

User commands

user-add-roleAdd a role to the specified user accounts.
user-blockBlock the specified user(s).
user-cancelCancel a user account with the specified name.
user-createCreate a user account with the specified name.
user-informationPrint information about the specified user(s).
user-loginDisplay a one time login link for the given user account (defaults to uid 1).
user-password(Re)Set the password for the user account with the specified name.
user-remove-roleRemove a role from the specified user accounts.
user-unblockUnblock the specified user(s).

Other commands

makeTurns a makefile into a working Drupal codebase.
make-generateGenerate a makefile from the current Drupal site.

Global Options (see `drush topic core-global-options` for the full list)

-r <path>, --root=<path> Drupal root directory to use (default: current directory).
-l <http://example.com:8888>, --uri=<http://example.com:8888> URI of the drupal site to use (only needed in multisite environments or when running on an alternate port).
-v, --verbose Display extra information about the command.
-d, --debug Display even more information, including internal messages.
-y, --yes Assume 'yes' as answer to all prompts.
-n, --no Assume 'no' as answer to all prompts.
-s, --simulate Simulate all relevant actions (don't actually change the system).
-p, --pipe Emit a compact representation of the command for scripting.
-h, --help This help system.
--version Show drush version.
--php=</path/to/file> The absolute path to your PHP intepreter, if not 'php' in the path.
-ia, --interactive Force interactive mode for commands run on multiple targets (e.g. `drush @site1,@site2 cc --ia`).


Tuesday, February 19, 2013

Caching: Modules that make Drupal scale

There are many ways to improve the performance & scalability of Drupal.
Comparison of a selection of performance and scalability modules:

Read Full ....

8 Popular online apps to test the mobile version of your site

The mobile revolution has inspired major and minor websites alike to have a mobile version. Mobile versions can be created using themes, extensions, and other modifications.
While developing mobile version, you may want to test it on two, three, or even five different mobile handsets. After development, you are not aware how it will appear in each mobile present on this Earth as you have to buy each of them to test it manually.
Let us make this work simple for you by collecting some tools in this article to test the mobile version of your website.
You can test your mobile website on these tools, analyze it for the mistakes/errors, and then optimize it according to the recommendations. Let us have a look at some of the mobile testing applications available online.

1. W3C mobileOK Checker

W3C tops the list every time you come to the field of website testing. This time also, W3C mobileOK Checker tops the web-based mobile testing tools. You just have to visit its website and enter the URL to test and it will show whether your website is mobile-ready or not, along with what you can do to rectify any errors.

2. Ready.Mobi

Ready.Mobi is a service of dotMobi and an extension of W3C MobileOk Checker Service. It analyzes your website and provide the results in graph format whether the website is optimized well for mobile or not. You can check one web page without registering, but you have to create an account to test the whole website.

3. Google Mobile Testing

Google also has tools for testing your website for mobile. Visit the Mobile Testing site, enter the URL of your website, and press Enter. It will show the website in mobile format and you can check whether it is showing up correctly or not.

4. iPad Peek

Currently, Apple iPad is the highest selling tablet. If you are optimizing your website for mobile, then you should also check its compatibility for iPad (be sure to check your regular site here, not just the mobile version). Visit the iPad Peek website, enter the URL and press enter to show how your website looks on iPad.

5. Test iPhone

With all controversies, Apple iPhone is still one of the best selling smartphones around the globe. Do not miss iPhone testing while checking your website on Android, Symbian, and Windows Mobile platforms. You just have to visit the Test iPhone website, enter the URL and press Enter to do iPhone testing of your website.

6. Gomez

If you’re fed up with testing on emulators and web-based apps and thinking about buying a premium mobile website testing service, go for Gomez as it provides a “Try Before You Buy” option. You just have to fill out a small form and it will send the images captured on iPhone 3Gs, iPad, BlackBerry Storm 2, and Google Nexus One.

7. Opera Mobile Emulator

Opera is one of the best mobile Web browsers available in the market. Almost every Java-compatible handset supports either Opera Mini or Opera Mobile. Opera is also available for iPhone, Android, and Symbian platforms. You can test your website on this mobile browser by visiting its online demo.

8. BOLT Demo

BOLT is another leading mobile web browser. It mainly works on Java-compatible mobiles but the company also plans to launch an Android version. Test your Website on BOLT by using its online demo.

Friday, February 8, 2013

Better Formats - Module

Better formats is a module to add more flexibility to Drupal's core input format system.

Features

6.x

  • Set the default format per role.
  • Set the default format per content type.
  • Control allowed formats per content type.
  • Hide format tips.
  • Hide more format tips link.
  • Hide format selection for nodes, comments, and blocks seperately, forcing the default to be used.
  • Expand the selection fieldset by default.
  • Disable the expand/collapse of the selection fieldset.
  • Set selection fieldset title.
  • Set more format tips link text.
  • Set default formats for nodes and comments separately.
  • Sensible defaults and fail overs for ease of use.
  • Works with CCK textareas.
  • Works with Panels comment form.
  • i18n module support for user defined strings.

7.x (needs more testing for a stable release)

  • Set allowed text formats per field.
  • Set default order of text formats per field.
  • Hide format tips per role.
  • Hide more format tips link per role.
  • Hide format selection per role per entity.
  • Currently only works on Field API fields on fieldable entities implementing core style text processing. The good thing is that is most things in core and contrib.
Read More...

Thursday, February 7, 2013

Increase upload size in your php.ini (Increase Maximum file size: 8 MB)

note: increasing PHP upload size is different from increasing PHP memory limit. You can learn to increase memory limit here.
Drupal's limits on upload file size are determined by your server's PHP settings (as well as Drupal specified settings that can be set at Admin > Site Configuration > File Upload). The default values for PHP will restrict you to a maximum 2 MB upload file size.
On the settings page for the upload module, Drupal calculates and displays the maximum file size that you can set based upon two PHP settings: 'post_max_size' and 'upload_max_filesize'. Since 'post_max_size' is the limit for all the content of your post, many people choose 'post_max_size' to be a multiple of 'upload_max_filesize' to allow multiple files to be uploaded, but this is not essential. The upload module limits the size of a single attachment to be less than either post_max_size, or upload_max_filesize, whichever is smaller. The default PHP values are 2 MB for upload_max_filesize, and 8 MB for post_max_size.
Depending on your host, changing these two PHP variables can be done in a number of places with the most likely being php.ini or .htaccess (depending on your hosting situation).
For example, to increase the limit on uploaded files to 10 MB:
  • Add the below to the relevant php.ini file (recommended, if you have access). Note that for some hosts this is a system-wide setting. However, for hosts running PHP as a CGI script with suexec (for example) you may be able to put these directives in a php.ini file in your Drupal root directory.
    • upload_max_filesize = 10M
    • post_max_size = 10M
  • Add the below to your .htaccess file in your Drupal root directory.
    • php_value upload_max_filesize 10M
    • php_value post_max_size 10M
The PHP documentation states that the memory_limit setting also affects file uploading. Generally speaking, memory_limit should be larger than post_max_size. If this is an issue, see the page on how to Increase memory available to PHP (3 methods)
Drupal also allows/enforces its own size limits, independently of what PHP allows. These are found in Drupal 6 at "Administer » Site configuration » File uploads" ( /admin/settings/uploads ). The Drupal settings cannot be larger than those permitted by PHP, but may be smaller if you haven't updated them, so remember to check there also, after updating the php.ini.

Read More..

Friday, February 1, 2013

Views Slideshow - Module

Views Slideshow can be used to create a slideshow of any content (not just images) that can appear in a View. Powered by jQuery, it is heavily customizable: you may choose slideshow settings for each View you create.

Potential uses

  • News item slideshow (such as the title, image and teaser of the last 5 news articles submitted)
  • The Last X number of X submitted (images, videos, blog entries, forum posts, comments, testimonials, etc.).
  • Rotate any image, based on any filters you can apply in views.
  • Hottest new products for any ecommerce drupal site.
  • Rotate contact links, share links, etc.
  • Heck, you could rotate entire nodes, categories, image galleries, etc. I wouldn't suggest it, but you have that power.
  • Its also a great space saver. Places where you had multiple images or multiple items such as RSS feeds or category listings can now be presented in a slideshow.
The possibilities are really endless, as the more ways you can think of to categorize and add to views, the more you can rotate.

Read More...

Thursday, January 31, 2013

Menu Minipanels - Module

Megamenus (explanation) built using (mini) Panels, which provides tremendous flexibility in what can be displayed.
Click-by-click beginner's tutorial: http://drupal.org/node/984560#comment-3922442

Benefits

By making additional sub-pages available from the main navigation the module provides a quicker route for visitors to find the pages they are looking for. Used carefully, megamenus can be a great enhancement to a site's UI and can contribute towards improving conversion rates on e-commerce sites, e.g. it helped double the conversion rates on the site the module was originally developed for.

Why MiniPanels?

There are two main reasons why minipanels are used:
  1. Usability: once an initial learning curve is gotten past the module becomes very easy to use.
  2. Flexibility: there is a tremendous amount of configuration available via minipanels and almost anything can be added to one - views, blocks, nodes, other menus, and even raw PHP code if the PHP Filter is enabled. Further, there are multiple layouts available and more can be easily built. Further, each minipanel can be customized differently, as can be seen from some of the example sites below.
Read More...

Megamenu - Module

Overview

Mega menus are a type of drop-down, which seeks to overcome some of the usability drawbacks to traditional style drop-downs. Primarily, mega menus have two advantages:
  1. The information architecture of your navigation is made clearer and is visible all at once
  2. The amount of clicking, searching, and navigating is reduced
This module allows you to build mega menus by leveraging jQuery and the existing Drupal menu system. Megamenu takes a Drupal menu that is 3 levels deep, and converts it into a categorized 3-level mega menu, which is placed into your site as a block.

Read More ..

Taxonomy Access Control Lite - Module

This node_access module governs access to nodes based on the taxonomy terms applied to the nodes. A simple scheme based on taxonomy, roles and users controls which content is visible.
As the name implies, this module shares some functionality with an
earlier module called Taxonomy Access Control (TAC). If you are
shopping around for an access control module to use, consider that one
as well. See this module's README.txt for an explanation of "why yet another access control module".
Here are some key features of tac_lite:
  • Designed to be as simple as possible in installation and administration.
  • Uses Drupal's node_access table, db_rewrite_sql hook and
    taxonomy module to leave the smallest possible footprint while doing
    it's job. For example, it introduces no new database tables.
  • Grant permissions based on roles.
  • Grant permissions per user. (Give a specific user access in addition to what his/her roles allow).
  • Supports view, update and delete permissions.
Bear in mind that, like all modules which use Drupal's built-in node_access features, this module does not prevent users from viewing/editing nodes which Drupal's permission allow them to view/edit. To use, configure Drupal to not grant the permission, then configure tac_lite to grant via the node_access table.

Read More

OM Maximenu - Module

"Maximize your main navigation by adding text, images, videos, slideshow, tabs, menu blocks, user info ..."
That is now possible by using OM Maximenu which can create menus with all other module blocks you want as attachments, modules like views, slideshow, menu, user, nice menus, quicktabs, and custom blocks with tables, lists, images, videos, etc.

Read More

Tuesday, January 22, 2013

warning: strcmp() expects parameter system.module

warning: strcmp() expects parameter 2 to be string, array given in modules\system\system.module on line 1125.
warning: strcmp() expects parameter 2 to be string, array given in modules\system\system.module on line 1125.
warning: strcmp() expects parameter 2 to be string, array given in H:\server\liveserverd\www\go\modules\system\system.module on line 1125.

FIX:::: SYSTEM.MODULE LINES 1118-11133

/** * Helper function to sort requirements. */
function _system_sort_requirements($a, $b) {
+ $a = array('weight','title');
+ $b = array('weight','title');
 if (!isset($a['weight'])) {
 if (!isset($b['weight'])) {
return strcmp($a['title'] ,$b['title']);
 }
 return -$b['weight'];
}
return isset($b['weight']) ? $a['weight'] - $b['weight'] :
$a['weight']; }

Thursday, January 10, 2013

Thursday, January 3, 2013

Drupal 6 Performance Tips

Using DB Maintenance and Boost

In this chapter, we're going to install, confi gure, and utilize the DB Maintenance and
Boost modules. DB Maintenance will allow us to maintain and optimize our MySQL
database from within the Drupal admin interface. Boost will help us to speed up
page load times on our site for our anonymous site users by using its sophisticated
and advanced page, HTML, CSS, and JavaScript caching mechanisms. We'll look at
basic introductory Boost concepts in this chapter, and later in Chapter 6 we will look
at more advanced topics using the Boost module. Consider this a two part dose of the
Boost module. Both of these contributed modules will help you diagnose problems
on your site and server as well as help to keep your site running smoothly and in
an optimized fashion. These are not required modules, but rather are recommended
modules to add to your Drupal performance arsenal. The way this chapter will work
is that we'll outline the purpose of each module, install and confi gure it, and then use
it on a specifi c topic, for example, within your site. This will give you some practice
using contributed Drupal modules and also a look at the variety of performancebased
modules that are available from the Drupal project community.
By the end of this chapter you will know how to install, confi gure, and use the
following contributed performance modules:
  • DB Maintenance module
  • Boost

only show translated menu items into current language (Drupal 8)

function MY_THEME_preprocess_menu(&$variables) {   if ($variables['menu_name'] == 'brancott-header-menu') {    $langu...