Questions about Payment Form extension

Payment Form custom layout override?

  • YoraiR
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 3 months ago #107242 by YoraiR
Payment Form custom layout override? was created by YoraiR
hello tuan,
can i ceate a custom override for the form's layout, ans ude it's name in the form's layout option?
if so, should i copy (for example) the "default.php" file or also the "default.xml"?
thank you very much,
yorai

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago #107323 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Payment Form custom layout override?
Hi

Yes.You can override the form layout. Just move the PHP file (default.php for example) to PATH_TO_TEMPLATE/html/com_pmform/Form folder, then do the customization from there

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • YoraiR
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 3 months ago #107327 by YoraiR
Replied by YoraiR on topic Payment Form custom layout override?
hi Tuan,

thank you for the answer - but i was reffering to something else.
i was asking if it's possible to create NEW layouts, in addition to overriding the existing ones (like you explained).

for example - i would like to take the file dafule.php and rename it to new-layout.php - and then use this file for the form's layout.
in the form's configurations page, the field "Form layout" is a free-text field - so can i put the name of my new file in there?

thank you
yorai

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc