Customization > Custom Coding

[MOD] Edit button on blocks and custom pages

(1/4) > >>

phantomm:
Edit button on blocks and custom pages



This mod will add button on every block and page linked to edit page. I added it for my friend, but then I thought that maybe someone else finds it usefull too so here it is :)



Tested with SMF 2.0.4 and SP 2.3.5.
Does not work for blocks without title, because there is no place for icon.


Changelog:
1.2 - Fixed syntax errors in install package
1.1 - Added button for quick edit on pages (sp_block_and_pages_edit_1.1.zip)
1.0 - Initial version (sp_block_edit.zip)

Kryzen:
Nice mod. :)

phantomm:
Version 1.1 - Added button for quick edit on pages.

AngelinaBelle:
Nice idea!  I bet you could add it to no-title blocks
To do this, you could make the containing block position: relative, and the edit icon could then have absolute positioning, offset from the top and right, a high z-index, and reduced opacity.  Or top left if rtl

player.samp:
Hi.

I checked the files and saw what version I need to have:

"- <install for="2.0 - 2.0.99">"

I tried to put everything but I still do not have the option to install the package.

Navigation

[0] Message Index

[#] Next page

Go to full version