OS Property support center

html anchor to related property link

  • Ng Hong Tien
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 6 months ago #51389 by Ng Hong Tien
html anchor to related property link was created by Ng Hong Tien
Hi Dam

would like to know the location of script for relate properties
would like to add a html anchor to the link

example below
#detail as anchor

<a href="<?php echo JRoute::_('index.php?option=com_osproperty&task=property_details&id='.$property->id,'&Itemid='.JRequest::getVar('Itemid'))?>#detail">

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

More
9 years 6 months ago #51392 by Mr. Dam
Replied by Mr. Dam on topic html anchor to related property link
Hi,
You can change it from here: components > com_osproperty > classes > listing.html.php
function: propertyDetails
bellow this line:
if(($configClass == 1) and (count($row->relate_properties) > 0)){

Good luck
Dam

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

Moderators: Mr. DamNguyen Phu Quan