the web

Omega sass: GEM

This is just a solution of some problems that i tried to pass using lot of testing about using omega subtheming in drupal 7.
First :
tried omega 3 that was good and in some way helpful with the setting and regions.
But with the Omega 4 the developer considered that the omega 4 is the future and the present of Omega 3 So this is the last vergion of this kind.
Omega 4 will be the real daughter of omega and who is so lazy to think and write SASS is considered as a stranger and documentless in the omega country.

After installing drupal git curl drush ruby sass and compass using the sites documentation
install the gems and their dependencies
install omega drush dl omega theme and create subtheme :drush omega-wizard
install modules: drush dl context context_omega
to create a bundle project:bundle init

Open gemfile in the root of the project and and add the dependencies of the omega and sass
here is my gemfile

source ''
gem "bundler"
gem "rake"

gem "chef", ">=11.0.0"
#moneta 0.7.0 breaks chef
gem "moneta", '~> 0.6.0'
gem "foodcritic"

gem "test-kitchen", "1.0.0.alpha.7"
gem "kitchen-vagrant", "0.10.0"
group :development do

to resolve the dependencies problems with the gems' versions like

Resolving dependencies...
Bundler could not find compatible versions for gem "thor":
In Gemfile:
guard-compass (>= 0) ruby depends on
thor (>= 0.18.1) ruby

rails (= 3.0.0.rc) ruby depends on
thor (0.14.0)

two ways:
the first: add for example thor (0.14.0) to the gemfile as gem "thor", "~> 0.14.0"
the second: gem install thor -v 0.18.1

We can do the same thing with just GUARD.
With gem install guard
Here the tutorial:


Error: Call to undefined function og_get_group() in
sites/all/modules/contrib/spaces/spaces_og/plugins/ on line 15

What is the problem ? the site is blank not content ?

install strongarm og_extras module


help on translate read more link

Read more about @title
the string is situated in : drupal/modules/node.module
towards the line 1434 in here:
<?php if ($view_mode == 'teaser') {
$node_title_stripped = strip_tags($node->title);
$links['node-readmore'] = array(
'title' => t('Read more about @title', array('@title' => $node_title_stripped)),
'href' => 'node/' . $node->nid,
'html' => TRUE,
'attributes' => array('rel' => 'tag', 'title' => $node_title_stripped),
); ?>

The free and the unfree

drush drupal

To be free is not a word but a human quality a must of every one and a right that one can say be free or not to be at all.
This without the tools of freedom is just fake without knowledge without the tools that let you know the boundaries .Let s concentrate over education and security and democracy .All these are elements of the freedom settlement. We can cast someone in the desert and approve his freedom but it is just a way to take someones' freedom .
Freedom is defined within the social and not out of it .

Subscribe to WordToSay RSS