Support Forums

Display Extra Field in <TITLE>

This is a discussion on Display Extra Field in <TITLE> within the Technical Support forums, part of the Technical Support Forums category; Hi there, Just wondered whether it is possible to add on or more of the parent or child extra fields ...


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 07-19-2009, 02:37 AM   #1
Customer
 
jason1971's Avatar
 
Join Date: Jan 2009
Location: England
Posts: 147
Rep Power: 9
jason1971 is on a distinguished road
Default Display Extra Field in <TITLE>

Hi there,

Just wondered whether it is possible to add on or more of the parent or child extra fields with in the <TITLE> tag EG: for example if you had a drop down field with say 'for sale' or 'wanted' as an option.

so that the <TITLE> tag could read 'car for sale' or 'car wanted' so that it would improve search results for people typing in those requirements.

Just a thought

Many thanks for any help offered.

Jason
__________________
v4.1.8 Hosted - using Templatecodes neo2- green template
jason1971 is offline  
Old 07-19-2009, 05:49 AM   #2
Senior Member
 
Join Date: Jun 2009
Posts: 159
Rep Power: 8
sitewonders is on a distinguished road
Default

Thats a very nice idea. I wanted to add the drop down anyway as my customers will want FOR SALE, WANTED or TRADE.

Gary
__________________
v4.1.3 Designer - Nustyle 3 Ocean
sitewonders is offline  
Old 07-19-2009, 08:12 AM   #3
curmudgeon
 
Join Date: Mar 2006
Posts: 5,243
Rep Power: 128
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

look at your layout.tpl and you can see there is a smarty variable that represents the title. The contents of that variable will change based on the page your on. Altering the actual contents can get a little tricky but if you just want to append or prepend data then simply take any other smarty variable thats available on your given page and play that smarty var before or after the title var.....

ie...

{$title}{myvar}
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline  
Old 07-19-2009, 07:04 PM   #4
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 2,716
Rep Power: 66
seymourjames is a jewel in the rough
Default

This may help as well because it always gets asked Displaying variables and extra fields NOT already shown on the page
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68 Classifieds
seymourjames is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Display Extra Field in Showlistings.php nagrap2 Technical Support 8 05-05-2009 05:13 PM
Display Extra Field in Showlistings.php jason1971 Technical Support 0 04-19-2009 03:03 AM
Display Image for Extra Field within Listings nagrap2 Technical Support 2 02-10-2009 01:18 PM
put category extra field in title skyblue Technical Support 15 11-09-2008 10:38 PM


All times are GMT -4. The time now is 06:47 AM.


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