Jimi_l
Joined: 19 Oct 2009
Posts: 8
Posted: 2009-10-19 11:38
Back to top
Reply with quote
|
Hi All,
On a fairly plain, out of the box install I do not seem to have the option to query the tables as seen here and other examples-
http://www.hockinson.com/index.php?s=140
As I said I have not even applied a stylesheet yet so it is a base install.
Any ideas? I already checked this section of the code and it appears to me to be enabled.
// Display special page elements
$opts['display'] = array(
'form' => true,
'query' => true,
'sort' => true,
'time' => true,
'tabs' => true
Thanks,
Jimi_l
|
doug
Joined: 10 Feb 2003
Posts: 1013
Location: Denver, Colorado (USA)
Posted: 2009-10-19 13:54
Back to top
Reply with quote
|
Add the following if it does not already exist in your script.
| Code: |
| $opts['cgi']['append']['PME_sys_fl'] = 1; |
|
Jimi_l
Joined: 19 Oct 2009
Posts: 8
Posted: 2009-10-19 22:43
Back to top
Reply with quote
|
Will do and post back. Is there any particular place or will it not matter.
While I am on the subject (roughly) is there a place to download a tutorial and stylesheet so I can make the interface look like the previous example?
Thanks again,
Jim
|
Jimi_l
Joined: 19 Oct 2009
Posts: 8
Posted: 2009-10-21 01:12
Back to top
Reply with quote
|
OK,
Adding that code did something. I put it below this line-
// Set default prefixes for variables
I now have boxes above each field and a few new unlabeled buttons.
Can someone have a look at this and tell me what's up?
http://www.jlproduction.com/PHP_Gen/phpmyedit/details.php
P.S. Any help with a fancy stylesheet would be cool too
Thanks,
Jim
|
doug
Joined: 10 Feb 2003
Posts: 1013
Location: Denver, Colorado (USA)
Posted: 2009-10-21 01:15
Back to top
Reply with quote
|
Use the Forum's Search box to search for 'stylesheet' or 'style sheet'.
|
doug
Joined: 10 Feb 2003
Posts: 1013
Location: Denver, Colorado (USA)
Posted: 2009-10-21 01:17
Back to top
Reply with quote
|
Or use Firefox with the addon "Web Developer Toolbar" which will reveal styles onMouseOver.
|
Jimi_l
Joined: 19 Oct 2009
Posts: 8
Posted: 2009-10-21 11:29
Back to top
Reply with quote
|
Hi Doug,
Did you have a look?
What's with the "X" in the top left (the small one as opposed to the big one in the very top)? It does not seem to do anything. Should the other icons like the arrows be labeled?
I guess I'm asking if it look right and just needs a style sheet to define everything.
Thanks Again,
Jim
P.S. I am going to comment out the added code for now.
|
doug
Joined: 10 Feb 2003
Posts: 1013
Location: Denver, Colorado (USA)
Posted: 2009-10-21 14:35
Back to top
Reply with quote
|
You need an HTML header and footer.
http://validator.w3.org/
IMHO, text navigation is better than button navigation. 'x' probably clears queries from INPUT boxes in the first row.
| Code: |
$opts['navigation'] = 'TUD';
// buttons up
$opts['buttons']['F']['up'] = array('<<', '<', 'add', '>', '>>');
$opts['buttons']['L']['up'] = array('<<', '<', 'add', '>', '>>');
$opts['buttons']['V']['up'] = array('change', 'cancel');
// buttons down
$opts['buttons']['F']['down'] = $opts['buttons']['F']['up'];
$opts['buttons']['L']['down'] = $opts['buttons']['L']['up'];
$opts['buttons']['V']['down'] = $opts['buttons']['V']['up']; |
|
Jimi_l
Joined: 19 Oct 2009
Posts: 8
Posted: 2009-10-22 00:31
Back to top
Reply with quote
|
K,
Still sounding tupid but am actually pretty sharp.
I did a reinstall and had the software add the header, footer, title, etc.
As for the text navigation code you left me, I add it where and remove what exactly? I mean it would seem I should comment out what is adding the buttons right?
Searching for a SS now. And thanks again.
Jim
|
Jimi_l
Joined: 19 Oct 2009
Posts: 8
Posted: 2009-10-22 01:03
Back to top
Reply with quote
|
Me Again,
I tried applying the only Style sheet I could find-
http://opensource.platon.sk/forum/projects/viewtopic.php?t=886&highlight=style+sheet
However it is not for me. I saw where the same author uploaded another complete with add-on buttons but that will take some doing for me so I will wait for the weekend.
I did notice something odd however. Look at the number 9 and 10 fields. There is no boarder between them at all. Is this a bug?
Thanks again,
Jim
|
Jimi_l
Joined: 19 Oct 2009
Posts: 8
Posted: 2009-10-22 01:05
Back to top
Reply with quote
|
On my install not the style sheets that is to say-
http://www.jlproduction.com/PHP_Gen/phpmyedit/details.php
|
doug
Joined: 10 Feb 2003
Posts: 1013
Location: Denver, Colorado (USA)
Posted: 2009-10-22 01:57
Back to top
Reply with quote
|
| Jimi_l wrote: |
| As for the text navigation code you left me, I add it where and remove what exactly? |
Almost anywhere in the script. Usually above the first field array.
|
|
Post new topic
Reply to topic
|