|
|
#1 |
|
Junior Member
Join Date: Jan 2009
Posts: 14
Rep Power: 1 ![]() |
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 |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Mar 2006
Posts: 3,886
Rep Power: 94 ![]() ![]() |
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 |
|
|
|
|
|
#3 |
|
Moderator
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,133
Rep Power: 34 ![]() ![]() |
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-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 |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Jan 2009
Posts: 14
Rep Power: 1 ![]() |
Thanks Mike,
Your a star, that worked a treat Jason |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 616
Rep Power: 15 ![]() |
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 |
|
|
|
|
|
#6 |
|
Moderator
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,133
Rep Power: 34 ![]() ![]() |
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 |
|
|
|
|
|
#7 |
|
Moderator
Join Date: Mar 2008
Posts: 633
Rep Power: 17 ![]() |
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 |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
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 |