Jump to content

How to filter displayed information on admin Activity Widget


zitu4life

Recommended Posts

Hello there

Is it possible to   filter   (remove\ hidden)  wanted  displayed cron information on   Activity  widget?

Let ´s say   If   do not sell  domains and do not want to   see on my admin   that WHMCS   is trying   to sync domain.

What would be best approach:

- using hooks

- develop new widget

-  deactivated it somehow on  WHMCS  admin

-   no way to change it (live with it for ever)

image.thumb.png.a5ccec6919de9c579631bdc2f544aeaa.png

 

 

Link to comment
Share on other sites

20 minutes ago, zitu4life said:

Let ´s say   If   do not sell  domains and do not want to   see on my admin   that WHMCS   is trying   to sync domain.

I would have thought turning off domain sync from the automation settings should solve this. 🙂

20 minutes ago, zitu4life said:

What would be best approach

option 5 - edit the existing activity.php widget in /modules/widgets.... actually, I suppose you should probably copy it and tweak the duplicate rather than editing the existing widget... it is not encrypted.

then it's just a case of adding an IF statement in the foreach loop to remove descriptions that contain X, Y or Z from the output.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated