Pains of a Startupper!!
Posts tagged drupal
Handling Images as easy as WordPress in Drupal 7
Dec 16th
I have been using drupal 7 for my new website ppprep.com and its been a positive experience working with drupal so far. The main difference I found between drupal and wordpress is how much unfinished state the drupal is out of the box compared to wordpress. Its easy to develop large and complex websites in drupal but is annoying if you want to use it for casual purposes with minimal setup required. The difference became obvious when I wanted to embed images in my posts for drupal website.
You cannot embed images insite your posts out of box in drupal and you have to go through lot of pain to get it right. After lot of googling, I’m glad I found a solution that works. The module that helped me achieving my goal was media.
1. Download and install the modules media, styles and entity. I have alpha-4 release of styles installed.
2. Installing styles module gave an error for me. This thread helped me solve the issue http://drupal.org/node/984630
3. If you are not using wysiwyg module, I recommend using it for editing purpose, I use Tinymce plugin.
4. I use filtered html text format for entering the data and configured to use Tinymce editor.
5. Configure Tinymce to allow uploading of images. For this purpose, enable the Media Browser plugin of the editor of your choice(Tinymce in my case).
6. After this stage, if you are able to add images but not able to view them on your posts. follow the steps below:
7. Configuaration -> Text Formats -> Filtered HTML -> Configure, allow Enable Converts Media tags to Markup filter. After that, change the filtering order to first limit the HTML tags and then convert the media tags to markup filter.
Now you should be ready to upload and view images, videos and audio with ease to your drupal 7 site.The problem with videos are they are rendered with <video> tag in HTML5. HTML 5 does not provide protection against downloading data so I’m going to have to rely on flash. I’ll probably have something to talk about it later.
Penning down my experiences so far.
Dec 16th
Its been almost 4 months since I started my new journey and its been the time of my life. Lots of learning, ups, downs, changes and all. So I decided that I should pen down my experiences with technology, entrepreneurship mainly for my own use. Will be happy if it helps someone.
So about the stuff I’m going to talk about: Mainly about the technologies and tools I have been using to develop PPPrep.
Operating System: Windows 7 for Dev and Ubuntu 10.04/10.10 for Production( I still do not have test and staging servers)
Technology stack: XAMPP for development and LAMP stack in production.
IDE: Netbeans.
Version Control System: Mercurial (Mainly because its available by default in Netbeans)
Hosting: Amazon AWS, EC2, S3, EBS, CloudFront etc etc. I’m an illiterate in Cloud Computing but I’m learning to deploy my code into AWS considering it a VPS. Probably I will learn more about the power of cloud computing and slowly start harnessing the power it promises to deliver.
Content Management System: Drupal 7
I’m also trying to understand other niceties like Memcache, Varnish, CDN, lucene for search, flash for upload & streaming of videos, WYSIWYG editors like Tinymce, etc.. I will add to the list as and when I find new stuff I start to use.
That is all I can remember now. Hope this serves as a wiki for myself about the stuff I will need to do again and again
Recent Comments