OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
It there a code to list the (ID of ads) in order (0 viewing) 
Advertisement Board component Support
Go to bottom Favoured: 0
TOPIC: It there a code to list the (ID of ads) in order
#11715
righinfront (User)
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
It there a code to list the (ID of ads) in order 2 Years, 8 Months ago Karma: 0  
Hi

Is there a code I can do to list the adverts in order, at present in front-end and back-end the IDs are listed all over the place it is a major complaint I have from clients when they are looking for there ads.
 
Logged Logged  
  The administrator has disabled public write access.
#11726
admin (Admin)
Admin
Posts: 4874
graph
User Offline Click here to see the profile of this user
Re:It there a code to list the (ID of ads) in order 2 Years, 8 Months ago Karma: 61  
Hello,

advertisement - owners - may check self ads from self profile.

But if you wish change show ads order.
you need in file

{site}/components/com_advertisementboard/advertisementboard.php

in function listCategories
find row:
Code:

            " ORDER BY c.name,b.date desc" . 


and replace to
Code:

            " ORDER BY c.name,b.id desc" . 


also

in function listAloneCategories
find row:
Code:

           " ORDER BY c.name,b.date desc " .  


and replace to
Code:

            " ORDER BY c.name,b.id desc" .   
 
Logged Logged  
  The administrator has disabled public write access.
#11727
righinfront (User)
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Re:It there a code to list the (ID of ads) in order 2 Years, 8 Months ago Karma: 0  
That code did not work.

I have added a jpg to show what I need to do, I just need the ids showing in order latest to show on first page.
 
Logged Logged  
  The administrator has disabled public write access.
#11760
admin (Admin)
Admin
Posts: 4874
graph
User Offline Click here to see the profile of this user
Re:It there a code to list the (ID of ads) in order 2 Years, 8 Months ago Karma: 61  
Hello,

we give to you code for frontend ads show!

Where located what you show ?

Thanks,
OrdaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
#11764
righinfront (User)
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
Re:It there a code to list the (ID of ads) in order 2 Years, 8 Months ago Karma: 0  
Nope again can I just seen the code for this via email so that you can see why this is not working or I can give ftp access
 
Logged Logged  
  The administrator has disabled public write access.
#11785
admin (Admin)
Admin
Posts: 4874
graph
User Offline Click here to see the profile of this user
Re:It there a code to list the (ID of ads) in order 2 Years, 8 Months ago Karma: 61  
Hello,

sorry, what you mean, please set in self sentences punctuation sings.

What not work ? where that ?

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?