Can someone explain to me how to add a appgini table to a custom page? I'm getting close, just not there yet. Here's what I'm getting. Thanks.
Add a table to a custom page
Add a table to a custom page
Appgini 5.50, Revision 835. Mac OSX 10.11 running Windows 10 on VMWare.
-
- AppGini Super Hero
- Posts: 85
- Joined: 2014-06-14 03:08
- Location: India
- Contact:
Re: Add a table to a custom page
Hi,
I think you are close. Did you use the following code.
Hope this give you some idea
I think you are close. Did you use the following code.
Hope this give you some idea
Code: Select all
// suppose custom.html is your custom template file
$templateCode = @file_get_contents('custom.html');
$templateCode = str_replace('<%%VALUE(id)%%>', '<value of id>', $templateCode);
$templateCode = str_replace('<%%VALUE(name)%%>', '<value of name>', $templateCode);
$templateCode = str_replace('<%%VALUE(quantity)%%>', '<value of quantity>', $templateCode);
Re: Add a table to a custom page
When I add that to my page, I'm still not able to get it to work. Perhaps my custom.html file is not correct.
Is there an example that I can follow?
Is there an example that I can follow?
Appgini 5.50, Revision 835. Mac OSX 10.11 running Windows 10 on VMWare.