Skip to main content

Home/ Drupal for Developers/ Group items tagged need

Rss Feed Group items tagged

Scott Blackburn

Making Subversion/SVN recognize CVS Id and Revision tags | 2bits.com, Inc. - Drupal Dev... - 0 views

  •  
    One annoying aspect though is that almost all Drupal files use CVS style tags, such as the $Id$ one. Subversion does not recognize these by default. However, there is a way to make Subversion recognize these tags. This post describes the steps needed to achieve this goal.
Scott Blackburn

Views Help: How to get a field to "Link this field to its user" besides username | drup... - 0 views

  • Though one would think the $field object is what we wanted-- the actual object we needed is $row (even though we're only looking at one field in the row). Put the following into the field tpl file to see what the necessary info is: <?phpprint '<pre>';print_r($row);print '</pre>';?> Then, to actually make the link, put the following in your field tpl file: <?php$account = user_load($row->uid);print l($row->profile_values_profile_fullname_value, 'users/' . $account->name);?> Change 'profile_values_profile_fullname_value' to the proper field alias (based on the $row output). Also, be sure to change 'users' to whatever the path is for your user accounts. I also had another thought-- given your use case, you may want to consider the http://drupal.org/project/realname module as well. It will replace usernames with whatever field(s) you designate all over the site. EDIT: I had another thought. I'm not sure of the performance implications of doing a user_load in the template file. Another option is to add the 'User: name' field to the view but exclude it from display. Then you could avoid the user_load and change the code in the tpl file to: <?phpprint l($row->profile_values_profile_fullname_value, 'users/' . $row->users_name);?>
  •  
    theming the field tpl files for Views2
Scott Blackburn

Getting node path for theming list view | drupal.org - 0 views

  •  
    I recently need to theme a node path in a list view. Comment #1 did the trick: $node = node_load($nid); $path = drupal_get_path_alias('node/'.$node->nid);
Scott Blackburn

Content migration: options and strategies » Step Two Designs - 0 views

  •  
    Good article if you need to re-think site migration, especially from a content perspective. This isn't really about Drupal only.
Scott Blackburn

Boost | drupal.org - 0 views

  •  
    For sites that need to completely cache certain pages for anonymous users.
Leandro Ardissone

Creating a Compound Field Module for CCK in Drupal 6.x, from Poplar ProductivityWare Ar... - 8 views

  •  
    Create a new CCK field.
  • ...1 more comment...
  •  
    This is a nice foray into defining your own custom field types in CCK. Thanks for sharing. However, as regards "multi-groups" in CCK, I've used CCK version 6.x-3.x-dev and it's worth a look.
  •  
    Oh, really? I'm just needing to use multi-groups. Well, multiple-fields field group, or whatever. For example a recipe with ingredients where you can enter: amount (textfield), unit (option field), ingredient name (textfield). Thanks.
  •  
    when your ready to go to drupal 7 here is the article for that http://www.phase2technology.com/node/1495
samantha armstrong

FixComputerpProblemsSite Surely Knows How to Fix Computer Problems! - 1 views

I was having problems with my laptop before. Good thing FixComputerpProblemsSite helped me fix it. And they are really the experts when it comes to solving any computer related issues. They can eas...

fix computer problems Drupal drupal_howto drupal_best_modules drupal_performance drupal_theme drupal_problems_solved drupal_modules_to_watch drupal_sites drupal_module module

started by samantha armstrong on 07 Jun 11 no follow-up yet
hansel molly

Great Remote Computer Support Services - 3 views

Computer Support Professional offers unrivaled online computer support services that gave me the assurance that my computer is in good hands. Every time I needed the help of their computer support ...

computer support

started by hansel molly on 06 Jun 11 no follow-up yet
cecilia marie

Reliable Online Computer Repair - 3 views

My PC has been acting strange lately and I can no longer fix it on my own. I did everything I could but this time, I really need someone who can really fix my computer problem. I called Computer Pr...

computer problem

started by cecilia marie on 06 Jun 11 no follow-up yet
shalani mujer

One on One Professional Online Tech Support - 3 views

I love working with these guys. Their tech support technicians are very professional and polite. They offer one-on-one tech support. They listen to what your issues are, diagnose what your problem ...

tech support

started by shalani mujer on 06 Jun 11 no follow-up yet
seth kutcher

Two Thumbs Up For Computer Assistance Services - 2 views

I am so happy for the computer assistance that Computer Assistance Online gave me. They provided me with precise and fast solutions to my computer problem. Their computer specialists really know wh...

computer assistance

started by seth kutcher on 06 Jun 11 no follow-up yet
seth kutcher

The Best Remote PC Support I Ever Had - 1 views

The Remote PC Support Now excellent remote PC support services are the best. They have skilled computer tech professionals who can fix your PC while you wait or just go back to work or just simpl...

remote PC support

started by seth kutcher on 12 Sep 11 no follow-up yet
Rem PC

The Best Remote PC Support I Ever Had - 1 views

The Remote PC Support Now excellent remote PC support services are the best. They have skilled computer tech professionals who can fix your PC while you wait or just go back to work or just simply...

remote PC support

started by Rem PC on 12 Sep 11 no follow-up yet
Daniel Gregoire

Theming the User Registration Form in Drupal 6 | Trellon - 0 views

  • <?phpfunction themename_theme($existing, $type, $theme, $path) {  return array(    ...    // tell Drupal what template to use for the user register form    'user_register' => array(      'arguments' => array('form' => NULL),      'template' => 'user-register', // this is the name of the template    ),    ...  );}?>
  • <div id="registration_form">  <div class="field">    <?php      print drupal_render($form['account']['name']); // prints the username field    ?>  </div>  <div class="field">    <?php      print drupal_render($form['account']['pass']); // print the password field    ?>  </div>  <div class="field">    <?php        print drupal_render($form['submit']); // print the submit button      ?>    </div>  </div></div>
  • <?php  print '<pre>';  print var_export($form);  print '</pre>';?>
  • ...3 more annotations...
  • Don't forget to render hidden fields or it won't work ;) echo drupal_render($form['timezone']); echo drupal_render($form['form_build_id']); echo drupal_render($form['form_id']);
  • you also have to print the "token" in order to make the form work print drupal_render($form['form_token']);
  • From my own experience using a form tpl.php, you need to print the whole $form at the very end of the template to ensure that the form will validate upon submission. <?php print drupal_render($form); ?> Just adding the hidden form_build_id and the form_id fields will not mean the form will work. Printing the entire form at the end, however, will mean that all the stuff you wanted to hide in making the template will show. For those fields, include "unset" statements for each one: <?php unset($form['field_to_hide']); ?> Please correct me if I'm wrong or if there is a better way to do this.
shai edrote

They Are the Best Computer Tech Specialists - 1 views

I called Fix Slow Computer Today because I wanted them to fix slow computer fast. I need their expert computer tech specialist to help me with my slow PC problem. I heard they are the best and trus...

Fix Slow Computer

started by shai edrote on 13 Jul 11 no follow-up yet
shai edrote

They Are the Best Computer Tech Specialists - 0 views

I called Fix Slow Computer Today because I wanted them to fix slow computer fast. I need their expert computer tech specialist to help me with my slow PC problem. I heard they are the best and trus...

Fix Slow Computer

started by shai edrote on 13 Jul 11 no follow-up yet
shalani mujer

Enjoying Worry-Free Computer Use - 1 views

As an executive of a medium-sized company in Oakland, life has always been hectic to me except on weekends. Nevertheless, when I have some work that needs to be rushed, I am forced to do it at home...

tech support

started by shalani mujer on 08 Jul 11 no follow-up yet
hansel molly

Easy Access to Computer Support Professionals - 1 views

I have an online business and I use my computer all the time to monitor my sales and do my accounting, of course. Lately, I have been experiencing computer trouble and I cannot just let anyone fix ...

computer support

started by hansel molly on 08 Jul 11 no follow-up yet
‹ Previous 21 - 39 of 39
Showing 20 items per page