| Index
» Projekty
» phpMyEdit
» Fórum
» Display only 'search fields' on page? |
 |
conan
Založený: 08.10.2004
Príspevky: 2
Zaslal: 2004-10-08 02:04
Návrat hore
Odpovedať s citátom
|
Hi there. Had a good read of the other posts and feel pretty clued up with the program. I got it running good now.
One thing I would like to do is on the main page, instead of showing the first 8 records I have it set at, and the search input fields above them when the page loads, I would just like to display the search fields only. Turn it into a basic looking 'search' page at first glance. I already have
$opts['cgi']['append']['fl'] = 1;
added to the page.
Look forward to any replies
Thanks
Andrew
|
michal
Založený: 17.06.2003
Príspevky: 537
Bydlisko: Slovakia
Zaslal: 2004-10-08 16:35
Návrat hore
Odpovedať s citátom
|
i would try a variable like ?new=yes in cgi when it's a fresh link to the pme page and change 'inc' to 0 (so that no rows are displayed). and leave it on standard value when not new.
maybe pme will correct your input (thinking that it's wrong) so some hacking might be neccessary. i'm not at my computer for a week so i can't help you. but that's the way i would start.
|
conan
Založený: 08.10.2004
Príspevky: 2
Zaslal: 2004-10-12 03:14
Návrat hore
Odpovedať s citátom
|
Thanks for the reply Michal. I think I was blowing my own trumpet a bit when I said
"I feel pretty clued up with the program"
I thought it would be something pretty basic to start off the page with just the search fields on display and no results. Got some serious reading to do before I can attempt what you told me.
Thanks for the info though and I'll post the result when I get a breakthrough.
Andrew
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|