Drupal Blogs, Pictures, and more on WordPress: How to Add a Field to Drupal Contact form
STEP 1 :
First you have to create a module. Create a folder into /sites/all/modules. Give the folder name your module name. Create a module file into the folder. Give the module a name. I have used “contactus.module”. In contactus.module file write the following lines. If you give different module name then the function name should be function yourmodulename_form_alter(&$form, $form_state).
#title = Title of the input field.
#type = Type of the input field (e.g. ‘textfield’ or ‘textarea’ etc. )
#required = If the field is required then value will be true.
Unset function will disable the particular field. Here, in the example I unset copy field. You can re-order all the fields as per need. Just you have to the $ order array. For more information see http://api.drupal.org/api/function/hook_form_alter.
Chapter Three: Drupal in the Cloud (and other fun stuff) at SxSw
Just a note to all kindly Drupalists and your followers. I'll be appearing at SxSw interactive to talk about Drupal in the Cloud, sporting an updated presentation which includes info on how we're using BZR to create a "cloud platform", where all that's going anyway, plus details about our forthcoming Mercury on-demand service.
I am looking forward to seeing all sorts of great folks in/around the conference. If you're going to be in Austin this coming weekend, drop me a comment and let's coordinate! You can mark the session on your planner right here.
For those unable to attend, there will be some video and other media, and my slides will be posted online as always. See you in the Lone Star state!
Drupal Blogs, Pictures, and more on WordPress: ?Drupal????Superfish??
??Zeropoint???????
1. ????????????????http://users.tpg.com.au/j_birch/plugins/superfish/#download????????1.4.8
2. ????js????/sites/all/theme/zeropoint/js??css??zeropoint/css??????zeropoint/image??
?????superfish.js??79?menuClasss: ’sf-js-enabled’???’sf-menu’???????CSS??????????????????????????Fusion Core?????template.php??????superfish???primary link?class????????sf-menu???????????????????????????????sf-menu?CSS???????Medu???????????!important???????????
3.??zeropoint.info???????css?js???????superfish.js??????????????????????
stylesheets[all][] = css/superfish.css
scripts[] = js/jquery.bgiframe.min.js
scripts[] = js/hoverIntent.js
scripts[] = js/supposition.js
scripts[] = js/supersubs.js
scripts[] = js/superfish.js
4. ?????????js/script.js
Drupal.behaviors.superfish = function (context) {
$(“#superfish ul.menu”).superfish({
hoverClass: ’sfHover’,
delay: 250,
animation: {opacity:’show’,height:’show’},
speed: ‘fast’,
autoArrows: true,
dropShadows: false,
disableHI: true
}).supposition();
};
?????????????zeropoint.info?
Nick, Social, Geek: Setup Drupal 6 with Apache Solr on Tomcat 6 and Ubuntu 9.10 (Karmic Koala)
During my last session on Drupalcamp in Barcelona I found that there was a need for an updated guide on how to easily setup your own Apache Solr instance.
If you want to see why you or your company would have the need for an improved search experience you can still see my presentation on slideshare : http://www.slideshare.net/nickvh/drupal-apachesolrRead more
Lullabot: Job Post: Lullabot Seeks Experienced Project Manager
Lullabot is looking for an experienced project manager. Responsibilities include: managing scope, deliverables, schedules, and team resources for Lullabot client and internal projects. Daily tasks would include leading daily 15 minute check-in calls for each project, tending the ticket queue and managing task lists, communicating (email/phone) with clients, and basically keeping projects on track and moving forward. Lullabot is a distributed company without a central office, so like all Lullabot jobs, this is a telecommuting position and may involve travel.
Additional responsibilities include helping to write and assemble new project proposals and statements of work, though we tend to focus on bigger projects and don't take on too many projects at once. You'd be responsible for estimating and staffing projects, meeting with clients, pursuing and growing development partnerships, and coordinating the delivery of various projects.
If this sounds like a lot, it is. But Lullabot is a very collaborative company so you won't be working in isolation. You'll be working with a team of highly experienced Drupal consultants and developers with excellent communication skills and a passion for their work.
Ideal candidates should:
Mobile Drupal: Siruna Rocks
....with the release of m.stubru.be the mobile site of the nr.1 public broadcast radio station "Studio Brussel".
Studio Brussel, the nr. 1 radio station of the Belgian public broadcaster VRT has released last week it's mobile website using Siruna technology.
-->Flickr: Drupal, #1
Drupal Blogs, Pictures, and more on WordPress: Useful site for automated semantic tagging
My professor Vin Crosbie, who runs the blog site Digital Deliverance, turned me onto this open-source semantic solutions by the good people at OpenCalais. OpenCalais’s collaborators have created several tools, from a simple standalone API to tagging applications for Drupal and WordPress. This service reads textual and structural information from three different types of files (txt, HTML, and XML), renders meta-information on those files and offers possible topics based on keyword matches from OpenCalais’s massive database.
I’m considering OpenCalais as a sorting tool for Parallactic Drift. Believe me, hard coding keywords and conditionals to match specific topics is difficult, but it allows me to create a script that sorts news items down to specific events. While I would lose this level of specificity with OpenCalais, the API seems to have evolved from its initial functions to include more advanced vector calculations for reading word placement within text. The API even diagrams sentences’ grammatical structure to figure out what a sentence says! Just type a word into their demo viewer.
Flickr: bdcthomas.com
bdcthomas posted a photo:
Given this account is currently trumping my photography website in Google I probably ought to add a link here to redirect people.
So once more that's something like Ben Thomas Photographic at www.bdcthomas.com
Click the following to learn more about Benjamin Thomas - bdcthomas.
More shots from the type that can be seen here are available on Facebook for those that might be in them (you may need to be logged in).
Except Flickr 'nofollow' every link now, don't they? Blast.
Drupal Blogs, Pictures, and more on WordPress: Sharepoint vs Drupal - Comparison
Here is a nice write up on Sharepoint vs Drupal. This is from microsoft blog so you might want to take this with a pinch of salt. But still it is the only blog in internet where someone is presenting the advantages of Sharepoint. Whichever blogs you might get by googling Sharepoint vs Drupal, they all speak about Drupal being best.
http://blogs.msdn.com/arpans/archive/2010/02/23/sharepoint-and-drupal.aspx
Lullabot: Drupal Voices 77: Doug Green on Lessons from Big Multilingual Drupal sites
At DrupalCon Paris, Doug Green of CivicActions shared some insights doing big Multilingual sites. He talks about some of the pain points faced with doing the site, and working with the i18n module.
Other references mentioned:
Midwestern Mac, LLC: Allowing Organic Groups Administrators the Ability to Unpublish/Publish and Schedule Content
One requirement of the Archdiocese of St. Louis' website is that group administrators are able to publish and unpublish the content inside their groups, and they should also be able to schedule posts for automated publishing and unpublishing at a later time.
To do this, I used the following modules:
- OG User Roles
- Scheduler
- Publish Content
- [EDIT: I'm now using the Override Node Options module rather than Publish Content - it gives more fine-grained control over visibility of node form options.]
After enabling these modules, I spent a while in the Permissions page, and also created a new user role, "administer nodes." Ironically, I didn't assign the 'administer nodes' permission to this role, because doing so causes a huge mess ('administer nodes' gives waaay too much power to anyone except the site admin—it's best to leave that beast unchecked in most cases).
Mediacurrent: Learning How to Install Drush on a Non-Admin Rights Server
Recently, I have been working with quite a few Drupal sites, and one of my favorite tools to use has become drush. For those of you who are not aware of it, drush is a command line utility (drush = DRUpal SHell) that makes management of a Drupal site much more bearable. Drush is a great tool to use and is quite simple to install on your system when you have admin rights to the box. However, what about those of us on shared hosting system?
Mediacurrent: How Drupal is Helping a Marketing Agency Revolutionize the Industry...
Over the last year, Mediacurrent has been intensively collaborating with Ad Giants, an innovative marketing company based in Dallas, Texas. Ad Giants boasts an impressive list of clients and strategic partners like T. Boone Pickens, the legendary oil and business man, who has been featured on national television ads advocating an energy plan overhaul.
Development Seed: March Washington, DC Drupal Meetup Tonight
The March Washington, DC Drupal meetup will be tonight (3/8) at 7:00 pm at Stetson's. After missing last month's meetup due to the snowmaggedons, it will be great to catch up with everyone.
As usual there will be a round of lightning talk where anyone can take the floor and talk - for five minutes or less - on a Drupal related topic. So far two people have volunteered:
Jeff will talk about the Boxes module, which produces exportable and Spaces-friendly blocks
StevenC has volunteered to talk about a website he built for a local construction firm that included a data migration from a legacy MS SQL database and some complex back-end programming.
OStatic: Towards a Beautiful WordPress Future: Automattic Hires Theme Wizard Ian Stewart
Gearing up for WordPress 3.0, Automattic has hired Ian Stewart as a Theme Wrangler to help an assembling "Theme Team" for Automattic. The move is good news for the millions of users with WordPress blogs, especially for those looking to extend their blogs with better themes.
Stewart is known for his ThemeShaper blog and Thematic WordPress theme framework. The WordPress community has produced thousands of free (and paid) themes, but most are intended to be deployed as-is on other blogs. The Thematic theme is a framework that's designed to be customized and extended, and supported a number of child themes based on the main Thematic framework.
Alldrupalthemes: Better Dropdown Menus for Drupal
I'm working on a new framework for dropdown menus and I'm running out of ideas. So far I got:
- Animation on showing as well as hiding the menu (superfish only supports on-show)
- Automatic configurable multi-column dropdowns. When number of items in a submenu exceeds set number a submenu is 2 columns, or 3 columns. (will look like http://www.whitehouse.gov)
- Added support for custom easing, including the additional easing from the jQuery easing plugin and some homebrew easing*.
- Animated properties are configurable (widh/height/opacity)
So what cool menu feature would you like to have on your next Drupal site? drop your idea in the comments!
*my new and favorite dropdown easing:
easeInOvershootTurbo: function (x, t, b, c, d, s) { if (s == undefined) s = 1.70158; return c*(t/=d)*t*t*((s+1)*t - s) + b; }, easeOutOvershootTurbo: function (x, t, b, c, d, s) { if (s == undefined) s = 1.70158; return c*((t=t/d-1)*t*t*((s+1)*t + s) + 1) + b; }CiviCRM Blog: CiviCRM and Drush Integration
Following some issues to integrate drush and making civicrm upgrade process accessible from script, I started looking at drush on how we can take advantage of it for civicrm, and was surprised with the ease I was able to reuse drush code to add few utilities for civicrm. Some of the utilities currently implemented are:
Drupal Blogs, Pictures, and more on WordPress: 10 PHP programmers wanted
We are going to recruit 10 PHP programmers in our Chennai branch. The candidate should have minimum 1 year experience in PHP and Joomla like open sources are added advantage. If you know anybody who is looking for a job, please send their resumes to prabakaran@securenext.net or murugan@securenext.net . We need the following details
Current CTC
Expected CTC
Referred By
Number of days to Join
