[support] new node

bharani kumar bharanikumariyerphp at gmail.com
Sun Feb 14 19:21:23 UTC 2010


Hi ,


am displaying A to Z, in the verticle,

i have another block , when the user click the a or b or c,

i want to pass these query string as argument for the function ,

but when i click the a, it goes to pagenot found, why ?


i nothing we to do some stuff in the node or somewhere ,

Can u guess and tell me , what i have to do now,,



This is my block

<?php

function alphabeticalsearch_block($op = 'list', $delta = 0, $edit =
array()){

     if($op == "list") {
            $block = array();
          $block[0]["info"] = t('Alphabetical Search');
        return $block;
      }
  elseif($op == 'view'){
        for($i=65;$i<=90;$i++){
              if($i==90){
              $show_pipe_line = '';
              }else{
              $show_pipe_line = '|';
              }
             $alphabet_link_as = chr($i).$show_pipe_line;
             $abc= strtolower(chr($i));
             $show_alphabet .= "<a
href='node/$abc'>".$alphabet_link_as."</a>";
        }
     $block['subject'] = 'Click to send request';
     $block['content'] = $show_alphabet;
    return $block;
  }

}



Am show the A to Z ,

When user hit the a ,

Then i want to show all article which start from a character,

so i want to pass this a as argument for my another article title showing
function,


Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20100215/965805f7/attachment.html 


More information about the support mailing list