Drupal node access

March 7th, 2010 Aram No comments

How to restrict editing of verified content?
node_access is not called. It’s required to define node types from modules in order to have node_access hook be called.

Categories: Uncategorized Tags:

Drupal Views - Right Join issue

March 7th, 2010 Aram No comments

Currently we are experiencing problem with drupal views.
We need to right join two entities.

Categories: Uncategorized Tags:

ExtJs - Form field description and tips

March 4th, 2010 Aram No comments

The problem is that ExtJs is not presume field description at all.

There are Label component which can be used as field description.

Label component can be linked to particular so that formfield will be focused when label (description) clicked.

extjs-form-field-description

Categories: Uncategorized Tags:

How to use svnignore!

March 4th, 2010 Aram No comments

1. Settings svn:ignore property

svn propset svn:ignore “*” folder1/
svn propset svn:ignore “*” folder2

2. Commit to apply changes.

svn ci -m “Data in these folders will be ignored by svn”

Source: http://www.devcha.com/2008/02/how-to-make-svn-ignore-some-folders.html

Categories: Development Tags: , ,

Magento and ExtJs

January 21st, 2010 Aram No comments

We are going to use in our huge auction project Magento Commerce Community edition.

http://www.magentocommerce.com/

Also decided to use ExtJs as user interface rendering engine.

http://www.extjs.com/

To work on server side objects without touching javascript code we decided to use PHP-Ext adapter.

http://php-ext.quimera-solutions.com/

Soon will drop about details. May be will publish Magento module as well.

Drupal rocks!

January 14th, 2010 Aram No comments

Currently we are working on social project. The platform that we are using is PHP/MySQL/Drupal.

I’ll list all modules that used to build this website.

Categories: Development Tags: , , ,

We have migrated to EZZI.net

January 14th, 2010 Aram No comments

Finally!

Now we are on Dedicated Server hosted at EZZI.net.

Box is cheapest one, but it’s much better than VDS at VPSLink.

Within next months we are planning to upgrade box to increase RAM and setup RAID.

Categories: Hosting Tags: , ,

Magento As Development Platform

December 10th, 2009 Aram No comments

My company just got new project making enhanced auction platform.

Requirements are very complex - lot of use cases.

Architecture discussed and clean, the problem is technology. .NET/MSSQL vs PHP/MySQL.

Client likes cheaper solution, but it depends. Here we have two criteria - expenses on development and expenses on support and hosting.

.NET development will not take so much time as PHP and may be at that point client will have more stable solution compared to PHP based solution since .NET Framework is commercial and it solving lot of problems what I can’t tell about PHP.

But .NET hosting as development/support is expensive.

PHP is cheap but poor - all staff should be implemented from null since solution is not standard. Most enhanced CMS/CMF’s will not be able to cover even 30% of functionality and they are restricting actions because of their internal rules.

Since we deal with  ZendFramework before and understand power and dynamics of growth of this framework decided to stick to.

But it’s till not covering basic needs of our system. In fact it’s not even depends from solution. Lets image that you need to build custom logic application based on PHP. ZendFramework is too raw and there will be needed to make lot of staff to make simple things working like User Authentication/Management.

After three days discussions we considered to use Magento Open Source eCommerce solution as platform.

Currently we are working on prototyping application on Magento base.

Wish good luck us.

Will write about problems that we experienced with cleaning of Magento business logic and how Magento Commerce business logic monolith with his core.

Node forms in Drupal Panels

November 28th, 2009 Aram No comments

In order to enclose Drupal node forms with Panels you will need to:

1. Create panel

2. Setup context for corresponding form type (this will add forms section in content selection window)

3. Add form from content selection form and specify node type for which you are going to use this panel.

This is first time that we are using panels to enclose node create/update forms and got there problem.

It seems module panels moving node update/save buttons into top fixing these form elements weight. We tried to fix weight using content type management page (CCK), tried to use custom module with hook_form_alter without any result.

Will update post there we will find solution to this problem.

Categories: Development Tags: , , ,

Google Chrome focusing issue

November 28th, 2009 Aram No comments

Since Google Chrome lightest web browser (at least for me) I’m using it for surfing and when need to test same project using different accounts.

The good thing in such cases is Incognito mode since it’s allowing to have as many sessions as you need. Simply open new Incognito windows.

The problems that I experienced in Google Chrome browser is focusing. I’t’s not focusing when you are switching from one application back to Google Chrome window. Since scrolling is working the feeling is that it’s using some kind of container that is not in focus when you are switching using CTRL+TAB (I’m talking about Chrome in MS Windows env.). And you have to click on to have window focused to work with short keys.

Another problem is controls. They are simply missing. Tried to reproduce without result.

It’s still very useful and I’m intensive using this browser and recommending to everybody.

If somebody have any experience related to these two issue and will share I’ll be very  thankful.

Categories: Applications Tags: