|
|
#1 |
![]() Join Date: Dec 2003
Posts: 496
![]() |
I have got a modification that takes all the categorys from zoom gallery and adds them as small thumbnails to the front page
![]() However it is restricted to 5 thumbnails per row, I have 7 gallerys but I only want 5 to show. I have posted the code here, can someone tell me how to restrict it so it only shows the first 5 galleries please? It would be even better if i could pick the gallerys, but not essential. Here is the code PHP Code:
|
|
|
|
|
|
#2 |
![]() Join Date: Dec 2003
Posts: 496
![]() |
Anyone got an idea on how to do this?
|
|
|
|
|
|
#3 |
![]() Join Date: Sep 2004
Posts: 7
![]() |
Hi,
maybe it works like this: Code:
$sQuery = "SELECT cat.catid, cat.catname, cat.catdir, img.imgfilename FROM #__zoom AS cat WHERE cat.catname != YOUR CATNAME "; |
|
|
|
|
|
#4 |
![]() Join Date: Dec 2003
Posts: 496
![]() |
Yeah that might work
![]() |
|
|
|
|
|
#5 |
![]() Join Date: Dec 2003
Posts: 496
![]() |
Hmm i changed the sql query
PHP Code:
PHP Code:
|
|
|
|
|
|
#6 |
![]() Join Date: Dec 2003
Posts: 496
![]() |
Fixed it, it was missing a space after catid=2
![]() |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| showing random images and posts on front page | snoopy | Custom Development | 13 | August 31st, 2004 15:27 |
| Adding content to the front page | diehlr | General Questions | 2 | August 22nd, 2004 12:23 |
| Adding another row in the Table displaying content on main page + images in titles q. | Cryptor | Custom Development | 0 | August 19th, 2004 00:34 |
| No images in Front Page News items | old_mac | Administration Questions | 3 | July 31st, 2004 10:37 |
| Problem adding content to front page | fireboat786 | Administration Questions | 2 | May 31st, 2004 22:19 |