PDA

View Full Version : Index page reorg


dscottf
10th of March 2003 (Mon), 18:09
Can anyone help me with the following?

on the index page, I need to change the exhibition display to manage large numbers of exhibitions

1} I need to transplant the drop-down exhibition selection menu to the index page (above the colume view)

2} I need to change the routine that displays all of the (public) exhibitons to only display only a limited number of selected exhibitions. (this could be pulled from a file, an array in the DB or hard coded (worst case))

so I will end up with (for example):

...
print $indexpage_text;
print '';
print 'select an exhibition' some code that creates a drop-down menu';
print 'or view one of our features exhibitions';
column views of exhibitions 6,19,9,22 and 3


when I try to transplant the code from list.php, I get 'parse' errors, so I obviously can't just copy a codeblock. I am missing something. I am just begining to mess around with php

Pekka
17th of March 2003 (Mon), 16:10
Download http://photography-on-the.net/index5_c.zip (debugged version). Note that this is for 1.3RC only.

Set exhibition list in 5.php (array $mylist).

dscottf
17th of March 2003 (Mon), 16:20
Excellent, Pekka you are great.

Thanks!

rvgeerligs
18th of June 2003 (Wed), 04:40
inde5 page 5.php: I would like to evaluate it. But it seems not to be there anymore.