Jump to content

Release: Ergo Admin Template


nikola
 Share

Recommended Posts

Few days ago I've posted sneak preview of new admin template (it didn't have name then), so I've managed to squeeze some time to finish it and here it is...

Ergo Admin Template

8011488158_7fb0df5673_b.jpg

8011487946_d68d951edc_b.jpg

8011488200_1a4e163892_b.jpg

8011481251_d437cd102e_b.jpg

8011488092_e326b40d96_b.jpg

DOWNLOAD

https://github.com/nvidoni/ergo

USAGE

1. Create folder named "templates-admin" under /site/ folder

2. Copy all files (including folders) into newly created folder

3. ProcessWire will load the new admin template automatically

EXTRA

If you would like to use custom TinyMCE theme created for this template, follow this steps:

1. Download TinyMCE Ergo theme from https://github.com/n...ni/ergo-tinymce

2. Copy "ergo" folder to /wire/modules/Inputfield/InputfieldTinyMCE/tinymce-3.4.7/themes/advanced/skins/ folder

3. Open /site/templates-admin/default.php and change in line 86 "default" to "ergo"

If you find any errors please post them here so I can commit them accordingly.

EDIT

1. Changes have been made according to diogo's and Soma's posts.

  • Like 12
Link to comment
Share on other sites

Looking great! Will try it later for sure.

Have you seen the thread about defining the tinymce theme on the theme itself? (I'm on mobile. Can't link to it). If you use it by testing for the existence of the folder, people can install the theme only by dropping it on the right folder.

Link to comment
Share on other sites

Great work Nikola. Love it so far. Just got trouble sometime seeing which are text fields to enter or just headers/labels.

- Only thing that annoys me a lot is that it doesn't fit on my 13* 1280 laptop screen. :(

- Also it would be cool if the subnav drop down would stay open if you're on a sub admin page.

Also you haven't got the latest changes from default admin for inputfields. As Ryan canged quite a bit and the form-builder has some issues.

On form-builder you see extra "submit" field text which should be hidden. And the entries edit screen has different inputfields markup. Of course this is a problem with all you other themes too. (happy fixing ;))

post-100-0-63221700-1348312132_thumb.png

post-100-0-59865700-1348312317_thumb.png

Link to comment
Share on other sites

@diogo

I've seen the thread, but that defines default option for built in themes in TinyMCE, this is an extra theme so I think it's better this way.

@Soma

Yes, that seems to be the problem, my screen is a bit darker so I'll try to apply come darker shade to labels.

As for screen resolution, I can lower the initial width so It will play fine on smaller screens :)

I'm gonna put cookie to subnav's so they stay visible.

I'll correct inputfields, because I've developed this on lower version of PW...

Link to comment
Share on other sites

@diogo

I've seen the thread, but that defines default option for built in themes in TinyMCE, this is an extra theme so I think it's better this way.

I actually also think it's a good way to include it in the theme globally. Most convenient.

I really don't want to change core for the theme's extras. It's not a must anyway but wouldn't recommend as you everytime you make a wire update you have to take care of it. I've done it for quite some time with the TinyMCE inputfield and it isn't a pleasure at all.

What if Ryan includes more TinyMCE themes into core distribution? Simple as that.

Link to comment
Share on other sites

  • 3 weeks later...

hi nikola,

thanks for your nice admin theme.

unfortunately i have some trouble as i can't open the following input field in the access section:

<li id="wrap_Inputfield_pass" class="InputfieldPassword Inputfield_pass ui-widget InputfieldStateCollapsed">
 <label for="Inputfield_pass" class="ui-widget-header">Set Password</label>
 <div class="ui-widget-content">
 <p class="description">Password must be at least 6 characters and have at least 1 letter and 1 digit. Password may not have whitespace.</p>
 <p><input type="password" maxlength="128" size="50" name="pass" class="FieldtypePassword" id="Inputfield_pass"></p>
 <p><input type="password" value="" name="_pass" size="50"> <span class="detail">(confirm)</span></p>
 </div>
</li>

due to this problems i can't enter a password for my users. i can reproduce this with firefox 15.01 and chrome 22.0.1229.94 m on win 7 - other browsers i didn't check so far. can others confirm this or could this be a local problem with my system (i have the latest version of the theme)?

thanks in advance

Link to comment
Share on other sites

hi nikola,

thanks for your reply and sorry that it took a while for me to get back.

unfortunately no good news: i've cleared cache (browser and processwire), tried it in ie9 (with which i never visited this site before), uninstalled completely and reinstalled the theme - but to no avail. the field stays in its collapsed state and i can't open it on click.

do you have any other idea on how i could track down the problem?

many thanks in advance

Link to comment
Share on other sites

hi nikola,

many thanks for your reply. meanwhile i checked with a fresh processwire installation on the same server and with that i don't have any problem at all. the difference between the installations is the processwire version: the one that makes me trouble is a 2.2.3 while the working one is 2.2.5. i asume it must have something to do with that. i'll upgrade over the weekend and report back.

++ EDIT/SOLVED ++

i did upgrade to 2.2.9 and now it's working fine. thanks again for your help.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...