Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 03:29 am EST
Geeklog Forums
i want to increase number of pages linked
victor
Anonymous
i want to increase number of pages linked at the footer.
i got a screenshot for it
in screenshot the number of pages linked is 10
http://img131.imageshack.us/img131/8020/73978985uz1.jpg
i want to make it 100
how can i do it?
thank you for the interest
i got a screenshot for it
in screenshot the number of pages linked is 10
http://img131.imageshack.us/img131/8020/73978985uz1.jpg
i want to make it 100
how can i do it?
thank you for the interest
8
9
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
This isn't exactly configurable, but you could try playing around with the values in this line (in function COM_printPageNavigation in lib-common.php):
bye, Dirk
Text Formatted Code
for( $pgcount = ( $curpage - 10 ); ( $pgcount <= ( $curpage + 9 )) AND ( $pgcount <= $num_pages ); $pgcount++ )bye, Dirk
9
8
Quote
victor
Anonymous
it seems to be impossible to change it.
can you exactly say how to increase it to 100?
i need the exact code
thank you
can you exactly say how to increase it to 100?
i need the exact code
thank you
8
9
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Changing it to will give you 15 pages initially, which then grows to up 30 pages as you move along. Compare that with the initial values (- 10 ... +9), which give you 10 pages initially and then up to 20 pages, you should be able to figure it out ...
Not sure why you would want 100 there, btw. That would be awkward to use and wrap around into several lines when using a medium-sized browser window.
bye, Dirk
Text Formatted Code
for( $pgcount = ( $curpage - 15 ); ( $pgcount <= ( $curpage + 14 )) AND ( $pgcount <= $num_pages ); $pgcount++ )Not sure why you would want 100 there, btw. That would be awkward to use and wrap around into several lines when using a medium-sized browser window.
bye, Dirk
12
18
Quote
victor
Anonymous
thank you but why didnt you give me the codes which makes it 100 pages?
i want 100 because of google and other search engines indexing
my site is a keyword depot so robots should index all pages
i want 100 because of google and other search engines indexing
my site is a keyword depot so robots should index all pages
9
6
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by: victor
thank you but why didnt you give me the codes which makes it 100 pages?
I showed you how to increase it from 10 to 15 pages. Increasing it to 100 pages is left as an exercise for the reader :wink:
Also, I think it's a bad idea.
Quote by: victor
i want 100 because of google and other search engines indexing
my site is a keyword depot so robots should index all pages
Websites should be made for your visitors. 100 links will only confuse your users (and make the site look ugly, IMHO).
Also, the search engines will pick up the other pages just fine - they'll follow the "next" links and will get to all the other pages eventually. So I don't really see a need to do anything here.
The "directory" link, and possibly adding a site index, will help you achieve the same goal (indexing of all your stories) but with less clutter to bother your users with. The FAQ has some more hints: Geeklog and search engines
bye, Dirk
8
6
Quote
All times are EST. The time is now 03:29 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content