Follow ReviewsForJoomla on Twitter
 
September 08, 2010, 08:34:16 PM

Login with username, password and session length

FORUM POSTING GUIDELINES - Please read and follow them.

Pages: [1]
  Print  
Author Topic: Joomla Cetegory in Listing Title  (Read 102 times)
Mark Brindley
Full Member
***
Offline Offline

Posts: 55



« on: July 31, 2010, 03:22:19 PM »

Hello,

Is it possible to dissplay the Joomla Category in the page title of the listing detail page?

Logged
Kristian
Global Moderator
Hero Member
*
Offline Offline

Posts: 2796



WWW
« Reply #1 on: July 31, 2010, 05:22:14 PM »

Hello,

Is it possible to dissplay the Joomla Category in the page title of the listing detail page?


Hi,

Read this:
http://docs.reviewsforjoomla.com/Customizing_listing_page_title,_meta_description_and_keywords

You'll find category variable here:
http://docs.reviewsforjoomla.com/Data_you_can_use_in_detail.thtml_theme_file
Logged
Mark Brindley
Full Member
***
Offline Offline

Posts: 55



« Reply #2 on: July 31, 2010, 06:09:06 PM »

Thanks Kristian,

That was exactly what I was after  Grin
The more I work with Jreviews, the more I realize what an AWESOME component it is...
Logged
nauman
Jr. Member
**
Offline Offline

Posts: 33


« Reply #3 on: August 30, 2010, 09:27:45 PM »

Hello,

Is it possible to dissplay the Joomla Category in the page title of the listing detail page?



If you are using sh4040 SEF , new version,
there is title setting options there now

you can choose, whethr to show section name in titile,
category name
or both in titiles,
Ragards.
Logged
Alejandro
Global Moderator
Administrator
Hero Member
*
Offline Offline

Posts: 17020


« Reply #4 on: August 31, 2010, 10:12:34 AM »

This is still under construction, *top secret*  Roll Eyes and you can't do it with sh404sf  Tongue

http://screencast.com/t/ZGFiYWJhYWIt

If all goes well, the manual override of meta data will be a thing of the past in the next release. The new SEO Manager for listing types will allow you to easily override and take full advantage of listing custom fields (as well as listing title, section and category) in your page title, meta keywords and meta description tags.

I hope you like it!
Logged

Leave a testimonial for JReviews
Reviews Ahoy! - Submit your jReviews site here.
Mark Brindley
Full Member
***
Offline Offline

Posts: 55



« Reply #5 on: August 31, 2010, 10:25:26 AM »

The Manual Overide option is a winner Smiley


This is how I do it now:
in plugins/content/jreviews.php

Line 106 - I add my custom field for my title tags.
$fieldCity = ' - ' . $CustomFields->field('jr_citytown',$listing,false,false);
$fieldProv = ' - ' . $CustomFields->field('jr_province',$listing,false,false);

Line 119 - I Modify default values for title

$title = Sanitize::stripAll($listing['Listing'],'title') . ' - ' . $listing['Category']['title'] . $fieldCity . $fieldProv;
Logged
Alejandro
Global Moderator
Administrator
Hero Member
*
Offline Offline

Posts: 17020


« Reply #6 on: August 31, 2010, 10:26:48 AM »

The new listing type option is going to be amazingly simple Smiley You don't need to edit any files and if you have multiple listing types it's very easy to customize them for each one.
Logged

Leave a testimonial for JReviews
Reviews Ahoy! - Submit your jReviews site here.
nauman
Jr. Member
**
Offline Offline

Posts: 33


« Reply #7 on: Yesterday at 02:11:48 PM »

That will be an amazing and extremely useful feature, Along with many others, coming in new Jreviews  Smiley
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!