OS Property support center

Bug:pagination order :detail page

  • sti
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
12 years 11 months ago #17005 by sti
Detail page:
Home >menu name >property type >listing name

correct order :
Home >menu name >cat >subcat>property type >listing name


Please Log in or Create an account to join the conversation.

  • sti
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
12 years 11 months ago #17034 by sti
Replied by sti on topic Re: Bug:pagination order :detail page
hi.
any update?
thanks

Please Log in or Create an account to join the conversation.

  • sti
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
12 years 11 months ago #17076 by sti
Replied by sti on topic Re: Bug:pagination order :detail page
Any update on this ?

i think this is a important to fix as it affect seo and confuse paginations.

Please Log in or Create an account to join the conversation.

  • Mr. Dam
  • Away
  • Administrator
  • Administrator
More
12 years 11 months ago #17079 by Mr. Dam
Replied by Mr. Dam on topic Re: Bug:pagination order :detail page
It's not the bug. There are a lot customers who don't want to have the (category + property type) in the beakcrums.
Some customers want property type > property name
others want category name > property name
If you want to have it for your case, i can let you know the files that you can add soure code to satisfy you need.
In the file classes > listing.php
function details($option)
line 1728, you can add the category name before adding property type.
For example
$category_id = $property->category_id;
$db->setQuery("Select type_name from #__osrs_categories where id = '$category_id'");
$cat_name = $db->loadResult();
$pathway->addItem($cat_name,JRoute::_('index.php?option=com_osproperty&task=category_details&category_id='.$category_id.'&Itemid='.JRequest::getVar('Itemid')));

Thanks
Dam

Please Log in or Create an account to join the conversation.

  • sti
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
12 years 11 months ago #17081 by sti
Replied by sti on topic Re: Bug:pagination order :detail page
its strange why they request that.

anyway , i think best solution is to give backend selection for breadcrumb settings?

1.property type > property name
2.category name > property name
3.category + property type
4.cat>subcat>property name.

Please Log in or Create an account to join the conversation.

  • sti
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
12 years 11 months ago #17082 by sti
Replied by sti on topic Re: Bug:pagination order :detail page
meanwhile, please give me code for :

cat >subcat>property type >listing name breadcrumbs ,

thanks!

Please Log in or Create an account to join the conversation.

  • Mr. Dam
  • Away
  • Administrator
  • Administrator
More
12 years 11 months ago #17100 by Mr. Dam
Replied by Mr. Dam on topic Re: Bug:pagination order :detail page
Please download the latest version. It's ok for your case.
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • Mr. Dam
  • Away
  • Administrator
  • Administrator
More
12 years 11 months ago #17102 by Mr. Dam
Replied by Mr. Dam on topic Re: Bug:pagination order :detail page
Here are the files in frontend so you can update file directly
helper/common.php
classes / listing.php
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • sti
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
12 years 11 months ago #17104 by sti
Replied by sti on topic Re: Bug:pagination order :detail page
what u mean its ok for my case?
how abt the other customers request?

isit set in backend etc?

thanks

Please Log in or Create an account to join the conversation.

  • Mr. Dam
  • Away
  • Administrator
  • Administrator
More
12 years 11 months ago #17108 by Mr. Dam
Replied by Mr. Dam on topic Re: Bug:pagination order :detail page
Now, it's : cat >subcat>property type >listing name breadcrumbs
About other case, maybe i will implement it later. I am fixing other important issues.
Thanks
Dam

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamNguyen Phu Quan