Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Theme Previews => Topic started by: bloc on January 21, 2012, 02:06:28 PM

Title: [WIP] WorkDesk3
Post by: bloc on January 21, 2012, 02:06:28 PM
WorkDesk3 is the evolvement of my older theme WorkDesk2 - but with a more neutral color-scheme. It also comes with new or changed features, such as:

- able to switch between 3 iconsets for "new posts" on forum index.
- HTML content in several places
- RSS icons on boardindex
- Avatars on boardindex and messageindex pages
- Custom menu editor saving the entries globally across Blocweb themes
- Recent topics instead of recent posts on boardindex
- Able to show selected boards as "blog boards" or "gallery boards"
- PSD source files available

Demo:
http://www.blocweb.net/demos/index.php?demo=workdesk3

Comments are welcome.

(http://www.blocweb.net/tp-images/dlmanager/listing/workdesk3_400x300.jpg) (http://www.blocweb.net/tp-images/dlmanager/workdesk3_full.jpg)
Title: Re: [WIP] WorkDesk3
Post by: The Craw on January 21, 2012, 02:12:49 PM
How did you manage a menu editor without the use of source files? Or is there a mod that goes along with your themes?
Title: Re: [WIP] WorkDesk3
Post by: Matthew K. on January 21, 2012, 02:15:03 PM
I do believe that Bloc has almost a framework modification for his themes.
Title: Re: [WIP] WorkDesk3
Post by: bloc on January 21, 2012, 02:30:55 PM
Well, almost now lol..but its really easy: an extra page thats called through SMF "catch action" feature is included with the theme, which you can run without any source file edits(its also linked to automatically in the admin menu). This page then saves the positions of existing menu items + saves the data for any new ones. Then the theme check these against what SMF serves it, and you got custom menus. As its saved with theme_id=1, it will work across themes...well,at least those themes that support those settings.

No modding, and no interfering with other mods/features customizations of the menu data. As far as SMF knows, its business as usual. :)

Below is a screenshot of the special page where you edit the menus(s).

Title: Re: [WIP] WorkDesk3
Post by: Matthew K. on January 21, 2012, 02:33:46 PM
Can I make the assumption that you worked that into 2.0 theming when you developed Curve so you could utilize it for such things? ;)
Title: Re: [WIP] WorkDesk3
Post by: bloc on January 21, 2012, 02:50:06 PM
No, no, I can't take the credit for that lmao..the "catch action" have always been something SMF devs built in early on(and luckily kept so far) so that you could "run" a custom action within a theme just by supplying a template with the same name as the action + setting the $settings['catch_action'] variable with the layers you will use. I only worked a bit further with that and used it over the years to run custom pages within themes from a folder called "pages" in each theme.

As for the menu positioning, its just something I made to be able to stay away from using a mod to jumble the menu items. As it saves only the positions of the menus - not the menus itself - its not taking much space. Its also saved in theme settings table, so its cached along with the rest. Your own custom menu items of course require some space, but again just title,url and position doesn't take too much of that either.
Title: Re: [WIP] WorkDesk3
Post by: The Craw on January 21, 2012, 02:57:05 PM
I like it. Thanks for the info. ;)
Title: Re: [WIP] WorkDesk3
Post by: ARG01 on January 23, 2012, 02:51:15 PM
I am liking this one.  8)
Title: Re: [WIP] WorkDesk3
Post by: Diego Andrés on February 15, 2012, 08:47:57 PM
demo is not working
Title: Re: [WIP] WorkDesk3
Post by: ARG01 on February 17, 2012, 01:37:04 AM
Quote from: Diego Andrés on February 15, 2012, 08:47:57 PM
demo is not working

Bloc has shut down operations.  :-\