OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
RealEstateManager component support
Go to bottom Favoured: 0
TOPIC: Order Photos Random
#11460
RicardoAT (User)
Junior Boarder
Posts: 36
graphgraph
User Offline Click here to see the profile of this user
Order Photos Random 2 Years, 9 Months ago Karma: 0  
Hello,

few months we start with your system and are happy, but we do not understand how the photos are organized, is random and we do not like already.

We want the photos to be placed according to how you shape up and aleatorioa.

Is there a solution?

Thank you very much.
 
Logged Logged  
  The administrator has disabled public write access.
#11488
admin (Admin)
Admin
Posts: 4861
graph
User Online Now Click here to see the profile of this user
Re:Order Photos Random 2 Years, 9 Months ago Karma: 61  
Hello,

Please show what images you mean

Thanks,
ordaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
#11490
RicardoAT (User)
Junior Boarder
Posts: 36
graphgraph
User Offline Click here to see the profile of this user
Re:Order Photos Random 2 Years, 9 Months ago Karma: 0  
The images are disordered out of gallery, for example. I am not going first pictures of the bathroom before the hall.

www.apartamentostemporales.com/component...s-dormitorios-caruso

If you pass the mouse over, you will see the name by which I go and order they should have.

For example: apt01.jpg - apt02.jpg - etc
But in this case I uploaded to this: apt06.jpg - apt05.jpg - apt04.jpg - apt03.jpg - apt12.jpg - etc

Thank you.
 
Logged Logged  
  The administrator has disabled public write access.
#11512
admin (Admin)
Admin
Posts: 4861
graph
User Online Now Click here to see the profile of this user
Re:Order Photos Random 2 Years, 9 Months ago Karma: 61  
hello,

Please in file:
{site}/components/com_realestatemanager/realestatemanager.php

find row

Code:

 $query = "select main_img from #__rem_photos WHERE fk_houseid='$house->id'";


and replace to
Code:


$query = "select main_img from #__rem_photos WHERE fk_houseid='$house->id' order by id";



Thanks,
OrdaSoft team
 
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?