× If you expect answers you should describe your problem and give as much information's as possible. (SQL-Structure, Template Code, Joomla Version ...) Please read this before posting: joodb.feenders.de/support.html

Pagecount Missing Wording

More
5 years 4 months ago #4990 by megat
Pagecount Missing Wording was created by megat
Hi,

Page 1 of 3 Results 1 - 5 of 13

I have an issue where the word OF is not visible in my website for unknown reasons

It has never been replaced in the language override before

Where / what is the file that control this text to show up? At least i can tinker something
Tried to search them before, but still no luck yet

Please help, just mention the file name will do

Thanks

Please Log in to join the conversation.

More
5 years 4 months ago #4991 by Dirk
Replied by Dirk on topic Pagecount Missing Wording
Joodb uses the Joomla Pagination class.

The entry is in JLIB_HTML_PAGE_CURRENT_OF_TOTAL in languages/en-GB/en-GB.lib_joomla.ini
JLIB_HTML_PAGE_CURRENT_OF_TOTAL="Page %s of %s"

From the catalog view!
switch ($part->function) {
      case ('pagenav'):
          $output .= $this->pagination->getPagesLinks();
          break;
      case ('pagecount'):
	      if (!empty($this->items)) {
		      $output .= $this->pagination->getPagesCounter();
		      $output .=  $this->pagination->getResultsCounter();
	      }
          break;
      case ('resultcount'):
	      if (!empty($this->items)) {
		      $output .= $this->pagination->getResultsCounter();
	      }
          break;
The following user(s) said Thank You: megat

Please Log in to join the conversation.

More
5 years 4 months ago - 5 years 4 months ago #4993 by megat
Replied by megat on topic Pagecount Missing Wording
You Sir, are a legend,
Thanks!
Last edit: 5 years 4 months ago by Dirk.

Please Log in to join the conversation.

Moderators: Dirkjoest