Support Forums

Category Title Tags

This is a discussion on Category Title Tags within the Technical Support forums, part of the Technical Support Forums category; Can someone help me with title tags? For main categories, I would like the title to be Main Category Title: ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

This topic is resolved.

If you have a similar issue that this thread does not address, open a new related support topic.

 
Thread Tools Display Modes
Old 06-29-2008, 02:02 PM   #1
Member
 
Join Date: Apr 2008
Posts: 51
Rep Power: 17
anna245 is on a distinguished road
Question Category Title Tags

Can someone help me with title tags?

For main categories, I would like the title to be

Main Category Title: Site Title

for sub categories

Sub category: Main Category Title
anna245 is offline  
Old 06-30-2008, 09:45 AM   #2
Member
 
Fatih67's Avatar
 
Join Date: Jun 2008
Location: TURKEY
Posts: 58
Rep Power: 16
Fatih67 is on a distinguished road
Default

Quote:
Originally Posted by anna245 View Post
Can someone help me with title tags?

For main categories, I would like the title to be

Main Category Title: Site Title

for sub categories

Sub category: Main Category Title
also can someone help us with keywords and descriptions ?
i have searched it but i didnt find any code or module.
__________________
© 2007 68 Classifieds - A division of 68 Designs, LLC - v4.0.3 Developer
Another 68C site ; ikinci el kamyonlar
Fatih67 is offline  
Old 06-30-2008, 10:44 AM   #3
curmudgeon
 
Join Date: Mar 2006
Posts: 5,416
Rep Power: 139
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

This really isnt a cut and dry situation and everyone seems to want different results. This info is built at the script level and passed to the template.

Depending on what you are specifically looking to do you should be able to alter all of this info by making use of available smarty variables on the different pages.

However, since not every pages has the same vaariables to use and not everyone wants their title/description etc changed the same way what you will end up doing is having to use smarty logic to check and see what page it is and then adjust the title and description accordingly.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline  
Old 06-30-2008, 11:27 AM   #4
Member
 
Join Date: Apr 2008
Posts: 51
Rep Power: 17
anna245 is on a distinguished road
Question

I followed the instructions on this thread:

http://www.68classifieds.com/forums/...ead.php?t=2327

so that it shows the category name as the page title.

I want to add in more text after the category name.

Category Name: Blah Blah Blah. << Blah Blah Blah can be default for all category pages.

Where would I go to implement this?
anna245 is offline  
Old 06-30-2008, 11:33 AM   #5
curmudgeon
 
Join Date: Mar 2006
Posts: 5,416
Rep Power: 139
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Quote:
Originally Posted by anna245 View Post
I followed the instructions on this thread:

http://www.68classifieds.com/forums/...ead.php?t=2327

so that it shows the category name as the page title.

I want to add in more text after the category name.

Category Name: Blah Blah Blah. << Blah Blah Blah can be default for all category pages.

Where would I go to implement this?
By following the directions in the link you edited the variable thats passed from the php script to the template.

How you further modify that value will depend on what it is you are looking to add. As I mentioned above you can modify the value at the template level or the script level but it all depends on what you want to add and on what pages you want it to appear. WIthout you giving me a specific quetion I cant give you a specific answer.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline  
Old 06-30-2008, 11:40 AM   #6
Member
 
Join Date: Apr 2008
Posts: 51
Rep Power: 17
anna245 is on a distinguished road
Default

I want to focus on the main category pages and sub category pages.

Say for instance I wanted this for the main category title:

Category Name "For Sale" - where For Sale is the extra text.

sub category

Sub Category Name - Main Category- For Sale
anna245 is offline  
Old 06-30-2008, 11:44 AM   #7
curmudgeon
 
Join Date: Mar 2006
Posts: 5,416
Rep Power: 139
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Quote:
Originally Posted by anna245 View Post
I want to focus on the main category pages and sub category pages.

Say for instance I wanted this for the main category title:

Category Name "For Sale" - where For Sale is the extra text.

sub category

Sub Category Name - Main Category- For Sale
The sites title is held in the smarty variabl {$sitetitle} which is near the top of the layout.tpl template. If you want static text to appear after the title then just tyupe the text between the html title tags and after the smarty variable, like this......

Code:
<title>{$sitetitle} For Sale</title>
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calling URLs with title tags. seymourjames Modules / Plugins / Modifications 18 07-10-2008 10:17 AM
Title Tag Modifications anna245 Technical Support 0 06-07-2008 01:32 PM
title tags on calling urls seymourjames Technical Support 7 06-01-2008 07:48 PM
Getting title tags with URLs (smarty) seymourjames Modules / Plugins / Modifications 0 04-24-2008 09:39 PM


All times are GMT -4. The time now is 06:54 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0