Skip to main content

Home/ Drupal for Developers/ Group items tagged link

Rss Feed Group items tagged

Richard Sheppard

Backpack: Debugging Drupal - 4 views

  •  
    This page is linked from the Devel Module's project page http://drupal.org/project/devel . I don't know how long the link has been on the project page, but it looks very handy indeed.
Daniel Gregoire

Load Testing Tools and Tips | Tag1 Consulting, Inc. - 1 views

  • ApacheBench (ab)
  • $ ab -n1000 -c10 http://localhost/
  • Links: Project's web page: http://httpd.apache.org/docs/trunk/programs/ab.html Benchmarking Drupal code with ab: http://drupal.org/node/79237
  • ...5 more annotations...
  • Siege
  • siege -c 10 -i -t 5m -d 3 -f url_list.txt
  • Links: Project's web page: http://www.joedog.org/JoeDog/Siege Sproxy project page: http://www.joedog.org/JoeDog/Sproxy
  • Apache JMeter
  • Links: Project's web page: http://jakarta.apache.org/jmeter/ Load testing Drupal with JMuery, part 1: http://www.johnandcailin.com/blog/john/load-test-your-drupal-application... Load testing Drupal with JMuery, part 2: http://www.johnandcailin.com/blog/john/load-test-your-drupal-application...
  •  
    Load testing tools. ab and siege are command-line, JMeter is graphical (and written in Java).
Hendy Irawan

More info | Social Networking - 0 views

  •  
    "Essentially, this website is built around the Facebook-style Statuses module and the Facebook-style Micropublisher extension for it. These two modules (plus the ubiquitous Views module) are what power the "streams" of status updates, links, and images that you see on this site. The rest is mostly fluff. Cool fluff, but fluff nonetheless. My name is Isaac Sukin, a.k.a. IceCreamYou. I frequently blog and tweet about social networking, and I'm planning a blog series about topics I covered in my DrupalCamp presentation in the coming days and weeks. I wrote the Facebook-style Statuses suite, and I am mentoring the Micropublisher initiative for Google's Summer of Code. I've been working on social networking in Drupal since 2007."
Hendy Irawan

Social Networking in Drupal: my SouthEast LinuxFest Drupal Day presentation | Isaac Sukin - 0 views

  •  
    " * I gave a presentation on Social Networking at DrupalCamp South Carolina on June 13th, 2010 (hosted by the SouthEast LinuxFest). Here are the slides I presented (complete with my notes on them) in various formats, as well as a link to the demo site (feel free to play around) and the downloadable Feature I exported based on the demo site. Demo site: http://sndemo.dev3.webenabled.net/ Feature: http://community.featureservers.org/project/self-social-network (also attached) View slides online: http://www.slideshare.net/mediacurrent/social-networking-in-drupal-isaac... If you want to download the slides, I recommend the PPTX. Finally, thanks to Mediacurrent and Doug Vann for making it possible for me to give this presentation."
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

How to make CCK fields do some of the same tricks as taxonomy terms | !&# - 0 views

  • In Drupal, taxonomy.module implements hook_term to provide links among content which shares a given term. Site builders often use this feature to provide indexes and RSS feeds of their content. Taxonomy.module's purpose is to support the creation of controlled vocabularies which we can use to classify our site's content. If taxonomy.module were a prescription drug, this would be its "on-label" or indicated use. Using taxonomy.module vocabularies and terms to store essential data about our content is what I call an "off-label" use. You're not really creating a controlled vocabulary, and the term-node relationship in these cases isn't always classificatory. However, a clever web developer will use the tools that get the job done, and often taxonomy.module is the perfect tool for making this happen. Because this information is essential to your node's content, CCK fields are indicated for this use. However, CCK fields don't have built-in linking among nodes which share values for the same field. Also absent is any built-in RSS feed for a CCK field's value. This requires some theming and Views.
Scott Blackburn

Better themablity of group details block | drupal.org - 0 views

  •  
    This patch adds * classes to elements of group details block * keys with name of content type to content creation link array Both changes allow better themability of the group details block.
Scott Blackburn

Multiple domains or vhosts using different databases | drupal.org - 0 views

  •  
    go up one directory (cd ..) and delete the 'other' directory. now make a symbolic link (in unix: ln -s . other) to replace the directory and browse to the site. works now, eh?
Daniel Gregoire

Drupal Script Library | ToddGee.commie - 7 views

  •  
    Collection of shell scripts for automating Drupal tasks. Comment with link was posted to a Drupal group called Drubuntu.
Daniel Gregoire

The New Way To Generate Hashes In Drupal 7 | Engineered Web - 0 views

  •  
    Explanation of shift away from md5 to sha-2. See links to Drupal 7 api for (really easy) functions for generating url-safe sha-2 hashes.
webExplorations

Securing Drupal User Accounts | Mad Irish . net - 0 views

  • This helps to limit automated account creation attempts (by bots). This configuration can be accessed via the main Drupal navigation menu following the links for Administer -> User settings.
  • On the 'User settings' page you'll notice that some of the content of the e-mail templates are tokenized, including place holders such as "!username" and "!password." These tokens are replaced with user specific values before e-mails are sent. It is important to remove any occurrence of "!password" token to prevent user passwords being sent via e-mail. Without the password users must utilize a time sensitive link in order to activate their account or change their password.
  • You can install and utilize the Password Strength module (http://drupal.org/project/password_strength) in order to require that users select strong passwords
  • ...1 more annotation...
  • Another great module for protecting user accounts is the Login Security module (http://drupal.org/project/login_security). This module detects brute force, or automated password guessing, attacks and can prevent them by notifying administrators and locking accounts for a time.
  •  
    Several steps you can take to stop bots from spamming your client's site. It is no fun spending an afternoon deleting hundreds of SPAM comments.
1 - 20 of 22 Next ›
Showing 20 items per page