Support Forums


Go Back   68 Classifieds Forums > Help & Support > v4 Questions & Support

 
LinkBack Thread Tools Display Modes
Old 02-15-2009, 03:57 AM   #1
Junior Member
 
Join Date: Jan 2009
Posts: 14
Rep Power: 1
jason1971 is on a distinguished road
Arrow remove just the website name from title tag

Hi there,

Is it possible to remove the website name from the title tag, when you click in to the categories ?

so that you just have the category name appearing in the title tag.????

Also, once you click on to the sub-category name, is it then possible to have JUST the sub-category name showing without both the website name and category names showing

as it appears now
mywebsitename.com>>category name >> sub-category name

would just like the final result to appear in the title tag

sub-category name

hope somebody can hep me if it is possible to do

Thanks

Jason
jason1971 is offline   Reply With Quote
Old 02-15-2009, 09:24 AM   #2
Moderator
 
 
Join Date: Mar 2006
Posts: 3,886
Rep Power: 94
Lhotch is just really niceLhotch is just really nice
Default

Its going to take a long series of smarty logic if you have the designer edition or you will have to modify a function if you want to do it via php at the script level.

Since I have no idea which version your running or designer/developer I cant really be more specific.
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Lhotch is offline   Reply With Quote
Old 02-15-2009, 10:18 AM   #3
Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,133
Rep Power: 34
Mike-N-Tosh is just really niceMike-N-Tosh is just really nice
Default

Jason,

Try this in your layout.tpl file around line 6:
HTML Code:
{* Modification to have custom titles for categories *}
   {if $body=='categories/browse.tpl'}
      <title>{$categoryname}</title>
   {else}
      <title>{$sitetitle}</title
   {/if}
-Mike
__________________
Mike-N-Tosh
v3.1.10 Developer IndianaPC.org - A community website
Sandbox v4.0.9, 4.1RC4
Templates, Mods & Docs for sale | My blog with much content for 68 Classifieds.
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 02-15-2009, 12:11 PM   #4
Junior Member
 
Join Date: Jan 2009
Posts: 14
Rep Power: 1
jason1971 is on a distinguished road
Default thanks

Thanks Mike,

Your a star, that worked a treat

Jason
jason1971 is offline   Reply With Quote
Old 02-15-2009, 05:01 PM   #5
Senior Member
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 616
Rep Power: 15
bowers01 is on a distinguished road
Default

What i have done is in administration set the site name to one space.
Then from a series of IF statments named each page.
Nick
__________________
Nick Bowers
68c v4.09 Developer
bowers01 is offline   Reply With Quote
Old 02-15-2009, 09:25 PM   #6
Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,133
Rep Power: 34
Mike-N-Tosh is just really niceMike-N-Tosh is just really nice
Default

You're welcome Jason.

-Mike
__________________
Mike-N-Tosh
v3.1.10 Developer IndianaPC.org - A community website
Sandbox v4.0.9, 4.1RC4
Templates, Mods & Docs for sale | My blog with much content for 68 Classifieds.
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old Yesterday, 06:04 AM   #7
Moderator
 
 
Join Date: Mar 2008
Posts: 633
Rep Power: 17
seymourjames has a spectacular aura about
Default

This question comes up often in many forms as part of a general problem in defining titles, meta descriptions, etc and using those variables on the page as well. Many people may find this post of interest as it should bring most of it together.

Assigining title tags, meta descriptions
__________________
TemplateCodes.com
seymourjames is online now   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
removing website name from <TITLE> tag jason1971 v4 Questions & Support 3 02-09-2009 07:52 AM
Remove Site Title from HTML Emails berg v4 Questions & Support 2 08-18-2008 08:57 AM
Ad Title as Page Title sbhkma v3.1 Questions & Support 2 11-19-2007 09:38 AM
Hacked website? calaf6 Off Topic 2 05-10-2007 09:28 AM


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


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