1. 程式人生 > >phpcms會員可以修改已稽核的文章方法有這些

phpcms會員可以修改已稽核的文章方法有這些

phpcms投稿後不能修改:讓PHPCMS V9前臺(會員中心)可以修改已稽核的文章,

鮮花網只需要簡單的兩個步驟1.修改模板檔案 \phpcms\templates\default\member\content_published.html找到下面程式碼,大概在第30行

  1. {ifKaTeX parse error: Expected 'EOF', got '}' at position 17: …nfo[status]==99}̲&lt;fontcolor=&…info[flag]}{L(‘verify_content’)}{else}<ahref=“index.php?m=member&c=content&a=edit&catid={KaTeX parse error: Expected 'EOF', got '}' at position 12: info[catid]}̲&amp;id={
    info[id]}”><fontcolor=“red”>{L(‘edit’)}</font></a>{/if}

修改為

  1. <ahref=“index.php?m=member&c=content&a=edit&catid={KaTeX parse error: Expected 'EOF', got '}' at position 12: info[catid]}̲&amp;id={info[id]}”><fontcolor=“red”>{L(‘edit’)}</font></a>{ifKaTeX parse error: Expected 'EOF', got '}' at position 17: …nfo[status]==99}̲&lt;fontcolor=&…
    info[flag]}{L(‘verify_content’)}{/if}

即是把“編輯”連結提出判斷語句。KaTeX parse error: Expected 'EOF', got '&' at position 20: …[status]==99意思是&̲ldquo;已稽核&rdquo…r[‘status’]==99)showmessage(L(‘has_been_verified’));

經過以上兩個步驟phpcms投稿後不能修改的問題就解決了,讓PHPCMS V9前臺(會員中心)可以再次修改已稽核的文章且修改後再次稽核!!!!