** Reply to message from Nathan Swafford <nswafford@...> on Tue,
11 Nov 2003 16:48:09 -0500
How did you delete the slash boxes - by clicking the little "x" in the
boxes on the right? Or did you actually delete the block definitions
from the database using the config editor.
(Not sure that you can even delete the login box using the "x".... as it
doesn't show up when logged in, and the "x" flags don't show up when NOT
IF ... you deleted them using the "x" icons and you are still logged in,
navigate using the menu on the left to the Homepage (URL /my/homepage )
Then you can just turn the checkboxes back on using the homepage
Or, if you can't get to that for some reason, and you have mysql access,
you can null out the entry in the slash database.
update users_index set exboxes='' where uid=<your userid>;
That will set it back to the defaults as well.
If you actually deleted the blocks definitions from the database, find
the "INSERT" statement for the block in the source files and insert it
back into the database.
For example, to restore the "login" block, I issued:
/usr/local/src/slash# find . -type f | xargs grep Login
Among other stuff, if found the INSERT statement for the login block.
Run that statement into Mysql and the block should be back.
./themes/slashcode/sql/mysql/datadump.sql:INSERT INTO blocks (bid, block,
seclev, type, description, section, ordernum, title, portal, url, rdf,
retrieve, all_sections) VALUES
> I just installed slash for the first time. I am a complete slash
> I was experimenting with the blocks and deleted all of them on
> the right side. I figured there must be an easy way to put them
> back. If there is I can't find it. The logon block as well as
> all the others are gone. Any info on putting them back would be
> greatly appreciated.