How to enable or clear cache for drupal sites
If you want a require clear cache in drupal sites without any drupal modules use that time you can just follow the below Steps :- First, Log into Drupal as Administrator and go to Site Configuration > Performance. Step 1. Access the cache settings
Useful functions that are used to implement wordpress theme
get_bloginfo(‘home’) It retrieves the home URL for the current site. bloginfo(‘description’) Displays the “Tagline” set in Setting >General . This data is retrieved from the “blogdescription” record in the wp_options table. bloginfo(‘name’) Displays the “Site Title” set in Setting >General. This data is retrieved from the “blogname” record in the wp_options table.
Displays URL of the active theme’s directory.
Create a Contact Form in Joomla
This tutorial will show you how to create a contact form in Joomla 2.5. We’ll use the default Contacts components so no extra extensions are needed. Step 1: Create the Contact Form
Some useful Magic methods of php
The “magic” methods are ones with special names, starting with two underscores(__) They are functions that are always defined inside classes, and are not stand-alone (outside of classes) functions. The magic functions available in PHP are below: __construct() __destruct() __call() __callStatic()
How to Recover a Lost Joomla Username and Password from database
We’ve had several people recently contact us after losing the login to their Joomla site. Often they can’t remember or just don’t know both the username and password. Here’s how to recover if you’ve been locked out of your Joomla 1.5/1.6/1.7/2.5 site:
Display Latest Tweets with API v1.1 without using Plugin
We always think to display the tweets in our website and we are dependent of plugin for this ,we can do this without using the plugin here we have providing the full code how we can display tweets using the code.
Drupal 6 theme structure
A theme is a collection of files that define the presentation layer. You can also create one or more “sub-themes” or variations on a theme. Only the .info file is required, but most themes and sub-themes will use other files as well. The following diagram illustrates the files that are found in a typical theme and sub-theme.
How to Configure Custom path in Drupal
If you want to need custom path in drupal that time configure the Pathauto modules Pathauto The Pathauto module automatically generates URL/path aliases for various kinds of content (nodes, taxonomy terms, users) without requiring the user to manually specify the path alias. This allows you to have URL aliases like /category/my-node-title instead of/node/123.
How to make Clean Url in Drupal
If you want to make your drupal site url is clean , so use this following Configuration from admin side . If your drupal url is like this :- www.xyz.com/?q=admin Now , you need clean URL . Go on your Admin panel -> site Configuration ->Clean Url’s
Enable your clean URL
Adding a toolbar at backend of joomla component
This Joomla blog post will show you how to add toolbar at the backend of Joomla Component. Class Used for Toolbar : JToolBarHelper Class Location : “htdocs\administrator\includes\toolbar.php” . Setting Title of toolbar Function Used : title() of JToolBarHelper class. Function Prototype : public static function title($title, $icon = ‘generic.png’);
$title = title of the toolbar