Jump to content

Leraje

Members
  • Posts

    6
  • Joined

Posts posted by Leraje

  1. https://www.xxxxxx.com/search/?q=people
    When I search for "people", there are 3 pages of results.


    when open "https://www.xxxxxx.com/search/page2"

    Server Error
    We're sorry! The server encountered an internal error and was unable to complete your request. Please try again later.
    error 500 

    Is there something wrong with Template: Search settings and how to fix it?
    allow page numbers has be Selected!

    But in Template: blog test it's OK!


    <?php      
    $options = array(
      'numPageLinks' => 3,
      'listClass' => 'pagination float--right',
      'listMarkup' => "<ul class='pagination float--right'>{out}</ul>",
      'itemMarkup' => "<li class='{class}'>{out}</li>",
      'linkMarkup' => "<a href='{url}'>{out}</a>",

      'currentItemClass' => '',
      'currentLinkMarkup' => "<li class='active'><span>{out}</span></li>",
     // 'separatorItemMarkup' => '',  
      'separatorItemLabel' => '<span>&hellip;</span>',
      'separatorItemClass' => '',

      'nextItemLabel' => '<i class="fa fa-long-arrow-right"></i>',
      'previousItemLabel' => '<i class="fa fa-long-arrow-left"></i>',
      'nextItemClass' => '', 
      'previousItemClass' => '',
      'lastItemClass' => '',
      'lastNumberItemClass' => '',
      'firstItemClass' => '',  
      'firstNumberItemClass' => '', 
      'listAriaLabel' => '',   
      'itemAriaLabel' => '',  
      'currentItemAriaLabel' => '',    
    );       

      echo $matches->renderPager($options); 
    ?>

×
×
  • Create New...