Jump to content

Recommended Posts

Posted

hmm, new installation with PW dev 2.4.5 (after the latest fix from ryan), on Windows 7, XAMPP. Maybe a Windows specific problem?

Posted

@Manfred62

You have to uninstall Default Admin Theme from Core modules section before/after installing Modesta Admin Theme and it should work fine.

I'll update the readme with instructions.

New theme updates coming after this weekend :)

  • Like 2
Posted

@Manfred62

You have to uninstall Default Admin Theme from Core modules section before/after installing Modesta Admin Theme and it should work fine.

Hi Nikola,

sorry no chance. In every case I only get the old-style theme from /wire/templates-admin/. Also tried this theme in an gradually updated (2.4 -2.4.5) dev installation. There I don't even get the checkbox in the user-profile to select the theme?

Can anyone confirm that Modesta is running on local Windows environment?

Posted
You have to uninstall Default Admin Theme from Core modules section before/after installing Modesta Admin Theme and it should work fine.

You shouldn't have to do this unless you are worried about the login screen which will always use the default theme (if available) since the theme is controlled on a per user basis.

Posted

I was wondering the same but there seems to be a problem. Modesta is selectable on a per user basis but like manfred62 reports, you get the old PW theme instead (old as in pre-admin-theme-as-module old)

Posted

Did you see my updated post with second screenshot showing the profile page in modesta?

Maybe there is something weird on Windows?

Posted

Now I have seen it. Yes, could be a windows issue...see screenshots below

Before modesta

post-894-0-36075700-1403268745_thumb.png

After modesta

post-894-0-56925500-1403268770_thumb.png


@Manfred62

You have to uninstall Default Admin Theme from Core modules section before/after installing Modesta Admin Theme and it should work fine.

I'll update the readme with instructions....

@nikola,

See Adrian's post above. I also agree with that. Since these new admin themes are modules, they should be able to exists side by side. There shouldn't be any need to uninstall one in order to install/use another :-)...So, I wouldn't update those instructions just yet... :D...Thanks for the theme!

Posted

Check if this is in the modules info:

	public static function getModuleInfo() {
		return array(
// ...
			'autoload' => "template=admin",
// ...
			); 
	}

Posted

I'm impressed by this theme nikola. I love the simplicity of the look. The module configuration makes so much sense. 

Sorry to be a nitpicker:

1. I would love to see that child elements in the tree are more indented.

2. The contrast of status hidden compared to default is to less.

3. The color of the fontawesome icons in the pagetree is to light.

Take a look at the screen shot ( css glitch ) 

post-577-0-68978400-1403270751_thumb.png

Overall very good work here nikola !

Posted

@Horst...yes, that line is there...

Ok. I have downloaded and installed it too. I'm on windows and it doesn't load. It's like @Manfred said, in the Line 55 in core/AdminTheme.php :: init() $this->wire('page') does return NULL and not a pageobject for the AdminThemeModesta. For another AdminTheme-Module it returns a pageobject. Comparing both modules shows that both use the exact same code in methods init() install() getModuleInfo(). Weird!

Posted

I just had the same issue on mac with a fresh install. I uninstalled the default admin theme, which changed nothing, but then I hit "check for new modules" and the next page loaded the admin theme correctly. It's really wierd.

  • Like 1
Posted

I just had the same issue on mac with a fresh install. I uninstalled the default admin theme, which changed nothing, but then I hit "check for new modules" and the next page loaded the admin theme correctly. It's really wierd.

I can confirm this workaround!! Now I also have the Modesta theme activated.

Also you can have both themes installed. You only have to make a new search for modules, to refresh the theme change.

For example: root gets Modesta theme, guest gets Default theme is also possible.

  • Like 1
Posted

@Nikola: how can I translate the headings in the side-panel? Found the phrases in the main.inc. But that's not possible to translate?

Posted

I can confirm there is something strange happening with 2.4.5 and admin theme switching. It may have existed before that as well.

Happens on both Mac/PC and is not specifically related to Modesta.

I submitted an issue on github

  • Like 3
Posted

The problem with theme switching indeed exists on latest dev versions, I'm also using PW for production in Windows environment and in 2.4.0 switching is working fine.

I'll check every suggestion and posted question when I get home from holiday (tommorow) because I don't have my working computer with me...

  • Like 2
Posted

I just noticed another strange thing that maybe is related to the admin theme problems described here.

If i do a fresh install i get to the last installation screen. On that screen are two buttons; one says "Login to Admin", the other "View Site".

If i click on the "Login to Admin" button i am then presented with the 'old' login screen.

install2.png

When i click "View Site" and then click the admin link in the top navigation (head.inc) i get the new login page. This is also the case when i close the browser on the last install screen and then later visit mysite/processwire

install1.png

Small detail: the update notices seem to be different on the old and new loginscreen.

I have not been able to pinpoint the problem but i got a feeling that maybe this has something to do with the systemupdater (6?) and/or the newly added caches feature and corresponding db table. This seems to contain a module cache.

Posted

I just noticed another strange thing that maybe is related to the admin theme problems described here.

If i do a fresh install i get to the last installation screen. On that screen are two buttons; one says "Login to Admin", the other "View Site".

If i click on the "Login to Admin" button i am then presented with the 'old' login screen.

I had the same behavior when I installed pw dev to test the dev version of the theme.

Posted

New updates to the theme - I've added a counter next to username that counts unpublished pages and shows them in modal window. Check out the first post for changelog.

modesta-unpublished-pages.png

  • Like 3
Posted

Oops, I've overlooked the status of repeater fields, I'm going to fix it as soon as possible...

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
×
×
  • Create New...