- Posts: 9
- Thank you received: 0
Customer Detail Edit redirects to a blank page...
11 years 6 months ago #195801
by artbit
Customer Detail Edit redirects to a blank page... was created by artbit
-- url of the page with the problem -- :
www.mycuties.co.il/edit-user-details/profile?layout=edit
-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4.34
-- Browser(s) name and version -- : All Browsers
Hey there!
I have a problem that after i'm pressing the User Details page, if i go to Edit user details page - it's redirecting to a blank page..
USER PANEL PAGE HERE >
please help me with this issue,
thanks,
Joe
-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4.34
-- Browser(s) name and version -- : All Browsers
Hey there!
I have a problem that after i'm pressing the User Details page, if i go to Edit user details page - it's redirecting to a blank page..
USER PANEL PAGE HERE >
please help me with this issue,
thanks,
Joe
Please Log in or Create an account to join the conversation.
11 years 6 months ago #195807
by artbit
Replied by artbit on topic Resolved: User Detail Edit redirect 2 blank page
I managed to resolve this issue,
apparently it was a clash between the k2 user / author profile and hikasahop user profile,
when disabling the k2 author profile all started working ok.
apparently it was a clash between the k2 user / author profile and hikasahop user profile,
when disabling the k2 author profile all started working ok.
Please Log in or Create an account to join the conversation.
11 years 6 months ago #195814
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Resolved: User Detail Edit redirect 2 blank page
Hi,
Good to know that you solved your issue.
Just for the precision ; HikaShop does not have a profile edition page ; it redirect to the Joomla user profile page.
Regards,
Good to know that you solved your issue.
Just for the precision ; HikaShop does not have a profile edition page ; it redirect to the Joomla user profile page.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
11 years 6 months ago #195877
by artbit
Replied by artbit on topic Customer Detail Edit redirects to a blank page...
Hey Jerome,
I have another question on the topic,
this time regarding the user details page.
www.mycuties.co.il/edit-user-details/profile?layout=edit
I have added a custom user field for date (advanced date picker) - i would like this field to be editable in the user profile,
at the moment it's showing only the label and not the picker,
please help!
I have another question on the topic,
this time regarding the user details page.
www.mycuties.co.il/edit-user-details/profile?layout=edit
I have added a custom user field for date (advanced date picker) - i would like this field to be editable in the user profile,
at the moment it's showing only the label and not the picker,
please help!
Please Log in or Create an account to join the conversation.
11 years 6 months ago #195927
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Customer Detail Edit redirects to a blank page...
Hi,
You need to edit the plugin "plugins/system/hikashopuser/hikashopuser.php" and add this function
Just before the line
Thanks to that, it will include the special javascript libraries in the page and the complex custom fields will be able to be displayed.
regards,
You need to edit the plugin "plugins/system/hikashopuser/hikashopuser.php" and add this function
Code:
function onAfterInitialise() {
$display = $this->params->get('fields_on_user_profile');
if(is_null($display))
$display = 1;
if(empty($display) || $display=='0')
return;
$option = JRequest::getCmd('option');
$view = JRequest::getCmd('view');
$task = JRequest::getCmd('task');
$layout = JRequest::getCmd('layout');
if(($option != 'com_user' || $view != 'user' || $task != 'edit') && ($option != 'com_users' && $view != 'profile' && $layout != 'edit'))
return;
if(!defined('DS'))
define('DS', DIRECTORY_SEPARATOR);
if(!include_once(rtrim(JPATH_ADMINISTRATOR,DS).DS.'components'.DS.'com_hikashop'.DS.'helpers'.DS.'helper.php'))
return true;
$user = hikashop_loadUser(true);
$fieldsClass = hikashop_get('class.field');
$extraFields = array(
'user' => $fieldsClass->getFields('frontcomp',$user,'user')
);
if(empty($extraFields['user']))
return;
$null = array();
$fieldsClass->addJS($null,$null,$null);
$fieldsClass->jsToggle($extraFields['user'],$user,0);
foreach($extraFields['user'] as $fieldName => $oneExtraField) {
$fieldsClass->display($oneExtraField, @$user->$fieldName, 'data[user]['.$fieldName.']', false, '',false, $extraFields['user'], $user);
}
}
Code:
function onAfterRender(){
regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
Time to create page: 0.205 seconds