Pulling in multiple sections to one page
2 posts by 2 authors in: Forums > CMS Builder
Last Post: March 24, 2009 (RSS)
By gagester - March 24, 2009
Hello,
I'm trying to display multiple sections on one page. I have a list of "checking accounts" and a list of "savings accounts." We want the 2 lists to display on the same page. (separated into their categories, not just jumbled together...)
I created a different section for each, as they have different options. I think i have to "add" to this in the head of the document, but not sure what or where to add what ;) ... Do i just add "'checking_accounts'," after savings_accounts?
I'm trying to display multiple sections on one page. I have a list of "checking accounts" and a list of "savings accounts." We want the 2 lists to display on the same page. (separated into their categories, not just jumbled together...)
I created a different section for each, as they have different options. I think i have to "add" to this in the head of the document, but not sure what or where to add what ;) ... Do i just add "'checking_accounts'," after savings_accounts?
list($savings_accountsRecords, $savings_accountsMetaData) = getRecords(array(
'tableName' => 'savings_accounts',
'allowSearch' => '0',
));
Re: [gagester] Pulling in multiple sections to one page
By Dave - March 24, 2009
Hi gagester,
Yes, you're almost there. Just copy that whole block for checking:
Hope that helps, let me know if you need any more details.
Yes, you're almost there. Just copy that whole block for checking:
list($savings_accountsRecords, $savings_accountsMetaData) = getRecords(array(
'tableName' => 'savings_accounts',
'allowSearch' => '0',
));
list($checking_accountsRecords, $checking_accountsMetaData) = getRecords(array(
'tableName' => 'checking_accounts',
'allowSearch' => '0',
));
Hope that helps, let me know if you need any more details.
Dave Edis - Senior Developer
interactivetools.com
interactivetools.com