Alimozzaman

Liferay: Add search in theme

Posted on: January 10, 2011

We can easily add content search into Liferay theme using the following velocity variable: $theme.journalContentSearch()

 

 

Advertisements

3 Responses to "Liferay: Add search in theme"

Thanks for that. Is there any documentation, where I can find a full list of the common velocity variables? I was searching for a while and the only list I found was: http://content.liferay.com/4.3/misc/theme-api-4.3.0.html (quite helpful but not entire)

Hello Philipp,
Yes, I also did not get any list anywhere, so i make a list of default variables. These are defined into init.vm file. I hope this link will help everybody.

Here you go 🙂
https://alimozzaman.wordpress.com/2011/01/16/liferay-6-theme-variables/

Cheers.

Hi ,
do you how to show the result we got from search portlet in different page .
I added the $theme.journalContentSearch() in the template .if we search some text in home page . the result will show in the home page itself by overwriting the home content .

is it possible to show the result in search page which we create

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Top Rated

Advertisements
%d bloggers like this: