在Drupal 6下Input format中默認沒有PHP code,只有Filtered HTML和Full HTML。那么該怎么樣增加PHP code呢?
其實是因為Drupal 6沒有開啟PHP filter模塊。只需要:
以管理員身份登錄 -> Administer -> Modules -> Core - optional -> 選中PHP filter -> 保存配置
再進入Content management就可以看到Input format中增加了PHP code。
在Drupal 6下Input format中默認沒有PHP code,只有Filtered HTML和Full HTML。那么該怎么樣增加PHP code呢?
其實是因為Drupal 6沒有開啟PHP filter模塊。只需要:
以管理員身份登錄 -> Administer -> Modules -> Core - optional -> 選中PHP filter -> 保存配置
再進入Content management就可以看到Input format中增加了PHP code。