rvp032582
Posts: 47
|
| Posted: 07/17/2006, 11:55 AM |
|
i used the example pack http://examples.codecharge.com/ExamplePack/NavGrid/NavGrid.php
nav grid.
it works fine, but i have different categories. (civic, mixed use, commercial, etc etc) and projects within those categories. when a user clicks on a category it will display projects with in that category. when they click on project the nav grid comes in to play in reference to the photos of that particular project.
my problem: how could i make it that when a project is clicked the 1st record/page would display? so it would need to find the 1st photo with that project and display it in the nav grid. does this make sense?
thanks,
--rvp
|
 |
 |
peterr
Posts: 5971
|
| Posted: 07/17/2006, 5:52 PM |
|
This should be doable using the search-like functionality - once the project id is in the URL then in your grid you would create a WHERE clause that selects only those records that belong to the project. Or you can use the Search Builder or Grid Builder to build the grid with the search functionality, and once your search for project id is working then remove the search box - the project id will come from the URL instead.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
|