Recherche avec thème personnalisé
Bonjour,
Utilisant Liferay 6.1.1, j'ai créé mon propre thème et je l'ai ajouté à mon portail.
Cela étant, je voulais aussi ajouter la recherche procurée par Liferay dans mon portail.
Pour cela, j'ai trouvé plusieurs choses sur Internet comme par exemple, ajouter ceci
ou
Code:
1 2
|
$theme.journalContentSearch() |
à l'endroit souhaité dans mon fichier portal_normal.vm. Puis d'ajouter ces variables
Code:
1 2 3 4 5 6 7 8 9 10 11 12
|
com.liferay.portal.servlet.filters.cache.CacheFilter=false
com.liferay.portal.servlet.filters.themepreview.ThemePreviewFilter=true
com.liferay.portlet.blogs.util.BlogsOpenSearchImpl=true
com.liferay.portlet.bookmarks.util.BookmarksOpenSearchImpl=true
com.liferay.portlet.calendar.util.CalendarOpenSearchImpl=true
com.liferay.portlet.directory.util.DirectoryOpenSearchImpl=true
com.liferay.portlet.documentlibrary.util.DLOpenSearchImpl=true
com.liferay.portlet.imagegallery.util.IGOpenSearchImpl=true
com.liferay.portlet.journal.util.JournalOpenSearchImpl=true
com.liferay.portlet.messageboards.util.MBOpenSearchImpl=true
com.liferay.portlet.wiki.util.WikiOpenSearchImpl=true |
dans mon fichier "portal-ext.properties".
J'ai donc redémarré mon serveur, et ma page affiche bien un champ de recherche avec l'icone équivalente. Mais lorsque je lance une recherche aucun résultat ne s'affiche (même sur des critères de recherche très larges).
Quelqu'un aurait-il une idée ?