Forums

new record in footer?

peverheart 14 Mar, 2009
I am trying to make a simple form that allows both editing of previously entered rows, and to add a new row. Edit and delete work correctly, since those buttons are on the same row as the record in question, however, I need the new record button to display at the bottom of the table, and only once per page, not side by side with the other rows of data.
I put {new_record} in the footer section of the General tab for this, but it only displays the raw text of '{new_record}' on the page. Is it possible to get that method to work in the footer? or only in the body section of the ChronoConnectivity? If this is not possible, is there a work around to do this?
Max_admin 16 Mar, 2009
Hi peverheart,

I think that {new_record} will work in the body or the header only! however you can make it work in footer too with a simple hack, but I didn't try to do this before!

Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
peverheart 26 Mar, 2009
Max,
Can you fill me in on the simple hack? Or just give me some good hints?
peverheart 26 Mar, 2009
Solved. I just added new_record to Header instead of footer and it will do.
This topic is locked and no more replies can be posted.