Problems with Client portal
-
Good afternoon,
Me and another forum member, after hassling a little bit with the client portal plugin trying to make certain functionalities work we stumbled over the following problems:
1. Client portal redirection PHP function works well with the classic editor, once Gutenberg is activated via the modification of Client portal’s PHP code by adding the line ” ‘show_in_rest’=> true, “, initially the redirection PHP function works well but once the content of a given user’s private page is updated by adding content to it, the named function does not redirect very well.
2. Once the shortcode [client-portal] is added internally into a page in WP, this page won’t be opened to be edited, instead, it redirects automatically to the portal page. While it is supposed to re-direct at least an Admin should be able to open the page for editing what is inside.
3. One of the functions uses the
break' instruction to get out of a
for’ loop. I doubt this is highly suggested in programming circles, instead, a loop control via the use of a boolean value and a conditional `if’ is commonly suggested.In relation to the first problem, this is just a hypothesis, so there could be a different reason for why the redirection of the user to his/her private page does not work. It could be that Gutenberg creates different sub IDs of the same page that is updated?? Therefore, the get_private_page_ID_link can’t get the right ID??? I don’t know yet, but this is a very important problem that requires immediate attention because the line code that was suggested by a member of the forum to activate Gutenberg, also activate other plugins. I don’t think that an admin can do much with just the classic editor considering all the functionalities offered on the web which can be accessed with the aforementioned line of code.
Thank you for your attention and any suggestions would be greatly appreciated.
Regards.
- The topic ‘Problems with Client portal’ is closed to new replies.