Say i have the following text field which i would like to show the tooltip on the right.
<input type="text" class="form-control" name="nickname" rel="txtTooltip" title="tooltip text" data-toggle="tooltip" data-placement="right"/>
The tooltip above has a limited width.
Continue reading Bootstrap 3 – Tooltip width
Update @ 2015-09-23: Using PowerShell is just my personal preference, You could use MS-DOS in Windows if your machine doesn’t have PowerShell installed.
1. Download Node.js and install it and make sure you have the npm package manager selected before the installation.
Continue reading Setup Yeoman in Windows PowerShell
We can create a Twitter share hyperlink just like what we did for Facebook share as we mentioned before.
Create Facebook Share hyperlink for specific URL
For Twitter sharing, it can be done as follow.
Try the following link.
Continue reading Create Twitter Share hyperlink for specific URL
The Views Infinite Scroll integrates the jquery-autopager with Drupal and makes any view page behaves like a Twitter page.
1. Download the module and extract it.
2. Download the jquery-autopager to the views_infinite_scroll/js. (Download)
3. Enable the module
Continue reading Drupal 7 – Autoload View rows when scrolling down like Twitter
twitteroauth is the first PHP Library to support OAuth for Twitter’s REST API. It is developed by Abraham Williams. You can download the source code @ GitHub and the example inside is quite easy to follow.
GitHub – abraham / twitteroauth
Unlike the Facebook API, the Twitter API does not support logout. If you want to increase the security, you can force user login every time when he/she clicks the Signin with Twitter button. This can be down by adding the force_login parameter in the GET oauth/authenticate request.
Twitter API – GET oauth/authenticate Continue reading twitteroauth – Force User Login
The ShareThis module let you add a share button on any node type such that you can share the node content to Facebook, Twitter, Google Buzz or any other channels as shown in the following picture.
Continue reading Drupal – Share Node Content to Social Networks