Support

  1. snmp
  2. Support
  3. Saturday, August 23 2014, 04:57 AM
i need images to be able to be uploaded with any size ratio, i have constrained them via css with max-width. The images are pre-cropped so i dont need a size restriction. any help would be appreciated.

also i would like to be able to style the layout of the profile. is this possible, perhaps a feature request.

and thankyou for this, this has been a long awaited functionality for joomla.
snmp Accepted Answer
while waiting for you i solved one of my problems. setting up custom css fields and modules to control layout a bit more
perhaps you should consider adding a more elegant solution to the backend..?
just use getApplication to get the id of the current application, then we can use that id to grab whatever value we want for that specific user, since im using this on a business directory kind of scheme, i use a custom field i made called biz_name. so then i can grab the business name and create div id or class for it at the head of the page by:

<?php
$cdb = JFactory::getDbo();
$query = $cdb->getQuery(true);
$query->select($cdb->quoteName('biz_name'));
$query->from($cdb->quoteName('#__jsn_users'));
$id = JFactory::getApplication()->input->getInt('id', 0);
$query->where($db->quoteName('id')." = ".$db->quote($id));
$db->setQuery($query);
$result = $db->loadResult();
echo '<div id="' . $result . '-head"><span>{modulepos ' . $result . '}</span></div>';
?>

also you will notice i inserted a modulepos aswell allowing me to insert a module of my choice inside the profile layout
so now i have a div id of business name allow me to style each individual profile page differently
ill probably endup using the tiers that i have created as well as a layout master, so basically i can use an if statement, if tier is blah blah then create this layout scheme. anyways this is a brute way of doing it, im a novice programmer, but im excellent at problem solving. yous guys have a cleaner solution to this? and also the image sizing problem?
  1. more than a month ago
  2. Support
  3. # 1
admin Accepted Answer
Admin
Hi,
for first problem try to read here:
https://www.easy-profile.com/support/image-size.html#reply-1069
We plan to implement a parameter in image field to do this in future

perhaps you should consider adding a more elegant solution to the backend..?
Sorry but backend is managed by Joomla com_users, we use our plugin to manage the fields.

Easy Profile use the Joomla MVC model, so to customize Easy Profile you can use Joomla Template Override features.
  1. more than a month ago
  2. Support
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.

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.