Submitted by clemens on Fri, 2008/03/14 - 5:32pm
Submitted by clemens on Fri, 2008/03/14 - 5:28pm
Submitted by clemens on Tue, 2008/03/11 - 10:44am
How does one build a 'my groups' block? I thought it would be an out of the box thingy. But it is not.
On the channel the answer was DIY. So this is what I build.
The code patterns below are the same. The use cases differently.
- Show my groups
- Add special node type immediately to a group. This is for speed
- Generate a node and redirect elsewhere. This is for speed and timeing usage.
My Groups
This is just looping through the group ids of the current user.
global $user;
$items= array();
Submitted by clemens on Sun, 2008/03/09 - 5:43pm
What is the best way to translate a relational database into a drupal based site.
In looking for modules i ran into the next modules.
nodefamily looks promissing to navigate through nodes. It promisses to be a directed graph so it MUST BE cool ;-)
views_fusion makes it possible to create joined views "fuse multiple views into one" It looks unmaintained since may 2007.
nodehierarchy looks like nodefamily.
Submitted by clemens on Sun, 2008/03/09 - 5:15pm
Have setup the statictics modules I note ip adres 66.249.73.205.
Using http://ip-lookup.net/index.php reveils it's a google bot. Thanks!
But how do I know the other ip's. It would be nice to have this lookup build into the statistics.
Submitted by clemens on Fri, 2008/03/07 - 1:47pm
It's amazing to see so many modules being converted.
I definitely needs to start converting my modules too!
It take quite some time to upgrade my modules. I guess coder.module will help a lot with all hints.
Submitted by clemens on Fri, 2008/03/07 - 10:18am
Submitted by clemens on Thu, 2008/03/06 - 2:45pm
Call me stupid but I thought it was easy. Building a new payment method.
I know drupal development a little. I read the core_systems and ubercart_hooks. No sweat developing this new payment method.
Submitted by clemens on Mon, 2008/03/03 - 12:18pm
I still forget how to do the database and user creation and drop goes. So why not make a note.
Creating
create database test;
create user 'test' identified by 'pwtest';
grant all on test.* to 'test'@'localhost' identified by 'pwtest';
Cleaning up
drop user test;
drop database;
Yeah ... call me stupid ;-)
Submitted by clemens on Mon, 2008/03/03 - 11:21am
In building my clieop3 module together with uc_payment_direct_debit I ran into the missing of documentation about the callback parameter $op of hook_payment.
That was a bummer. Because the drupal development process is still a lot of reverse engineering. Having read Pro Drupal Develpment eases the pain a little. Finding ones way studying other modules is ok if it's not on a daily basis. I must be doing something wrong.
The good side is that this $op gets documented now.
Pages