OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
[solved] name linkable instead of address .... (0 viewing) 
RealEstateManager component support
Go to bottom Favoured: 0
TOPIC: [solved] name linkable instead of address ....
#10243
Cyberneticart (User)
OVES ET BOVES ... et unversa pecora!!
Senior Boarder
Posts: 71
graphgraph
User Offline Click here to see the profile of this user
Gender: Male gian.luca.brizi Isola del Giglio Location: Isola del Giglio
[solved] name linkable instead of address .... 2 Years, 9 Months ago Karma: 0  
I whould like to have the name of apatments linkable, because the address in some cases (see below) could be the same ....
Can I do that? Thanks.
 
Logged Logged  
 
Last Edit: 2013/12/05 16:59 By Cyberneticart.
  The administrator has disabled public write access.
#10255
admin (Admin)
Admin
Posts: 4856
graph
User Offline Click here to see the profile of this user
Re:Apartment name linkable instead of address .... 2 Years, 9 Months ago Karma: 61  
Hello,

Url depend not from address name, it depend from name and property ID, so for your case URLs will different


Thanks,
OrdaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
#10258
Cyberneticart (User)
OVES ET BOVES ... et unversa pecora!!
Senior Boarder
Posts: 71
graphgraph
User Offline Click here to see the profile of this user
Gender: Male gian.luca.brizi Isola del Giglio Location: Isola del Giglio
Re:Apartment name linkable instead of address .... 2 Years, 9 Months ago Karma: 0  
I noticed that if I change the property address the brown link change and the link is pointed on the address field.
 
Logged Logged  
  The administrator has disabled public write access.
#10259
Cyberneticart (User)
OVES ET BOVES ... et unversa pecora!!
Senior Boarder
Posts: 71
graphgraph
User Offline Click here to see the profile of this user
Gender: Male gian.luca.brizi Isola del Giglio Location: Isola del Giglio
Re:Apartment name linkable instead of address .... 2 Years, 9 Months ago Karma: 0  
I solved the issue by myself. The file is: list.php in alone_category/view.

The original code is:

Code:

<div class="col_hlocation">
                    <a href="<?php echo sefRelToAbs($link); ?>" class="category<?php echo $params->get('pageclass_sfx'); ?>">
                <?php echo $row->hlocation; ?></a>
                </div>
                <div class="col_htitle">
                        <?php echo $row->htitle; ?>
                </div>



The code changed is:
Code:

<div class="col_hlocation">
                    <a href="<?php echo sefRelToAbs($link); ?>" class="category<?php echo $params->get('pageclass_sfx'); ?>">
                <?php echo $row->hlocation; ?></a>
                </div>
                <div class="col_htitle">
                <a href="<?php echo sefRelToAbs($link); ?>" class="category<?php echo $params->get('pageclass_sfx'); ?>">
                        <?php echo $row->htitle; ?></a>
                </div>



The results is below. Thanks.
 
Logged Logged  
  The administrator has disabled public write access.
Go to top
What are you looking for?
Anti-spam question: How many eyes has a typical person?