Salut,
La PHP Geek Meet 6 Cluj am prezentat inca putin din functionalitatile Drupal. Un studiu de caz pentru un director web, functionalitati de import / export, enhanced SEO & more.
Este vorba despre http://www.drug-rehabs-new-york.com/
Salut,
La PHP Geek Meet 6 Cluj am prezentat inca putin din functionalitatile Drupal. Un studiu de caz pentru un director web, functionalitati de import / export, enhanced SEO & more.
Este vorba despre http://www.drug-rehabs-new-york.com/
Salut,
Public si rezultatele chestionarului de Drupal la PHP GeekMeet Cluj-Napoca. Initial as fi vrut sa las chestionarul sa se desfasoare pe o perioada mai lunga dar am convenit ca raportat la prezenta normala la un PHP GeekMeet Cluj, un numar de 20 de respondenti pot fi considerati esantion reprezentativ.
Aici sunt si rezultatele:
|
De cate ori ai participat la PHP GeekMeet ?
|
|||||||||||||||||
|
|
|
||||||||||||||||
|
Folosesti Drupal?
|
|||||||||||||
|
|
|
||||||||||||
|
Te intereseaza si alte prezentari de Drupal?
|
|||||||||
|
|
|
||||||||
Recent, am avut o prezentare la PHP GeekMeet Cluj Napoca, referitoare la Drupal.
Elemente de baza, avantajele si dezavantajele utilizarii Drupal ca unealta de lucru.
Prezentarea o gasiti aici:
Hi, I recently found a very problematic situation. Wanted to ‘travel’ through some language aware links and Drupal l() function does not process with the language switcher.
I found a very particular solution (only to be used with Path prefix language negotiation ).
I used it inside my template.php file, and used it as THEMENAME_l($text, $path, $options)
So the code for custom l() is:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | function THEMENAME_l($text, $path, $options = array()) { global $language; // Merge in defaults. $options += array( 'attributes' => array(), 'html' => FALSE, ); // Append active class. if (($path == $_GET['q'] || ($path == '<front>' && drupal_is_front_page())) && (empty($options['language']) || $options['language']->language == $language->language)) { if (isset($options['attributes']['class'])) { $options['attributes']['class'] .= ' active'; } else { $options['attributes']['class'] = 'active'; } } // Remove all HTML and PHP tags from a tooltip. For best performance, we act only // if a quick strpos() pre-check gave a suspicion (because strip_tags() is expensive). if (isset($options['attributes']['title']) && strpos($options['attributes']['title'], '<') !== FALSE) { $options['attributes']['title'] = strip_tags($options['attributes']['title']); } // a small url tweak $url = check_url(url($path, $options)); $url = base_path().(!empty($options['language'])?$options['language']->language:'').'/'.str_replace(base_path(),'',$url); // ------------------- return '<a href="'. $url .'"'. drupal_attributes($options['attributes']) .'>'. ($options['html'] ? $text : check_plain($text)) .'</a>'; } |
This is a verry simple captcha challenge. It’s based on the algorithm of Scott Allen (http://www.hybrid6.com/webgeek/plugins/wp-spamfree), a captcha free plugin for WordPress.
The user has to do no other input, just it’s browser should support javascript and cookies. (~95% of internet users have this). So might stop annoying 95% of your users and advice the other 5% to install javascript or to allow cookies support for their browser.
The process is very simple. This module requires CAPTCHA Module (http://drupal.org/project/captcha).
After installing both modules, you simply goto configuration page of CAPTCHA Module admin/user/captcha and chose default challenge type to: Invisible CAPTCHA (from module invisible_captcha).
And that’s it. More information on CAPTCHA module here.
Later edit: Updated to comply with user permisions.
Powered by WordPress