Monthly Archives: August 2015


How to create Joomla articles

By | Joomla | No Comments

Basically, the content for most of your standard pages that consist of text, images and hyperlink will be created in the Article Manager, which can be accessed through the Content menu item in your Joomla 3 admin page: When you click on Add New Article, you will see a WYSIWYG editor that you can use to write and format your new article text, add images & links to it, and more: ImportantTo make your article visible on your website for all visitors, you need to put it on Published status and Public Access. How to link articles in the Joomla…

Read More

Implementing Blocks in Drupal 6 and Drupal 7

By | Drupal | No Comments

Drupal 6: Blocks are implemented using hook_block passing the $op parameter which can have four possible values viz. ‘list‘: A list of all blocks defined by the module. ‘configure‘: Configuration form for the block. ‘save‘: Save the configuration options. ‘view‘: Process the block when enabled in a region in order to view its contents. <?php //Drupal 6 /** * Implementation of hook_block(). */ function newblock_block($op = ‘list’, $delta = 0, $edit = array()) { switch ($op) { case ‘list': $blocks[0][‘info’] = t(‘A listing of all of the enabled modules.’); $blocks[0][‘cache’] = BLOCK_NO_CACHE; return $blocks; case ‘view': $list = module_list(); $content…

Read More
Performance Improvement on the Mechanism of Metal Gears.

How Do You Improve Performance in WordPress

By | Wordpress | No Comments

If you need a quick fix now, go straight to the Caching section, you’ll get the biggest benefit for the smallest hassle there. Optimizing Your WordPress Configuration Minimizing Plugins The first and easiest way to improve WordPress performance is plugins. Deactivate and delete any unnecessary plugins. Try selectively disabling plugins to measure server performance. Is one of your plugins significantly affecting your site’s performance? Then you can look at optimizing plugins. Are plugins coded inefficiently? Do they repeat unnecessary database queries? WordPress has its own caching system, so generally speaking, using functions like get_option(), update_option() and so on will be…

Read More

Writing Code in Your Posts

By | Wordpress | No Comments

Whether you write plugins or hacks for WordPress, or you want to add bits and pieces of code about your own WordPress site or other programming code like HTML, CSS, PHP or JavaScript, putting code in your post that actually looks like code, but doesn’t behave like code, is a frequent challenge for bloggers. By default, the way a piece of code written or pasted to WordPress post editor is interpreted depends on whether you use visual or HTML post editor. Visual editor will consider the code to be an ordinary text, converting (encoding) the < and > characters into…

Read More

Managing Plugins

By | Wordpress | No Comments

WordPress Plugins are composed of PHP scripts that extend the functionality of WordPress. They offer new additions to your blog that either enhance features that were already available or add otherwise unavailable new features to your site. The majority of WordPress users don’t require Plugins, or only require a few, such as Plugins dealing with comment spam or customized post listings. Other users enjoy the varied options Plugins provide such as frequently updated weather reports, post word counts, rating systems, and more. WordPress Plugins are optional, based upon the needs of the user, and thus they are not incorporated into…

Read More