Support Forums

Edit Title Tags Questions

This is a discussion on Edit Title Tags Questions within the Technical Support forums, part of the Technical Support Forums category; 1. I need to know the file and full path to edit the meta title tag on every page of ...


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 12-06-2008, 08:37 AM   #1
Junior Member
 
Join Date: Jun 2008
Posts: 17
Rep Power: 10
dexignz is on a distinguished road
Default Edit Title Tags Questions

1. I need to know the file and full path to edit the meta title tag on every page of viewlisting.php.
I know how to edit the title directly from the admin panel but I'm trying to reorder the title, so instead of
Keywords | Title
I wanted it to say
Title | Keywords

I tried to use {$title) on the layout.tpl title area but it didn't work.

2. Is there any module that will enable us to use different "title tag keywords" for each page created, if not, is it possible to customize? I want to add additional keywords to the extra pages that I create but I'm not sure which page to edit to do this.

3. For the Friendly URL Module the example says that it changes
viewlisting.php?view=1 to view/1-my-truck
I want to know what variable is "1-my-truck" suppose to represent, is it the short description title? (Are there any live websites with a sample of this mod?)
__________________
v4.0.8 Developer
Ebony Honeys | Adult Classifieds
dexignz is offline  
Old 12-06-2008, 12:42 PM   #2
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,493
Rep Power: 131
Eric Barnes is just really nice Eric Barnes is just really nice
Default

1. That comes from the php files and displayed with the layout.tpl file.

2. That is a new feature in v4.1 when it comes out.

3. 1-my-truck represents the listingid-listingtitle.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline  
Old 12-06-2008, 06:16 PM   #3
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,069
Rep Power: 32
bowers01 is on a distinguished road
Default

For number 2 you can use
Code:
{if $body=='user/userlogin.tpl'}
	<title>Log In</title>
{elseif $body=='home.tpl'}
	<title>Buy And Sell Free</title>
{elseif $body=='contact/contactus.tpl'}
	<title>Contact Us</title>
{elseif $body=='showlistings.tpl'}
	<title>Search Results</title>
{elseif $body=='user/userindex.tpl'}
	<title>{$sitetitle} - My Account</title>
{elseif $body=='user/userjoin.tpl'}
	<title>Register To Start Selling</title>
{elseif $body=='categories/browse.tpl'}
	<title>Categories</title>
	{elseif $body=='viewlisting2.tpl'}
	<title>{$title}</title>
{else}
	<title>{$sitetitle}</title>
{/if}
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template
bowers01 is offline  
Old 12-06-2008, 11:03 PM   #4
Junior Member
 
Join Date: Jun 2008
Posts: 17
Rep Power: 10
dexignz is on a distinguished road
Default

Thanks, works perfect!

Quote:
Originally Posted by bowers01
For number 2 you can use
Code:
{if $body=='user/userlogin.tpl'}
	<title>Log In</title>
{elseif $body=='home.tpl'}
	<title>Buy And Sell Free</title>
{elseif $body=='contact/contactus.tpl'}
	<title>Contact Us</title>
{elseif $body=='showlistings.tpl'}
	<title>Search Results</title>
{elseif $body=='user/userindex.tpl'}
	<title>{$sitetitle} - My Account</title>
{elseif $body=='user/userjoin.tpl'}
	<title>Register To Start Selling</title>
{elseif $body=='categories/browse.tpl'}
	<title>Categories</title>
	{elseif $body=='viewlisting2.tpl'}
	<title>{$title}</title>
{else}
	<title>{$sitetitle}</title>
{/if}
__________________
v4.0.8 Developer
Ebony Honeys | Adult Classifieds
dexignz is offline  
Old 12-07-2008, 04:10 AM   #5
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,069
Rep Power: 32
bowers01 is on a distinguished road
Default

No worries, any time.
Nick
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template
bowers01 is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
title tags anna245 Modules / Plugins / Modifications 3 07-13-2008 08:19 PM
Calling URLs with title tags. seymourjames Modules / Plugins / Modifications 18 07-10-2008 10:17 AM
Category Title Tags anna245 Technical Support 6 06-30-2008 11:44 AM
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 10:13 PM.


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