Add php code in Templete files

The recommended method of customizing your AppGini-generated application is through hooks. But sometimes you might need to add functionality not accessible through hooks. You can discuss this here.
Post Reply
simple.divya
Posts: 2
Joined: 2013-05-23 11:46

Add php code in Templete files

Post by simple.divya » 2013-05-27 08:33

i am not able to write the php code in template files .
Please help me any solution to write php code in template_tv.html.



Thanks in advance
Regards
divya

User avatar
a.gneady
Site Admin
Posts: 1281
Joined: 2012-09-27 14:46
Contact:

Re: Add php code in Templete files

Post by a.gneady » 2013-05-29 12:48

The template files are HTML files so they can't accept PHP code. Instead of adding your code to the templates, try using the hooks as explained in http://bigprof.com/appgini/help/advance ... ific-hooks
:idea: AppGini plugins to add more power to your apps:
  • DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
  • Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
  • Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.

Post Reply