Foren / Cotonti / Extensions / Support / Make news editable on homepage

musiconly
#21162 24. November 2009, 01:47
I solved this the easiest way I knew :)
skins/yourkin/plugins/news.tpl

add somewhere in it, between <!-- BEGIN: PAGE_ROW --> <!-- END: PAGE_ROW -->:
<!-- IF {PHP.usr.profile.user_maingrp} == '5' -->
	<a href="page.php?m=edit&id={PAGE_ROW_ID}&r=list">Edit</a>
<!-- ENDIF -->

Power of logic blocks :D