| « Eins - Zwei - Drei | Warum ich b2evo auf Englisch betreibe » |
Note: The patch for b2evolution 2.4.2 can be found in the b2evolution forums.
I'm new to b2evolution and have just migrated another blog from Wordpress to b2evo. Since I've closed my old blog at tblue.de (I wanted to start blogging from scratch and the server was really slow, too) I decided to set up a new blog based on b2evo.
Now I've read this thread in the b2evo support forums. I was bored so I tried to implement the requested feature (toggle the visibility of a single widget). Of course I had to mess around with the b2evo code (no, the code is great, but I had to understand the relations etc.) but finally I managed it to write this little hack. Maybe the code I've written isn't perfect, so please give me feedback... I also think the icon I used isn't the right one (it's the icon for enabling/disabling plugins), could someone offer me a better one? ![]()
Notes:
OK, here are the install instructions:
patch -p1 < path/to/the/patch-file.ALTER TABLE `evo_widget` ADD `wi_show` BOOL NOT NULL DEFAULT '1' COMMENT 'visibility hack' AFTER `wi_order`;Have fun.
P. S.: If my English isn't the best I'm sorry - I'm not a native English speaker.