Recent comments

  • Working at GoingOn Networks   1 year 12 weeks ago

    Hi Tao!
    Can you post something about how to do an SaaS app with Drupal?

    I'm trying to do this but with no much success.
    I wanna to do something like gmail you know. Something that I can put many users but this users can't see other users content. It will be a app for lawyers. They can put their jobs, they notes, etc..

    But the real problem is that some group of lawyers(community, group, you know) can share they content. And other group cannot even know about the existence of that group. Do you understand me? It's hard? It's possible to do with Drupal?

    Thanks for share.

    Mayk Brito
    http://mayk.brito.net.br
    @maykbrito

  • Mysqldump and Unicode   1 year 12 weeks ago

    Hi Louise! Small internet isn't it?

  • Reverse Node References   1 year 15 weeks ago

    Unfortunately Relationships seem to occur at a 1:1 level.

    So say I a content type of FAQ, and it is extended with node ref. In an example node, I edit and add 4 nodereference links to other (related FAQs).

    Now in Views, I have 2 choices:
    a) I can build FOUR relationships, indexed by Delta, and arrive at my 4 values. But got help me if the content type allowed "unlimited" noderef links. :-)

    b) I can have the views grab the raw output of Node Reference. Unfortunately, Node Reference output is pretty limited in that it does not present additional fields like NID and Title... it hardcodes a URL around the Title (and exposes no other data about the referred node). The /node/123 URLs are OK for simple Drupal sites, but if you use custom pathing (as is done with Panels pages) then you are stuck. In your Views templates however you can chop up the NodeRef URLs and reconstruct them as you needed... but it is a pain.

    But if you need just 1 result from the Views Relationship, this IS a good solution. :-)

  • Wikis in Drupal 6 - Module Review   1 year 16 weeks ago

    I noticed this was a download from a personal web site? Any plans to put this on drupal.org as a standard module? I think you'd attract more attention this way, as it would open it up to the whole drupal community process, and gain it more exposure.

  • The best way to show results?   1 year 19 weeks ago

    In Drupal 6, you can also use $form_state['rebuild'] and $form_state['storage'], to rebuild the form along side with the results.

    <?php

    function find_path_form(&$form_state){
     
    $form = ...build the form array...
     
    // show results if exists in $form_state['storage']
     
    if(isset($form_state['storage']['results'])) {
       
    $form['results'] = array(
         
    '#value' => $form_state['storage']['results']
        );
      } 
      return
    $form;
    }

    function

    find_path_form_submit($form_id, &$form_state){
     
    // get submited parameters
     
    $submitedParams = $form_state['values'];
     
    // custom function to query database ang return results
     
    $results = find_path_results( $submitedParams );
     
    // rebuilds form
     
    $form_state['rebuild'] = TRUE;
     
    // pass results to form
     
    $form_state['storage']['results'] = $results ;
    }

    ?>

    Note that if $form_state['storage'] is populated, $form_state['rebuild'] is automatically set to TRUE.

  • Mysqldump and Unicode   1 year 22 weeks ago

    Hello Tao,

    Just came across this googling for the right command flag too! Hope you're well!

    Louise

  • Setting up Eclipse PDT and XDebug   1 year 25 weeks ago
  • Reverse Node References   1 year 29 weeks ago

    you may also use

    <?php
    print views_embed_view(...);
    ?>
  • Wikis in Drupal 6 - Module Review   1 year 37 weeks ago

    it looks that "Drupal Wiki" is a professional but stand alone application. There is no single module or group of module you can install on your existing Drupal site.

  • Feel the Drush   1 year 37 weeks ago

    Hi, I have seen many forums and blogs, none worked for me to configure Drush on Windows. Now I'm a happy drush user.
    Thanks a lot.

    Cheers,
    Yojana

  • Wikis in Drupal 6 - Module Review   1 year 37 weeks ago

    I like the idea of using markdown. Do you simply rely on straight html for links, or do you use another filter?

    Thanks,
    Sean

  • Wikis in Drupal 6 - Module Review   1 year 40 weeks ago

    For what it's worth, generally I won't consider using a module unless it's on drupal.org. Have you considered packaging and releasing it there? You may be limiting your user base otherwise.

  • Welcome to BADCamp 2009   1 year 40 weeks ago

    Hey,

    I just wanted to say that I had a great time, and thank you volunteers for answering all most of my drupal questions.

    Drupal Forever!

  • Wikis in Drupal 6 - Module Review   1 year 43 weeks ago

    Hi,

    just to let everyone know I have developed a new wiki module for Drupal based on PMWiki. See Drupal Wiki Module for details

  • Mysqldump and Unicode   1 year 48 weeks ago

    Hey Tao! How funny... I was just Googling for this same information (I can never remember the arg) and happy to find you here. Hope the new gig is going well.

    Best,
    Scot

  • Private Uploads and Popup modules updated   1 year 50 weeks ago
  • NetBeans 6.5 vs PDT for Drupal Development   2 years 1 week ago

    Saw your "Notes from BADCamp Eclipse Installfest" post, and wondered if you've been back recently to explore and re-evaluate the latest NetBeans release. I'd be very curious to hear an updated review, and I bet others would too.

  • Feel the Drush   2 years 2 weeks ago

    Thanks for the post. I'd really like to get Drush working on Windows and have followed your steps, but get the following error when trying to run drush commands:
    'PHP.exe' is not recognized as an internal or external command, operable program or batch file.

    I use Wampserver2.0. Do you think that maybe the issue?

  • Wikis in Drupal 6 - Module Review   2 years 2 weeks ago

    In the meantime there is a professional Drupal Wiki implementation available. It is based on Drupal 6.14 (unhacked) with some general plugins and a lot new (not yet released) ones. That wiki is aimed to compete in the enterprise wiki market, not only in the "mediawiki / dokuwiki" secotr.

    Have a look at http://drupal-wiki.com

  • Popups API Modules in Action   2 years 8 weeks ago

    I was looking for something exactly like this, and the video was great.

    When I implemented a test, I get the 'Add New' as seen in the video, and it seems to work fine. However, if I click on a further 'Add New' within the popup itself, then it complains that pop-up chaining is not supported (yet).

    Is chaining only in the alpha version, or is there some other configuration or restriction that I'm not respecting? Has anyone got chaining working using the 6.x-1.0 version of this module?

    Is the 'alpha' version as ready for production as the regular version? In my case the general public is not entering data, so it doesn't have to be absolutely bulletproof.. they would rather have the chaining because it helps the workflow so much.

    Thanks for a great module - and any pointers from anyone appreciated?

  • Example from Intro to Module Development Presentation   2 years 11 weeks ago

    Thanks for this - I've been trying to figure this out for a while. However, I really want to limit the buttons on the top of the form to the node preview screen. In that way a user would be forced to preview the first node submission and then below the node preview they would be presented with a submit button so they don't have to scroll through the form again. If you could recommend something I'd really appreciate it.

  • Wikis in Drupal 6 - Module Review   2 years 15 weeks ago

    The article is almost a year old. The situation is likely to have changed a lot by now.

  • Welcome to BADCamp 2009   2 years 15 weeks ago

    Thanks, I have fixed the link.

  • Drupal and Spam 2.0 Presentation   2 years 15 weeks ago

    I am using mollum instead of recaptcha (although the good deeds bit does motivate). Hope this comment doesn't get flagged as spam like my previous one ;)

  • Wikis in Drupal 6 - Module Review   2 years 15 weeks ago

    You pust put me off trying ;)