<![CDATA[ ブログ風に表示させる方法 - My Forums]]> https://forums.modx.com/thread/?thread=55744 <![CDATA[Re: &#12502;&#12525;&#12464;&#39080;&#12395;&#34920;&#31034;&#12373;&#12379;&#12427;&#26041;&#27861;]]> https://forums.modx.com/thread/55744/#dis-post-326514 ありがとうございます☆]]> ling Mar 10, 2008, 11:14 PM https://forums.modx.com/thread/55744/#dis-post-326514 <![CDATA[Re: &#12502;&#12525;&#12464;&#39080;&#12395;&#34920;&#31034;&#12373;&#12379;&#12427;&#26041;&#27861;]]> https://forums.modx.com/thread/55744/#dis-post-326513 Quote from: ling at Mar 11, 2008, 01:54 AM

※リソース管理の「テンプレート」では、『DFTEB1』というテンプレートあり...
Dittoの「tpl」パラメータは「テンプレート」の略でもあり、
Dittoではテンプレートと言う言葉が使われることが多いので分かり難いですが、
リソース管理の「テンプレート」は別物です。
リソース管理の「チャンク」にDittoのテンプレートを作ってtplパラメータで指定して下さい。]]>
tkfmnet Mar 10, 2008, 10:19 PM https://forums.modx.com/thread/55744/#dis-post-326513
<![CDATA[Re: &#12502;&#12525;&#12464;&#39080;&#12395;&#34920;&#31034;&#12373;&#12379;&#12427;&#26041;&#27861;]]> https://forums.modx.com/thread/55744/#dis-post-326512 [[Ditto? &tpl=`DFTEB1`&startId=[*id*]&total=5&depth=10&sortBy=createdon]]

次のようなエラーが出てきました。
&tpl either does not contain any placeholders or is an invalid chunk name, code block, or filename. Please check it.


どこが文法が間違っているでしょうか?教えてください!!



※リソース管理の「テンプレート」では、『DFTEB1』というテンプレートあり、次のように記述しています。
<div>
<h2><a href="[~[+id+]~]">[+title+]</a></h2>
<div>[+content+]</div>
<div><p>Category : [+category+], By [+author+] , At [+data+]</p></div>
</div>]]>
ling Mar 10, 2008, 08:54 PM https://forums.modx.com/thread/55744/#dis-post-326512
<![CDATA[Re: &#12502;&#12525;&#12464;&#39080;&#12395;&#34920;&#31034;&#12373;&#12379;&#12427;&#26041;&#27861;]]> https://forums.modx.com/thread/55744/#dis-post-326511 ling Mar 10, 2008, 07:52 PM https://forums.modx.com/thread/55744/#dis-post-326511 <![CDATA[Re: &#12502;&#12525;&#12464;&#39080;&#12395;&#34920;&#31034;&#12373;&#12379;&#12427;&#26041;&#27861;]]> https://forums.modx.com/thread/55744/#dis-post-326510 http://www.liolion.info/modx/resource/ditto2.html
まずはMEGUさんのサイト。

http://modxcms.com/forums/index.php/board,113.0.html
当フォーラムの各マニュアルトピ。

http://www.liolion.info/modx/modxsample/blog-like/
実際にMODxを使って作られたブログ風コンテンツ。MEGUさん作です。

http://redline.hippy.jp/lab/modx/modx_4.php
RedLine Magazineさんの解説も分かりやすいです。

http://ditto.modxcms.com/
ある程度目が慣れてきたら開発元のコンテンツも理解できるのではと思います。]]>
yama Mar 10, 2008, 02:31 AM https://forums.modx.com/thread/55744/#dis-post-326510
<![CDATA[Re: &#12502;&#12525;&#12464;&#39080;&#12395;&#34920;&#31034;&#12373;&#12379;&#12427;&#26041;&#27861;]]> https://forums.modx.com/thread/55744/#dis-post-326509 ling Mar 10, 2008, 01:06 AM https://forums.modx.com/thread/55744/#dis-post-326509 <![CDATA[Re: &#12502;&#12525;&#12464;&#39080;&#12395;&#34920;&#31034;&#12373;&#12379;&#12427;&#26041;&#27861;]]> https://forums.modx.com/thread/55744/#dis-post-326508 Dittoというスニペットを使います。
MODxに最初から同梱されています。

MODxをインストールするときにサンプルコンテンツ入りでインストールすると、
Dittoを使用したブログエントリーのリスト表示のサンプルも入って来ます。
まずはそれをみてDittoの使い方を勉強すると良いですよ~]]>
tkfmnet Mar 10, 2008, 12:57 AM https://forums.modx.com/thread/55744/#dis-post-326508
<![CDATA[&#12502;&#12525;&#12464;&#39080;&#12395;&#34920;&#31034;&#12373;&#12379;&#12427;&#26041;&#27861;]]> https://forums.modx.com/thread/55744/#dis-post-326507
たとえば、
親ページ(10)----子ページ(11)
         |--子ページ(12)
         |--子ページ(13)
         |--子ページ(14)
         |--子ページ(15)
のような構成で、親ページの中に、子ページの内容を最新のものから3つ表示させる。]]>
ling Mar 10, 2008, 12:45 AM https://forums.modx.com/thread/55744/#dis-post-326507