Closed justinhartman closed 11 years ago
Have you modified or configured the admin at all because it's working fine here. What version are you running?
I assume I am running 1.1.1 because I set my composer.json up as follows:
"require": {
"ext-mbstring": "*",
"composer/installers": "*",
"mjohnson/decoda": "6.2.*",
"titon/utility": "0.9.*",
"mjohnson/utility": "1.*",
"mjohnson/admin": "*",
"mjohnson/uploader": "4.*"
}
I also did a composer.phar update this afternoon and it updated the following to the latest version but everything else was seemingly up to date. Transit and Uploader was new items I added this afternoon:
Justins-MacBook-Air:app justinhartman$ php composer.phar update
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Removing mjohnson/decoda (6.2.1)
- Installing mjohnson/decoda (6.2.2)
Downloading: 100%
- Installing mjohnson/transit (1.4.1)
Downloading: 100%
- Installing mjohnson/uploader (4.3.1)
Downloading: 100%
mjohnson/transit suggests installing aws/aws-sdk-php (~2.2)
mjohnson/uploader suggests installing aws/aws-sdk-php (~2.2)
Writing lock file
Generating autoload files
Sorry, to answer your first question, the only file I edited was the admin.ctp file as I wanted to incorporate a logo and change elements such as footer etc. I basically only edited view files.
Is there an easy way to re-install the plugin and start with a completely fresh version to see if this problem still exists?
You need to delete the plugin and the composer.lock
file then run the install/update again.
You also shouldn't edit the plugin files directly. If you need to change the layout, there is a setting you can change: Configure::write('Admin.viewLayout', 'yourLayout');
. Simply create the layout and alter it.
I did a fresh install to 1.1.2 and this is now resolved! Must have been something wrong on my side.
On the /admin/index page you have buttons for:
All my buttons work correctly except the Models one. When I click it, this is how my page loads:
If you look at the source of the HTML it's not loading the main admin.ctp file as the code just loads the content view: