1

JQuery mobileを搭載したPloneサイトで作業していますが、メディアに問題があります。

JQuery mobilesは、PloneサイトのさまざまなビューにリンクするきちんとしたメニューをWebページのホームページに作成します。問題は、メディア(画像など)が存在しない奇妙なURLにリンクされていることです。

私が意味するのは次のとおりです。

パスが次のような画像があります:url / Competitions-en / red-bull-monte-descend / horaire / red-bull-monte-descend / vignette_normal

しかし、imgタグのsrcパラメータでは、url / nameOfViewcompetitions -en / red-bull-monte-descend / horaire / red-bull-monte-descend / vignette_normal

JQuery mobileがビューの名前を画像のパスに追加する理由がわかりません。ビュークライアント側をロードする場合(つまり、メインメニュー>ビューに移動する代わりに、ビューを新しいものにロードすることはわかりません)。タブ)問題ありません。JQuery mobileは、メインページからビューにアクセスした場合にのみ、ビューの名前を画像のパスに追加します。

それを修正する方法について何かアイデアはありますか?

追加情報:

これは、最初のTDがimgを生成するploneテンプレートのブロックになります

<tr tal:repeat="el python: une_date[1]['horaires']"> 
    <td tal:attributes="class string:categorie ${el/categorie/cls}"> 
        <img tal:attributes="src el/horaire/vignette; alt el/horaire/title_short;" /> 
    </td> 
    <td tal:attributes="class string:competition"> 
        <a tal:content="el/competition/title" tal:attributes="href el/competition/url"></a> 
    </td> 
    <td class="emplacement"> 
        <span tal:content="el/horaire/emplacement"></span> 
    </td> 
    <td class="debut_fin"> 
        <span tal:content="el/horaire/debut">debut</span> - <span tal:content="el/horaire/fin">fin</span> 
    </td> 
    <td class="title" tal:content="el/horaire/title">un titre</td> 
 </tr> 

タイ、アクセル

4

0 に答える 0