In Drupal, can I access FormAPI from a Block?

1 Answer

Answer :

Sure. Use a PHP block and you can pretty much do whatever you like. You can access the form API from anywhere, just follow the API specs.

Related questions

Description : Why are content management frameworks like Drupal so much more popular than MVC framework like CakePHP, but so much less fun to develop with?

Last Answer : I’m not sure what your question is. It’s the responsibility of an experienced developer to pick the framework that best suits the site he’s trying to build. There are many options because there are many types of sites, and there’s no single best solution for all problems.

Description : How can I make images easier to use in Drupal for my users?

Last Answer : Here are some links that might be helpful: http://groups.drupal.org/node/5328 http://drupal.org/node/58685 I’m hoping someone else will have something good to add as I have noticed this too.

Description : How is “Someone is typing a comment...” implemented in Facebook?

Last Answer : answer:I am a software engineer; I do not know how Facebook actually implements this but here's how it could be done: Say you're at your computer looking at a Facebook post. When you start ... , or vice versa, as these are the indicators that someone has either just started or just stopped typing.

Description : What's with the Captcha Widgets that won't Captcha?

Last Answer : I don't know if this is new, or just new to me, but I encountered a captcha the other day that was, Spell out the following sequence of numbers, in text followed by a random string of numbers, ... 3 9. It was so EASY! No bizarre distorted images of words that are either obscure or not even real.

Description : Where is the tag located in safari?

Last Answer : The tag is part of the page's source code. It is not located in Safari. You can view the source code in Safari (probably using Ctrl-U) but you probably can't edit it. In order to do ... files- HTML is pretty simple. Otherwise, I recommend getting someone else to do the edits for you. Good luck!

Description : How to install google analytics on wix?

Last Answer : answer:Try reading the F$%^King manual Here is the Wix dot com answer

Description : Hey SEO's & Web Guys... Is this a good price for SEO?

Last Answer : The developer is getting the short end of the stick, big time. So yes, you’re walking of with one hell of a deal.

Description : Is this a ridiculous estimate for SEO work?

Last Answer : answer:Welcome to Fluther, first of all. As to your question who knows? It might be ridiculously low, or it might be ridiculously high. It might be right in the middle of all the estimates you could ... of costs and of what the return on your investment may be before you get on your high horse?

Description : Where can i find a tutorial on how to make a website with logins and usernames (without cms)

Last Answer : answer:http://net.tutsplus.com/tutorials/php/user-membership-with-php/ There is no simple way around this. You are going to need to know how to set up a database and know a bit of PHP. Adding a ... day. It might be worth it to just hire someone to do it for you. Opportunity costs and all that.

Description : Can I create on twitter a broadcast personalized for one my specific followers?

Last Answer : No

Description : How can I easily create a website like Fluther without knowing webdesign?

Last Answer : answer:That IS a B-R-I-L-L-I-A-N-T idea! A single topic forum… WOW! I think you’re really on to something big! Good Luck Friend!

Description : Does anyone know a good, open-source IDE for the Mac?

Last Answer : I heart Komodo Edit (though I’m mostly a python progammer). You’d find a lot of use out of Eclipse, though I got sick of it after a while.

Description : How to integrate social web sites together?

Last Answer : You can convert your blog to a planet then load the RSS feeds. You can aggregate the information on Plaxo Pulse, FriendFeed or similar websites (and perhaps aggregate those into your blog). Yahoo! Pipes might ... edge and lend me a hand in testing my software that's designed to do exactly this ;-)

Description : Wiki software with an iPhone (or easily customisable) interface?

Last Answer : I use http://wapedia.mobi/ It pulls all the pages from en.wikipedia.com/ so it’s the same thing. If you want to edit articles from your phone you have to turn that on via options on the site when your on your phone. Best of luck.

Description : Hey all you mac web developers, what FTP program do you use?

Last Answer : Transmit, by Panic.

Description : Can someone please explain to me exactly how PHP, mySQL, Javascript, and HTML/CSS are related?

Last Answer : PHP is a serverside language, while JavaScript and mySQL are clientside languages. I think the difference is that PHP/HTML is the language used by the server to encode instructions for the web browser, ... have no idea whether it's accurate or not. I just started learning this stuff this week.

Description : What does a person need to set up a website that requires a login and to upload videos and let other users ,too?

Last Answer : depends. what do you want to do with said website?

Description : What's the next step after I create a web hosting account?

Last Answer : answer:After creating your web hosting account you're going to upload your files there (the html, css, javascript, etc) the methods available to upload vary from host to host but usually they'll ... luck at the sitepoint forums for specific questions. Hope the resources help and good luck with it.

Description : How do you compute "popularity"?

Last Answer : weigh time.

Description : What is a fair price to charge someone to advertise on your blog?

Last Answer : Projections really don't mean much. Advertisers are concerned with what your current traffic is averaged over the previous year. With 150 hits a day (as a side note, advertisers want to know ... they are getting since I would imagine there are hundreds of sites in the bridal category to compare.

Description : Are there any Web services available for free to retrieve the definitions of words?

Last Answer : http://www.dictionary.com and if you want slang words http://www.urbandictionary.com

Description : How do I build a website where people can talk to each other?

Last Answer : The software you would use would be here or you could use the exact one they're using by getting it here . As far as what you need to do and know. You need to know websites, how to ... all relatively cheap. I wont plug any particular one, except to say that GoDaddy's interface blows banana balls.

Description : Can I license ask-public.com's technology?

Last Answer : answer:What exactly are you trying to do? Anyways, you might try PMing Ben or Andrew, the site founders (owners?). They might be able to get you the information you need. You could also use the contact page to get in touch…

Description : What CMS do you prefer? (and why?)

Last Answer : I’ve used Druapl for a few projects. If you can get over the fact that it’s written in PHP4, it’s not too bad. The nicest thing about it are all the contributed modules.

Description : When Building a CMS: Drupal, Joomla!, or Plone?

Last Answer : Of those three, I'd choose Drupal. I haven't tried any of them in a while, but Drupal was the easiest to set up, had the most straightforward admin, and had lots of plugins. Plone had a lot of ... have you narrowed it down to these three? What are your needs? There are hundreds of CMS's out there.

Description : What is Drupal? In laymans terms, please.

Last Answer : Just look at some of the sites in the showcase for examples of what people have done with it. It can be used for just about any kind of site you can think of. Which is why it’s a content management system…. http://drupal.org/forum/25

Description : Drupal tokens tutorial/help?

Last Answer : Ack! Computer script! My eyes! Get it away from me! Hasn’t google been able to help you out?

Description : How do I use location information in Drupal?

Last Answer : I usually try to avoid this headache by hiring one of the free lancers filling the internet to do the tough part.

Description : How do I patch a drupal module?

Last Answer : answer:The patch you mention is “ready to be committed”, which means it’ll probably show up in the next version. You can apply the patch yourself by copying the code and pasting it at the bottom of fivestar_field.inc in the modules/fivestar directory.

Description : How do I do an automatic redirect in Drupal?

Last Answer : answer:Have you tried searching the Drupal Forums? There is a large community of Drupal experts there who may have already answered your question. I don’t want to deter you from using Ask-public, but there might be a better place for these questions, which require rather specialized knowledge.

Description : Do you develop with Drupal on localhost then upload?

Last Answer : :/ I really think you'd be better off learning a little bit of PHP, then making your site from scratch. It'll make life loads easier for the next person who has to work on your site if they don't ... the muck od Drupal. Just make sure you comment your code nicely. http://Tizag.com is a ton of help.

Description : Which among the following is not an internet browser: a) Netscape Navigator b) Chrome c) Drupal d) Opera

Last Answer : c) Drupal

Description : How can I block my access to a website that I am addicted to?

Last Answer : The app “Stayfocusd” is free, simple, and effective.

Description : How do I block access to specific websites using Firefox?

Last Answer : Not sure what’s going on with your hosts file. That is definitely the hardcore way to do it. I use “StayFocusd” for Chrome. I have heard that LeechBlock allows for similar functionality in Firefox, although I haven’t tried it.

Description : Is there any app for the Mac that will, at my request, block access to the computer for a while? To force me to go do something else... :-)

Last Answer : “Yep, there’s an app for that.” seriously, I don’t know, but knowing mac I bet there is one.

Description : How do i block remote access?

Last Answer : There are many electronic devices that block remote access. You can check online or at local electronic stores to find something to block remote access.

Description : In RISC architecture access to registers is made as a block and register file in a particular register can be selected by using: a. Multiplexer b. Decoder c. Subtractor d. Adder

Last Answer : b. Decoder