Need help with Joomla? We are available for hire to help with Joomla customization, upgrades, maintenance, and custom development.
Explore our services
OS Property support center

html anchor to related property link

  • Ng Hong Tien
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 1 day 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.

  • Mr. Dam
  • Away
  • Administrator
  • Administrator
More
12 years 1 day 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. Dam, Nguyen Phu Quan