2016-02-12, 03:42:29
(2016-02-11, 23:56:07)datiswous Wrote: You can add php via a component to your theme, or by using the Dynpages plugin, to a page.
As far as I know there isn't a form-plugin for Get-Simple at the moment appart from the many contact-form plugins. Documentation for p01-contact is here: https://github.com/nliautaud/p01contact/wiki
Thank you
I tried adding my php to a component, and then adding component to template file, and when assigning a page to that template I get blank page; obviously I am doing something wrong, but don't know what.
I tried p01, and while I was able to style the fields in a more decent way, the big issue is I can't seem to be able to add more than the default fields, in the link you sent there are these examples:
Code:
(% contact %)
Code:
(% contact : address@domain.ext, another@domain.ext,
subject => "About this script",
email!,
textarea "How old is born Napoléon?",
phone,
radio "Do you like this script?" = "Yes" selected | "No",
website,
select = "One" selected | "Two" | "Three" | "Four" | "Five" ,
message! = "Say something",
password = tomato,
captcha,
askcopy %)
When I put the former on the page (using editor) the form is displayed, but when I put the latter the code is displayed!