PEAK XOOPS - Re: pico動作不良? Re: /modules/ changerのテスト中 in englishin japanese

Re: pico動作不良? Re: /modules/ changerのテスト中

Target News
Subject /modules/ changerのテスト中
Summary Simplified URL をいろいろ試しましたが、どうしても副作用を消しきれない、というのが正直なところです。というわけで、もっとずっとお手軽な「modules を好きな文字列に変更する」てなHackを試してます。パスの深さという、非常に面倒な問題は変わらないので、副作用も...

List posts in the topic

none Re: pico動作不良? Re: /modules/ changerのテスト中

msg# 1.2.1
depth:
2
Previous post - Next post | Parent - Children.1 | Posted on 2008/1/17 5:07
GIJOE  先任軍曹   Posts: 4110
tomotomoさん、こんにちは。
Quote:

/modules/ changerハックを使ってmodules/をja/に変換したのですが、picoモジュールではmodules/の書き換えが上手く作動しないようです。
メインメニューのリンクURLはja/になっているけど、リンクをクリックするとmodules/のURLが表示されます。
おそらくは、リダイレクトですかね。
header('Location:')でのリダイレクトはさすがにob_filterじゃどうしようもないですね。

一番手っ取り早いのは、メインメニューなんて使うのをやめて、MultiMenuかなにかで、ja/?content_id= などと、なんらかの形でidを渡してあげる方法です。

pico側でも何か考えておきます。
Votes:2 Average:10.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!