Tuesday 13 March 2012

How you will Create Your Own Theme

1.    With Liferay IDE In Eclips
2.    With Liferay Plugin
Creating theme from Liferay IDE In Eclips:
We need following resource for development of theme in liferay

Step 1:
  •                 liferay-plugins-sdk (Zip file)
  •                 eclipse-jee (Zip file)
  •                 liferay-portal-tomcat (Zip file)
Extract these file in the same folder
Step 2:
Open Eclips and go to the
Help menu single click on it ->Install new software ->click on it a new window will be open
in the drop down pest         http://releases.liferay.com/tools/ide/eclipse/helios/stable/
->select all -> next-> finish
Step 3:
Go to the Window menu ->click on it ->go preferences->Liferay->click on it and go to the Installed Plugin SDK-> click on it ->add->browse-> select Plugin SDK folder which you have extract in folder ->tick check box ->ok
Same way go to server click on it and set runtime Environment
 Step 4:
go file menu->new->liferay Project ->
Give theme Name (Example2 theme) ->tick radio button->
Note : Open build.xml file write classic in place of _Style
In the red circle there is docroot and under docroot there is following folder:
1._diffs
1.    css
2.    images
3.    js
4.    templetes
5.    Web-INF
=> coppy      css, images, js, templetes  and pest these four folder into  _diff folder
=> expend _diffs =>expend css folder =>IT look like this
  •  Application.css
  •   Forms.css
  •   Base.css
  •  Layout.css
  •  Custom.css
  •  Main.css
  • Custom_common.css
  • Navigation.css
  • Dockbar.css
  •  Portlet.css
=>    go to the custom.css and OPEN it
Note:
You showld change anything in custom.css file
What is CSS?
Styles define how to display HTML elements
External Style Sheets can save a lot of work  like Make a global change  ,More   flexibility ,Change the appearance and layout of all the pages
 
A CSS comment begins with “/*”, and ends with “*/”, like this
/*This is a comment*/p {text-align:center;
/*This is another comment*/color:black;font-family:arial;}
id Selector Example
#para1 {text-align:center;color:red;}
class Selector  Example
.center {text-align:center;}
p.center {text- align:center;}
3. Velocity
  • Velocity Language consists of…….
  • Java-based template engine
  • Open source software project
  • Reference objects defined in java code
  • Control statements
  • Arbitrary java methods
  • Java code cannot be embedded in pages

And here is it application:
A.  Web applications.
B.  Source code generation.
C.  Automatic emails.
D.  XML transformation.
Example:
#set ($z = “Velocity”)

Here:   References begin with $ to get something. Directives begin with # to do              something.]
here is examole of Hello attuneinfocom  world
<html>
        <body>
                  #set( $foo = “Attuneinfocom” )
                  Hello $foo World!
       </body>
</html>
The result is a web page that prints “Hello Attuneinfocom World!”.
Coment in velocity
                           ## This is a single line comment
                           #*
                          Thus begins a multi-line comment
                          *#
                           #** This is a VTL comment block *#
Types of references in the VTL:
Variables Examples:  $foo , $mudSlinger, $mud-slinger, $mud_slinger
Properties
Example : $customer.Address, $purchase.Total
Methods Example: $purchase.getTotal(),
$page.setTitle( “My Home Page” ),         $person.setAttributes( ["Strage","Weid“,     “Excited"] )
Logical Pration
ogical AND
#if( $foo && $bar )
                  <strong> This AND that</strong>
#end
logical OR
#if( $foo || $bar )
                   <strong>This OR That</strong>
#end
logical NOT
#if( !$foo )
                  <strong>NOT that</strong>
#end
Velocity templates default files   init_custom.vm: This file allows you to override and define new velocity      variables.You can initialize custom Velocity variables in this template. You can     also set values to the existing variables to override their existing values. The     variables defined here can be referenced in the other four templates.
navigation.vm: This file is called by portal_normal.vm and provides the HTML     to make the navigation menus
portal_normal.vm:
This file controls the basic skeleton HTML of the page that     Liferay will serve.
portal_pop_up.vm:
This file controls the layout of portal templates for pop-up     notifications.
portlet.vm:
This file wraps the content of every portlet.
Note : If you want to change any thing in your css you should  only use portal_nomal.vm file    
  How to give directives :
include directive
      #include( “snippet.html” )

parse directive.
      #parse (“navigation.vm”)

stop directive
     #stop

 for more information :- liferay development and liferay theme development.
 
Reade more >>

Wednesday 7 March 2012

Overview of Liferay Development and Liferay Theme Development

Liferay Theme consist of the following thing: 
  1. CSS
  2. HTML
  3. Velocity
  4. Java script
  5. Jquery
  6. Alloy

 1. CSS
         CSS stands for (Cascading style sheet)
           Styles define how to display HTML elements on page


           Why CSS is Used?
             
              Css is used to give good formatting and style for text
                  Styles define how to display HTML elements
                  External Style Sheets can save a lot of work      
                  Make a global change
                  More flexibility
                  Change the appearance and layout of all the pages


 2. HTML
 
           HTML is simple but use to giving structure of template for the theme
              Using Html we make table in template HTML is used only developed Static page


 3. Velocity

              Velocity Language consists of.......
                  Java-based template engine
                   Open source software project
                     Reference objects defined in java code
                      Control statements
                       Arbitrary java methods
                        Java code cannot be embedded in pages
            And here is it application:
              A. Web applications.
              B. Source code generation.
              C. Automatic emails.
              D. XML transformation.


 4. Java Script
                       
JavaScript is important to provide functionality of event that means using java script we can create input box, button, list box drop down etc
                         The Main use of JavaScript in theme is:
                                   1. Functionality
                                   2. Validate forms
                                   3. Communicate with the serve

 5. Jquery

   Query is a library of JavaScript Functions.

    jQuery is a lightweight "write less, do more" JavaScript library.

    The jQuery library contains the following features:

•    HTML element selections
•    HTML element manipulation
•    CSS manipulation
•    HTML event functions
•    JavaScript Effects and animations
•    HTML DOM traversal and modification
•    AJAX
•    Utilities

 6. Alloy
•     Is Liferay's open-source JavaScript library.
•     It is a JavaScript library,
•    CSS framework,
•    set of HTML recipes and a taglib library.
  Important of Alloy:
        Simple code for professional UI
        Custom form tags
        Classes are available for Alloy Modules
        Improve coding efficiency
        Browser compatibility 


Here is Block Structure of Liferay Theme 


2. Creating theme from Plug-in
                                                Open command prompt and write


          Create <theme-name> "<theme simple description>“




For More Information :- liferay development.
 
Reade more >>

Monday 5 March 2012

Magento Development and Magento Developer Training - Easy and Flexible!

Magento e-commerce, shop for your products and services, depending on the value of your brand to help increase the sale of the building. The development potential of the many online merchants by removing obstacles to their business marketing has to flow.

It creates an invisible Magento Development unit when an e - commerce portal development comes. You for the services of professional developers of magento online store to rent their strong need to work with. You should take on the billing as a small mistake in hiring developers in online business or break your reputation in the market is enough for shipping.

Unprecedented flexibility and control is a unique and innovative e-commerce and, therefore are not the same company. Too many other options for its versatility marketing opportunities and expand your business subsidies for the promotion of freedom as proposed.

Magento, a characteristic feature of the meet the needs of online marketers today. All assets business processes and dynamics of flow control is an on-line platform.

Merchants with a special appearance on-line shop to install take control over the content and functions. Will be tailored to the needs of their business in their areas.

Many people are not working with clients to provide services to developers and designers by magento. Magento is gaining popularity because of its properties, including shopping cart solutions.

Magento Development Services are:

Magento Development
Magento Customization
Magento Optimization
Magento Integration

Magento four categories, namely the development customization of your magento e-commerce module to adapt to the freedom of using all the resources. Magento web development, search Yahoo, Google made available and so it is important to ranking high in search engines like magento theme design can be further extended magento enterprise offers a general beautification and finally  a place where almost all of the design to save your business.The payment where you will exit your site looks style, materials or designs can be customized to your needs is an integrated control. Will help you maintain a competitive edge in the market.

Magento website features below are some benefits, such as:

- Multi-Store Facility
- Complete Ecommerce Solution
- Customization
- Search Engine Optimization
- The Rules Of Seo-Friendly Integrated
- Easy Analysis
- Customer Satisfaction
- A Navigation Easy To Find The Best Way To

Some developers will be able to manage complex but the current scenario experts e-commerce platform support this can be achieved. big-shot group of companies and organizations that do not hire a developer with experience in magento development of a wide range of expertise. Code the number of offshore companies in depth knowledge of technology business services effective all-round development.

Today  the open source magento offshore service providers in the development of customizable features to get a taxi can be a wide range of services to all e-commerce platform. You can create your own e-commerce site design and development of unique characteristics therefore, more attractive than other sites.

For More Information :- magento developer training
Reade more >>

Thursday 1 March 2012

New Features Liferay 6.1 CE

Many months of work for the community and the team after a close and cooperative Liferay 6.1 is finally ready for release, which was founded in 2010. Liferay CE 6.1 has been improved support of the community and it is therefore suitable for use in the enterprise. After Liferay Portal 6.1 is expected that EE are introduced. With this new version of Liferay Portal, Liferay development or the development of the developers when they encounter errors, error reporting standards, their problems can be reported. The new Liferay version of its flagship enterprise business opportunities that the developments of Liferay Portal, liferay development outsource or increase development around the base, training, and consulting services is provider.

In this article we are going in this new version of liferay training for what we are looking for. It is widely website portal framework for the development of a unique technology that provides as popular. Liferay portal developments because of it are more prominent features and are inexpensive to happen at the same time. CMS developers can also use this platform environment, Liferay Web sites and document management systems to adapt their clients' needs.

Liferay 6.1 with new features:

    * Updated Support Matrix
    * More support for Marketplace
    * Social activities Improvements
    * Improved Setup Wizard
    * Mobile device updates
    * Improved Content Management
    * Custom pages for users
    * Asset-publisher updates
    * Image Gallery and Document Library organized
    * Store-and-media content, video and other types of support services
    * Custom List
    * Staging support has been extended
    * Improved security, auditing and much more.

All this brings us to the new features and improvements that the active and committed communities of Liferay 6.1 support. Work has already begun for the next version of Liferay 6.1 CE is a feature in this version of the IDE support for remote development and implementation. Liferay to create IDE project, this function generally as it was before, but here in the locally allows for the remote host. This success is because two things on the new Liferay IDE adapter in a remote service possible, and the other is a server-manager plugin Liferay on a remote server provided.


Fore More Information :-  http://attuneuniversity.wordpress.com/2012/02/29/new-features-liferay-6-1-ce/
Reade more >>