Version: , by Admin (Coder)
Developer Last Online: Nov 2024
Version: 2.2.x
Rating:
Released: 09-21-2001
Last Update: Never
Installs: 39
No support by the author.
This is far from being a hack, so I figured I should post it here.
Probably be moved though...
Anyway, this adds an option to the Edit Template page for returning to the same page or not.
If you select yes, then the template will be saved and you will be sent back to the editing page.
If you select no (default), then you will be sent to the main template list.
I wanted this cuss I sometimes I just edit a template over and over and over again, and loading the list again is quite a pain you-know-where.
Hopefully others will also find this helpful.
All changes are done to template.php (admin folder)!
Find this code:
PHP Code:
makehiddencode("group", "$group");
(second time it appears, not first time!)
and right above add this:
Jezz lol thought I could get away without anyone asking. I guess I was doing somehting wrong with this hack and another but it must have been my own error I feel bad but I don't know what i changed if I did Textpad still doesn't work but EditPlus does so I've already installed 5 hacks with 4 more to come, then the customization begins.
My only worry now is that 2.2.0 isn't that last update someone told me it has bugs, so I dunno why I'm adding hacks unless the update is small and doesn't change a lot... If it does change to much then I give up
Originally posted by LuBi My only worry now is that 2.2.0 isn't that last update someone told me it has bugs, so I dunno why I'm adding hacks unless the update is small and doesn't change a lot... If it does change to much then I give up
LOL, I'm glad you got things working. The upgrade is just a bug fix. Some people are having problems. I probably won't upgrade. My system works fine as is.
Started laughing at this post but when I looked up, I found I was one floor below FWC. Persevered through my ignorance and the third time, I apparently followed the directions and:
What A Great Hack! Thanks for another one, FireFly!
:supwink:
Quote:
Originally posted by Lubi OK, I just returned from the dumbass room. I looked at my 2.0.3 template.php and the new 2.2.0 version. I had to move the makeyesnocode line up one. The javascript runs to make the box before it saw the line. It works now. I can't live without that thing.
Just something: when I edit twice the same template and save it with the 'return to this...' = on, I get in the body of textarea Array instead of the full template text I just saved.
Just seems it looses some brakets value ...
Note: new template is actually saved as 'Array', because if I exited and re-edit, this text is the only existing within body (and even into db)...
I dupe-checked the hack just applied and seems having followed your instructions literally.
Jawelin, that's odd, I've been using this hack for 4 months already and never faced that problem! Do you mind sending me your template.php file by e-mail, so I could have a look and try it out? Thanks.
Kept trying to make this work over and over again on my testboard without success - until I descovered I was actually editing the file on the live site... that's what you get for hacking at 3.30 in the morning... *sigh*