J!1.5.5
VM1.1.2
If you login in frontend (admin), go to Admin -> Orders and open an order.
Layout is broken, no admin menu.(frontend order.order_print)
I'm also having problems with the frontend admin, especially in the config area.
anyone figure out a resolution for this? its kinda sad that the developers rarely help out with things like this.
Has anyone answered this or figured out a way to work around it? I've spent a few hours on it and it seems others have asked the question but no answers have been given. Any help would be great!
WOW, I think I find the reason.You can test it.
If some developer can confirm, if we can do this?
Find function in /administrator/components/com_virtuemart/classes/ps_main.php
function vmIsAdminMode() {
global $page;
return ( (defined( '_VM_IS_BACKEND' )
|| @$_REQUEST['pshop_mode'] == 'admin'
|| strstr($page,'_list')
|| strstr($page,'_form'))
&& ( strncmp('account.',$page, 8) !== 0
&& strncmp('checkout.',$page, 9) !== 0
&& strncmp('shop.',$page, 5) !== 0
)
);
}
Edit it: add these two rows :
|| strstr($page,'_print')
|| strstr($page,'_cfg')
function vmIsAdminMode() {
global $page;
return ( (defined( '_VM_IS_BACKEND' )
|| @$_REQUEST['pshop_mode'] == 'admin'
|| strstr($page,'_list')
|| strstr($page,'_print')
|| strstr($page,'_cfg')
|| strstr($page,'_form'))
&& ( strncmp('account.',$page, 8) !== 0
&& strncmp('checkout.',$page, 9) !== 0
&& strncmp('shop.',$page, 5) !== 0
)
);
}
Hi
this fix the css problem
But sometimes the page loads in the index.php and gets all the template around
Do you know how to fix it?
Doesn't have a way to use extedded layout in the frontend admin?
Awesome, thanks for the great fix
Ichimonban
UrbanDezign.com