<![CDATA[ テスター募集 - フレンドリーURL生成まわりの見直し - My Forums]]> https://forums.modx.com/thread/?thread=56632 <![CDATA[Re: &#12486;&#12473;&#12479;&#12540;&#21215;&#38598; - &#12501;&#12524;&#12531;&#12489;&#12522;&#12540;URL&#29983;&#25104;&#12414;&#12431;&#12426;&#12398;&#35211;&#30452;&#12375;]]> https://forums.modx.com/thread/56632/url#dis-post-332643 yama Nov 17, 2009, 01:28 AM https://forums.modx.com/thread/56632/url#dis-post-332643 <![CDATA[Re: &#12486;&#12473;&#12479;&#12540;&#21215;&#38598; - &#12501;&#12524;&#12531;&#12489;&#12522;&#12540;URL&#29983;&#25104;&#12414;&#12431;&#12426;&#12398;&#35211;&#30452;&#12375;]]> https://forums.modx.com/thread/56632/url#dis-post-332642
デフォルト・・・ http://localhost/modx/test1.html
コンテナ設定ON・・・ http://localhost/modx/test1/
コンテナ設定OFF・・・ http://localhost/modx/test1/

という結果になりました。
コンテナ設定OFFの時に、test/ となってしまいますね(つまり見境無く/止めになってます)。


尚、テスト方法は、
http://localhost/modx/test1.html(1)
http://localhost/modx/test2.html(2)
というリソース(括弧内はリソース番号)を作り、test1からtest2へのリンクを作り、リンク先が正常に出力されているかを確認しました。
(<a href="[~2~]">テストリンク</a>のようなソースだけ貼ったリソースを用意して)

]]>
shinbori Nov 10, 2009, 07:42 PM https://forums.modx.com/thread/56632/url#dis-post-332642
<![CDATA[Re: &#12486;&#12473;&#12479;&#12540;&#21215;&#38598; - &#12501;&#12524;&#12531;&#12489;&#12522;&#12540;URL&#29983;&#25104;&#12414;&#12431;&#12426;&#12398;&#35211;&#30452;&#12375;]]> https://forums.modx.com/thread/56632/url#dis-post-332641

manager\processors
cache_sync.class.processor.php

manager\includes
document.parser.class.inc.php

]]>
shinbori Nov 10, 2009, 07:16 PM https://forums.modx.com/thread/56632/url#dis-post-332641
<![CDATA[Re: &#12486;&#12473;&#12479;&#12540;&#21215;&#38598; - &#12501;&#12524;&#12531;&#12489;&#12522;&#12540;URL&#29983;&#25104;&#12414;&#12431;&#12426;&#12398;&#35211;&#30452;&#12375;]]> https://forums.modx.com/thread/56632/url#dis-post-332640 yama Aug 22, 2009, 08:45 AM https://forums.modx.com/thread/56632/url#dis-post-332640 <![CDATA[Re: &#12486;&#12473;&#12479;&#12540;&#21215;&#38598; - &#12501;&#12524;&#12531;&#12489;&#12522;&#12540;URL&#29983;&#25104;&#12414;&#12431;&#12426;&#12398;&#35211;&#30452;&#12375;]]> https://forums.modx.com/thread/56632/url#dis-post-332639 yama Aug 22, 2009, 03:07 AM https://forums.modx.com/thread/56632/url#dis-post-332639 <![CDATA[&#12486;&#12473;&#12479;&#12540;&#21215;&#38598; - &#12501;&#12524;&#12531;&#12489;&#12522;&#12540;URL&#29983;&#25104;&#12414;&#12431;&#12426;&#12398;&#35211;&#30452;&#12375;]]> https://forums.modx.com/thread/56632/url#dis-post-332638
手を入れた感想としては、URLまわりに関してはコードがトリッキーで難解だということ。さほど長いコードでもないですが、もう少しシンプルな制御ができないものかなあと感じました。リクエストのたびにURLを生成しているので効率もよくないですね。[*own_alias_path*]とか[*sub_resources*]などの形で投稿時に値を保持する仕組みにすれば、見通しと効率に優れた処理が実現できるのではと思いました。]]>
yama Aug 22, 2009, 01:49 AM https://forums.modx.com/thread/56632/url#dis-post-332638