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

It there a code to list the (ID of ads) in order

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 10 Years, 1 Month 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.
admin (Admin)
Admin
Posts: 8243
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 10 Years, 1 Month ago
Karma: 101  
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.
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 10 Years, 1 Month 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.
admin (Admin)
Admin
Posts: 8243
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 10 Years ago
Karma: 101  
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.
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 10 Years 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.
admin (Admin)
Admin
Posts: 8243
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 10 Years ago
Karma: 101  
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
»