IProperty

Intellectual Property is a full-featured real estate extension for the Joomla! CMS

IPReserve

IPReserve is a reservation extension for IProperty.

IReport

Need to keep track of your IProperty stats? Meet IReport - a reporting tool for IProperty!

Work Force

Work Force is a staff listing extension for the Joomla! CMS. Show off your employees with style!

Report Card

Report Card is a testimonials extension for the Joomla! CMS. What are people saying about your company or product?

UTransport

Ultra Transport is a full-featured vehicle listing extension for the Joomla! CMS

Project Log

Project Log is a project management extension for the Joomla! CMS. The best part is, it's totally free!

Forums

Have pre-sales questions or need support for an existing subscription? Look no further - we have active support forums and pride ourselves on friendly and timely response!

The Thinkery

Not finding what you're looking for? Don't hesitate to contact us!

Before Posting...

Before posting questions in the forums, please be sure to read the FAQs by clicking on the FAQs link in the sidebar product menu. You must be logged in and have a valid subscription to access the SUPPORT FORUMS.
×
Support Policy Notice

As outlined in our Rules section (though never closely followed by our staff!), effective immediately we will no longer be taking time to provide customizations of our products.

× PLEASE DO NOT POST SUPPORT QUESTIONS HERE!

Links viewable for selected users

  • patrickvreeswijk
  • patrickvreeswijk's Avatar Topic Author
  • Offline
  • Puzzler
  • Puzzler
More
5 years 1 month ago #38681 by patrickvreeswijk
patrickvreeswijk created the topic: Links viewable for selected users
Hi,
Is it possible that the info one can put in the Employee Bio can be marked as "classified" so that only certain people with certain rights can view this?

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

More
5 years 1 month ago #38696 by vinny
vinny replied the topic: Links viewable for selected users
Hi - this isn't a built in feature, but since the WF bio supports content plugins, you could easily use a content restriction plugin to hide certain bio information from certain user groups. For example, using the content filter plugin would allow you to show or hide any of the bio content depending on the current user's permissions. Hope it helps!

Vinny - The Thinkery
Good reviews on the JED make us work harder :) | IProperty | Work Force | Report Card
The following user(s) said Thank You: patrickvreeswijk

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

  • patrickvreeswijk
  • patrickvreeswijk's Avatar Topic Author
  • Offline
  • Puzzler
  • Puzzler
More
5 years 1 month ago #38719 by patrickvreeswijk
patrickvreeswijk replied the topic: Links viewable for selected users
Thanks.
So I installed the plugin "Content filter" from "Functions90", enabled it and added the token "REGISTERED". But I get to see the {} and the content in the WF info field as you see in the attachment. Any suggestions or should I go to "functions90"?
Attachments:

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

More
5 years 1 month ago #38730 by vinny
vinny replied the topic: Links viewable for selected users
Hi - sorry, I should have clarified. The content plugins by default will work in the employee details view, can you confirm that the plugin is functioning correctly when you click an employee to view the full employee details?

Assuming the plugin is working in the employee details view, to use the plugin in the overview (list view) you'll need to edit your 'com_workforce/views/allemployees/tmpl/default_employee.php' file. Find:

echo '<p class="wf-employee-overview">'.$this->employee->bio.'</p>';

and change it to:
echo '<p class="wf-employee-overview">'.JHTML::_('content.prepare', $this->employee->bio).'</p>';

Then, in your WF configuration, make sure the 'show full bio' option is enabled. Now the plugin should work in the list view. Hope it helps.

Vinny - The Thinkery
Good reviews on the JED make us work harder :) | IProperty | Work Force | Report Card

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

  • patrickvreeswijk
  • patrickvreeswijk's Avatar Topic Author
  • Offline
  • Puzzler
  • Puzzler
More
5 years 1 month ago #38745 by patrickvreeswijk
patrickvreeswijk replied the topic: Links viewable for selected users
Hi Vinny,
Thanks for the solution although I am not there yet. When I open my file 'com_workforce/views/allemployees/tmpl/default_employee.php' this is all I get to see.

<?php
defined('_JEXEC') or die('Restricted access');
require(JPATH_COMPONENT.DS.'views'.DS.'department'.DS.'tmpl'.DS.'default_employee.php');
?>

So where can I find the right file?
Patrick

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

More
5 years 1 month ago #38762 by vinny
vinny replied the topic: Links viewable for selected users
Ok, you must be using WF2 then -- the path and code I posted were for WF3. The file in WF2 is 'com_workforce/views/department/tmpl/default_employee.php' and the code to edit is:

echo '<div class="wf_employee_overview">'.$this->employee->bio.'</div>';

change to:
echo '<div class="wf_employee_overview">'.JHTML::_('content.prepare', $this->employee->bio).'</div>';

Vinny - The Thinkery
Good reviews on the JED make us work harder :) | IProperty | Work Force | Report Card
The following user(s) said Thank You: patrickvreeswijk

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

Moderators: vinny
Time to create page: 0.284 seconds