OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
RealEstateManager component support
Go to bottom Favoured: 0
TOPIC: Layout of All Houses result page
#39202
kjaeger (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Layout of All Houses result page 1 Year ago Karma: 0  
I created a menue with the All Houses option. I selected the Layout "default". Is it correct, that the result doesn't display the adress? (see screen)

If I select the layout "list", the the adress appears.


Regards,
kj
 
Logged Logged  
  The administrator has disabled public write access.
#39210
admin (Admin)
Admin
Posts: 6516
graph
User Offline Click here to see the profile of this user
Re:Layout of All Houses result page 1 Year ago Karma: 75  
Hi

is it correct, that the result doesn't display the adress?
Yes, it correct, by default in default layout, we show more houses per row. so we not have place for address.

Regards
Andrew
OrdaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
#39213
kjaeger (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Re:Layout of All Houses result page 1 Year ago Karma: 0  
ok; thanks for your help ...
 
Logged Logged  
  The administrator has disabled public write access.
#42162
damianradek (User)
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Re:Layout of All Houses result page 1 Week ago Karma: 0  
But if I want to display address - what then? What to do? Which file, what part of code should be edited?

Regards,
Radek
 
Logged Logged  
  The administrator has disabled public write access.
#42173
admin (Admin)
Admin
Posts: 6516
graph
User Offline Click here to see the profile of this user
Re:Layout of All Houses result page 6 Days, 16 Hours ago Karma: 75  
Hi Radek,

You need know php/CSS/HTML as result all below may corrupt your site. Please backup your site first!!!

Please to file:
{your site}/components/com_realestatemanager/views/all_houses/tmpl/default.php


You need find row look like:
Code:

                    </div>
                    <div style="clear: both;"></div>
                    <div class="rem_type_Allhouses">


and replace to rows
Code:

                    </div>
        <div class="col_hlocation">
        <?php if ( trim($row->hcountry) !== '' || trim($row->hregion) !== '' || trim($row->hcity) !== '' || trim($row->hzipcode) !== '' || trim($row->hlocation) !== '' ) { ?>
            <i class="fa fa-map-marker"></i>

            <?php if (trim($row->hcountry)):?>
                            <span class="col_text_2"><?php echo trim($row->hcountry); ?></span>,

            <?php endif ?>

            <?php if (trim($row->hregion)):?>
                            <span class="col_text_2"><?php echo trim($row->hregion); ?></span>,
            <?php endif ?>

            <?php if (trim($row->hcity)): ?>
                            <span class="col_text_2"><?php echo trim($row->hcity); ?></span>,
            <?php endif ?>

            <?php if (trim($row->hzipcode)): ?>

                    <span class="col_text_2"><?php echo trim($row->hzipcode); ?></span>,

            <?php endif ?>

            <?php if (trim($row->hlocation)): ?>

                <span class="col_02"><?php echo trim($row->hlocation); ?></span>.

            <?php endif ?>
        <?php } ?>

        </div>
                    <div style="clear: both;"></div>

                    <div class="rem_type_Allhouses">



Please backup your file first


Regards
Andrew
Ordasoft team
 
Logged Logged  
  The administrator has disabled public write access.
#42175
damianradek (User)
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Re:Layout of All Houses result page 6 Days, 7 Hours ago Karma: 0  
Hi Andrew,

Thanks for help. I modified it a bit and it works for me!

Best,
Radek
 
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?