To omit page number links, add
ShowIndividualPages="false" to the Pager control for the category template you are using.
Category templates:
Templates\Categories\ProductsInGrid.ascx
Templates\Categories\ProductsInLines1.ascx
Templates\Categories\ProductsInLines2.ascx---
To use images instead of text for the previous, next, first, and last navigation links, set an image url for the hyperlink in the
BindPrevious(),
BindNext(),
BindFirst(), and
BindLast() methods.
Edit file:
Libraries\Nop.Controls\Pager.cs
protected virtual void BindFirst(Control control)
{
HyperLink child = new HyperLink();
child.Text = this.FirstButtonText;
child.ImageUrl = "/images/page_first.gif";
child.ToolTip = this.FirstButtonText;
child.Style.Add(HtmlTextWriterStyle.BorderWidth, "0px");
[...]
}
This will affect all uses of the Pager control though (manufacturer templates, forum paging, etc.). If you only need the images for product pagination links, you could add the previous, next, first, and last image names as properties to the control and use that to determine whether to use an image or text link. Either way, you will need to edit Pager.cs and recompile the solution.
These changes are for version 1.40.
.