Integrate Tag-it

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
ahmedhsn
User
Posts: 24

Integrate Tag-it

Post by ahmedhsn »

Hello

Kindly anybody can help in integrating jQuery Tag-it widget to PHPMaker, it will help a lot.


mobhar
User
Posts: 11731

Post by mobhar »

You may play with "Custom Files" feature in PHPMaker.

Read "Custom Files" from PHPMaker help file for more information how to use it and integrate your own custom code into the file.


danielc
User
Posts: 1601

Post by danielc »

You can add your js file by ew_AddClientScript in Page_Head server event. Then, you can add code in Startup script. See Server event and Client script in help file.


ahmedhsn
User
Posts: 24

Post by ahmedhsn »

Thanks for the reply

put how to make it able to read the data from the db and to add data to the db


mobhar
User
Posts: 11731

Post by mobhar »

  1. To read the data from Database, you may see the example from "home.php" under the "Custom Files" section of the demo project that provided in their official website.

  2. To add the data to Database, then you may simply use ew_Execute() global function, for example:

ew_Execute("INSERT INTO yourtablename (field1, field2, field3) VALUES ('value1', 'value2', 'value3')");


Post Reply