內容管理系統 (CMS, Content Management System) 像 Wordpress,Joomla!,Drupal這些軟體,拿來建網站挺方便的,但運行久了,還是得面對維護,安全性升級,穩定性問題。不少Container based PaaS (Platform as a Service,平台即服務的雲架構) 建起網站來超快,像Red Hat OpenShift,Parallels OpenVZ 等等,因為實在太方便了,更容易讓MIS產生好簡單沒問題的錯覺。
最近就看到一例自建Wordpress,基礎系統PHP被換掉一大半,植入一堆怪異連結,不知道是版本太舊還是外掛漏洞造成。真是...不知道改用SaaS (Software as a Service,軟體即服務的雲架構),像是Wordpress自家的 wordpress.com,乾脆連網站軟體都給人家管起來,會不會有更好的維護效益呢?
2012年1月22日 星期日
drupal: usingdrupal source code
http://usingdrupal.com/source_code
Important Note! The source code we are providing here is only for use with the Drupal 6 version of the book. The source code for the Drupal 7 version (now in Rough Cuts) will not be available until the book is complete.
2012年1月18日 星期三
drupal: warning: array_merge()
http://drupal.org/node/791118
Posted by quicksketch on May 6, 2010 at 8:58am
@giozzz, the same thing applies to you, this probably only occurs with certain nodes. Could you check the node and make sure that all the files actually exist (in the database "files" table) when viewing/editing those nodes?
Posted by giozzz on May 6, 2010 at 9:13am
Thanks for your response, I've checked right now, and it was one picture missing in the ddblock I have on front page. Sorry for bothering you for nothing and thanks again!
2012年1月17日 星期二
drupal: hide login menu
http://drupal.org/node/98617
Go to administer -> blocks then disable User Login block you can still access it bywww.your_domain.com/?q=user/login (if don't have clean urls) orwww.your_domain.com/user/login
drupal: Flashvideo fix
http://www.comptoncoms.com/wordpress/2011/04/drupal-flashvideo-fix-april-2011/
FFmpeg has been versioning just as Drupal has, so the default command in the Flashvideo > Content Type Setting > FFMPEG settings is likely wrong. If you are using a recent version of FFmpeg you may need to change the command line to replace “mp3” with “libmp3lame”. At any rate you will need to understand the commands for FFmpeg to make the conversion do what you want.
Content type is the second problem. In the original any number of videos could be placed on the node to include the original video and the converted flash version. But that process no longer seems to work. The original upload video content type needs to have under the “display fields “ the type excluded.
Last is the player problem. The whole time that Flashvideo has been versioning, the media player has been drastically changing as well. With a whole lot of work you can get the original Flowplayer to work with Flashvideo, but then you will not have the poster image only a black screen. Even worse is that if you turn on Jquery with SWF Tools, your Views module no longer works. So I strongly recommend the JW_player. You will need to install the jwplayermodule, but it is worth the effort and the added cost. The player retails for $89. With JWplayer 5.5 you can insert video into any content type. The instructions are in a PDF for Drupal with the download. It is a very nifty solution that uses file attachment. After you have installed the JWplayer module you will need to put a copy of player.swf from the JWplayer directory into the directory where the videos are output and rename it “Player.swf”.
訂閱:
文章 (Atom)