Skip to main content

Home/ Drupal for Developers/ Group items tagged settings

Rss Feed Group items tagged

Daniel Gregoire

Configuring settings using drupal_execute | drupal.org - 0 views

  •  
    Tagged for D5, but has D6 examples. Using drupal_execute (to be called drupal_form_submit in D7) to set site settings programmatically.
Daniel Gregoire

Advanced theme settings | drupal.org - 4 views

  • here. dman - April 6, 2009 - 22:10 This worked fo me. An additional logo (Appeared in the footer everywhere) Not sure why I had to put the submit handler into the #validate pass :-/ It was copied from the existing theme settings funcs. 'campaign_' is the theme name.
  •  
    d.o page for adding theme-settings.php file for custom theme features available at theme configuration page. Highlighting comment that successfully adds an "upload" field for uploading images for custom features.
Hendy Irawan

Run multiple sites from the same code base (multi-site) | drupal.org - 0 views

  •  
    "If you are running more than one Drupal site, you can simplify management and upgrading of your sites by using the multi-site feature. Multi-site allows you to share a single Drupal installation (including core code, contributed modules, and themes) among several sites. This is particularly useful for managing the code since each upgrade only needs to be done once. Each site will have its own database and its own configuration settings, so each site will have its own content, settings, enabled modules, and enabled theme. However, the sites are sharing a code base and web document root, so there may be security concerns (see section below for more information)."
Bensan George

Setting up an advanced ddblock - 0 views

  •  
    Steps on setting up a slideshow with dynamic image block in Drupal
Daniel Gregoire

Setup of /sites directory for multi-site | drupal.org - 0 views

  •  
    Good overview of directory structure for setting up Drupal multisite installations.
Scott Blackburn

Database Scripts | drupal.org - 0 views

  • The Database Scripts project a series of command line scripts which will dump, erase, restore and merge databases. They are specifically set up to work the best when developing within the subversion version control environment. Their primary goal is to keep database configuration settings in sync with file changes, and then to allow a method to merge a development database with the production database
Bensan George

Step by Step Setup of Calendar View | drupal.org - 0 views

  •  
    Setting up a calendar view in Drupal
Daniel Gregoire

Create your own API Site in Drupal 6 | drupal.org - 2 views

  •  
    Method for setting up a local/mirror copy of api.drupal.org. Core and contrib explained (though see comments for more details).
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.
Daniel Gregoire

Restrict specific folders from public download (via .htaccess) | drupal.org - 0 views

  • If you set "public" as the download method, you can still protect some of your folders by settings in your .htaccess file, if you have mod_rewrite enabled. For instance, if your files live in sites/default/files, and you want to protect everything in sites/default/files/protected_download_dir, then you can add the following line to your central .htaccess file: RewriteRule ^sites\/default\/files\/(protected_download_dir\/.*)$ index.php?q=system/files/$1 The files in this folder (or, all files that match the regular expression) will not be served directly by apache, but by a full drupal request using the file_download() callback. The routing for system/files is defined in system_menu(). Access Checking for File Downloads Modules can do access checking on files downloaded through file_download(), by implementing hook_file_download(). For instance, the filefield module will do access checking for all files that you upload via filefield. It will only give access to people who are allowed to see the node and the field the file belongs to. In addition, you can look for modules that restrict file downloads based on the folder name or other criteria. Access Checking built-in with Filefield The filefield module has access checking built-in. To make use of this, please Make sure to use the latest dev version of filefield (for now). The current offical release (08/2009) has a bug in access checking. Have a look into filefield issue 516104. Configure the filefield you want to protect. Use the filefield path module, to define where the files for the filefield should be stored by default. Add a line to your .htaccess to protect this folder (see above). Use whatever modules to restrict node or field access.
Fabola smith

Drupal Blogs,Do It with Drupal,Drupal Development Blogs | Ebizon NetInfo - 0 views

  •  
    Do It With Drupal - 2009 is coming up in New Orleans and is set to be bigger and more fruitful than the event held in 2008.
Daniel Gregoire

Reducing server resource utilization for busy sites by implementing fast 404s in Drupal... - 3 views

  • // List of extensions for static files $exts = 'txt|png|gif|jpe?g|shtml?|css|js|ico|swf|flv|cgi|bat|pl|dll|exe|asp|xml'; // It is not an imagecache path, which we allow to go through Drupal if (!strpos($_SERVER['QUERY_STRING'], 'imagecache')) { // It is not our main feed page if ($_SERVER['QUERY_STRING'] != 'rss.xml') { // Is it a static file? if (preg_match('/\.(' . $exts . ')$/', $_SERVER['QUERY_STRING'])) // Just send a 404 right now ... { header('HTTP/1.0 404 Not Found'); print '<html>'; print '<head><title>404 Not Found</title></head>'; print '<body><h1>Not Found</h1>'; print '<p>The requested URL was not found on this server.</p>'; print '</body></html>'; exit(); } } }
  •  
    Fast Drupal 404 handling for static files.
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

have you seen ProjectPier? | groups.drupal.org - 0 views

  • We – eCentres.net - are using, with a lot of problem of daily configuration and setting, rather than 60 modules and three subdomains. The collaborative community – working in European research projects - now has a basecamp of 3000 users – biannual newsletters - and 300 collaborative participants, who needs mainly: a join calendar of events; the work-groups and all the rest of traditional modules associated. In addition, the basic forum and messaging and all the modules - it is needed more - of users, communities and profiles, usermap, userlist, search users, directory, etc On the other hand the modules of sharing files and documents - not absolutely solved - maybe with the drupal-ftp module... And finally and a lot important the media sections, podcasts, image gallery and video section - not well solved. The next steps is to integrate the donations, fees and commercial solutions and multichannel communication as SMS, and skype and IRC solutions and webminars. Any other simple or partially CWE in my honest opinion are not really sustainable.
  •  
    have you seen ProjectPier?
john sega

Online Threats and Dangers - 2 views

I downloaded an audio file from an unpopular website, when I opened it my computer crashed and since then, I have troubles turning it on because it would no longer display the correct desktop setti...

Desktop Computer Support

started by john sega on 07 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
1 - 20 of 23 Next ›
Showing 20 items per page