sitemaniac
New Member
Hi,
I'm developing a site that will have numerous spill over pages i.e as it grows the main page will need to be split into page [2] [3] ... [100] etc
So down the bottom I will have a sort of index of the page numbers as above [1] [2] [3] ... [100]
The way I'm doing it at the moment is literally doing it with html and links at the bottom of each page. I want the page I am currently on to be not a link but just a plain e.g [20] with all the ones around it to be links.
I'm starting to realise this is not future proof and when I am on page 100 I wll have to go back and add in the extra links to each other page.
I think I will have to do a php includes so I can change them all at one.
But this way the links will all be the same and the page I am currently on will be a link also.
Plus, When the pages numbers are too many to display in a row it's common to see something like this
[FIRST PAGE].. [51] [52] [53] [54] [55] [56] [57] [58] .. [LAST PAGE]
Does anyone know how this system is done with html, css, php includes?
Is there an easy way of doing this?
Any help would be much appreciated. I hope there's an easy method for achieving this!
Thanks.
I'm developing a site that will have numerous spill over pages i.e as it grows the main page will need to be split into page [2] [3] ... [100] etc
So down the bottom I will have a sort of index of the page numbers as above [1] [2] [3] ... [100]
The way I'm doing it at the moment is literally doing it with html and links at the bottom of each page. I want the page I am currently on to be not a link but just a plain e.g [20] with all the ones around it to be links.
I'm starting to realise this is not future proof and when I am on page 100 I wll have to go back and add in the extra links to each other page.
I think I will have to do a php includes so I can change them all at one.
But this way the links will all be the same and the page I am currently on will be a link also.
Plus, When the pages numbers are too many to display in a row it's common to see something like this
[FIRST PAGE].. [51] [52] [53] [54] [55] [56] [57] [58] .. [LAST PAGE]
Does anyone know how this system is done with html, css, php includes?
Is there an easy way of doing this?
Any help would be much appreciated. I hope there's an easy method for achieving this!
Thanks.