Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount! Get 20% off now with code SPOOKY-2024!

[SOLVED] Display in backend CB user profile instead default Joomla user

  • dotcom22
  • dotcom22
  • OFFLINE
  • Posts: 522
  • Thanks: 14
  • Karma: 4
11 years 9 months ago - 11 years 9 months ago #217992 by dotcom22
hello

I use a Helpdesk component who display in backend all tickets items posted by users. Each item display the name of user with a link who redirect to default Joomla user profile. I would like modify this link for allow me to show CB profile instead..

I found inside a file of this component the code who seem to be used for that:
Code:
<td><a href="<?php echo JRoute::_(RSTicketsProHelper::isJ16() ? 'index.php?option=com_users&view=user&task=user.edit&id='.$item->customer_id : 'index.php?option=com_users&view=user&task=edit&cid[]='.$item->customer_id); ?>"><?php echo $this->escape($item->customer); ?></a></td>

I tried to change the link by replacing "com_users" by "com_comprofiler" but of course this is not enough because instead to be redirected to desired ID profile, I go simply to CB.

Can you please indicate me what is the correct code to use ?

many thanks

cheers

I use Joomla 3.3.6 - CB 2.0.4 - CBSubs 4 - Several Incubator plugins
Last edit: 11 years 9 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
11 years 9 months ago - 11 years 9 months ago #217995 by krileon
Below URL is what you'd use to directly link to backend profile edit of a user.

index.php?option=com_comprofiler&task=edit&cid=USER_ID


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 11 years 9 months ago by krileon.
The following user(s) said Thank You: dotcom22

Please Log in or Create an account to join the conversation.

  • dotcom22
  • dotcom22
  • OFFLINE
  • Posts: 522
  • Thanks: 14
  • Karma: 4
11 years 9 months ago #218007 by dotcom22
you rock many thank... :woohoo:

I use Joomla 3.3.6 - CB 2.0.4 - CBSubs 4 - Several Incubator plugins

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum