Packaging Installation profiles as .zip archive

I really think it would help build the drupal ecosystem if it were easier for themers/developers to build installation profiles without Drupal.org. Drush is great, so is Aegir and serving up drupal sites with features and the like. But what about the small business owner who wants to log onto Theme Forest and get a great looking website they can customize in a zip file. I mean I bet tens of thousands of people are going with WP from the ground up because WP is killing us in the amount of customize-able themes they sell. Just please take a look -- there is no reason we shouldn't be getting people to use Drupal. Really I have yet to see one theme for Drupal 7 come out with customizeable options as an installation profile in a .zip archive. I really shouldn't have to go into Apache syslog to try and find all the DB insertions in real-time, then try to isolate the changes, then figure out how to get the .install and .profile files to do their magic. Theming in Drupal is complicated enough without having to be a sysadmin and php specialist just to get a site you can install from a .zip file. In a perfect world people could buy themed site with configureable options out of the box at places like linode, or people could try what they are doing with pagemaker. But they have no-where near the reach of marketplaces such as envato.

BlueBreeze them

Our host is upgrading to PHP 5.3.5 which is forcing us to upgrade to Drupal 7 from 5 (yes, the site is pretty old. I am looking for a bluebreeze style theme to start developing for the upgrade. Bluebreeze 6.x is not compatible.

Thanks

Using PHP Field module to print a USER field with Views

Hi folks:

I am trying to print a field from a user profile (created using default user system in D7) in Views. The problem is that the variables it gives me in PHP Field do not work--my field is "organization name", and the variable it shows me is: "$row->field_organization_name"

This only prints the number "2". Can anyone point me to where it is documented? I'm just not sure what syntax to use to print this.

Problem with hook_schema

Hi,

I'm having some troubles with the hook_schema and hook_install.
So I want to create a table when activating my module. Seems that it's not working very well.

I don't get any errors when activating the module, but I don't get the defined table in my database.
If someone could check with I'm doing wrong?

Code in my .install file:


<?php

/*
* Implements hook_schema()
*/
function fb_recommend_schema(){
$schema['fb_recommend'] = array(
'fields' => array(
'id' => array(
'description' => 'The ID',
'type' => 'int',
'size' => 'big',
'not null' => TRUE,
),
'url' => array(
'description' => 'The url that is needed to show the facebook recommend box',
'type' => 'text',
'size' => 'normal',
),
'not null' => TRUE,
'width' => array(
'description' => 'The width of the facebook recommend box',
'type' => 'int',
'size' => 3,
'not null' => TRUE,
),
'height' => array(
'description' => 'The height of the facebook recommend box',
'type' => 'int',
'size' => 3,
'not null' => TRUE,
),
),
'primary_key' => array('id'),
);

return $schema;
}

/*
* Implements hook_install()
*/
function fb_recommend_install(){
drupal_install_schema('fb_recommend');
}

/*
* Implements hook_uninstall()
*/
function fb_recommend_uninstall(){

Drupal themer

*UPDATE* Found a themer!

I am not happy with the theme at http://www.elderlearning.ca

The background is not fluid as it should be, and it seems generally sloppy.

I am interested in hearing from someone who can do it properly. Please reply with a cost and samples of your work.

Thanks.

Please help me to choose if drupal is good for my application?

Hi drupal gurus,

We are currently planning to migrate an application which is already developed using Ruby (frontend) , MySql, Solr, active mq and our application basically displays different types of data to different users based on the relevance factors users provide.

My question here is am I making a correct decision to change to CMS (drupal)? If so I want to know if drupal has an option where different users can provide different relevancies and populate different data for each user. Our possible number of users accessing site is around 1000 per day.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x