SimplePortal

Customization => Custom Coding => Topic started by: phantomm on February 22, 2013, 04:14:09 PM

Title: [MOD] Edit button on blocks and custom pages
Post by: phantomm on February 22, 2013, 04:14:09 PM
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 :)

(http://img195.imageshack.us/img195/281/myboard.png)

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)
Title: Re: [MOD] Block edit button
Post by: Kryzen on February 22, 2013, 05:40:19 PM
Nice mod. :)
Title: Re: [MOD] Block edit button
Post by: phantomm on April 29, 2014, 04:56:32 PM
Version 1.1 - Added button for quick edit on pages.
Title: Re: [MOD] Edit button on blocks and custom pages
Post by: AngelinaBelle on April 29, 2014, 08:09:58 PM
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
Title: Re: [MOD] Edit button on blocks and custom pages
Post by: player.samp on April 30, 2014, 04:20:42 AM
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.
Title: Re: [MOD] Edit button on blocks and custom pages
Post by: phantomm on April 30, 2014, 04:52:13 AM
Hm.. are you sure that there is nor "install" button next to my mod? That would be weird  :|
Title: Re: [MOD] Edit button on blocks and custom pages
Post by: player.samp on April 30, 2014, 07:24:27 AM
Yes, I am sure.

Anyway, I have more than 130 packages and it is the only package which shows it is "older version" (the red circle), and all the others are the green circle.
Title: Re: [MOD] Edit button on blocks and custom pages
Post by: phantomm on April 30, 2014, 08:02:52 AM
Then I guess you have older version still installed. Uninstall it and you will have option to install new version.
Title: Re: [MOD] Edit button on blocks and custom pages
Post by: player.samp on April 30, 2014, 12:43:22 PM
Thanks. :)
Title: Re: [MOD] Edit button on blocks and custom pages
Post by: ♦ Ninja ZX-10RR ♦ on November 29, 2014, 11:24:31 PM
In version 2.3.6 it fails because there are 2 places with the same exact string, after a quick test I discovered that the failing edit should be made above the FIRST matching string of the file, for anyone who might be interested into this :)
Thanks for sharing :)
*sigh, posts by Angelina, miss you*
Title: Re: [MOD] Edit button on blocks and custom pages
Post by: phantomm on December 02, 2014, 03:05:49 PM
New package uploaded in first message.
Title: Re: [MOD] Edit button on blocks and custom pages
Post by: ♦ Ninja ZX-10RR ♦ on December 02, 2014, 04:09:27 PM
I won't update coz I have already done that edit but thanks :)
Title: Re: [MOD] Edit button on blocks and custom pages
Post by: inter on January 08, 2015, 07:09:19 AM
Thanks! :nervous-happy:
Title: Re: [MOD] Edit button on blocks and custom pages
Post by: Burke Knight on January 08, 2015, 07:55:30 AM
New package uploaded in first message.

(http://bkd.pw/bk_like.png)
 
Title: Re: [MOD] Edit button on blocks and custom pages
Post by: Drake3 on March 12, 2016, 04:58:51 AM
In version 2.3.6 it fails because there are 2 places with the same exact string, after a quick test I discovered that the failing edit should be made above the FIRST matching string of the phen375 review (https://skinnyexpress.com/phen375-review) file, for anyone who might be interested into this :)
Thanks for sharing :)
*sigh, posts by Angelina, miss you*

Cool, thanks for the mod. Is it bug free?
Title: Re: [MOD] Edit button on blocks and custom pages
Post by: ♦ Ninja ZX-10RR ♦ on March 12, 2016, 06:28:48 AM
Welcome to SimplePortal!

One way to find out I guess...
Title: Re: [MOD] Edit button on blocks and custom pages
Post by: BerythaBeasley on May 10, 2018, 05:09:29 AM
In version 2.3.6 it fails because there are 2 places with the same exact string, after a quick test I discovered that the failing anavar (https://athletesphysiques.com/anavar-review-results/) edit should be made above the FIRST matching string of the file, for anyone who might be interested into this :)
Thanks for sharing :)
*sigh, posts by Angelina, miss you*
Cool, thanks for the mod.    :D
Is it bug free?
Title: Re: [MOD] Edit button on blocks and custom pages
Post by: nutriman1 on May 21, 2018, 08:04:47 AM
To edit a building blocks properties, click Edit Properties from the organizer to see the Modify
SimplePortal 2.3.8 © 2008-2024, SimplePortal