Webmastersite.net
Register Log In

Problems with the pagetitle

Title Problems with the pagetitle
Description Problems with the rendering of the pagetitle
Message Text I'm in the middle of upgrading from an old version of wsnlinks to the new 3.3.1. The pagetitle was defined:
{CATNAME}     {AREA} | Sometext
This worked fine until I began to code a different pagetitle for the first page.
      
<IF {TID} contains main.tpl>
  Sometext
<OTHERWISE>
  {PAGETITLE}
</IF>
This code works in the moment perfectly for giving the first page a different pagetitle. But now I got in a categorie the strange effect that a page title with spaces is written with underscore. For example instead of "Cat with spaces" as "Cat_with_spaces". But only in the first category. If I visit the detailed page to a link in this category the page title is written correctly. (Sometimes even in subcategorys). Any idea what causes this strange (at least strange for me) behaviour? Some links for a live visit: Starting page: http://test.united-arts.de Category: http://test.united-arts.de/Computer_und_Technik Subcategory http://test.united-arts.de/Computer_und_Technik/ And my second (somewhat related) question is what variable I can use inside a php-script in the template to get the category-name without underscores or parental directorys attached? Any idea?
Rating
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
0/5 based on 0 votes.
Ownership Papillon
Views 530 views. Averaging 0 views per day.
Similar Topics
Submission Date Nov 24, 2005 - 3:14 AM