| gallery-top and gallery-news |
| Author | Text |
BLaCk.DeWiL Türkiye Destek
Posts: 218

Gender:  Online: No
Version: 4.0.1 Country: Türkiye Languages: English, Turkish |
Date: 27/01/2009 10:56 gallery-top and gallery-news | #post17694 | Site url: http://www.memht.gen.tr
MemHT version: 4.0ç1
Hosting OS: Windows
Error/Problem:
block for gallery top and news images necessary.
Can you do ?
Thanks  |
|
 |
| |
mem MemHT's Dad Admin & Developer

Posts: 7243

Gender:  Online: No
Languages: English, Italiano, Македонски, Српски |
Date: 27/01/2009 12:23 Re: gallery-top and gallery-news | #post17697 | Top gallery cannot be done because there is no a hits counter, images are shown with JavaScript.
What's news images? |
|
 |
| |
BLaCk.DeWiL Türkiye Destek
Posts: 218

Gender:  Online: No
Version: 4.0.1 Country: Türkiye Languages: English, Turkish |
Date: 27/01/2009 12:36 Re: gallery-top and gallery-news | #post17699 | Youtube addon as, new 3 images I want.
Top gallery no problem but new gallery become beautifull. |
|
 |
| |
mem MemHT's Dad Admin & Developer

Posts: 7243

Gender:  Online: No
Languages: English, Italiano, Македонски, Српски |
Date: 27/01/2009 12:42 Re: gallery-top and gallery-news | #post17700 | Duplicate the gallery block and change ORDER BY RAND() into ORDER BY id DESC |
|
 |
| |
BLaCk.DeWiL Türkiye Destek
Posts: 218

Gender:  Online: No
Version: 4.0.1 Country: Türkiye Languages: English, Turkish |
Date: 27/01/2009 12:50 Re: gallery-top and gallery-news | #post17701 | Eror :
| code |
Errno: 2 (MySQL Errno: 0)
File: C:Inetpubvhostsnetimbenim.comhttpdocsblocksblock_galeri.php
Line: 34
Function: get_list
MySQL hatası:
Query: SELECT * FROM memht_gallery_images AS i JOIN memht_gallery_categories AS c ON i.category=c.id WHERE i.enabled=1 ORDER BY DESC() LIMIT 1
Not: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource
|
|
|
 |
| |
mem MemHT's Dad Admin & Developer

Posts: 7243

Gender:  Online: No
Languages: English, Italiano, Македонски, Српски |
Date: 27/01/2009 12:54 Re: gallery-top and gallery-news | #post17702 | You haven't changed the query, it's the same.
Anyway execute the query in phpMyAdmin and you'll get a detailed error. |
|
 |
| |
Mid7 Junior Member
Posts: 11

Gender:  Online: No
Languages: Spanish and bad English |
Date: 27/01/2009 19:15 Re: gallery-top and gallery-news | #post17714 | You put:
ORDER BY DESC()
But is:
ORDER BY id DESC |
|
 |
| |
mem MemHT's Dad Admin & Developer

Posts: 7243

Gender:  Online: No
Languages: English, Italiano, Македонски, Српски |
Date: 28/01/2009 11:47 Re: gallery-top and gallery-news | #post17729 | | quote | Mid7:
You put:
ORDER BY DESC()
But is:
ORDER BY id DESC |
Ahm thanks, i haven't even noticed that  |
|
 |
| |