Page 1 of 1

Adding a Form To Site

Posted: Thu May 12, 2022 5:03 pm
by WineMan
I realize I may becoming a pain, but I would appreciate some help in getting a form on the website, similar to the login form. The issue is that I want it to look like the rest of the site and can't find a code sample I can use to make that happen. Any assistance would be much appreciated.

Re: Adding a Form To Site

Posted: Tue May 17, 2022 7:15 pm
by bttr
What's the idea behind the form? At first, a form is just a form. There's no function behind it.

Re: Adding a Form To Site

Posted: Tue May 17, 2022 8:16 pm
by WineMan
I was thinking of adding a form to have readers subscribe to the blog. I already have the form completed, I just want to know how to make the page look like the rest of the pages...

Re: Adding a Form To Site

Posted: Tue May 17, 2022 8:44 pm
by bttr
WineMan wrote: Tue May 17, 2022 8:16 pm I was thinking of adding a form to have readers subscribe to the blog. I already have the form completed, I just want to know how to make the page look like the rest of the pages...
By applying CSS, as usual?

Re: Adding a Form To Site

Posted: Sat Jul 09, 2022 12:38 pm
by Arvid
WineMan wrote: Tue May 17, 2022 8:16 pm I was thinking of adding a form to have readers subscribe to the blog. I already have the form completed, I just want to know how to make the page look like the rest of the pages...
Use the developer tools of your browser, accessible via the F12 key. With the selector tool (most left botton in the top menu of the dev tools) you can select any element of a web page to view its inner HTML structure and applying CSS definitions (even the CSS files they're loaded from). That might help you to see the styling details of any part of your FlatPress page, e.g. the login form.

Let us know if that helped!

Re: Adding a Form To Site

Posted: Sat Jul 09, 2022 6:39 pm
by WineMan
That didn't help but it may be because I don't fully understand the directions. For the moment I am using the form I developed and set it up with a link to point to it.

Re: Adding a Form To Site

Posted: Mon Jul 11, 2022 9:45 pm
by WineMan
With much help from virtualsky, I was able to set up the form I wanted by using a static page and everything is working great. Since I am a perfectionist (at least some people have told me I am), setting up static pages includes a line at the top of the page, just below the title that says:
"Published by admin on Monday, July 11, 2022" that I would like removed. That line is not visible in the About static page and have not been able to figure out what generates it or how to get rid of it. Can anyone shed some light on this? See the attached screenshot.
form.png
form.png (159.23 KiB) Viewed 5499 times

Re: Adding a Form To Site

Posted: Mon Jul 11, 2022 10:58 pm
by WineMan
Well, virtualsky has come to the rescue again and pointed out where in the static.tpl file I needed to edit to eliminate the published line mentioned in this thread. I'm a happy camper.

Re: Adding a Form To Site

Posted: Mon Jul 11, 2022 11:17 pm
by virtualsky
WineMan wrote: Mon Jul 11, 2022 10:58 pm Well, virtualsky has come to the rescue again and pointed out where in the static.tpl file I needed to edit to eliminate the published line mentioned in this thread. I'm a happy camper.
That's fantastic! I'm glad I could offer some help. The site looks great, by the way. :)

Re: Adding a Form To Site

Posted: Thu Jul 28, 2022 1:42 pm
by Arvid
Glad it works now - great to see you guys supporting each other 8-)