Webmastersite.net
Register Log In

Custom Title Tags: One solution Needed

Title Custom Title Tags: One solution Needed
Description One solution needed to perfect previous post.
Message Text Paul,

In my previous post about how to customize Title Tags for categories and sub-categories I gave instructions that work quite well, but there are still a couple of needs to perfect it. I'm sure you would know the solution.

After the customization is done there are certain places that appear with no title tag where it is not possible to add one. For example, if you have a category or subcategory you need only click edit and the Title Tag field will be present at the bottom of the page form to be filled in. However, there is no such way to edit the directory Home Page. Therefore it has an empty title tag and I can't find any way to add one without a minor PHP change. There are other simular type pages with the same problem.

You have made a provision in the PHP (end.php) so that if "Page Titles Scheme:" field on the General page is empty it will default to other language tags. The problem is that it is never empty because even when the {CATCATEGORYTITLES} tag is (such as with the directory home page), it still contains the tag.

So a way must be found in the PHP to detect if the {CATCATEGORYTITLES} tag is empty or contains data. If it contains data to use the data contained, but if not to use blanket information contained in a new language tag that would need to be created. Not being much of a PHP programmer I am not sure how to write this, but assume it would to in the "end.php" file?

Your assistance is onec again appreciated.

Ed
Rating
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
0/5 based on 0 votes.
Ownership eharris
Views 641 views. Averaging 0 views per day.
Similar Topics
Submission Date Dec 31, 2005 - 9:59 AM