hello again
is there somewhere that will show me exactly how to add the contact form to ZenPhoto?
I read the user guide but it must assume you already know how to call a php page. I don't and its annoying me now
Thanks in advance folks.
ps ZP is in my root webfolder.
It depends on what you want.
Place a link to the theme's contact page (contact.php)
(contact.php itself contains a call to the printContactForm() function. See next possibility)
``
Example: /themes/basic/inc-footer.php
Documentation: https://docs.zenphoto.org/1.5.3/function-printCustomPageURL.html
Print a contact form (almost) anywhere you like.
``
Example: /themes/basic/contact.php
Documentation: https://docs.zenphoto.org/1.5.3/function-printContactForm.html
Use a macro to place a contact form in zenpage pages and zenpage news-articles. (requires the zenpage plugin to be enabled)
Type [CONTACTFORM] in the content field.
ok, so i still cant get the form to work. clearly i cant be understanding this.
I can get a text link on my page saying 'Contact Me' but when clicked I get 'Error Loading Page.
I'm using the ZPmobile theme and i'm inserting the php code into the index.php of that theme.
Using your first suggestion, I change it from
to
What do i need to change?
thanks in advance
Sorry, again i've found the pages link at top (never used to be there and i just noticed it now after enabling the zenpage plugin)
i then used the last suggestion and it is appearing now.
Unfortunately this does not yet mean i am finished needing help i'll get back to you.
thanks for all your help so far mate
Using your first suggestion, I change it from
to
The first was correct. But the theme has to have a custom page named contact.php to have this working. zpMobile does not and you didn't mention the theme you are using. They are not all the same.
I recommend to read the theming tutorial for the basics if you are planning to do more customizations. Especially you should modify a copy of the theme and not the original.