Support

  1. stip
  2. General
  3. Monday, April 03 2017, 03:18 PM
Hi Easy profile,

Thanks for the great extension you have created!
I have a customer that needs a business page, now i am trying to make that happen with easy profile and a new group in the custom fields.
The personal fields are all hidden for public and the business pages are shown to public.
So i have 2 different google locations, one for the person and one for the users to see eachother with all the information.

1 menu is showing all the business pages and i do not want any personal stuff here.
2 menu is showing the users after you are logged in.

The users after logged in also see all the fields on the business pages and i would like to hide them with css.
But the menu item of the business profiles and user profiles are the same. Even if i create 2 different ones.

A good solution could be if i could select a menu item on the easy profile user list settings in the menu.

On this page:
http://alumni.warmonderhof.nl/index.php
I want to delete all the user stuff, image and name.
And show business stuff, logo and business name.

If you want to look you can login how i am trying to fix it :-)

Alternative i need to watch out for an other extension, so i you know a combination that can do this i would love to know!
admin Accepted Answer
Admin
Hi,
this is possible with simple template override,

List
- copy attached file in folder /templates/your-template-folder/html/com_jsn/list/ (create folder first)
- open new file with a text editor
- at line 12 and 13 replace "110" with id of menu item of the list (you will find it in backend table of menu items)
- at line 12 replace "business_image" with alias of business image field
- at line 13 replace "business_name" with alias of business name field

This is a fast way, better is to create a view in template folder, but this require some work in more.

Map
- copy file from /modules/mod_jsnmap/tmpl/default.php into /templates/your-template-folder/html/mod_jsnmap/business.php
- open new file with a text editor
- at line 37 and at line 117 replace "avatar_mini" with alias of business image field
- at line 39 replace "formatname" with alias of business name field
- Now you will need to set this new layout for the module in this page (see screenshot)

NOTE: this code is not tested and not supported, this is only for example purpose.
Attachments (2)
  1. more than a month ago
  2. General
  3. # 1
stip Accepted Answer
Wow that is fast!
I will try that one!

Can you help me where to find working with views? Because i want 2 different views :-)
If i cant figure it out can i hire you guys to create this fix for me?

Thanks for your great fast reply!
  1. more than a month ago
  2. General
  3. # 2
admin Accepted Answer
Admin
Hi,
with Joomla you can create infinite menu item types based on existing components views, so in your case you should create view for business to have a special menu item of type Easy Profile->Business List.

This is not something that we can explain because require Joomla dev knowledges.
Anyway at https://www.ostraining.com/blog/joomla/custom-category-layout/ you will find a nice operation guide to make this.
  1. more than a month ago
  2. General
  3. # 3
stip Accepted Answer
Hi, I think that i know what you mean.
So i will go in to this and if i have any problems i let you know.

Are you guys for hiring or do i need to ask my developer.
Because you know the system better i kan imagine that it is faster if you do it :-D

Thanks again for your great help!
  1. more than a month ago
  2. General
  3. # 4
  • 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.