This topic is locked
[SOLVED]

  Bare Minimums for Template

11/12/2010 12:07:06 PM
PHPRunner General questions
H
horsey_kim author

My goal is to create some special pages, that I can edit the information for that page online. Basically the page has 1 table with 1 record. So I want to eliminate all the stuff, like search, pages of page and such. The only thing that will show up on the page is my custom menu (which I have in the Lheader.htm) and the actual data fields.
ARE THESE THE bare minimums to make this happen?
{BEGIN grid_block}{BEGIN grid_row}{BEGIN grid_record}
{END grid_record}{END grid_row}{END grid_block}
[color="#8B0000"]UPDATE: I DID THE ABOVE and I get the fields showing up. BUT it keeps adding a blank record to the top of the 1 record I have. Why would it do this, there is only one record in the table it should only show one record. Not a blank record and then a record.

T
tedwilder 11/13/2010

maybe you choosed "inline" edit and/or the database has a blank field ( that can ahappen if you manually add records in navicat, it sometimes add an empty row ).