Contact Me

Having a problem with registration? Need to inform me something?

Have an idea you want to share with me?

As a registered user, you can use the Comment Form below to communicate with me.

If you are having problems in Registration, or otherwise want to contact me, please drop in a mail to me at: rs@rahulsingla.com.

Comments

Hello Mr.rahul

I found you from drupal website from your module and i wish you to help me
I'm using drupal since few months but I'v got problem with files folder permission: because my host is in shared host and I dont have access to ssh or some thing like that
the problem is drupal cannot move or upload or create folders and files in files directory because he have no permission to files
e.g.. when I want to upload file with date path he can not create folders /image/2009/11/1/mypic.jpg
I try to change permission from my Cpanel but Drupal prevent me
I search in drupal website but I didn't find any good solution
I read these node but i don`t find solution
http://drupal.org/node/34025
http://drupal.org/node/34028
what is the good and right way to fix permission and make every thing writable


Waiting your replay

ayalsule@gmail.com

Ayham Alsuleman

Thank you

rahul's picture

Hi ayalsule, probably a better place for asking this question could have been this blog entry:
http://www.rahulsingla.com/blog/drupal-take-control-module

In particular, check the following comment, regarding using my module:
http://www.rahulsingla.com/blog/drupal-take-control-module#comment-4

It would have helped people googling out find the answer quicker. Anyways, regarding your problem, the first thing to see is who created the files folder for Drupal:

  1. If you created it from CPanel, I dont see any reason why you cant change permissions for it using CPanel.
  2. If Drupal created it, in that case Drupal should BE ABLE to create files & folders in that directory.

You can try the following steps now:

  1. Change Drupal files directory to something else, let's say
    sites/default/files1

    If Drupal can create this directory, it should be able to write to it. Now try uploading a file using Drupal. If this works, the problem is resolved.
  2. Try using my module. Download the Take Control project from drupal.org, and follow the steps mentioned in the above blog entry to configure permissions for the files directory.

If the problem still persists, reply back here detailing the error messages you received in either Step 1 or Step 2 or both above.

hi rahul sir

rahul's picture

Hey Vishal :)

I’m not that much of a online reader to be honest but your sites really nice, keep it up! I'll go ahead and bookmark your website to come back down the road. All the best

i'm glad reading your article. However wanna commentary on some normal things, The web site style is great, the articles is in point of fact great : D. Good task, cheers

I really love your blog.. Great colors & theme. Did you make this amazing site yourself? Please reply back as I'm looking to create my own site and would like to know where you got this from or what the theme is named. Thank you!

rahul's picture

Hi Liz, thanks for your feedback. The site runs on Drupal and uses the Marinelli theme, hope it helps.

Hello, i believe that i saw you visited my weblog so i got here to return the desire?.I'm attempting to in finding things to enhance my web site!I suppose its adequate to use some of your ideas!!

Hi rahul,

I have read your blogs and they are very helpful to understand the code and logic. Also everything is clearly presented and explained. I need an example for the below scenario.

I am developing a project on extjs calendar pro which retrieves the events from database and displays the events on calendar. When i load the calendar for the first time, it will be in month view which retrieves the events of current month and bind those events to the calendar. This step is working fine for me. When the user navigates to previous month or next month, i need to clear the store, retrieve the selected month events from database, fill the store and bind them to calendar. In this second step i am able to retrieve the data from database in datechange event. But when i assign the store to calendar its not refreshing and displaying the events. I am facing some problem in this step. Can you please help me by providing an example on how to achieve this. You can also refer to the post below which i have posted in ext js calendar pro forums too.

http://ext.ensible.com/forum/viewtopic.php?f=2&t=551

With Regards,

Shrinivas

Hello Rahul,

Currently I am working as PHP developer. Currently Working on ExtJs Calendar with Ext4Yii Platform. Now what I want is to replace New Event window with one Created By Me so How can I do this?

Waiting for your reply..

Please Help me out...

Thanks

Pradeep Rathod

(PHP)

Hello Mr. Rahul,

Thank you for your helpful tips on overriding ExtJS Calendar Pro Edit Panel.

I am trying to override the Extensible.calendar.form.EventWindow class and am running into problems.  Although I have updated the content of the popup window, I am unable to successfully override the "show" function (so I can intercept and set some values in the new items I've created).

The error message follows. 

TypeError: h is null

f(p==k){if(a+E+l.width>(O>=0?u.x+u.width-b:b-u.x)){p=M}}else{if(a+E>l.width){p=k...  ext-all.js (Line 27)

thanks

-Thomas