By Jason Nickerson on Saturday, 28 October 2017
Posted in Technical Issues
Replies 6
Likes 0
Views 433
Votes 0
Hello - I have a client that wants to show the workflows based on a payplans subscription. Where in the code for the ABOUT PAGE does it check the display on Frontend so I can add some logic to that connected to payplans?
Hey Jason,

Hm, not entirely sure if I get you here. Do you mean you want to render a different workflow for different users based on their subscribed plans?
·
Saturday, 28 October 2017 13:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Where is the display on front end setting for the fields in the PHP?
·
Saturday, 28 October 2017 13:38
·
0 Likes
·
0 Votes
·
0 Comments
·
I am not really sure which section are you referring to here, sorry. Can you include a screen shot?
·
Saturday, 28 October 2017 13:40
·
0 Likes
·
0 Votes
·
0 Comments
·
I am speaking of the option in the custom fields each had the option to display on edit and display on front - where is the php that restricts it from showing
·
Saturday, 28 October 2017 13:56
·
0 Likes
·
0 Votes
·
0 Comments
·
These are controlled from the model file and I don't think it is advisable for you to hack these files. There are 2 methods that is responsible in retrieving the fields:

/administrator/components/com_easysocial/models/users.php
Look at the method getAbout . This method would call the fields model to retrieve the fields

/administrator/components/com_easysocial/models/fields.php
Look at the method getCustomFields

Alternatively, I would suggest that you edit the template file instead to control the behavior of the fields, /components/com_easysocial/themes/wireframe/fields/about/default.php
·
Saturday, 28 October 2017 16:15
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post