Liferay 6.2, comes with concept “Application Display Templates”, WithApplication Display Templates, you can define custom display templates used to render asset-centric applications. Let ‘s try simple example:
Why we have to write a new portlet to display newest article in liferay while we have a powerful portlet Asset Publisher? How to make Asset Publisher show the newest article in beautiful way? It’s luckily because of asset publisher template. We use asset publisher template to change the way it display and what to display. Try this template:
I want to insert in my portal a portlet to show news with image, description and link to that article. This portlet would be a beautiful way to get notice from readers and make the website more beautiful. But to make a new portlet takes a lot of time, why don’t we use asset publisher portlet.
We often use asset publisher to show news abstract at main page for quick view. If users want to read more, they will click on readmore link and browsers will link to the page of that article.
In this version, we have maximum 10 times to guess. The game will end if we run out of guess – time or we guess the right number. Another new feature is that after filling the number, user can press enter keyboard instead of click on guess button.
Thanks for html5 and css 3, a beautiful button can be done by some css lines. See this button:
This game is similar to guessing number game, but now we have x and y which is represent the position x, y of the screen. Now the player have to guess 2 numbers. Players can only guess 10 times. There is no new function or properties in this game.
Everytime we press a key, it will open its mouth.
is a tag to display image or video. In this article, we use canvas to display animation image.