Today we'll be looking at how to SSH to Amazon's EC2 server using .pem file.
Yogesh Chaugule's Blog
Chaos Tool Suite is one of the best API module to use. The module mainly provides API.
I've worked on ctools before to create multi-step form and show that in popup. This time I'm working on a project which has a Quiz in it which is built using ctools. The site was having a requirement of displaying Quiz form when user clicks on link from E-Mail.
So to display ctools modal on page load we've to add below jQuery Code:
Views one of the great module available in Drupal. Views can be used to show various types of dynamic data and can also be used to allow users to filter results based on his criteria. To allow users to filter results based on his criteria we normally use views "exposed filter" option in every filter we add in view (screenshot 1.0).
After installing Drupal 7 we get User login block on left sidebar. But what if you disabled the User login block and need to log in, you can visit the login page on:
The portrait view of iPhone shows normal font, but when viewing the site in landscape iPhone makes the font bigger.
Here's a CSS fix for making the font size normal in iPhone landscape view:
The last project I was working on was having a requirement hiding the file URL in browser, for security reason. The file was actually PDF file and was containing user's order data. So to restrict the access to PDF file I've created a page callback, where I've written small piece of code to show the PDF output directly in page. Here is the sample code:
The answer is YES. It is possible to point your primary domain to a sub-folder within public_html rather than public_html itself. Here is some information that should allow you to do so yourself.
In order to set up your main domain to use a sub-folder on your hosting account you will need to set up a redirect in the .htaccess file in the public_html folder so that the server knows that any request for your main domain will be redirected to a sub-folder on public_html.
Drupal 7 field module defines a field level template file, which defines the HTML structure of the field. We can use this file to override the display of field including changing how label will be display. The file is named as field.tpl.php which you can find in side the "DRUPAL_ROOT/modules/field/theme/" directory.