Feed aggregator

DrupalCon 2009

Upcoming.org - August 31, 2009 - 23:00
Aug 31: DrupalCon 2009 at Maison Internationale

Drupal 7 Code Sprint in Los Angeles

Upcoming.org - August 15, 2009 - 16:00
Aug 15: Drupal 7 Code Sprint in Los Angeles at Causecast.org

Drupal Camp LA 2009

Upcoming.org - August 8, 2009 - 08:00
Aug 08: Drupal Camp LA 2009 at UC Irvine

Learn Basic PHP In One Night!

Upcoming.org - July 17, 2009 - 03:00
Jul 16: Learn Basic PHP In One Night! at Rich Media Institute

Open Media Project mixer

Upcoming.org - July 16, 2009 - 23:30
Jul 16: Open Media Project mixer at Olympic Mills Commerce Center

Using GMap + Location + Views Drupal Modules

Recently I got a chance to work on GMaps using drupal. GMap and Location modules are very good to integrate GMap with drupal. Views module made my life very easy.

Installing GMap + Views

1. Install views and enable views and views UI module

2. Install GMap and locations module and enable GMap, Location, GMap Location, Node Locations, User Locations, Location Add Another modules

3. Go to admin/settings/gmap page and add the gmap api key, which we can get through http://www.google.com/apis/maps/signup.html and adjust other map settings

4. Go to admin/settings/gmap_location page and adjust the gmap macro settings if needed.

5. Go to content type edit page and adjust the location settings.

6. Add the nodes by specifying some locations.

7. Go to map/node page which will show GMap with node locations marked.

Creating GMap View

Creating of view is normal, just select the view style as GMap. The result of the query values will display as markers on GMap.

GMap Macros

A GMap macro is a text-based way of describing arbitrary GMaps. We can build this macro using GMap Macro Builder module.

1. Enable GMap Macro Builder Module

2. Go to map/macro or click on the Build GMap Macro link in the Navigation to build macro.

3. Audgest the GMap settings, at the down in the Macro text box the text representation of map will be updated.Copy this text and use when ever is needed.

Using GMap Macro

We can use this GMap macro on any node. To display GMap on any node (ex: page) just copy the above GMap macro text and place it in the body text and choose the Input format GMap. To get input format GMap just add one input format like this.

1. Go to admin/settings/filters/add page

2. Type the name of the filter as GMap

3. Choose the GMap macro Expander and save.

Categories: Drupal talk

patch: i18n

Wordpress.org Drupal posts - 3 hours 21 min ago

1 cái patch bé xíu cho i18n để các block có khả năng thay đổi theo ngôn ngữ khi xem node ở chế độ full-node



--- D:/i18n.module.ori	Sun Jul 05 16:54:22 2009
+++ D:/i18n.module	Sun Jul 05 16:56:17 2009
@@ -512,6 +512,8 @@
       return "$alias.language ='$current'" ;

     case 'node':
+      return "$alias.language ='$current'" ;
+
     case 'translation':
       return "$alias.language ='". i18n_selection_mode('params') ."' OR $alias.language ='' OR $alias.language IS NULL" ;

Categories: Drupal talk

patch: relevant_content & i18n

Wordpress.org Drupal posts - 3 hours 38 min ago

1 cái patch bé xíu để relevant_content làm việc tốt hơn với i18n


--- D:/relevant_content.module.ori	Sun Jul 05 16:19:47 2009
+++ D:/relevant_content.module	Sun Jul 05 16:06:36 2009
@@ -505,7 +505,7 @@

   // Run the query and loop over the resultset, storing the returned nodes in an array using the Node ID as a key and the 5 fields selected as the values
-  $result = db_query($sql, $values);
+  $result = db_query(db_rewrite_sql($sql), $values);
   $nodes = array();
   while ($row = db_fetch_array($result)) {
     $nodes[$row['nid']] = $row;

Categories: Drupal talk

Drupal code sprints for PostgreSQL

Josh Waihi - 9 hours 33 min ago

One the the biggest obstacles in Drupal development for PostgreSQL is that Drupal development is MySQL based with addtional support for other databases. This means usally, all the optimizations for Drupal are for MySQL, and this can often turn to be a de-optimization for PostgreSQL.

In the time I've spent developing on Drupal and as one of the Drupal PostgreSQL maintainers, I spend most of my time fixing the PostgreSQL driver when a new feature has been implemented and doesn't work on PostgreSQL. Quite often this means making PostgreSQL work like MySQL.

read more

Categories: Planet Drupal

photo.jpg

Flickr - July 4, 2009 - 21:10

drupalsliu posted a photo:

photo.jpg

Sent from my iPod

Categories: Drupal talk

Celebrating freedom with open source (TechRepublic)

Yahoo! News - July 4, 2009 - 19:21
As of this writing it is Independence Day here in the USA. On this day Jack Wallen ruminates on the freedoms that Linux has brought to him and the millions of other users. Do you share in his sentiment? Or are you one of those that espouses "It's just an operating system!"?
Categories: Drupal talk

Boulder Drupal Meet-up

Groups - Events - July 4, 2009 - 16:35

Meet and greet starts at 6:00 with pizza and drinks. Presentations and discussion start between 6:30 and 7:00pm.

Share your Drupal achievements, discoveries, questions and even frustrations with your local open source community/colleagues.

As usual, the agenda is open. Maybe you have something you'd like to showcase or discuss? Or questions relating to a project you have? The meetups are for you.

The meet-up will take place at pingVision in downtown Boulder. More info.

Hope to see you there!

Denver / Boulder Colorado User Group (DBUG)

Central Florida July Meetup

Groups - Events - July 4, 2009 - 14:15

Join us on Saturday, July 18, 2009 from 1-3PM for a 2 hour meetup at MindComet's offices in Altamonte Springs.

Damien will be leading the main discussion about the Context module. John from South Florida has also offered present some stuff.

Looking forward to seeing everyone there!

Thanks,
-mike

Florida

Drupal + cPanel + phpMyAdmin varmuuskopioiden palauttaminen

Wordpress.org Drupal posts - July 4, 2009 - 11:39

Ilman komeita palvelinsoftia tai rsyncattuja peilauksia Drupalista joutuu ottamaan varmuuskopioita käsin. Joskus manuaaliset varmuuskopiot tulevat tarpeeseen muuten hyvin varmistetulla palvelimella, esimerkiksi ennen isojen päivityksien asentamista Drupaliin. Varmuuskopion ottaminen Drupalista tarkoittaa sekä tiedostojärjestelmän että tietokannan huomiointia.

Tiedostojärjestelmä voidaan kopioida FTP:llä, mutta koska Drupalissa on runsaasti tiedostoja ja hakemistoja, komentorivin käyttäminen (ja vaikka käytön opettelu siinä samalla) on reilusti nopeampaa kuin FTP-session seuraaminen. Komentoriviltä tiedostot yhdistetään tar-paketiksi, joka tämän jälkeen pakataan gzipillä. Ennen tätä on kätevä ottaa tietokannasta varmuuskopio ja tallentaa se kansioon, joka liitetään tiedostojärjestelmän kanssa samaan tar-pakettiin. Näin tietokanta pysyy muun varmuuskopion mukana.

Käytännössä olen tullut ottaneeksi pienten päivitysten yhteydessä tietokannan varmuuskopion komentoriviltä, pakanneeksi kaikki tiedostot yhteen ja tallentamalla paketin aktiivisten verkkosivujen kansion juurihakemistoon, josta niitä ei tule vahingossa poistaneeksi tai liittäneeksi osaksi seuraavaa varmuuskopiota. Isojen päivitysten yhteydessä olen ottanut lisäksi tietokannan varmuuskopion phpMyAdminin kautta, koska Drupalin tietokantarakennetta joutuu monesti seuraamaan isojen päivitysten mukana ja seuraaminen ja muutosten tekeminen on helppoa graafisen käyttöliittymän kautta. Samalla kun phpMyAdmin on kerran auki, voi tietokannan tarvittaessa palauttaa tätä kautta ja käyttöoikeusongelma (josta lisää alempana) cPanelin kanssa voidaan ratkaista samalla kertaa.

mysqldump -u username -p mydatabase > tietokanta_dump.sql
#luo SQL-lauseet tietokannan nykytilaan palauttamisesta
tar -cvf kaikki_tiedostot.tar *
#kopioi kaikki hakemiston ja alihakemistojen tiedostot yhdeksi paketiksi
gzip kaikki_tiedostot.tar
#tiivistää paketin
mv kaikki_tiedostot.tar.gz ..
#siirtää varmuuskopion pois julkisesta kansiosta (ellet siirrä/kopioi sitä toiselle palvelimelle, kannattaa tehdä edes tämä jotta varmuuskopio pysyy tallessa)

phpMyAdminissa varmuuskopio tietokannasta otetaan Export-toiminnolla. Valitse tietokanta ja Export-välilehdellä tallenna tietokantaote tiedostoksi, jolloin sen voi ladata omalle työasemalle säilytystä tai edelleenlähettämistä varten.

Varmuuskopion palauttaminen

Drupalin ja moduulien päivityksien mukana tietokantaan lisätään usein uusia tauluja ja tiedostojärjestelmään ilmestyy uusia tiedostoja. Kun varmuuskopiot halutaan palauttaa, on syytä ensin poistaa vanhat tiedot kokonaan ja siirtää kopiot tilalle vasta sitten. Jos varmuuskopiot palauttaa uudemman tietokannan tai hakemistopuun päälle, päivityksistä voi jäädä ylimääräisiä tauluja tai tiedostoja joista voi olla haittaa myöhemmin.

Tiedostojärjestelmän palauttaminen on helppoa. Vanhat pois (tai talteen) ja varmuuskopio tilalle.

rm -rf *
mv ../kaikki_tiedostot.tar.gz .
tar -zxvf kaikki_tiedostot.tar.gz .

Tietokannan palauttaminen on cPanelin valvomassa ympäristössä hieman konstikkaampaa. Kirjaudu cPanelin MySQL-sivulta phpMyAdminiin ja jätä cPanelin MySQL-sivu auki. phpMyAdminin käyttäjällä ei ole oikeutta drop database -lauseeseen, eikä tästä syystä phpMyAdminin rename database -toimintokaan toimi. Tietokanta pitää siis poistaa cPanelin MySQL-sivulta. Kun tietokanta on poistettu, se on luotava tyhjänä (ja tietenkin saman nimisenä) uudelleen, jälleen cPanelin kautta. Tämän jälkeen tietokantaan liitetään sama käyttäjä kuin sillä aiemminkin oli, jonka jälkeen phpMyAdmin on taas toimintakykyinen. Tietokannan varmuuskopion voi palauttaa valitsemalla (tyhjän) tietokannan ja Import. Sivulla on lomake omalla työasemalla olevan kopion lähettämiseen.

Ongelma tietokannan palauttamisessa

phpMyAdminista otettu varmuuskopio ei kuitenkaan ole suoritettavissa cPanelin alaisuudessa toimivasta phpMyAdminista. Syynä on create database -lause, jonka phpMyAdmin lisää Export-toiminnossa tietokantaotteeseen. cPanelissa tätä lausetta ei saa tietokannan käyttäjätilien oikeuksiin. Lausetta ei tässä vaiheessa tarvitakaan, koska loimme aiemmin tyhjän tietokannan cPanelin kautta. Muokataan siis omalla työasemalla olevaa tietokantakopiota.

Jos tiedosto on gzipattu, se pitää ensin purkaa:

gunzip tietokanta_dump.sql.gz

Avaa tiedosto vimillä tai muulla tekstieditorilla ja poista tai kommentoi tiedoston alkupuolella oleva rivi

CREATE DATABASE `mydatabase` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
USE `username`;

Tallenna tiedosto ja käytä phpMyAdminin Import-toimintoa uudelleen. Tiedoston lähettäminen ja tietokannan kirjoittaminen kestää hetken aikaa. Jos skandien tai euromerkkien ja muiden jenkkien mielestä epästandardien merkkien kanssa on ongelma, tietokannan palauttamista voi kokeilla määrittämällä Import-sivulta käytetyn lokaalin toiseksi.

Categories: Drupal talk

Studenten lernen [mit/für] Blogs

Wordpress.org Drupal posts - July 4, 2009 - 09:34

In meinen Kursen “Betriebliche Informationssysteme/Business Applications” (beide auf Englisch), die durch ein Internet-Blog unterstützt wurden, fanden in der letzten Woche Abschlusspräsentationen der Studenten statt: 13 erstaunliche professionelle blog-basierte Studentenprojekte wurden von den insgesamt 65 Studenten im Verlauf des Semesters erstellt, und umfassen Lernmodule, Info- und Community-Sites.

Die Lernkurve der Studenten war durchweg steil: in drei Monaten mussten die Studenten die folgenden Techniken und Prozesse meistern:

  • Projektmanagement in Teams von 4-6 Studenten
  • WordPress blogging Software – drei Teams stellten sich sogar den erweiterten Anforderungen von self-hosted blogs auf meinem eigenen Server
  • Forschungsfragen formulieren und erarbeiten – in so weit auseinanderliegenden Bereichen wie Bewerbungsstrategien, Saubere Energien, Wahlinformationen 2009, Informationen zu Reisen, Geschlechterorientierung, Poker, Gewaltfreier Kommunikation… u.v.a.m.
  • Professionelle Präsentation ihrer Themen und der Autoren auf dem Internet
  • Usability-Prüfung und Beziehungsmanagement mit existierenden und potentiellen Lesern der Blogs
  • Team- und Gruppendynamik

Trotz des übervollen Semesterplans, den wir diesen jungen Menschen zumuten (unvergleichbar den Erfahrungen, die ich selbst als Student vor 20 Jahren gemacht habe) schafften es alle Studenten, ihre Aufgaben selbstorganisiert, vollständig und professionell zu lösen – ich bin sehr stolz auf ihre Leistungen!

In den meisten Fällen sind die Bloginhalte aktuell, interessant und einzigartig. Viele dieser Blogs könnten leicht wachsen und sogar von kommerziellem Interesse sein, wenn ihre Autorenteams es schaffen, größere Nutzergruppen zu erreichen – eine spannende Herausforderung für diejenigen, die sich ihr stellen mögen.

Alle Studenten beherrschten ihre Software (WordPress) gut – dank der individuellen Blogs, die ebenfalls überwiegend sehr eindrucksvoll ausfielen. Trotzdem war die Meinung der Mehrheit, dass die Teamprojekt-Seiten als Content Management Systeme besser ausgefallen wären – CMS wie Drupal bieten mehr Möglichkeiten, den Content interaktiv zu gestalten, Nutzerdialoge zu führen (z.B. durch Foren), und vorhandene Inhalte zu taggen.

Ein Ende des ersten Erfahrungsabschnitts – aber nur der Beginn einer langen, spannenden Reise!

m birkenkrahe

Categories: Drupal talk

OSSCube Joins Acquia Gold Partner Program - BigNews.biz (press release)

Google News - July 4, 2009 - 02:35

OSSCube Joins Acquia Gold Partner Program
BigNews.biz (press release)
OSSCube has received substantial and sustained recognition for its Drupal technology solutions, and is fully committed and fully equipped to deliver ...
OSSCube Joins SugarCRM Gold Partner And SugarCRM Authorized ...BigNews.biz (press release)

all 8 news articles »
Categories: Drupal talk

DrupalEasy Podcast 13: Talking RDF with Benjamin Melançon

Drupal Easy - July 3, 2009 - 19:18
Download Podcast 13

Benjamin Melançon of the Agaric Design Collective talks with Mike Anello about RDF in Drupal. Benjamin participated in the RDF in Drupal 7 code sprint in Ireland in May.

read more

Categories: Planet Drupal

Why Drupal needs a Design Community Manager

Leisa Reichelt - disambiguity - July 3, 2009 - 18:45

I’ve been working with the Drupal community on design projects for coming up to 12 months now - a splash in the ocean compared to many in the Drupal community but long enough to get a feel for how things work.

The ‘paid’ time I have left on the d7ux project is almost run out and I’m left feeling frustrated - not just by the work that I’d like to be able to continue to do on the Drupal 7 User Experience, but also by the great potential for building a critical mass of great designers and UX people in the Drupal community and the different types of activities that could spur this on, and the impact this could have on Drupal adoption and sustainability as an Open Source software project. So much opportunity, so little resource.

Despite the fact that I think there are probably a contingent within the Drupal community who are hoping that Mark & I are just going to go away once we stop getting paid for d7ux, the fact is that this is unlikely to happen any time soon. For various reasons and in various ways, I think we’re both kind of hooked on Drupal, or at least it’s amazing community.

Having said that, I know for myself it will be difficult to carve out any significant amount of time from the paid project work I’ll move onto and the demands joy of a family with a young child - I have long since given up on a social life!

At best, I hope to commit to spending a hour a day (or 5 hours a week) on Drupal post the official d7ux project. This is *far* less than others commit for ‘free’ each week but much more than many are able to consider committing.

(Having said that, have you seen that Matt Webb video I posted just before this post? What are you doing with your 100hrs?)

Here’s the thing… I really want to make those 5hrs a week count. At the moment, the logical place to spend those hours is bickering in the issue queue. Whilst some time does definitely need to be spent there, I think for the Design & UX community to spend too great a proportion of their time battling out grassfire by grassfire is not productive use of our time… but what can we do with just 5hrs?

I think the answer lies in crowdsourcing our time around big projects. Creating and managing projects that lots and lots of people can contribute an hour here and there to, and yet great and coherent value is created. I have some thoughts what kind of projects these might be:

  • creating/maintaining/applying an design pattern library
  • consulting with developers who are in the early stages of developing a module that has UI elements and providing them with assistance *before* they code a UI
  • concentrated work on known difficult interfaces that should be easier. (edited to delete unnecessary snarky remark at a specific module)
  • more microprojects!but my absolute favourite pet project is:
  • crowdsourced usability testing video library: create a library of video snippets of usability testing conducted by people around the world and tagged so that they can be used as a datasource to support design decision making AND to be pulled out over and over and over again to help maintain awareness of people-who-use-Drupal-who-are-not-us

Each of these projects (and I bet there are dozens more just as good or better!) provide:

  • ways for designers and UX people to contribute in a rewarding way to the Drupal community (contributing to the issue queue is v important yes, but can at times be incredibly frustrating and demoralising)
  • opportunities for new people to contribute to the community from their first interaction (rather than being smacked on the nose, told that everything has already been thought of and given a list of issues to read before proceeding),

Growing a vibrant design & UX community within the Drupal community in the long term and allowing Drupal to benefit from that (beyond finally starting to see some gorgeous looking sites that are Drupal-powered) is going to require some nuturing and creativity.

It needs someone to create and faciliate these ‘crowdsourced’ efforts and to promote them with in the Drupal community and within the broader Design/UX community.

But there is one big problem - in order to provide the framework for hundreds of people to start contributing their 5hrs a week, you need someone setting up and managing said framework. I think that this role is a Design Community Manager, I think it needs to be a paid role, and I think it should probably be about 2 days/wk.

So the three questions are:

  • this is something pretty different for the Drupal community… is this something we’re willing to try?
  • who’s going to sponsor this initiative, as in, put up the cash (and no doubt win the love and respect of both the Drupal and Design communities)
  • who is the guy/gal for the job (but let’s answer the first two before we get into this. Be assured there are some great candidates)
Categories: Planet Drupal

New Drupal security updates available - CMS Critic

Google News - July 3, 2009 - 18:26

New Drupal security updates available
CMS Critic
There are two new security updates available for Drupal. One for the 5.x series and one for the 6.x series. These updates are in response to a security ...

and more »
Categories: Drupal talk

DesignBump “The Digg For Designers Website” Launches New Design

Social CMS Buzz - July 3, 2009 - 17:26
DesignBump a popular social voting site for design related topics have just launched a great new modern looking design of their own. The new design which we think looks fantastic very much improves on previous versions and gives a cool modern look to the site. DesignBump is a site we at Social CMS Buzz have been [...]
Categories: Planet Drupal
Syndicate content
 
 

Drupal is a registered trademark of Dries Buytaert.