Support

  1. jesper-skelgaard
  2. Bug Report
  3. Wednesday, October 12 2016, 03:43 PM
Profile edit view:
1. You add a file to a core component: Why do you not add a view to com_jsn?
/public_html/templates/ufds/html/com_users/profile/easyprofile.php

2. Now you have added a file to a core component - please check for a theme override:

$app = JFactory::getApplication();
$template = JPATH_SITE . '/templates/' . $app->getTemplate() . '/html/com_users/profile/edit.php';

if( JFile::exists($template) ) {
include( $template );
} else {
include( JPATH_SITE . '/components/com_users/views/profile/tmpl/edit.php');
}
admin Accepted Answer
Admin
Hi,
Why do you not add a view to com_jsn?

Easy Profile extends Joomla user management (not replace), registration and edit profiles pages are the same of Joomla with many improvements.
When you go to edit profile or registration page you go to com_users and not com_jsn. This is a best way to benefit of all Joomla users plugin available for Joomla.

This file is useful to REMOVE template override of com_users. why remove overrides? because our tabs and condition are calibrated for default Joomla output.
Examples:
- when a condition hide some field, it hide container with class ".control-group". but if template override change this class then condition will not works
- tab are generated by a javascript, this code split HTML fieldset and use HTML legend as title, but if template override change this HTML tag with a DIV then tabs will not works

Do you need to use com_users template override? No problem, you can disable function "Skip Template Overrides" from Easy Profile options and file "easyprofile.php" will be ignored.
  1. more than a month ago
  2. Bug Report
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.