[mlimg][xlang:en]

TinyD is a forked module based on Tiny Content made by chapi.



Tiny Content is simple and light content module.

Since I think that simpleness and lightness is the most important factor for content module, I love this module.



I want to clone this module but it is not so easy.

Thus, I experimented to make a module which can be easily cloned.

Though it has not understood whether this experiment succeeded yet, I distribute this funny hacked module.



I thanks to the author -Tobias Liegl (AKA CHAPI)-.





HOW TO USE:



If you are new user of TinyD or TinyContent, upload modules/tinyd0 and install it. (It's quite normal way as a Module for Xoops)



If you want to use features of PEAR Wiki or SPAW editor, upload common/PEAR and common/spaw into your XOOPS_ROOT_PATH.



If you already a user of CHAPI's TinyContent, rename tinyd0 to tinycontent and overwrite tinycontent/. After this, update the module in module's admin.



If you already a user of TinyD, reneme tinyd0 to tinycontent* as you like.

Of course, updating module is necessary.





You can clone this module easily. only copy them.

And the rule of directory's name is quite simple.



This module judges its number by tale of directory's name.



modules/tinyd0 - treated as No.0 module of TinyD

modules/tinycontent1 - treated as No.1 moudle of TinyD

modules/c2    - treated as No.2 module of TinyD

modules/tinycontent - treated as unnumbered module of TinyD



The numbers of TinyD have to be unique.

Also, unnumbered module have to be unique.



You can install or upgrade TinyD as modules/tinycontent/ for compatibility of URI.



Moreover, this module demonstrates more abilities with mod_rewrite when you wrap many pages.

If you can use mod_rewrite, rename .htaccess.rewrite into .htaccess .





APPENDIX:



This project has already exceeded the experimentation phase and reached practical stage.

I modified almost files and has been changed far from original spec.

I recommend this hacked module with confidence.



After mh012, you can also duplicate blocks.

It is useful as replacement as custom blocks or summary of contents.



If you want to use this block as summary, use [summary][/summary] tag.

In content block, you can see inside of this tags on the other hand you can see whole of contents in main part.



And you also want to add a link for full view, copy templates/blocks/tinycontent_content_block.html.dist to templates/blocks/tinycontent_content_block.html and edit it as you like.





APPENDIX2:



If you want to use SPAW integrated with myAlbum-P, set the path for

phtos/thumbnails like this:



/uploads/photos(number)/

/uploads/thumbs(number)/





[/xlang:en]

[xlang:ja]



ϡCHAPI̾ Tobias Lieglˤκäƥĥ⥸塼

Tiny Content ١¤⥸塼Ǥ



ϡץHackǤǤ;ޤäơ䴰ꥸʥ⥸塼ȸƤǤ⺹٤ʤ٥ˤʤäƤȼ餷Ƥޤ





Ȥ:



󥹥ȡǤС֤Ÿˤ modules/tinyd0 ̤˥󥹥ȡ뤷Ƥ



PEAR Wikiǽ䡢spawԽǽɬפǤСXOOPS󥹥ȡǥ쥯ȥˡΥcommonǥ쥯ȥݤȥԡƤ



ӤˤäƤϡcontent եǽˤ(chmod 777)ɬפޤȤϤޤꤪᤷޤ



ǤchapiTiny Content ȤäƤ硢modules/tinyd0 modules/tinycontent ȥ͡षƾ񤭤θ塢⥸塼륢åץǡȤԤäƲ



TinyDȤäƤƱͤˡtinycontent0 ȥ͡षƥ⥸塼륢åץǡȤԤäƲ



٤ƤTinyDˤĤơ&åץǡȤԤɬפޤ





ΤȤ⤪ȽꤤȻפޤTinyD2 ϡʤ꼫ͳ˥ǥ쥯ȥ̾ޤ

äȤ롼뤬ΤǡϼʤƤϤޤ

(ʳʾ)+(ʾ)

Ȥ̾ˤƤ



ǥեȤ 'tinyd0' ϡOKǤ

Υǥ쥯ȥ֤줿⥸塼ϡTinyD0ܤȤưޤ



Υ⥸塼򥳥ԡơ'test1' Ȥ֤СTinyD1ܤΤǤꡣ

'test00003' ȤƤɤǤ3ܤˤʤޤ



Ȥꤢ̵ֹ,0,1,2,3...9 ȣĤѰդƤޤ

ƥץ졼ȤsqlեѰդСĤǤʣǽǤ



ֹʤdirnameϣĤǽǤtinycontentȤ뤳ȤǡURIߴݤƤޤ





ޤΥ⥸塼ϡʣڡΥåԥ󥰤Ԥʤɡmod_rewrite Ѥ뤳ȤǡϤȯޤ

⤷ȤΥФmod_rewriteȤ褦Ǥ顢⥸塼ǥ쥯ȥľˤ롢.htaccess.rewrite  .htaccess ȥ͡षƤȤtinycontentΤ٤ƤΥڡŪڡ˸롢ʤƤȤǽȤʤޤ(SEOкȤʤ뤫ɤΤޤ󡣤ȤʤȤ϶̣ޤ





mh012 顢֥åʣǽȤʤޤʣǽ⥸塼ˡʣǽΥ֥å롣Ϥ䲿ʤȤǤ֥å֤ȤƤ⡢ƥĤȤƤ⡢ʤ˻ȤɤȻפäƤޤ



ʤȤѤϡʬ[summary][/summary]ǶǤ֥åˤϤ¦ɽ졢ᥤʬˤΤɽޤ



ˡɽ줿֥å鸵إ󥯤ˤϡtemplates/blocks/tinycontent_content_block.html.dist Ȥե tinycontent_content_block.html Ȥ̾ǥԡŬ񤭴Ƥ









­:



ǽϡޤǼ¸ΤĤäΤǤʣǽפȤڥåʾ˻Ȥ䤹¾ѼԤ⹥ɾäΤǡCHAPIΥꥸʥ륳ɤޤᡢʤƤޤġĤȤʤ깥ͤäƤޤʾСˡ



ꥸʥȶ̤뤿ˤ⡢̤θƤ򤷤ɤȻפäƤˤޤܤˤ paopaoθƤ "TinyD" äΤǡ̾ȤƤޤ



СΩơ2.0ȤƤޤ1.5 mh014 ȤɽޤˤȽŤ餫äǤ



ǸˤʤޤTinyConentȤ餷¤䤹⥸塼Ƥ줿CHAPI˴դޤ





­2:



⤷common SPAW  myAlbum-P ȶĴŪ˻ȤˤϡmyAlbum-P¦

/ͥǥ쥯ȥ򼡤Τ褦ˤɬפޤ



/uploads/photos(number)/

/uploads/thumbs(number)/



¾ΥѥˤäƤSPAWβǧޤΤǡ







[/xlang:ja]

