癮科技 Drupal 搞怪技?

http://www.cool3c.com/
James / 神の豚
Nov 19, 2011

Views / Imagecache

CCK/Field

Create flag

CCK/Field + Views - Basic


大人物

CCK/Field + Views - Basic + .tpl.php (1)


大人物

CCK/Field + Views - Basic + .tpl.php (2)

<?php
  preg_match('/\<a[^\>]*\>(.*?)\<\/a\>/i', $title, $matchTitle);
  if (mb_strlen($matchTitle[1]) > 10) {
    $title = str_replace($matchTitle[1], 
      mb_substr($matchTitle[1], 0, 10) . '...', $title); }
?>
<div class="view-item view-daman_lastest_comment-item clearfix">
  <div class="view-field view-data-uid">
    <?php print $node->comments_userpic; ?>
  </div>
  <div class="view-field-block view-data-data">
    <div class="view-field view-data-info">
      <?php print $name . ' ' . t('commented') . ' ' . $title; ?>
    </div>
    <div class="view-field view-data-content">
      <?php print filter_xss($comment, array()); ?>
    </div>
  </div>
</div>

CCK/Field + Views - Basic + .tpl.php (3)

CCK/Field + Views - Flag + Custom theme (1)


癮車報

CCK/Field + Views - Flag + Custom theme (2)

CCK/Field + Views + Imagecache - Custom theme (1)


好房屋

CCK/Field + Views + Imagecache - Custom theme (2)

Translate - Module *.po

Translate - Locale translation interface

Translate - Translation template extractor

Protect - CAPTCHA/reCAPTCHA

Protect - Comment extend mange (Custom)

SEO - Google Analytics

SEO - Global Redirect, Page Title

SEO - robots.txt, XML Sitemap

除了Cache還是Cache (1)

除了Cache還是Cache (2)

除了Cache還是Cache (3)

cache_set()
+
cache_get()

Devel到底可以做啥? (1)

Devel到底可以做啥? (2)

cron.php...其實可以改裝?

跑Cron跑到天荒地老...

Q&A

.....