Gossamer Forum
Home : Products : DBMan SQL : Discussion :

variable sdb needed for showing footer_subform.html

Quote Reply
variable sdb needed for showing footer_subform.html
Hi,

In the new manual there is a description of the file footer_subform.html. From the short description, it seemed to be exactly what I needed, but it is not included in the footer. Frown From looking to the source of footer.html, it seems that footer_subform.html is only included if the variable sdb is set to true. So my question is, where does that variable sdb stand for and why is it false in my templates?

Thanks, Jasper

http://www.bookings.org
Quote Reply
Re: [jaspercram] variable sdb needed for showing footer_subform.html In reply to
Hi,

The footer_subform.html will show up if you pass in sdb=related_table_name which is related to db=primary_table.

E.g: This is the link to access table Author and Book:

db.cgi?db=Author&sdb=Book

Ensure that the tables you choose are related.

TheStone.

B.