Message Boards

Activating Search Application

thumbnail
Nor EL MALKI, modified 7 Years ago.

Activating Search Application

New Member Posts: 14 Join Date: 8/27/16 Recent Posts
Hi,

I am currently using Liferay CE 7.0 ga3

The default Liferay site integrates a nice search component but I don't see how to add it into my own site.

The right bar for adding contents / applications contains an item called Search under Tools Category but it seems to be disabled...

Any ideas ?
thumbnail
Nor EL MALKI, modified 7 Years ago.

RE: Activating Search Application

New Member Posts: 14 Join Date: 8/27/16 Recent Posts
I think I found a part of the answer : When modifying the default pages associated to the site template, the search item under Tools is now enabled

Now, is there a way to add the Search component for non-default pages? Some thing like aui taglibs ... ?
thumbnail
Nor EL MALKI, modified 7 Years ago.

RE: Activating Search Application (Answer)

New Member Posts: 14 Join Date: 8/27/16 Recent Posts
I found the solution inside Liferay Front End Theme Repository

The Liferay Search component can be inserted via the tag
<@liferay.search default_preferences="${freeMarkerPortletPreferences}" />