2006年10月15日
PukiWikiをtableレイアウトからCSSレイアウトに変更するファイル
PukiWikiのtableレイアウトをCSSレイアウトに変更するためののオマケファイル。
PukiWikiはインターネット上の様々な情報をまとめるためのサイトによく活用されているが、これがデフォルトではtableレイアウトになっているのが気持ち悪いという人は少なくない。僕も実はtableレイアウトがあまり好きでないCSS信奉者の一人だが、だからそのPukiWikiをCSSに変更するための上書きファイルを作ってみた。といっても、デフォルトのうちのいくつかのポイントを変更したファイルを上書きするだけのモノだが。
具体的には、もとあるファイルのうちpukiwiki.skin.phpとpukiwiki.css.phpの以下の部分を変更してある(PukiWiki1.4.7をもとに記述)。
CSSファイル
350行目付近のmenubar属性に、float:left;overflow:hidden;を付与
370行目付近のbody属性に、同じものを付与
menubar属性とbody属性のwidthは、CSSスタイルで便利なように絶対値指定から%指定に変更してあります。
skinファイル
170~179行目のうち、173行目と176行目以外を削除
他は基本的にデフォルト時のままです。これをデフォルトのファイルに上書きしてアップロードすればOKです。上書き時にバックアップを取っておくことはファイルいじりの常識なのでお忘れ無く。IE6とFirefox1.5で確認済みですが、他のブラウザはよくわからん。
ライセンス的には…GPLとかそういうのはよくわからないけれど、スキンの上書きファイルだけならPukiwiki改変を配布していることにはならんよね??もし不都合があれば連絡下さい。
Posted at 2006/10/15(日曜日)22:03
コメント
投稿者 Anonymous : 2006年10月16日 02:00
スキンもGPLが適用されていますから、それを改変した結果についても、どう考えてもGPLが適用されます(そう既定されているから)。でもそれがどんな不都合をもたらすかについてあいまいなのではないですか。不都合ないでしょう?
投稿者 T.Goto : 2006年10月16日 03:19
ということは、これを更改するのはマズイと言うことになりますかね。某掲示板でも出ていましたが、Pukiwiki公式サイトにて配布されているプラグインは全てPukiwiki本体のコードと一緒に配布しているわけではないからGPL違反だとか、Firefoxの拡張機能・テーマもそうですよね。プラグインの開発者は誰も本体と一緒に配っているわけではないからGPLに準拠はしていない。
結局、僕もGPLというのが何なのかよくわからなくなってしまいました。
投稿者 zadoœæuczynienie : 2011年01月26日 10:32
Fantastic site. A lot of useful info here. I’m sending it to a few friends ans also sharing in delicious. And certainly, thanks for your effort!
投稿者 Hemorrhoid Treatment : 2011年01月26日 17:36
Have a great day!. I’m wondering now if we can talk about your sites statistics – search volume, etc, I’m trying to build a site having to do with this topic, and after coming across this I definitely need a hand. Hemorrhoid Treatment
投稿者 External Hard Drive : 2011年01月27日 09:30
Attractive section of content. I just stumbled upon your blog and in accession capital to assert that I get in fact enjoyed account your blog posts. Anyway I’ll be subscribing to your feeds and even I achievement you access consistently fast.
投稿者 pozycjonowanie stron : 2011年01月27日 10:35
There are some good tips right here. I need to redesign the website a while. I will start from scrape this time I’m sure.
投稿者 Zahnbleaching Kosten : 2011年01月27日 14:06
I’m also interested in affilate and also search engine marketing.
投稿者 refi plus : 2011年01月27日 14:25
I’d must check with you here. Which is not one thing I often do! I take pleasure in studying a post that will make individuals think. Additionally, thanks for permitting me to remark!
投稿者 Brazilian Jiu Jitsu Tournaments : 2011年01月28日 03:39
WONDERFUL Post.thanks for share..more wait .. …
投稿者 hair extensions san diego : 2011年01月28日 09:58
It’s hard to find knowledgeable people on this topic, but you sound like you know what you’re talking about! Thanks
投稿者 Bluetooth Range : 2011年01月31日 03:48
There are some interesting points in time in this article but I don’t know if I see all of them center to heart. There is some validity but I will take hold opinion until I look into it further. Good article , thanks and we want more! Added to FeedBurner as well
投稿者 Kids Games : 2011年02月01日 12:27
Have a excellent day!. I’m wondering now if we can talk about your sites statistics – search volume, etc, I’m trying to build a site having to do with this topic, and after coming across this I definitely need a hand. Kids Games
投稿者 Dress Up Games : 2011年02月04日 13:24
Have a great day!. Thank you for this news to your blog. Dress Up Games
投稿者 Sean Meginnis : 2011年02月05日 03:27
Thanks for another informative site. Where else could I get that type of information written in such an ideal way? I’ve a project that I am just now working on, and I have been on the look out for such information.
投稿者 Black Wedge Boots : 2011年02月05日 19:57
I’m not sure where you are getting your info, but good topic. I needs to spend some time learning more or understanding more. Thanks for wonderful info I was looking for this info for my mission.
投稿者 Latest News : 2011年02月08日 13:37
Thank you for the auspicious writeup. It in fact was a amusement account it. Look advanced to more added agreeable from you! By the way, how can we communicate?
投稿者 yeast infection treatment : 2011年02月09日 19:39
Have a excellent day!. I’m wondering now if we can talk about your sites statistics – search volume, etc, I’m trying to build a site having to do with this topic, and after coming across this I definitely need a hand. yeast infection treatment
投稿者 quit smoking aids : 2011年02月10日 20:34
Have a fantastic day!. I visit your blog practically every day and i like what are you doing with it. Lots of intresting articles on numerous hot topics and trends also, you possess skill at writing. I always learn about new things with your help and for that i thank you with all my heart. Continue this wonderful work that you are accomplishing. Cya! quit smoking aids
トラックバック
このエントリーのトラックバックURL:
