Forums de discussion

PHP with liferay-tomcat 6

vuong nhan, modifié il y a 13 années.

PHP with liferay-tomcat 6

New Member Publications: 21 Date d'inscription: 19/05/10 Publications récentes
Hi guys, so I decided to use PHP instead of java to code my portlet

Since PHP need to do with database, i just take a look on liferay database and there are alot of file that I dont understand.

from my point of view, 1 function have 1 database, contains of 3 files for example organization_.frm, organization_.MYD,organization_.MYI.

I wonder what I choose as database name and where I can find the column name so i can write in my select statement.


One more thing im seeking for help is that, considerably i know the database, i can code the information page successfully, how can i replace my new portlet with the default portlet that come from web/user/home? or at least how can I make that user information portlet appear when I click on user name.

Pièces jointes:

thumbnail
Mohd Hanafi, modifié il y a 13 années.

RE: PHP with liferay-tomcat 6

Junior Member Publications: 83 Date d'inscription: 18/01/10 Publications récentes
1. database name to be selected: You can check database name in portal-ext.properties.

2. To select field (cloumn name), use command line or view db structure with appropriate interface (UI); e.g . SQLyog (for MySQL).

I don't know what is the db type currently used in your case. emoticon


Thanks,

Regards,

Hanafi, KL.