2015-10-06 38 views
1

我購買的命中附加http://www.devdemon.com/documentation/tag/count-hits-tags/,但它沒有顯示在管理面板中的任何數據。如何使用插件命中表達式引擎

該插件安裝成功,我已經以這種方式應用它:

{exp:channel:entries channel="news" limit="1" disable="categories|category_fields|pagination|member_data" cache="yes" refresh="1" track_views="one" dynamic="no" status="open|featured"} 

    {exp:hits:count_hits}   

{/exp:channel:entries} 

回答

1

按照你提供的,說明狀態的鏈接:

要點:必須使用上述之一參數。

所以你的標籤改成這樣:

{exp:channel:entries channel="news" limit="1" disable="categories|category_fields|pagination|member_data" cache="yes" refresh="1" track_views="one" dynamic="no" status="open|featured"} 

    {exp:hits:count_hits entry_id="{entry_id}"}   

{/exp:channel:entries} 

應該開始追蹤命中。

+0

未在其插件文檔中顯示圖表。 – Stackfull