eSyndiCat User Forums esyndicat directory software esyndicat support

Go Back   eSyndiCat User Forums > Common Information > Search Engine Optimization

Search Engine Optimization Want to improve your site rank and positions? Then this forum is definitely for you. Read link exchange and search engine optimization tips and tricks. Get more power with new SEO tools discussed here. Get professional advice and more... DO NOT POST YOUR LINK EXCHANGE REQUESTS HERE OR INFORMATION ABOUT YOUR DIRECTORIES. They will be interpreted as spam and deleted.

Reply
 
Thread Tools Display Modes
Old 05-14-2010   #1
ramek99
 
Join Date: May 2010
Posts: 4
ramek99 is on a distinguished road
Arrow Title tag format - listing details

Hi

I want to change meta title format of the listing details page.

Now, i have:
Listing title << Parent category << Subcategory << Site title.

I want only "listing title" without this:
<< Parent category << Subcategory << Site title.

How can I change this?

"Full path to category in title" doesn`t work for me
ramek99 is offline   Reply With Quote
Old 05-15-2010   #2
aafo
 
Join Date: Oct 2006
Posts: 31
aafo is on a distinguished road
Default

Quote:
Originally Posted by ramek99 View Post
Hi

I want to change meta title format of the listing details page.

Now, i have:
Listing title << Parent category << Subcategory << Site title.

I want only "listing title" without this:
<< Parent category << Subcategory << Site title.

How can I change this?

"Full path to category in title" doesn`t work for me

open file view-listing.php

find

Code:
/** defines page title **/
$full_title_array = array();
esynUtil::getBreadcrumb($listing['category_id'], $full_title_array);

if ('-1' == $category['parent_id'])
{
	$category['path'] = ESYN_URL;
	$category['path'] = substr($category['path'], 0, -1);
}
elseif (0 < $category['parent_id'])
{
	$category['path'] = array_reverse($full_title_array);
}
$esynSmarty->assign('category', $category);

$out_title = esynSanitize::html(strip_tags($listing['title']));
if(!empty($full_title_array))
{
	foreach ($full_title_array as $jt_value)
	{
		$out_title.= " « ".esynSanitize::html(strip_tags($jt_value['title']));		
	}
}
$out_title.= " « ".esynSanitize::html(strip_tags($esynConfig->getConfig('site')));
$esynSmarty->assign('title', $out_title);
replace

Code:
/** defines page title **/
$full_title_array = array();
esynUtil::getBreadcrumb($listing['category_id'], $full_title_array);

if ('-1' == $category['parent_id'])
{
	$category['path'] = ESYN_URL;
	$category['path'] = substr($category['path'], 0, -1);
}
elseif (0 < $category['parent_id'])
{
	$category['path'] = array_reverse($full_title_array);
}
$esynSmarty->assign('category', $category);

$out_title = esynSanitize::html(strip_tags($listing['title']));
$esynSmarty->assign('title', $out_title);

Last edited by aafo; 05-15-2010 at 03:42 AM. Reason: correction
aafo is offline   Reply With Quote
Old 05-16-2010   #3
ramek99
 
Join Date: May 2010
Posts: 4
ramek99 is on a distinguished road
Default

It works, thank you very much
ramek99 is offline   Reply With Quote
Old 06-26-2010   #4
publine
 
Join Date: Dec 2009
Posts: 14
publine is on a distinguished road
Default

is it possible to replace this caracters, and where ?

" << "
publine is offline   Reply With Quote
Reply

Tags
listing details, title

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
Forum Jump


All times are GMT. The time now is 10:40 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Testimonials | Articles | Support | Documentation | Privacy Policy | License | Affiliates | Contact Us | SEO Resources