I want to add a custom image in the "General" section of the manager.
ManagerManager only allows me to do this on new tabs not current ones.
I assume I need to hard code this. Does anyone know which file I need to change?
Cheers
-
☆ A M B ☆
- 24,524 Posts
Are you referring to the "General" tab of the resource editing page?
Hi Susan, I've spent all day looking for this file but to no avail. Can you tell me where this file is? Alternatively, can I focus a new tab created in mangermanager?
-
☆ A M B ☆
- 24,524 Posts
manager/actions/mutate_content.dynamic.php
However, I would be more inclined to use a plugin to insert some Javascript to modify the DOM element you want. That's how ManagerManager works; you can probably even create a custom widget for MM to do what you want.
Modifying the action file directly will be a problem every time you want to upgrade.
-
☆ A M B ☆
- 24,524 Posts
You can find out what file is being included by examining the manager's index.php file. If you hover the mouse over a link for what action you want to do, you'll see the "a" parameter in the URL, and you can look up that action (in the case of adding a new resource it's 4, for editing existing content it's 27) in the huge switch structure in the manager/index.php file.
I don't seem to have that file.
Are you saying that I can call a specific tab to focus using the URL? I understand the "a" paramater but how would that work with the specific tab?
/manager/index.php?a=27&id=29&quickmanager=1
sorry if I'm asking a stupid question here.