Avenir | Drupal Development | Joomla Development | Magento Development | OsCommerce Development

Wednesday, 7 March 2012

Hunt For A Reputable Web Development Company

The Internet is the great and effective tool for business entrepreneurs who are trying to advertise their business products or service.

Why Do We Need A Website?

Many people are still wondering why they need a website. Some business people do not know the importance of marketing through online. A website is significant for promoting your business in the world of Internet. A website helps you to improve your online presence and it is a right means for communicating with people all over the world. A website may be created for various purposes like personal website, commercial website, informational websites, government website, nonprofit organization website and many more. A website usually helps to promote your business, share your ideas and knowledge, sell your business products or services, offer service, target on International marketing, Get feedback, educate people about your business, develop marketing efficiency, grab more customers and many more. These are some of the important benefits people get by creating a website. So creating a legitimate and well developed site helps to get more visitors to your site.

How To Create A Website For Business?

A website should be a well professionalized, with easy navigation, with the right domain name and reliable web hosting and moreover with all the technical features and functionality. We can create a website using different platforms. Though people can create the website on their own without technical knowledge, it is not that easy to create a professional website with all advanced features and functionalities. An authentic web development company can provide you the best site for your business.

What Does A Web Development Company Do?

There are heaps of web development companies who are specialized in various platforms and make a site more legitimate and attractive as well. The professionals at Web Development Company analyze the clients’ requirement and implement the strategy that they require. They find the Niche marketing strategies and will help to improve your business by building a well advanced website with all the required features. Some clients would not have technical knowledge; the skilled developers work on it and elucidate the clients about their site’s technical processes. There are some cons in choosing a web development company because some web development companies blindly get into the project and they do not know the ins and outs of the business and its purposes. And they do not get proper results as well. Since the Internet world has high competition on the same business, it is highly important to be unique and remarkable from other sites. So a well experienced web developers and web designers can make your site elite.   

Do you want your site to be cream of the crop? Choose Avenir as your Web Design and Web Development Company. Avenir, the team of professionals understand your requirement, helps you in implementing the new strategies and offers you the apt web solutions with the latest trend in the Web world. 

Monday, 5 March 2012

To remove the ADD item button in the created custom module in the magento admin panel

To remove the ADD item button in the created custom module in the magento admin panel

File path:app/code/local/Samplemod/Samplemod/Block/Adminhtml/Samplemod.php

<?php
class Customer_Customerdetails_Block_Adminhtml_Customerdetails extends Mage_Adminhtml_Block_Widget_Grid_Container
{
  public function __construct()
  {
    $this->_controller = 'adminhtml_customerdetails';
    $this->_blockGroup = 'customerdetails';
  $this->_headerText = Mage::helper('customerdetails')->__('Item Manager');
   // $this->_addButtonLabel = Mage::helper('customerdetails')->__('Add Item');
    parent::__construct();
     $this->_removeButton('add');
  }
} ?>

Thursday, 1 March 2012

Add to wishlist module for oscommerce 2.x

Step 1:

Excuete the below SQL in your DB

CREATE TABLE `customers_wishlist` (
`products_id` tinytext NOT NULL,
`customers_id` int(13) NOT NULL default '0'
) TYPE=MyISAM;



CREATE TABLE `customers_wishlist_attributes` (
`customers_wishlist_attributes_id` int(11) NOT NULL auto_increment,
`customers_id` int(11) NOT NULL default '0',
`products_id` tinytext NOT NULL,
`products_options_id` int(11) NOT NULL default '0',
`products_options_value_id` int(11) NOT NULL default '0',
PRIMARY KEY (`customers_wishlist_attributes_id`)
) TYPE=MyISAM;

Wednesday, 22 February 2012

How to remove the PHP tag using preg_replace


$str= 'hi radha x,annnnnnn.......<? "pri";?> <?="pri";?> hi jo <?php ehco 'TEXT';?> Hi raja' ;

$removedPhpWrap10=preg_replace(array('#<\?(?:php)?(.*?)\?>#s'), array(''), $str);

Tuesday, 21 February 2012

Module create steps


If you want to add custom DB-fields go to /new/local/Samplemod/Samplemod/sql/module_setup/mysql4-install-0.1.0.php

app/etc/modules/Samplemod_Samplemod.xml

app/code/local/Samplemod/Samplemod/Block/Samplemod.php

app/code/local/Samplemod/Samplemod/controllers/IndexController.php

app/code/local/Samplemod/Samplemod/etc/config.xml

app/code/local/Samplemod/Samplemod/Model/Samplemod.php

app/code/local/Samplemod/Samplemod/Model/Mysql4/Samplemod.php

Create the FORM in magento front end with module (Example: gallery module)

1. Exceute the following SQL code in your PHPMYADMIN


CREATE TABLE IF NOT EXISTS `avenirgallery` (
  `avenirgallery_id` int(11) unsigned NOT NULL auto_increment,
  `title` varchar(255) NOT NULL default '',
  `age` int(11) NOT NULL,
  `email` varchar(100) NOT NULL,
  `filename` varchar(255) NOT NULL default '',
  `cratetheme` varchar(100) NOT NULL,
  `yourname` varchar(50) NOT NULL,
  `location` varchar(50) NOT NULL,
  `content` text NOT NULL,
  `status` smallint(6) NOT NULL default '0',
  `created_time` datetime default NULL,
  `update_time` datetime default NULL,
  PRIMARY KEY  (`avenirgallery_id`)
);

Add new attribute into product catagory in magento and removing the same attribute

In any one of the .PHTML page paste the following code( i.e, app\design\frontend\base\default\template\page )
<?php

$setup = new Mage_Eav_Model_Entity_Setup('core_setup');

// Create input type as "Textbox"

$setup->addAttribute('catalog_category', 'author', array(
    'group'         => 'General',
    'input'         => 'text',
    'type'          => 'varchar',
    'label'         => 'Author',
    'backend'       => '',
    'visible'       => 1,
    'required'      => 0,
    'user_defined' => 1,
    'global'        => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_GLOBAL,
));