Foros de discusión
[RESOLVED] remove "showing x results"
Robin S., modificado hace 15 años.
[RESOLVED] remove "showing x results"
Regular Member Mensajes: 116 Fecha de incorporación: 16/09/08 Mensajes recientes
Hi Folks,
I want to remove the "showing x results"-text from some, or if its not possible, from all portlets.
I can't find anything in the portlet jsps, so does anybody know where this is managed?
Thanks in advance
regards
I want to remove the "showing x results"-text from some, or if its not possible, from all portlets.
I can't find anything in the portlet jsps, so does anybody know where this is managed?
Thanks in advance
regards
Robin S., modificado hace 15 años.
RE: remove "showing x results"
Regular Member Mensajes: 116 Fecha de incorporación: 16/09/08 Mensajes recientes
Does no one have a solution for this?
asad as asad, modificado hace 15 años.
RE: remove "showing x results"
New Member Mensajes: 12 Fecha de incorporación: 18/03/09 Mensajes recientesRobin S.:
Does no one have a solution for this?
I would like to see the correct solution.
However, i think , you should look at these files:
..\webapps\ROOT\html\portlet\journal_articles\view.jsp
JournalArticleDisplay articleDisplay = JournalContentUtil.getDisplay(groupId, articleId, null, null, languageId, themeDisplay, articlePage, xmlRequest);
<liferay-ui:page-iterator
cur="<%= articleDisplay.getCurrentPage() %>"
curParam='<%= "page" %>'
delta="<%= 1 %>"
maxPages="<%= 25 %>"
total="<%= articleDisplay.getNumberOfPages() %>"
type="article"
url="<%= portletURL.toString() %>"
/>
let me know if you solve it !!
rgds
Samuel Kong, modificado hace 15 años.
RE: remove "showing x results"
Liferay Legend Mensajes: 1902 Fecha de incorporación: 10/03/08 Mensajes recientes
You could modify the jsp for <liferay-ui:page-iterator>, but it's probably easier to just hide the text using CSS
.search-results {
display: none;
}
asad as asad, modificado hace 15 años.
RE: remove "showing x results"
New Member Mensajes: 12 Fecha de incorporación: 18/03/09 Mensajes recientes
But, it doe
thanks a lot, but it does not help yet.
I have added
.search-results {
display: none;
}
in the css.jsp, above this
.taglib-page-iterator .search-results {
float: left;
}
then restated the tomcat, but in vain.
any idea what is problem ?
Thanks
Samuel Kong:
You could modify the jsp for <liferay-ui:page-iterator>, but it's probably easier to just hide the text using CSS.search-results { display: none; }
thanks a lot, but it does not help yet.
I have added
.search-results {
display: none;
}
in the css.jsp, above this
.taglib-page-iterator .search-results {
float: left;
}
then restated the tomcat, but in vain.
any idea what is problem ?
Thanks
Ganesh Ram, modificado hace 15 años.
RE: remove "showing x results"
Regular Member Mensajes: 199 Fecha de incorporación: 5/02/08 Mensajes recientes
Set theme.css.fast.load=false in portal.prop/ portal-ext.properties, restart server and then try.
asad as asad, modificado hace 15 años.
RE: remove "showing x results"
New Member Mensajes: 12 Fecha de incorporación: 18/03/09 Mensajes recientesGanesh Ram:
Set theme.css.fast.load=false in portal.prop/ portal-ext.properties, restart server and then try.
Thanks, but it did not help !
Robin S., modificado hace 15 años.
[RESOLVED] RE: remove "showing x results"
Regular Member Mensajes: 116 Fecha de incorporación: 16/09/08 Mensajes recientes
solution is:
remove lines from "taglib/ui/page_iterator/start.jsp" line 93-111
remove lines from "taglib/ui/page_iterator/start.jsp" line 93-111
asad as asad, modificado hace 15 años.
RE: [RESOLVED] RE: remove "showing x results"
New Member Mensajes: 12 Fecha de incorporación: 18/03/09 Mensajes recientesRobin S.:
solution is:
remove lines from "taglib/ui/page_iterator/start.jsp" line 93-111
Thanks a lot for every one.
This solved the problem.
Robin, thanks you !
asad as asad, modificado hace 14 años.
RE: remove "showing x results"
New Member Mensajes: 12 Fecha de incorporación: 18/03/09 Mensajes recientesSamuel Kong:
You could modify the jsp for <liferay-ui:page-iterator>, but it's probably easier to just hide the text using CSS.search-results { display: none; }
This is teh correct answer, so you don,t need to remove any thing from any jsp file.
Thanks Samuel
rgds