eCommerce
Social and Community Suite
Content Management
RSS Extensions
VirtueMart Extensions
(0)
|
Login
|
Register
|
Lost Password?
Username:
Password:
Home
Our Products
Joomla 1.7.x
(23)
& J!1.6.x
Joomla 1.5.x
(28)
Joomla 1.0.x
(17)
Factory Club Extensions
(7)
Drupal, Elxis, MODx
(6)
Windows Gadgets for J!
(11)
Free Templates
(4)
All Products
(92)
Documentation
Tweets
Forum
Contact Us
Terms & Conditions
How to Buy Guide
Customers FAQ's
Updates & Upgrades
About Us
Latest Tweets
Join us at the Joomladay UK!
The Factory Extensions Joomla Compatibility Chart
Love Factory 2.4 for Joomla 1.7
Love Factory - Memberships [VIDEO]
Love Factory - Custom Fields Integration [VIDEO]
Love Factory - Google Maps Integration [VIDEO]
Love Factory - Administrator Guide [VIDEO]
Love Factory - Memberships
Collection Factory for Joomla 1.6 with CB support
Reverse Auction Factory 1.5.9
Home
Help
Search
Login
Register
The Factory
>
Forum
>
eCommerce Factory Suite
for Joomla CMS.
>
Ads Factory
>
Ad order messed up
Pages: [
1
]
« previous
next »
Print
Author
Topic: Ad order messed up (Read 931 times)
emil.gashi
Jr. Member
Posts: 81
Ad order messed up
«
on:
March 10, 2010, 09:14:44 am »
Hi
The site sorts after date now but when serveral ads are posted the latest ad gets posted UNDER the older of that date. The latest ad should be posted on the top of the page always.
Example
Day01 - Add01
Day01 - Add02
Day02 - Add01
Should be
Day01 - Add02
Day01 - Add01
Day02 - Add01
«
Last Edit: March 10, 2010, 11:54:04 am by emil.gashi
»
Logged
Factory Staff 02
The Factory Staff
Hero Member
Posts: 1912
Re: Ad order messed up
«
Reply #1 on:
March 10, 2010, 12:02:44 pm »
Hi,
Take a look in your mod_adsman module in the modules directory.
Edit the helper file and arround the 35 line you have the following line:
" ORDER BY a.start_date DESC, a.id ASC ".
Replace it with:
" GROUP BY a.id ORDER BY a.start_date DESC, a.id ASC ".
This way you make sure ads are not repeatedly displayed due to any reason.
Cheers,
Sorin
Logged
The Factory's Development Team member.
emil.gashi
Jr. Member
Posts: 81
Re: Ad order messed up
«
Reply #2 on:
March 10, 2010, 04:04:15 pm »
Thanks =)
Logged
emil.gashi
Jr. Member
Posts: 81
Re: Ad order messed up
«
Reply #3 on:
April 09, 2010, 08:39:41 am »
This issue is still there. Is there anything else that could be causing this?
Logged
Factory Staff 02
The Factory Staff
Hero Member
Posts: 1912
Re: Ad order messed up
«
Reply #4 on:
April 09, 2010, 10:05:05 am »
Be sure you are editing the SITE/modules/mod_adsman and not the SITE/components/com_adsman/modules/mod_adsman file.
Logged
The Factory's Development Team member.
emil.gashi
Jr. Member
Posts: 81
Re: Ad order messed up
«
Reply #5 on:
April 09, 2010, 10:23:55 am »
the "Site/module" helperfile is already edited with " GROUP BY a.id ORDER BY a.start_date DESC, a.id ASC ". since I started the thread back in March.
and the "components/adsman/module" helper is " ORDER BY a.start_date DESC, a.id ASC ".
The issue is still there sadly..
Logged
Factory Staff 02
The Factory Staff
Hero Member
Posts: 1912
Re: Ad order messed up
«
Reply #6 on:
April 09, 2010, 11:02:18 am »
In this case,
Pls detail the ordering issue that you now describe.
The issue fixing back then based in actual mysql id of the ads so the ordering will be date based and id based within the date criteria ( the same date ads will be ordered by id).
Pls describe the ordering that you meet against the ordering expected (the order in list the ad name ,date, id of ad ) .
Sorin
Logged
The Factory's Development Team member.
emil.gashi
Jr. Member
Posts: 81
Re: Ad order messed up
«
Reply #7 on:
April 09, 2010, 11:25:37 am »
The current ordering is described above, the latest posted ad is posted below the first ad of that day.
So you want me to access the DB and write down the details of an ad at this point?
Logged
Factory Staff 02
The Factory Staff
Hero Member
Posts: 1912
Re: Ad order messed up
«
Reply #8 on:
April 09, 2010, 12:01:19 pm »
You can fix a super admin account and send it to support so I can inspect the issue locally.
I checked your file module edit and the GROUP BY seems to be present where it should.
This doesn't replicate on our local servers and I can not see another reason for duplicate ads been shown.
Sorin
Logged
The Factory's Development Team member.
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Forum
-----------------------------
=> News & Announcements
===> Community News
===> General Discussion
===> Unlisted Products
=> eCommerce Factory Suite
for Joomla CMS.
===> Auction Factory
===> Reverse Auction Factory
===> Raffle Factory
===> Collection Factory
===> Ads Factory
===> Media Mall Factory
=> Social & Community Factory Suite
for Joomla CMS.
===> jAnswers Factory
===> Love Factory
===> Chat Factory
===> Deluxe Blog Factory
===> HOT or NOT Deluxe Factory
===> Photo Battle Factory
===> HOT or NOT Factory
=> Content Management Suite
for Joomla CMS.
===> Advertisement Factory
===> Briefcase Factory
===> eBook Factory
===> Article Factory Manager
===> Content Image Factory
=> RSS Factory Suite
for Joomla CMS.
===> rss Factory PRO
===> rss Factory
===> rss to Image Factory
===> rss Context Factory
=> VirtueMart Extensions & Payment Facilities
===> VM Factory Reports
===> VM Factory Orders & Reviews
===> VM Tree Factory
===> VM ePayment Factory
=> Miscellaneous Extensions & Modules
for Joomla.
===> eBay Factory Module
===> Top Movies Factory
===> Exchange Rates Factory
===> Factory Calculators
===> Lava Factory Menu
===> Feedback Factory
===> Awards Factory
=> Other CMS Extensions
===> DRUPAL Extensions & Modules
===> ELXIS Extensions & Modules
===> MODx Extensions & Modules
=> Windows Gadgets
=> Template Factory
===> Joomla Business Template #01
===> Joomla Business Template #02
Loading...