Knuckle Cracker

Creeper World => Suggestions => Topic started by: Timwi on March 05, 2010, 08:09:04 PM

Title: Add map title to website's TITLE tag
Post by: Timwi on March 05, 2010, 08:09:04 PM
All the custom maps-related webpages have "Creeper World Custom Maps" in their title. It would be useful:

* to have the map's title in the title; and
* to have some way of telling the comments page from the scores page, e.g. add "(comments)"/"(scores)" at the end. — no longer relevant
Title: Re: Add map title to website's TITLE tag
Post by: knucracker on March 06, 2010, 02:18:20 PM
If you are wanting to provide a link that comes up on scores (Rather than comments you can do this:)
http://knucklecracker.com/creeperworld/mapcomments.php?id=610&scores=1
Where id is the map id you want to link to and "scores=1" tells the page to show scores rather than the default comments.
Title: Re: Add map title to website's TITLE tag
Post by: Timwi on August 28, 2010, 03:39:32 AM
virgilw, did you get around to considering this suggestion?

Your comment above does not appear to relate to the suggestion.
Title: Re: Add map title to website's TITLE tag
Post by: UpperKEES on August 28, 2010, 07:55:47 AM
Virgil means you can link to the scores instead of the comments as well, so he probably misunderstood that you just like to see a more meaningful web page title. Give him a break; he has just been cranking out a very nice update!
Title: Re: Add map title to website's TITLE tag
Post by: Karsten75 on August 28, 2010, 08:07:21 AM
Timwi,
  With the implementation of the comments page on SMF (forum) it has reduced the need for Virgil to differentiate on the webb pages between comments ans cores, don't you agree?

As for including the map name in the title tag, that is a good idea and similar to one that Virgil implemented some time back for the actual Creeper World Game when one plays a specific map.

Maybe next time he spends some time working on the website, he can take some time to differentiate between the main maps page and one page that is specific to an individual map.  But we will all live without it if he doesn't, I suspect. :)

It may be that currently the map pages have two parts, a template for the <head> tag and then only a custom PHP part for the <body> (or even only part of it)  tag. In such a case it might take more work to have the PHP script generate all the HTML for the entire page. Not much, but still some work.