I want to know how to create unique titles for the span pages. Every span page has the same title as the category index and I think it creates a problem in google. I would want to know how to create something like "Category links 50-99" "Category links 100-149" and so on or maybe "Category more3" as long as it is unique.
Jul 8, 2008, 8:15 AM
Veteran / Moderator (17298 posts)
Jul 8, 2008, 8:15 AM
Post #2 of 8
Views: 535
Hi,
You could try something like this (at the top of category.html):
<%set per_page = $paging.max_hits%>
<%set _start_number = $page_on * $per_page%>
<%set _start_number2 = $_start_number + 1%>
<%set start_number = $_start_number2 - $per_page%>
<%set end_number = $page_on * $per_page%>
..then in the <title></title> bit, you can use:
This would give something like
1-25 - page 1
26-50 - page 2
Its a little complex - but I tested it, and seems to work ok :)
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
You could try something like this (at the top of category.html):
Code:
<%set page_on = $paging.current_page%> <%set per_page = $paging.max_hits%>
<%set _start_number = $page_on * $per_page%>
<%set _start_number2 = $_start_number + 1%>
<%set start_number = $_start_number2 - $per_page%>
<%set end_number = $page_on * $per_page%>
..then in the <title></title> bit, you can use:
Code:
<%start_number%>-<%end_number%> - page <%page_on%>This would give something like
1-25 - page 1
26-50 - page 2
Its a little complex - but I tested it, and seems to work ok :)
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Jul 8, 2008, 8:31 AM
Veteran / Moderator (17298 posts)
Jul 8, 2008, 8:31 AM
Post #4 of 8
Views: 528
What did it do for you? (you got an example URL?)
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Jul 8, 2008, 8:38 AM
Veteran / Moderator (17298 posts)
Jul 8, 2008, 8:38 AM
Post #6 of 8
Views: 524
Can you PM/Email over Glinks admin details, and I'll take a look for you?
Also - which version are you using? Is it GLinks 3.x ? (if not - thats where your problem is, as the <%paging.xxx%> stuff isn't available in the older versions)
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Also - which version are you using? Is it GLinks 3.x ? (if not - thats where your problem is, as the <%paging.xxx%> stuff isn't available in the older versions)
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Jul 8, 2008, 8:49 AM
Veteran / Moderator (17298 posts)
Jul 8, 2008, 8:49 AM
Post #8 of 8
Views: 518
Hi,
Afraid not - you need GLinks 3.2 really (you can still upgrade to GLinks 3.2, and just keep using your current templates). If you would like me to do it, please PM me - and I can upgrade you for a fee
)
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Afraid not - you need GLinks 3.2 really (you can still upgrade to GLinks 3.2, and just keep using your current templates). If you would like me to do it, please PM me - and I can upgrade you for a fee
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates

