×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: minor change

minor change 8 years 9 months ago #31410

  • Peter Ashford
  • Peter Ashford's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 217
  • Thank you received: 33
Hello,

Only a minor thing I'm trying to do, but for the life on me cannot get it to work!!! All I want to do is have another set of Pagination options at the top of the event list page. I know they are at the bottom, but I want them at the top too.. I thought I found the correct code to copy and paste where I wanted it, but have failed!!

Could you please let me know the block of code I need to copy?? I'm using the bootstrap3.php file

cheers Pete

minor change 8 years 9 months ago #31414

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hi Pete,

first do a template override and don't change the code directly (updates, problems etc.)

The code you need to move / copy is just the following:

// Pagination
if (count($this->allEvents) < $this->total)
{
echo $this->bootstrapNav;
}

Just put it in php tags to the top :)

minor change 8 years 9 months ago #31418

  • Peter Ashford
  • Peter Ashford's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 217
  • Thank you received: 33
thanks Yves. I already have an over-ride for some other bits, so easy to add. I wasn't far off - I was copying too much code into the wrong area!

cheers Pete

minor change - pagination 8 years 6 months ago #32246

  • Simon Wells
  • Simon Wells's Avatar
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 40
  • Thank you received: 0
Hi Yves,
I have that code, but for the life of me, where is bootstrapNav created, as I would like to turn these into buttons instead of just text.
Regards,
Simon
  • Page:
  • 1
Time to create page: 0.203 seconds