PEAK XOOPS - maybe altsys feature?: blocks admin in user side in englishin japanese

maybe altsys feature?: blocks admin in user side

List posts in the topic

question maybe altsys feature?: blocks admin in user side

msg# 1
depth:
0
Previous post - Next post | Parent - Children.1 | Posted on 2006/8/24 1:11
irmtfan  三等軍曹   Posts: 96
i saw this idea in xoops.org forum and apply it in my theme in 2.2.4:

	<{if $xoops_isadmin}>
							     <div class="edit">
							     <a href="<{$xoops_url}>/modules/system/admin.php?fct=blocksadmin&op=edit&id=<{$block.id}>"><img border="0" src="<{$xoops_imageurl}>images/edit.gif" title="<{$smarty.const._MA_NAV_EDITBLOCK}>" alt="<{$smarty.const._MA_NAV_EDITBLOCK}>"  /></a>
							     <a href="<{$xoops_url}>/modules/system/admin.php?fct=blocksadmin&op=delete&id=<{$block.id}>"><img border="0" src="<{$xoops_imageurl}>images/delete.gif" title="<{$smarty.const._MA_NAV_DELETEBLOCK}>" alt="<{$smarty.const._MA_NAV_DELETEBLOCK}>"  /></a>
							     </div>
 					        <{/if}>

so after that admin can edit and delete blocks directly in user side.

questions:
1- it doesnt work in 2.0

2- how to add that in smarty variables like $block.title? is this possible? i think it would be a great feature.

Gijoe do you think it can be done with hack in core files? or apply in Altsys?
Votes:2 Average:5.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!