I was told by my boss to make some plguin for the site, where people can define their own forms. And he was like
There are some free ones, just find one suitible and rework it for the site.
So yeah, ain't found what I was looking for. Are there any? I'd need an open form editor in PHP which allows me to make some changes anywhere. Hope you can help me.
The author here discusses about three open source form generators, may be this could be a starting lead for you:
PHP Form Generator for webmasters – which one is the best? (by Drizad; 8 Mar 2007)
If you know PHP, you might consider the form library Zebra_Form It seems to be one of the leanest, straight forward form frameworks out there. Requirements are basically just PHP & MySQL. There are frameworks like Symfony and Zend that have form libraries, but they are a lot more complicated.
Related
So we got a great project and we absolutely have to learn Typo3 or Drupal for it quickly. I already know some basic things.
I did the installation correctly for both, I know how to set up a basic Site using Fluid Template in Typo3 and I know how to set up a basic template in drupal without any styles.
My Problem now is how do I style a website since typo3 or drupal doesn't have a field for classes (The fields just get some random ids) and also how can I build a website with multiple sections where I have to style each section individually.
If you have any links to good tutorials or anything else that explains what I need to know I would appreciate it.
First of all, i think you understand HTML/CSS and know that TYPO3,... are content management systems. They're wrapping your content (saved to the database) with a template like HTML Files to send the result to the browser as a full rendered website.
ThomasLöffler already gave you the hint to read the documentation on both websites to make your choice which one you want to use. I prefer TYPO3, but the start many years ago wasn't easy. So i could you explain a little bit, and on a very short way what you need to do... After all please read the docs on typo3.org (Gettin started guide or something)
In TYPO3 you need to include and build your HTML Template. Prefered with the FLUID Template Engine / Framework. After that you need to set it with the TYPO3 TypoScript as your main template.
The content templates like will be rendered by the TYPO3 Extension "fluid_styled_content". This extension has also fluid templates to render the content object into a html output. Before you have enough knowledge about typo3 it's not recomended to change them.
The main thing is, that you need to include a stylesheet (css) file in your site. In TYPO3's TypoScript it's for example like this:
page.includeCSS.file100 = path/to/your/css/mystyle.css
Thats the very short overview and very little explanation what to do. But as Thomas said, you need to understand both and decide for one of them. And of course you need to read the docs first a little bit, before you ask. That would help you and each of us, to give you better answers. Good luck!
TYPO3 Gett started:
https://docs.typo3.org/typo3cms/GettingStartedTutorial/Introduction/Index.html
You can learn a lot of things if you take a look into the code of the official introduction package (https://extensions.typo3.org/extension/introduction/) The package can simply installed over the extension manager -> get preconfigured distributions
Or you just use it as a basis to build your own layout. You do not have to reinvent the wheel ;)
I am trying to get to grips with various forms of web design and build. I have looked around and still cannot get a useful answer on what technology is best to create a Dynamic Submission form (that doesn't look like crap).
I want to build a sumitable form that is aesthetically pleasing. I have planned and sorted out that I will use PHP and AJAX so it can be interactive but I am lost on what technology to use to actually code/script the design of the form. If anyone can help it would be greatly appreciated, thanks in advance!
If anyone who reads this uses Virgin Media as their internet provider and they use their card details form online, that is my ultimate goal to make the form similar too (with different questions and submission details, but that isn't important). The look is what I am after.
you are on the right track actually.
for aesthetics, you should research more about designing in HTML/CSS
JS is used for the dynamic user interface
PHP and AJAX are all that's needed for a dynamic form submission
google is your friend. go ask him.
other than that, it's up to your imagination and originality how you implement it.
you would need to use html and css to actually build the form.
Javascript to possibly validate the form on the persons browser (client side)
php would submit and send the form.
If you like the look of the virgin media form you can find out how it was done by using developer tools on chrome (f12 on a windows machine, cmd, alt and I on a mac) or firebug pluign on firefox. Others are available but these are two of the best. This wll show you the html mark up the css and how it all works.
Here you have some examples of interactive forms: http://www.catswhocode.com/blog/10-jquery-tutorials-for-working-with-html-forms
Your best bet will be with ASP.NET.
Its easy to set up and the software is easy to use and is free.
You should use Microsoft web developer express.
http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-web-developer-express
You will have the choice to code in c# or visual basic , c# will be the beter choice.
ASP.net is the new generation of website development.
I have a PHP page powered by jQuery. A singel page has four steps, controlled by jQuery.
In diffrent steps, user selects two Images from two galleries (step 1 & 2), fromats a table by arranging divs inbetween (setp 3) then filling a form (step 4).
I want: when user clicks "Finish" on step 4. All the above information be converted to PDF and emailed to the provided email address.
Please suggest me idea, tool, plugin or code to do so!
The last time that I tried to auto-generate PDFs as you mentioned, I used a php library called fpdf. As I recall, it was difficult and cumbersome. My lack of knowledge/experience/patience definetly made me not have much fun working with it. Give it a shot and see if looks like it is feasible for you. The site has some getting started examples, and a quick Google search should yield some examples too. URL: http://www.fpdf.org/
I just stumbled across another library that looks promising: http://code.google.com/p/dompdf/ I have not used it, but, if I need to do this again in the future, I would try this before going back to fpdf.
I don't know of any javascript/jQuery plugins that can generate a PDF, so I think you are stuck with PHP in this scenario.
Hope that helps a bit!
EDIT: The email part is simple, I really like Swift Mailer: http://swiftmailer.org. It is simple to use, lots of examples, and supports a variety of options, like, attachments. Also handles the encoding issues that generally plague emails sent directly from php mail().
One more thing, if you are not too far into development, take a look at using Kohana as a php framework. It's light and easily extensible. They follow decent coding standards, and have an active open source community. Plus, there is a module for SwiftMailer that almost sends the mail for you-Not really...but I think you get the point. ;)
Have a look at http://andreasgal.github.com/pdf.js/
Most probably using ImageMagick - how to turn photo into "cartoon"?
Here's what I mean:
(not sure, that step 2 is necessary).
Thanks!
A question asked yesterday shows some ImageMagick approaches to get to step 2.
As for step 3, there is a ImageMagick-based application named G'Mic that provides some advanced multi-step filters. The gallery shows some results that come close. However, it is in C++ so you'll probably need to compile it on your system.
Also, Googling for Imagemagick Cartoonify yields some example scripts that are worth checking out.
Also, make sure you dig into the ImageMagick examples page, one of the greatest IM resources around.
That said, I doubt whether it is possible to build a IM-based solution that works as well as the cartoonifier you show. IM is hugely powerful, but may not have the necessary degree of detailed control, individual programming and vectorization functions. But the basic functionality is possible.
I doubt you can do this using php with some image editing library,
you'll need a graphic editing software like photoshop i am sure there are many tutorials for this thing out there
Do you know of any websites that allow users to share there custom PHP functions and code snippets other then? It would be nice to compile a list of a few good resources
http://www.phpclasses.org
Might be obvious to some, but don't forget to include http://pear.php.net/ in your list. ;-)
There is Snipplr.com - A public source code repository for sharing code snippets.
Back in the day when I built some PHP3 sites,
PHP Builder was the place to go. They are still live, but URL shows a number instead of domain name :)
http://63.236.73.209/snippet/
Hot Scripts is one of the biggest sites to my knowledge. There is commercial and free code (easily sortable).
And you should probably make this Community Wiki.